:root {
  --bg: #f5f1ea;
  --bg-soft: #ece4d8;
  --beige: #ded2c2;
  --brown: #8a6a4f;
  --olive: #5f6f52;
  --text: #1f1f1d;
  --muted: #66615a;
  --white: #ffffff;
  --line: rgba(31, 31, 29, 0.13);
  --shadow: 0 24px 70px rgba(74, 55, 39, 0.14);
  --radius: 18px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(222, 210, 194, 0.34) 1px, transparent 1px),
    var(--bg);
  background-size: 96px 96px;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(4.25rem, 11vw, 10.8rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5.6vw, 5.5rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: var(--header-height);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 76px);
  background: rgba(245, 241, 234, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(245, 241, 234, 0.92);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  background: transparent;
}

.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.brand-copy small,
.eyebrow {
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
  transition: transform 160ms ease;
}

.menu-button.is-active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button.is-active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero,
.work,
.visagism,
.photos,
.location {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 5vw, 76px);
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding-top: calc(var(--header-height) + clamp(32px, 6vw, 74px));
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 16px;
}

.role {
  margin-bottom: 18px;
  color: var(--brown);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
}

.lead {
  max-width: 540px;
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.link-button,
.quiet-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.link-button {
  padding: 0 20px;
}

.link-button-soft {
  background: var(--text);
  color: var(--bg);
}

.link-button:hover,
.quiet-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 111, 82, 0.36);
  background: var(--white);
}

.link-button-soft:hover {
  background: var(--olive);
  color: var(--white);
}

.hero-portrait {
  overflow: hidden;
  height: min(74vh, 780px);
  min-height: 520px;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-portrait img {
  object-position: center top;
}

.work {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(34px, 7vw, 104px);
  align-items: center;
  background: var(--bg-soft);
}

.work-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.work-photo img {
  object-position: center top;
}

.work-copy {
  max-width: 680px;
}

.work-copy p {
  max-width: 600px;
}

.visagism {
  background: var(--bg);
}

.section-heading,
.photos-heading {
  max-width: 820px;
}

.section-heading p,
.photos-heading p {
  max-width: 610px;
}

.visagism-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(38px, 6vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.point {
  min-height: 230px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.point:last-child {
  border-right: 0;
}

.point span {
  display: block;
  margin-bottom: 44px;
  color: var(--brown);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.8;
}

.point p {
  margin-bottom: 0;
}

.photos {
  background: var(--white);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr 0.72fr;
  grid-template-rows: minmax(280px, 44vh) minmax(220px, 32vh);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(34px, 6vw, 68px);
}

.mosaic-item {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--beige);
  box-shadow: 0 18px 50px rgba(74, 55, 39, 0.1);
}

.mosaic-item img {
  transition: transform 420ms ease, filter 420ms ease;
}

.mosaic-item:hover img {
  filter: saturate(1.03) contrast(1.03);
  transform: scale(1.025);
}

.mosaic-large {
  grid-row: span 2;
}

.mosaic-portrait {
  grid-row: span 2;
}

.mosaic-wide {
  grid-column: 3;
}

.mosaic-small {
  grid-column: 3;
}

.mosaic-large img,
.mosaic-portrait img,
.mosaic-wide img,
.mosaic-small img {
  object-position: center top;
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.42fr);
  gap: clamp(32px, 7vw, 100px);
  background: var(--bg-soft);
}

.location-copy {
  max-width: 900px;
}

.location-copy h2 {
  max-width: 860px;
}

.location-copy address {
  max-width: 620px;
  color: var(--muted);
  font-style: normal;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.quiet-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.quiet-links a {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 76px);
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.image-frame {
  position: relative;
}

.image-frame.is-missing {
  background:
    linear-gradient(135deg, rgba(95, 111, 82, 0.16), rgba(138, 106, 79, 0.14)),
    var(--beige);
}

.image-frame.is-missing img {
  opacity: 0;
}

.image-frame.is-missing::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31, 31, 29, 0.08);
  border-radius: calc(var(--radius) - 6px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 241, 234, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .work,
  .location {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    height: auto;
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .visagism-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .point:nth-child(2) {
    border-right: 0;
  }

  .point:nth-child(1),
  .point:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 460px 300px 300px;
  }

  .mosaic-large {
    grid-row: span 2;
  }

  .mosaic-portrait {
    grid-row: 1;
  }

  .mosaic-wide {
    grid-column: 2;
    grid-row: 2;
  }

  .mosaic-small {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  body {
    background-size: 68px 68px;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 6.1rem);
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3.45rem);
  }

  .topbar,
  .hero,
  .work,
  .visagism,
  .photos,
  .location,
  .footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .link-button {
    width: 100%;
  }

  .hero-portrait,
  .work-photo,
  .mosaic-item {
    border-radius: 14px;
  }

  .visagism-points {
    grid-template-columns: 1fr;
  }

  .point,
  .point:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .point:last-child {
    border-bottom: 0;
  }

  .point span {
    margin-bottom: 28px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(320px, 58vh));
  }

  .mosaic-large,
  .mosaic-portrait,
  .mosaic-wide,
  .mosaic-small {
    grid-column: 1;
    grid-row: auto;
  }

  .footer {
    flex-direction: column;
  }
}
