:root {
  --background: #f4f1ea;
  --surface: #ebe6dc;
  --text: #242722;
  --muted: #686b64;
  --accent: #4b604b;
  --line: #d8d2c7;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

p {
  margin: 0 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--background);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--muted);
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.hero {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.hero-image {
  width: 100%;
  height: min(68vh, 740px);
  min-height: min(68vh, 740px);
  object-fit: cover;
}

.hero-text {
  padding: 2rem 0;
}

.hero-text > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--text);
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--text);
  color: var(--background);
}

.intro {
  width: min(calc(100% - 2rem), 720px);
  margin: clamp(5rem, 12vw, 10rem) auto;
  text-align: center;
}

.intro > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.page {
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: 65vh;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.page-header {
  max-width: 720px;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.page-header > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  background: var(--surface);
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 20%), transparent),
    var(--surface);
  color: var(--muted);
}

.placeholder span {
  padding: 1rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder.portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.placeholder.square {
  aspect-ratio: 1;
  min-height: 0;
}

.placeholder.landscape {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

figcaption {
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.text-page {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
}

.profile-image {
  width: 100%;
  height: auto;
  background: var(--surface);
}

.text-page > div:last-child,
.contact-card {
  max-width: 620px;
}

.text-page p:not(.eyebrow),
.contact-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-card {
  margin: 0 auto;
  text-align: center;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.contact-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a {
  overflow-wrap: anywhere;
  font-size: 1.1rem;
  text-underline-offset: 0.25rem;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-list {
    gap: 0.35rem 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-image {
    height: 55vh;
    min-height: 55vh;
  }

  .hero-text {
    padding-bottom: 1rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .text-page {
    grid-template-columns: 1fr;
  }

  .profile-image {
    max-width: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
