/* ============================================================
   Perfectly Unique Co. — romantic editorial
   ============================================================ */
:root {
  --ivory: #FBF7F1;
  --cream: #F3EADF;
  --blush: #E9C9BD;
  --rose: #C98D7D;
  --terracotta: #A95F48;
  --sage: #8E9C84;
  --gold: #B08D57;
  --gold-ink: #8A6A3C; /* gold for small text on light bg: 4.7:1 on ivory */
  --gold-light: #CBB089;
  --espresso: #2C231C;
  --ink: #46392E;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(.22, .9, .3, 1);
  --section-pad-y: clamp(5rem, 11vh, 8.5rem);
  --section-pad-x: clamp(1.2rem, 4vw, 3.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--blush); color: var(--espresso); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.08;
}

h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 em, h1 em { font-style: italic; color: var(--terracotta); }

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

h1, h2, h3, p, summary, figcaption { text-wrap: pretty; }

/* keyboard focus: visible everywhere, on light and dark */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}
.services :focus-visible,
.contact :focus-visible,
.footer :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--gold-light);
}

/* film grain */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* watercolor wash — faint blush/sage radial fields on light sections */
.wash {
  background:
    radial-gradient(46rem 30rem at 8% 12%, color-mix(in srgb, var(--blush) 26%, transparent), transparent 65%),
    radial-gradient(40rem 28rem at 96% 85%, color-mix(in srgb, var(--sage) 16%, transparent), transparent 70%),
    radial-gradient(30rem 22rem at 80% 8%, color-mix(in srgb, var(--gold-light) 14%, transparent), transparent 70%),
    var(--ivory);
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow__rule {
  display: inline-block;
  margin-top: .55em;
  width: 3rem; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  flex: 0 0 auto;
}

/* gold-sweep buttons */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--espresso);
  padding: 1.05rem 2.4rem;
  border: 1px solid var(--espresso);
  transition: color .45s, border-color .45s;
  z-index: 0;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--terracotta), var(--gold));
  transform: translateX(-101%);
  transition: transform .5s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { border-color: var(--gold); }
.btn--small { padding: .72rem 1.6rem; font-size: .7rem; }
.btn--gold {
  background: var(--gold-light); /* espresso on gold-light: 7.4:1 */
  border-color: var(--gold-light);
  color: var(--espresso);
}
.btn--gold::before { background: var(--ivory); }
.btn--gold:hover { color: var(--espresso); border-color: var(--ivory); }

.link-arrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid var(--blush);
  padding: .9rem 0 .5rem; /* 44px touch target */
  transition: border-color .3s, color .3s;
}
.link-arrow:hover { color: var(--espresso); border-color: var(--gold); }
.link-arrow span { display: inline-block; transition: transform .3s; }
.link-arrow:hover span { transform: translateX(6px); }

/* gold hexagon motif (echoes the logo) */
.hexagon {
  position: absolute;
  width: 420px; height: 470px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(160deg, var(--gold), var(--gold-light));
  opacity: .55;
}
.hexagon::after {
  content: "";
  position: absolute; inset: 2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--ivory);
}

/* ghost watermark words */
.ghost-word {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--gold) 38%, transparent);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.ghost-word--hero {
  font-size: clamp(8rem, 22vw, 19rem);
  top: -1rem; right: -2rem;
}
.ghost-word--portfolio {
  font-size: clamp(7rem, 18vw, 15rem);
  top: 1.5rem; right: -1.5rem;
}

/* gold shimmer on italic accent words */
.shimmer {
  background: linear-gradient(100deg,
    var(--terracotta) 0%, var(--terracotta) 38%,
    var(--gold-light) 50%,
    var(--terracotta) 62%, var(--terracotta) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--terracotta);
  animation: shimmer 5.5s ease-in-out infinite;
}
.shimmer--dark {
  background-image: linear-gradient(100deg,
    var(--blush) 0%, var(--blush) 38%,
    #F2DEC9 50%,
    var(--blush) 62%, var(--blush) 100%);
  color: var(--blush);
}
@keyframes shimmer { 0% { background-position: 120% 0; } 100% { background-position: -130% 0; } }

