:root {
  --cream: #f7f2ea;
  --cream-dark: #ebe4d9;
  --taupe: #b8a898;
  --taupe-dark: #9a8778;
  --brown: #2f241c;
  --brown-light: #5c4a3d;
  --white: #fbf8f3;
  --gold: #c4a574;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', sans-serif;
  --script: 'Allura', cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(10px);
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  cursor: pointer;
  justify-self: start;
}
.logo-img {
  display: block;
  height: 76px;
  width: auto;
  max-width: min(300px, 48vw);
  object-fit: contain;
}
.logo-img-footer {
  height: 80px;
  margin: 0 auto;
}
.logo-small {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: lowercase;
  font-weight: 500;
}
.logo-script {
  font-family: var(--script);
  font-size: 2.15rem;
  margin-top: -0.35rem;
  margin-left: 0.15rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.top-nav a,
.top-nav button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brown);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}
.top-nav a:hover,
.top-nav button:hover { color: var(--taupe-dark); }
.top-nav a::after,
.top-nav button::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brown);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.top-nav a:hover::after,
.top-nav button:hover::after,
.top-nav a:focus-visible::after,
.top-nav button:focus-visible::after { transform: scaleX(1); }

.header-contact {
  justify-self: end;
  padding: 0.65rem 1.35rem;
}

/* ─── CTAs matching Figma ─── */
.cta-outline,
a.cta-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--brown);
  color: var(--brown);
  padding: 0.9rem 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cta-outline:hover,
a.cta-outline:hover {
  background: var(--brown);
  color: var(--white);
}

.cta-dark {
  display: inline-flex;
  align-items: center;
  background: var(--brown);
  border: 1px solid var(--brown);
  color: var(--white);
  padding: 0.9rem 1.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s, opacity 0.2s;
}
.cta-dark:hover { background: var(--brown-light); }

.cta-pill {
  display: inline-flex;
  align-items: center;
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.2s;
}
.cta-pill:hover { background: var(--brown-light); }

.popup-triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.popup-triggers.is-hidden {
  display: none;
}
.popup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251, 248, 243, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(47, 36, 28, 0.12);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(47, 36, 28, 0.65);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.popup-pill:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.pill-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  opacity: 0.55;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2rem;
}
.text-links.center { justify-content: center; }
.text-link {
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  padding: 0.15rem 0;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brown);
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s, border-color 0.2s;
}
a.text-link { display: inline-block; }
.text-link:hover { color: var(--taupe-dark); border-color: var(--taupe-dark); }
.form-submit {
  margin-top: 0.5rem;
  display: inline-block;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 7.5rem clamp(1.5rem, 5vw, 5rem) 4rem;
}
.hero-media { width: 100%; }
.hero-image {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(100%);
}
.hero-copy {
  max-width: 34rem;
  padding-top: 0.5rem;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: var(--taupe-dark);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1rem;
  color: var(--brown-light);
  max-width: 28rem;
}

/* ─── Sections ─── */
section { padding: 5.5rem clamp(1.5rem, 4vw, 3rem); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1rem;
  text-align: center;
}
.section-tag.align-left,
.section-title.align-left { text-align: left; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.section-body {
  max-width: 640px;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: var(--brown-light);
}

/* ─── About ─── */
.about-section { padding-top: 4rem; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-text p,
.about-fun-facts p {
  margin-bottom: 1.15rem;
  color: var(--brown-light);
  max-width: 34rem;
}
.about-subhead {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--brown);
}
.about-text .cta-outline { margin-top: 1.25rem; }
.about-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}
.about-fun-facts .about-subhead {
  margin-top: 0;
}
.about-media { width: 100%; }
.about-image {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
  filter: grayscale(100%);
}

/* ─── What I Do ─── */
.what-section {
  border-top: 1px solid var(--cream-dark);
}
.what-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.what-mission {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--brown-light);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.what-card {
  background: rgba(235, 228, 217, 0.55);
  border-radius: 22px;
  padding: 1.75rem 1.4rem;
}
.what-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.what-card p {
  color: var(--brown-light);
  font-size: 0.92rem;
}

/* ─── Photography / services ─── */
.lens-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 3rem;
}
.lens-intro-aside {
  max-width: 28rem;
  justify-self: end;
}
.lens-intro-aside p {
  color: var(--brown-light);
  margin: 0;
}
.lens-book {
  display: flex;
  justify-content: flex-start;
  margin-top: 2.75rem;
}
.lens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Desktop: 5 images — 3 on top, 2 centered below */
@media (min-width: 961px) {
  .lens-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .lens-tile:nth-child(1) { grid-column: 1 / 3; }
  .lens-tile:nth-child(2) { grid-column: 3 / 5; }
  .lens-tile:nth-child(3) { grid-column: 5 / 7; }
  .lens-tile:nth-child(4) { grid-column: 2 / 4; }
  .lens-tile:nth-child(5) { grid-column: 4 / 6; }
}