/* sparkle fields — fairy-light dots, populated by JS */
.sparkle-field { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.sparkle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 6px 1px color-mix(in srgb, var(--gold-light) 70%, transparent);
  opacity: 0;
  animation: twinkle var(--tw-dur, 4s) ease-in-out var(--tw-delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.5); }
  50% { opacity: var(--tw-max, .9); transform: scale(1); }
}

/* ornament divider */
.ornament {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--gold);
  font-size: .85rem;
}
.ornament i {
  display: inline-block;
  width: 4.5rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- reveal animations ---------- */
.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-img { transform: translateY(0) scale(.97); }
.in-view { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
.d4 { transition-delay: .48s; }
.d5 { transition-delay: .6s; }

/* masked line reveals for big headlines */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease-out);
}
.line:nth-child(1) .line__inner { transition-delay: .1s; }
.line:nth-child(2) .line__inner { transition-delay: .26s; }
.line:nth-child(3) .line__inner { transition-delay: .42s; }
.lines-in .line__inner { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1; transform: none; transition: none; }
  .line__inner { transform: none; transition: none; }
  .marquee__track { animation: none !important; }
  .grain, .shimmer, .sparkle { animation: none !important; }
  .hero__photo-main img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem var(--section-pad-x);
  background: color-mix(in srgb, var(--ivory) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .4s, border-color .4s, background .4s;
}
.nav.scrolled {
  padding-top: .55rem;
  padding-bottom: .55rem;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--gold) 30%, transparent);
}
.nav__brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; }
.nav__logo { width: 52px; height: 52px; object-fit: contain; transition: width .4s, height .4s; }
.nav.scrolled .nav__logo { width: 42px; height: 42px; }
.nav__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--espresso);
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav__name em { color: var(--terracotta); }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  position: relative;
  padding: .3rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s;
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px; height: 1.5px;
  background: var(--espresso);
  transition: transform .3s, opacity .3s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed;
  top: 70px; left: 0; right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 2.5rem 1.5rem 3rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--blush);
  font-family: var(--serif);
  font-size: 1.5rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h, 86px));
  min-height: calc(100dvh - var(--nav-h, 86px));
  padding: clamp(1.5rem, 3.5vh, 4rem) var(--section-pad-x) 0;
  background:
    radial-gradient(50rem 34rem at 110% -10%, color-mix(in srgb, var(--blush) 22%, transparent), transparent 65%),
    radial-gradient(36rem 26rem at -10% 70%, color-mix(in srgb, var(--sage) 12%, transparent), transparent 70%),
    var(--ivory);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__title {
  /* scales with width AND height so short screens shrink the headline */
  font-size: clamp(2.4rem, min(7.2vw, 10.5vh), 5.8rem);
  font-weight: 300;
  margin-bottom: 1.8rem;
}
.hero__title em { font-weight: 400; }
.hero__lede { max-width: 30rem; margin-bottom: 2.4rem; font-size: 1.1rem; }
.hero__cta { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }

.hero__media {
  position: relative;
  padding: 2.5rem 0 4.5rem 2.5rem;
  will-change: transform;
}
.hero__media .hexagon { top: -1.5rem; right: -2rem; z-index: 0; }
.hero__photo-main {
  position: relative; z-index: 1;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(44,35,28,.35);
}
.hero__photo-main img {
  aspect-ratio: 4/4.6;
  object-fit: cover;
  width: 100%;
  max-height: max(320px, calc(100vh - 370px));
  max-height: max(320px, calc(100dvh - 370px));
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.09) translateY(-1.5%); }
}
.hero__photo-overlap {
  position: absolute;
  z-index: 2;
  left: 0; bottom: 0;
  width: 52%;
  border: 6px solid var(--ivory);
  box-shadow: 0 24px 48px -16px rgba(44,35,28,.4);
}
.hero__photo-overlap img { aspect-ratio: 4/3; object-fit: cover; }

.hero__scroll {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  width: max-content;
  margin: 2rem auto 1.2rem;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.hero__scroll i {
  width: 1px; height: 56px;
  background: linear-gradient(var(--gold), transparent);
  overflow: hidden;
  position: relative;
}
.hero__scroll i::after {
  content: "";
  position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(var(--terracotta), transparent);
  animation: scrolldrip 2.2s ease-in-out infinite;
}
@keyframes scrolldrip { to { top: 100%; } }

/* ============ MARQUEE ============ */
.marquee {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  background: var(--cream);
  overflow: hidden;
  padding: 1.3rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--espresso);
  white-space: nowrap;
}
.marquee__track span:nth-child(4n+3) { color: var(--terracotta); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ BENEFITS ============ */
.benefits {
  padding: clamp(3.5rem, 8vh, 6rem) var(--section-pad-x);
}
.benefits__list {
  max-width: 1180px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.benefits__list li {
  border-top: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  padding-top: 1.6rem;
}
.benefits__list h3 {
  font-size: 1.65rem;
  margin-bottom: .7rem;
}
.benefits__list h3 em { color: var(--terracotta); }
.benefits__list p { font-size: .98rem; max-width: 26rem; }

/* ============ ABOUT ============ */
.about {
  padding: var(--section-pad-y) var(--section-pad-x);
}
.about, .faq {
  display: grid;
  align-items: center;
  margin: 0 auto;
}
.about {
  max-width: 1180px;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.about__media { position: relative; }
.framed {
  position: relative;
  transform: rotate(-1.5deg);
  box-shadow: 0 28px 56px -18px rgba(44,35,28,.35);
  border: 8px solid #fff;
}
.framed::after {
  content: "";
  position: absolute;
  inset: -1.1rem;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  pointer-events: none;
}
.about__media img { aspect-ratio: 4/4.7; object-fit: cover; }
.about__badge {
  position: absolute;
  right: -1.8rem; bottom: -2rem;
  width: 158px; height: 158px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px -10px rgba(169,95,72,.5);
  z-index: 2;
}
.about__badge-ring {
  position: absolute; inset: 4px;
  animation: spin 26s linear infinite;
}
.about__badge-ring text {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .2em;
  fill: var(--blush);
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__badge-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.6rem;
  line-height: 1;
}
.about__text h2 { margin-bottom: 1.6rem; }
.about__text p { margin-bottom: 1.3rem; max-width: 32rem; }
.about__text .link-arrow { display: inline-block; margin-top: .8rem; }

/* ============ SERVICES ============ */
.services {
  background:
    radial-gradient(44rem 30rem at 90% 0%, rgba(176,141,87,.14), transparent 65%),
    radial-gradient(36rem 26rem at 0% 100%, rgba(169,95,72,.18), transparent 70%),
    var(--espresso);
  color: #D9CDBE;
  padding: var(--section-pad-y) var(--section-pad-x);
}
.services__head { max-width: 1180px; margin: 0 auto 4rem; }
.services__head h2 { color: var(--ivory); }
.services__head h2 em { color: var(--blush); }
.services__list {
  max-width: 1180px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(203,176,137,.25);
}
.service {
  padding: 2.6rem 2.4rem 2.8rem 0;
  border-bottom: 1px solid rgba(203,176,137,.25);
  position: relative;
  transition: padding-left .4s;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .6s var(--ease-out);
}
.service:hover::before { width: 100%; }
.service:nth-child(odd) { border-right: 1px solid rgba(203,176,137,.25); padding-right: 3rem; }
.service:nth-child(even) { padding-left: 3rem; }
.service:hover { padding-left: .8rem; }
.service:nth-child(even):hover { padding-left: 3.8rem; }
.service__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 1rem;
}
.service h3 {
  color: var(--ivory);
  font-size: 1.75rem;
  margin-bottom: .8rem;
}
.service p { font-size: .98rem; max-width: 28rem; }

/* ============ STATEMENT ============ */
.statement {
  position: relative;
  text-align: center;
  padding: clamp(5.5rem, 13vh, 9rem) var(--section-pad-x) clamp(4.5rem, 10vh, 7rem);
  overflow: hidden;
}
.statement__mark {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(14rem, 26vw, 22rem);
  line-height: 1;
  color: color-mix(in srgb, var(--blush) 38%, transparent);
  pointer-events: none;
}
.statement__quote {
  position: relative;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.3;
  color: var(--espresso);
  max-width: 56rem;
  margin: 0 auto 2.2rem;
}
.statement__quote em { color: var(--terracotta); }

/* ============ PORTFOLIO ============ */
.portfolio {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  overflow: hidden;
}
.portfolio__head { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto 3.5rem; }
.portfolio__grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 1.1rem;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
}
.tile:hover img { transform: scale(1.06); filter: saturate(1.08); }
.tile::after {
  content: "";
  position: absolute;
  inset: .8rem;
  border: 1px solid color-mix(in srgb, var(--gold-light) 85%, transparent);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .5s, transform .5s var(--ease-out);
  pointer-events: none;
}
.tile:hover::after { opacity: 1; transform: scale(1); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.6rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(44,35,28,.82));
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s, transform .45s;
  z-index: 1;
}
.tile:hover figcaption { opacity: 1; transform: none; }
.tile figcaption strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .02em;
}
.tile figcaption span {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blush);
}