.lens-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.lens-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.lens-tile:hover img { transform: scale(1.05); }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 2rem 0;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(20%);
}
.service-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.service-text p { color: var(--brown-light); margin-bottom: 1rem; }
.service-list { list-style: none; margin: 1rem 0 0.5rem; }
.service-list li {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--brown-light);
  border-bottom: 1px solid var(--cream-dark);
}
.service-list li::before {
  content: '—';
  margin-right: 0.5rem;
  color: var(--taupe);
}
.service-text .cta-outline {
  margin-top: 1rem;
}

.cta-band {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(247,242,234,0.2), rgba(235,228,217,0.85)),
    var(--cream-dark);
  padding-bottom: 3rem;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1rem;
}
.cta-band > .section-inner > p,
.cta-band p:not(.copyright) {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: var(--brown-light);
}
.cta-band .cta-outline {
  margin-top: 1.5rem;
}
.cta-footer {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(47, 36, 28, 0.1);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin: 1.75rem 0;
}
.footer-nav a,
.footer-text-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: inherit;
  padding: 0;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.copyright { font-size: 0.7rem; color: var(--taupe-dark); }

/* ─── Modals / popups ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(47, 36, 28, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--white);
  width: min(560px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(47, 36, 28, 0.18);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--brown-light);
  padding: 0.25rem;
}
.modal-close:hover { color: var(--brown); }

.modal-panel { display: none; }
.modal-panel.active { display: block; }
.modal-label {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 0.85rem;
}
.modal-heading {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.modal-panel p {
  color: var(--brown-light);
  margin-bottom: 1.15rem;
  font-size: 0.98rem;
}
.modal-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--brown) !important;
  margin-top: 1.75rem;
  padding-top: 0;
  border: none;
}

/* FAQ — always-visible editorial list */
.faq-list { margin-top: 0.5rem; }
.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.faq-item:first-child { padding-top: 0.25rem; }
.faq-q {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.faq-a {
  color: var(--brown-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Style guide */
.style-section { margin-bottom: 1.75rem; }
.style-section h4 {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 0.85rem;
  font-weight: 400;
}
.palette-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.palette-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--taupe);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--brown-light);
  background: transparent;
}
.style-checklist {
  list-style: none;
  margin-top: 0.35rem;
}
.style-checklist li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  color: var(--brown-light);
  font-size: 0.95rem;
}
.style-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--taupe-dark);
  font-size: 0.85rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--brown-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--brown);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-status { margin-top: 1rem; font-size: 0.85rem; }
.form-status.error { color: #8b3a3a; }
.form-status.success { color: #3a6b4a; }

@media (max-width: 960px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem 0.75rem;
    padding: 0.8rem 1rem;
  }
  .logo { flex: 0 1 auto; }
  .logo-img {
    height: 68px;
    max-width: min(260px, 52vw);
  }
  .header-contact {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0.55rem 1rem;
    font-size: 0.58rem;
  }
  .top-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }
  .top-nav a,
  .top-nav button {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    padding: 0.2rem 0;
  }
  .logo-script { font-size: 1.75rem; }
  .logo-small { font-size: 0.58rem; letter-spacing: 0.32em; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7.5rem;
    gap: 2.25rem;
    text-align: left;
  }
  .hero-copy { order: 1; max-width: none; }
  .hero-media { order: 2; }
  .hero-image { max-width: 420px; margin: 0 auto; }

  .about-layout,
  .service-block,
  .lens-grid,
  .lens-intro,
  .what-grid { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .service-text { order: 1; }
  .service-image { order: 2; }
  .about-image {
    margin: 0 auto;
    border-radius: 0;
  }
  .lens-intro-aside { justify-self: start; max-width: none; }
  .lens-grid { grid-template-columns: repeat(2, 1fr); }
  .what-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .site-header { padding: 0.7rem 0.85rem; }
  .top-nav { gap: 0.5rem 0.7rem; }
  .top-nav a,
  .top-nav button {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }
  .header-contact {
    font-size: 0.52rem;
    padding: 0.5rem 0.85rem;
  }
  .logo-img {
    height: 60px;
    max-width: min(220px, 58vw);
  }
  .logo-script { font-size: 1.55rem; }

  .what-grid { grid-template-columns: 1fr; }
  section { padding: 3.75rem 1.25rem; }
  .text-links { gap: 1.25rem; }
  .modal { border-radius: 22px; }
}

/* ─── Through the Lens: mosaic grid on mobile ─── */
@media (max-width: 700px) {
  .lens-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
    gap: 0.6rem;
  }
  .lens-tile:nth-child(3n+1) {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}