/* ============ PROCESS ============ */
.process {
  background:
    radial-gradient(40rem 26rem at 50% 0%, color-mix(in srgb, var(--blush) 20%, transparent), transparent 70%),
    var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  padding: clamp(5rem, 11vh, 8rem) var(--section-pad-x);
  text-align: center;
}
.process .eyebrow { justify-content: center; }
.process h2 { margin-bottom: 3.5rem; }
.process__steps {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  position: relative;
}
.process__steps::before {
  content: "";
  position: absolute;
  top: 2.6rem; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 50%, transparent), transparent);
}
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.4rem;
  color: color-mix(in srgb, var(--rose) 45%, transparent);
  line-height: 1;
  display: block;
  margin-bottom: .6rem;
  position: relative;
  background: var(--cream);
  width: max-content;
  margin-inline: auto;
  padding: 0 1.4rem;
}
.step h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.step p { font-size: .98rem; max-width: 19rem; margin: 0 auto; }

/* ============ FAQ ============ */
.faq {
  max-width: 1180px;
  padding: var(--section-pad-y) var(--section-pad-x);
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq__head { position: sticky; top: 110px; }
.faq__note { margin-top: 1.4rem; font-size: .95rem; }
.faq__note a { color: var(--terracotta); border-bottom: 1px solid var(--blush); }
.faq__list details {
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}
.faq__list details:first-child { border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem .2rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--espresso);
  transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--terracotta); }
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px; height: 14px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform .3s;
}
.faq__icon::before { left: 0; top: 6px; width: 14px; height: 1.5px; }
.faq__icon::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
details[open] .faq__icon::after { transform: rotate(90deg); }
.faq__list details p {
  padding: 0 .2rem 1.6rem;
  max-width: 36rem;
  font-size: .98rem;
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
  background:
    radial-gradient(50rem 32rem at 50% 110%, rgba(169,95,72,.22), transparent 70%),
    radial-gradient(40rem 26rem at 85% 0%, rgba(176,141,87,.12), transparent 65%),
    var(--espresso);
  color: #D9CDBE;
  text-align: center;
  padding: clamp(6rem, 14vh, 10rem) var(--section-pad-x);
  overflow: hidden;
}
.hexagon--contact {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.6);
  opacity: .14;
}
.hexagon--contact::after { background: var(--espresso); }
.contact > :not(.hexagon):not(.sparkle-field) { position: relative; }
.contact .eyebrow { justify-content: center; }
.contact__title {
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 1.4rem;
}
.contact__title em { color: var(--blush); }
.contact__lede { margin-bottom: 2.8rem; }
.contact__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.contact__phone {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
  padding-bottom: .2rem;
  transition: color .3s;
}
.contact__phone:hover { color: var(--blush); }
.contact__social {
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: .8rem .5rem; /* 44px touch target */
  transition: color .3s;
}
.contact__phone { display: inline-block; padding-top: .5rem; }
.contact__social:hover { color: var(--ivory); }

/* ============ FOOTER ============ */
.footer {
  background: var(--espresso);
  border-top: 1px solid rgba(203,176,137,.2);
  text-align: center;
  padding: 2.4rem 1.5rem 2.8rem;
  color: #9b8b78;
  font-size: .8rem;
  letter-spacing: .08em;
}
.footer__logo {
  width: 64px;
  margin: 0 auto 1rem;
}

/* ============ RESPONSIVE ============ */
/* short desktop windows: drop the scroll cue, tighten rhythm */
@media (min-width: 981px) and (max-height: 800px) {
  .hero__scroll { display: none; }
  .hero { padding-top: 1rem; }
  .hero__title { margin-bottom: 1.1rem; }
  .hero__lede { margin-bottom: 1.6rem; }
  .hero__media { padding: 1.5rem 0 3rem 1.5rem; }
  .hero__photo-main img { max-height: max(300px, calc(100dvh - 300px)); }
}

@media (max-width: 980px) {
  /* nav collapses to hamburger before links get cramped */
  .nav__links, .nav .btn--small { display: none; }
  .nav__toggle { display: flex; }

  /* stacked hero: photo flexes to absorb exactly the leftover viewport space */
  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 2.5vh, 2rem);
    align-items: stretch;
  }
  .hero__text { flex: 0 0 auto; }
  .hero__media {
    /* JS sets --hero-media-h to the exact leftover viewport space */
    height: var(--hero-media-h, auto);
    min-height: 170px;
    display: flex;
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
    padding: 1.2rem 0 2.6rem 1.2rem;
  }
  .hero__photo-main { flex: 1; width: 100%; }
  .hero__photo-main img {
    aspect-ratio: auto;
    height: 100%;
    max-height: none;
  }
  .hero__scroll { display: none; }
  .ghost-word--hero { font-size: clamp(7rem, 24vw, 12rem); top: auto; bottom: 30%; }
  .benefits__list { grid-template-columns: 1fr; gap: 2rem; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin: 0 auto; }
  .services__list { grid-template-columns: 1fr; }
  .service:nth-child(odd) { border-right: 0; padding-right: 0; }
  .service:nth-child(even) { padding-left: 0; }
  .service:hover, .service:nth-child(even):hover { padding-left: .8rem; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .process__steps { grid-template-columns: 1fr; gap: 3rem; }
  .process__steps::before { display: none; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

@media (max-width: 760px) {
  .nav__logo { width: 44px; height: 44px; }
  .hero { padding-top: 1.2rem; }
  .hero__title { font-size: clamp(2.1rem, min(11vw, 7vh), 3.2rem); margin-bottom: 1.1rem; }
  .hero__lede { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero__media { padding: 1rem 0 2.4rem 1.2rem; min-height: 150px; }
  .hero__cta { gap: 1rem 1.8rem; }
  .eyebrow { margin-bottom: 1rem; }
  .hexagon { width: 280px; height: 315px; }
  .hero__scroll { display: none; }
  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile--wide { grid-column: span 1; }
  .tile figcaption { opacity: 1; transform: none; }
  .tile::after { opacity: 1; transform: none; }
  .about__badge { width: 124px; height: 124px; right: .4rem; }
  .about__badge-num { font-size: 2.6rem; }
  .about__badge-ring text { font-size: 12px; letter-spacing: .18em; }
  .contact__actions { flex-direction: column; gap: 1.6rem; }
}

/* ============ LIGHTBOX ============ */
.tile { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 4rem);
  background: color-mix(in srgb, var(--espresso) 94%, black);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s var(--ease-out);
}

.lightbox__stage {
  position: relative;
  max-width: min(1100px, 100%);
  text-align: center;
}
.lightbox__frame {
  position: relative;
  display: inline-block;
  border: 6px solid var(--ivory);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
}
.lightbox__frame::after {
  content: "";
  position: absolute;
  inset: -1.2rem;
  border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
  pointer-events: none;
}
.lightbox__img {
  max-height: min(74vh, 820px);
  max-width: 100%;
  width: auto;
  display: block;
  transform: scale(.96);
  opacity: 0;
  transition: transform .55s var(--ease-out), opacity .45s var(--ease-out);
}
.lightbox.open .lightbox__img.loaded { transform: scale(1); opacity: 1; }

.lightbox__caption { margin-top: 1.9rem; }
.lightbox__caption strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: .02em;
  color: var(--ivory);
}
.lightbox__caption span {
  display: block;
  margin-top: .35rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.lightbox__count {
  margin-top: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--blush);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid color-mix(in srgb, var(--gold-light) 45%, transparent);
  border-radius: 50%;
  color: var(--ivory);
  cursor: pointer;
  transition: border-color .3s, background .3s, color .3s, transform .3s;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.lightbox__close {
  top: clamp(.8rem, 2.5vw, 2rem);
  right: clamp(.8rem, 2.5vw, 2rem);
  width: 52px; height: 52px;
  font-size: 1.05rem;
}
.lightbox__close:hover { transform: rotate(90deg); }

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 58px; height: 58px;
  font-size: 1.25rem;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: clamp(.6rem, 2.5vw, 2rem); }
.lightbox__nav--next { right: clamp(.6rem, 2.5vw, 2rem); }

@media (max-width: 760px) {
  .lightbox { padding: 1rem; }
  .lightbox__img { max-height: 62vh; }
  .lightbox__frame::after { inset: -.7rem; }
  .lightbox__nav { width: 46px; height: 46px; }
  .lightbox__nav--prev { left: .4rem; }
  .lightbox__nav--next { right: .4rem; }
  .lightbox__close { width: 44px; height: 44px; }
  .lightbox__caption strong { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none; }
}

/* short phones: compress hero type so everything still fits one screen */
@media (max-width: 760px) and (max-height: 720px) {
  .hero__title { font-size: clamp(1.8rem, min(9vw, 6vh), 2.6rem); margin-bottom: .9rem; }
  .hero__lede { font-size: .95rem; margin-bottom: 1.2rem; }
  .hero .eyebrow { font-size: .62rem; margin-bottom: .8rem; }
  .hero .btn { padding: .85rem 1.9rem; }
  .hero__inner { gap: 1rem; }
  .hero__media { min-height: 150px; padding-bottom: 1.8rem; }
}

/* ============ SAFE AREAS (notched devices) ============ */
.nav, .hero, .marquee, .benefits, .about, .services, .statement,
.portfolio, .process, .faq, .contact, .footer, .mobile-menu {
  padding-left: max(var(--section-pad-x), env(safe-area-inset-left));
  padding-right: max(var(--section-pad-x), env(safe-area-inset-right));
}
.marquee { padding-left: 0; padding-right: 0; } /* full-bleed strip stays full-bleed */
.footer { padding-bottom: max(2.8rem, env(safe-area-inset-bottom)); }
.lightbox {
  padding-left: max(clamp(1rem, 4vw, 4rem), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 4vw, 4rem), env(safe-area-inset-right));
}
