/* ================================================================
   Manchester Headshots — manchesterheadshots.co.uk
   Dark editorial look · worker-bee amber · viewfinder motifs
   ================================================================ */

/* self-hosted fonts — no third-party CDN dependency */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #0f1013;
  --ink-2: #16171b;
  --ink-3: #1e1f24;
  --paper: #f4f0e8;
  --paper-dim: #b8b3a8;
  --amber: #eeb10f;
  --amber-deep: #d69d0b;
  --line: rgba(244, 240, 232, 0.14);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5rem; }
@media (max-width: 720px) { section[id] { scroll-margin-top: 8.5rem; } }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--ink); }

em { font-style: italic; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; }
h1, h2 { text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: 0.015em; }
h2 em { color: var(--amber); }
/* display contexts: emphasis is amber, never italic — keeps the type clean */
h1 em, h2 em, h3 em, .why__stat em { font-style: normal; }
a { color: inherit; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s 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%); }
}

/* ---------- parallax plumbing ----------
   JS writes CSS vars: --mx/--my (mouse drift by depth), --py (scroll offset).
   One transform rule combines them so the two systems never fight. */
[data-depth], [data-parallax] {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--py, 0px)), 0);
  will-change: transform;
}

/* ---------- 3D tilt cards ---------- */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  position: relative;
}
.tilt-ready { transition: transform 0.25s ease; will-change: transform; }
.tilt-glare {
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(244, 240, 232, 0.16), transparent 55%);
  opacity: var(--go, 0);
  transition: opacity 0.35s ease;
}

/* ---------- ghost parallax words ---------- */
.ghost {
  position: absolute; left: var(--gx, 50%); top: var(--gy, 0);
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 400; text-transform: uppercase;
  font-size: clamp(7rem, 20vw, 19rem);
  line-height: 1; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 177, 15, 0.13);
  rotate: var(--gr, -4deg);
  pointer-events: none; user-select: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--paper); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--paper); background: transparent; }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--pad);
  background: rgba(15, 16, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.nav__hex { width: 1.6rem; height: 1.6rem; display: block; }
.nav__hex svg { width: 100%; height: 100%; }
.nav__hex { color: var(--amber); }
.nav__word em { font-style: normal; color: var(--amber); }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: 0.92rem; color: var(--paper-dim);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--amber); }
.nav__cta { white-space: nowrap; }
.nav__burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 4.5rem);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 5rem var(--pad) 6rem;
  overflow: hidden;
}
.hero > :not(.hero__bg, .hero__frame, .hero__bee) { position: relative; z-index: 1; }

/* worker bee — bimbles around the hero on a wandering flight path */
.hero__bee {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.bee-field { position: relative; width: 640px; height: 380px; }
.flybee {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px;
  offset-path: path("M60 210 C150 90 260 70 340 150 C410 220 500 130 575 130 C632 130 628 250 535 288 C435 328 350 250 270 285 C175 322 88 300 60 210 Z");
  offset-rotate: 0deg;
  animation: beefly 21s linear infinite;
}
@keyframes beefly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.bee__face { animation: beeface 21s infinite; }
@keyframes beeface {
  0%, 42%  { transform: scaleX(1); }
  50%, 92% { transform: scaleX(-1); }
  99%, 100% { transform: scaleX(1); }
}
.bee__bob { animation: beebob 2.3s ease-in-out infinite alternate; }
@keyframes beebob {
  from { transform: translateY(-3px) rotate(-7deg); }
  to   { transform: translateY(3px)  rotate(7deg); }
}
.bee__svg {
  display: block; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
}
.bee__wing {
  fill: rgba(244, 240, 232, 0.42);
  stroke: rgba(238, 177, 15, 0.75); stroke-width: 1;
  transform-box: fill-box; transform-origin: 50% 90%;
  animation: beeflutter 0.13s ease-in-out infinite alternate;
}
.bee__wing--f { animation-delay: 0.055s; }
@keyframes beeflutter {
  from { transform: scaleY(1) rotate(0deg); }
  to   { transform: scaleY(0.5) rotate(-9deg); }
}
@media (max-width: 720px) {
  .bee-field { transform: scale(0.62); }
}

/* floating 3D hexagon field */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  perspective: 900px;
}
.hex3d {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  opacity: var(--op, 0.4);
  filter: blur(var(--blur, 0px));
  transform-style: preserve-3d;
}
.hex3d svg {
  width: 100%; height: 100%; display: block;
  transform-style: preserve-3d;
  animation: hexspin var(--dur, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.hex3d svg polygon { fill: none; stroke: var(--amber); stroke-width: 2.5; }
@keyframes hexspin {
  0%   { transform: translateY(0)      rotateY(0deg)   rotateX(14deg); }
  25%  { transform: translateY(-14px)  rotateY(90deg)  rotateX(0deg); }
  50%  { transform: translateY(6px)    rotateY(180deg) rotateX(-14deg); }
  75%  { transform: translateY(-10px)  rotateY(270deg) rotateX(0deg); }
  100% { transform: translateY(0)      rotateY(360deg) rotateX(14deg); }
}
/* sub-page hero (gallery etc.) */
.hero--sub { min-height: 52svh; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero--sub .hero__title { font-size: clamp(2.6rem, 7vw, 5.4rem); }

.hero__frame { position: absolute; inset: 1.5rem; pointer-events: none; z-index: 1; }
.corner { position: absolute; width: 2rem; height: 2rem; border: 2px solid var(--amber); opacity: 0.9; }
.corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero__meta {
  position: absolute;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim);
  display: flex; align-items: center; gap: 0.45rem;
}
.hero__meta--tl { top: 0.5rem; left: 3rem; }
.hero__meta--tr { top: 0.5rem; right: 3rem; }
.hero__meta--bl { bottom: 0.5rem; left: 3rem; }
.hero__meta--br { bottom: 0.5rem; right: 3rem; }
.rec-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: #e0362c;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }

.hero__kicker {
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(2.9rem, 9vw, 7.2rem);
  letter-spacing: 0.015em;
  display: flex; flex-direction: column;
}
.hero__title em { color: var(--amber); }
.hero__made {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-family: var(--font-body);
  font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
}
.bee { display: inline-block; width: 1.5em; height: 1.5em; color: var(--amber); }
.bee svg { width: 100%; height: 100%; display: block; }
.hero__sub {
  max-width: 38rem; margin-top: 2rem;
  color: var(--paper-dim); font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.hero__sub strong { color: var(--paper); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.6rem; }
.hero__booking {
  margin-top: 1.6rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim);
}
.hero__booking .js-months { color: var(--amber); }
.hero__scroll {
  position: absolute; bottom: 3.2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper-dim);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll-line {
  width: 1px; height: 2.4rem; background: var(--amber);
  transform-origin: top;
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--amber); color: var(--ink);
  padding: 0.7rem 0;
}
.ticker__track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content;
  animation: ticker 40s linear infinite;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track i { font-style: normal; opacity: 0.55; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad);
  overflow: hidden;
}
.section > :not(.ghost, .book__frame) { position: relative; z-index: 1; }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section__kicker {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.section__lede { color: var(--paper-dim); margin-top: 1.3rem; max-width: 36rem; }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--ink);
  padding: 2.4rem 2rem 2.8rem;
  transition: background 0.3s ease;
}
.step:hover { background: var(--ink-2); }
.step__num {
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 400; color: var(--amber);
  display: block; margin-bottom: 1.2rem; line-height: 1;
}
.step h3 { font-size: 1.45rem; margin-bottom: 0.8rem; }
.step p { color: var(--paper-dim); font-size: 0.98rem; }
.step p strong { color: var(--paper); }

/* ---------- industries index ---------- */
.industries { border-top: 1px solid var(--line); }
.ind-grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.ind {
  display: flex; gap: 1.4rem; align-items: baseline;
  padding: 1.5rem 1rem 1.6rem 1.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.ind::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--amber);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s ease;
}
.ind:hover { background: var(--ink-2); padding-left: 1.8rem; }
.ind:hover::before { transform: scaleY(1); }
.ind__num {
  font-family: var(--font-display);
  font-weight: 400; font-size: 1.15rem;
  color: var(--amber);
  flex: 0 0 auto;
}
.ind h3 { font-size: 1.3rem; margin-bottom: 0.35rem; transition: color 0.25s ease; }
.ind:hover h3 { color: var(--amber); }
.ind p { color: var(--paper-dim); font-size: 0.92rem; line-height: 1.5; }
.ind-note {
  margin-top: 2.4rem; text-align: center;
  color: var(--paper-dim); font-size: 0.98rem;
}
.ind-note a { color: var(--amber); text-decoration: none; font-weight: 600; }
.ind-note a:hover { text-decoration: underline; }

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.shot { position: relative; }
.shot__frame { position: relative; border-radius: 4px; }
.shot__frame .ph, .shot__frame img { transform: translateZ(1px); }
.shot .ph, .shot img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: 50% 0%; /* crop from the top: heads never clip */
  display: block;
  border-radius: 4px;
}
.shot--tall .ph, .shot--tall img { aspect-ratio: 3 / 4.6; }
.ph {
  position: relative;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(238, 177, 15, 0.12), transparent 70%),
    linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px dashed rgba(238, 177, 15, 0.35);
  overflow: hidden;
}
/* silhouette head-and-shoulders */
.ph::before {
  content: "";
  position: absolute; left: 50%; bottom: -4%;
  width: 62%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: rgba(244, 240, 232, 0.07);
  border-radius: 50% 50% 0 0;
}
.ph::after {
  content: attr(data-label) " · your image here";
  position: absolute; inset: auto 0 0.9rem 0;
  text-align: center;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(238, 177, 15, 0.75);
}
/* focus-frame hover */
.shot__frame::before {
  content: "";
  position: absolute; inset: 0.7rem; z-index: 3;
  border: 1px solid var(--amber);
  clip-path: polygon(
    0 0, 22% 0, 22% 2px, 2px 2px, 2px 22%, 0 22%,
    78% 0, 100% 0, 100% 22%, calc(100% - 2px) 22%, calc(100% - 2px) 2px, 78% 2px,
    0 78%, 2px 78%, 2px calc(100% - 2px), 22% calc(100% - 2px), 22% 100%, 0 100%,
    78% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 78%, 100% 78%, 100% 100%, 78% 100%
  );
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.shot:hover .shot__frame::before { opacity: 1; transform: scale(1) translateZ(2px); }
.gallery__note {
  margin-top: 2.4rem;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper-dim); text-align: center;
}
.gallery__more { margin-top: 2.6rem; text-align: center; }

/* ---------- full gallery wall (gallery.html) ----------
   Three columns drifting at different scroll speeds for depth. */
.wall__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.wall__col { display: flex; flex-direction: column; gap: 1.2rem; }
.wall__col--mid { margin-top: 3.5rem; }
.wall__cta {
  text-align: center;
  padding-top: clamp(3rem, 6vw, 5rem);
}
.wall__cta p { color: var(--paper-dim); margin-bottom: 1.6rem; }
.wall__cta .btn + .btn { margin-left: 0.8rem; }
.nav__links a.is-active { color: var(--amber); }

/* ---------- linkedin ---------- */
.linkedin { border-top: 1px solid var(--line); }
.li-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.li-stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 2.4rem 0 0.7rem;
}
.li-stats li {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 1.1rem 1rem 1.2rem;
  color: var(--paper-dim); font-size: 0.85rem; line-height: 1.4;
}
.li-stats span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1;
  color: var(--amber);
  margin-bottom: 0.4rem;
}
.li-src { font-size: 0.78rem; color: var(--paper-dim); letter-spacing: 0.06em; }
.li-points { list-style: none; margin: 1.8rem 0 2.4rem; color: var(--paper-dim); }
.li-points li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; font-size: 0.97rem; }
.li-points li::before { content: "⬡"; position: absolute; left: 0; color: var(--amber); font-size: 0.85em; }

/* mock profile card */
.li-card-wrap { max-width: 26rem; width: 100%; justify-self: center; }
.li-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.li-card__banner {
  height: 96px;
  border-radius: 13px 13px 0 0;
  background:
    radial-gradient(ellipse 70% 120% at 80% 0%, rgba(238, 177, 15, 0.35), transparent 65%),
    linear-gradient(120deg, #2a2416, var(--ink-3));
}
.li-card__body { padding: 0 1.7rem 1.7rem; transform: translateZ(24px); transform-style: preserve-3d; }
.li-avatar {
  width: 106px; aspect-ratio: 1;
  border-radius: 50%;
  margin-top: -53px;
  position: relative;
  border: 3px solid var(--ink-2);
  background:
    radial-gradient(ellipse 60% 45% at 50% 35%, rgba(238, 177, 15, 0.18), transparent 70%),
    linear-gradient(160deg, var(--ink-3), #101010);
  overflow: hidden;
  transform: translateZ(16px);
}
.li-avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 12%;
}
/* head-and-shoulders silhouette inside the circle */
.li-avatar::before {
  content: "";
  position: absolute; left: 50%; bottom: -6%;
  width: 66%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: rgba(244, 240, 232, 0.09);
  border-radius: 50% 50% 0 0;
}
/* rotating focus ring */
.li-card::before {
  content: "";
  position: absolute;
  width: 122px; aspect-ratio: 1;
  left: 1.7rem; top: 96px;
  transform: translateY(-50%) translateZ(30px);
  margin-left: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(238, 177, 15, 0.55);
  animation: ringspin 16s linear infinite;
  pointer-events: none;
}
@keyframes ringspin {
  from { transform: translateY(-50%) translateZ(30px) rotate(0deg); }
  to { transform: translateY(-50%) translateZ(30px) rotate(360deg); }
}
.li-name { font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.9rem; }
.li-headline { font-size: 0.95rem; margin-top: 0.15rem; }
.li-meta { color: var(--paper-dim); font-size: 0.82rem; margin-top: 0.4rem; }
.li-actions { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.li-btn {
  display: inline-flex; align-items: center;
  padding: 0.45rem 1.3rem;
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 600;
}
.li-btn--solid { background: var(--amber); color: var(--ink); }
.li-btn--ghost { border: 1px solid var(--line); color: var(--paper-dim); }
.li-cap {
  margin-top: 1.1rem; text-align: center;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--paper-dim);
}

/* ---------- testimonial ---------- */
.quotes { border-top: 1px solid var(--line); }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: stretch;
}
.quote-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.6rem, 3vw, 2.6rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.quote-mark {
  position: absolute; top: -0.35em; left: 0.5rem;
  font-family: var(--font-display);
  font-size: 5.5rem; line-height: 1;
  color: var(--amber); opacity: 0.22;
  pointer-events: none;
}
.quote-body {
  position: relative;
  flex: 1;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55; font-weight: 300;
  color: var(--paper);
}
.quote-body strong { font-weight: 600; color: var(--paper); }
.quote-by {
  display: flex; align-items: center; gap: 1rem;
  margin-top: auto; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  flex: none;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: var(--ink);
  font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
}
.quote-who { display: flex; flex-direction: column; gap: 0.15rem; }
.quote-name { font-weight: 600; font-size: 1.05rem; color: var(--paper); }
.quote-role { font-size: 0.88rem; color: var(--paper-dim); }
.quote-src {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.3rem;
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--paper-dim);
}
.quote-src svg { width: 1rem; height: 1rem; color: var(--paper-dim); flex: none; }
@media (max-width: 820px) {
  .quotes-grid { grid-template-columns: 1fr; gap: 1.2rem; max-width: 40rem; }
}

/* ---------- pricing ---------- */
.pricing { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rate {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem;
  max-width: 62rem;
}
.rate__main {
  background: var(--amber); color: var(--ink);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; align-items: flex-start;
}
/* depth pop for tilt — price floats highest */
.rate__main > * { transform: translateZ(18px); }
.rate__main .rate__price { transform: translateZ(38px); }
.rate__main .tilt-glare { transform: none; }
.rate__label {
  font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 0.6rem;
}
.rate__price {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 7rem); font-weight: 400; line-height: 1;
  margin-bottom: 1.6rem;
}
.rate__price sup { font-size: 0.4em; vertical-align: super; }
.rate__list { list-style: none; margin-bottom: 2rem; }
.rate__list li {
  padding-left: 1.5rem; position: relative; margin-bottom: 0.55rem;
  font-weight: 500;
}
.rate__list li::before { content: "⬡"; position: absolute; left: 0; font-size: 0.8em; }
.rate__main .btn--amber { background: var(--ink); color: var(--amber); }
.rate__main .btn--amber:hover { background: var(--ink-3); }
.rate__side { display: flex; flex-direction: column; gap: 1.2rem; }
.rate__item {
  flex: 1;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 1.8rem;
  background: var(--ink);
}
.rate__item-price {
  font-family: var(--font-display);
  font-size: 2.6rem; color: var(--amber); line-height: 1;
}
.rate__item-label {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0.5rem 0 0.8rem;
}
.rate__item-note { color: var(--paper-dim); font-size: 0.92rem; }

/* ---------- instant quote calculator ---------- */
.quote {
  max-width: 62rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(238, 177, 15, 0.35);
  border-radius: 12px;
  background: var(--ink);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.quote__kicker {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.7rem;
}
.quote__head h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.quote__head h3 em { color: var(--amber); }
.quote__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  margin-top: 2rem;
  align-items: start;
}
.quote__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim);
  margin: 1.6rem 0 0.8rem;
}
.quote__label:first-child { margin-top: 0; }
.quote__label output {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--amber);
  letter-spacing: 0; font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--ink-3);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1.5px var(--amber);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1.5px var(--amber);
  cursor: grab;
}
input[type="range"]:focus-visible { box-shadow: 0 0 0 2px rgba(238, 177, 15, 0.5); }
.quote__seg { display: flex; gap: 0.6rem; }
.quote__seg button {
  flex: 1;
  padding: 0.7rem 0;
  background: transparent;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--paper-dim);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.quote__seg button:hover { border-color: var(--amber); color: var(--paper); }
.quote__seg button.is-on { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.quote__result { border-left: 1px solid var(--line); padding-left: clamp(1.8rem, 4vw, 3.5rem); }
.quote__total { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.2rem; }
.quote__total span {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.quote__total em {
  font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim);
}
.quote__break { list-style: none; margin-bottom: 1.6rem; }
.quote__break li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(244, 240, 232, 0.12);
  color: var(--paper-dim); font-size: 0.92rem;
}
.quote__break b { color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote__note { margin-top: 1rem; font-size: 0.82rem; color: var(--paper-dim); }
.quote__note a { color: var(--amber); }

/* ---------- why ---------- */
.why { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why__card {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 2rem;
  text-align: center;
}
.why__stat {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem); color: var(--amber);
  display: block; line-height: 1; margin-bottom: 0.8rem;
}
.why__stat em { font-size: 0.38em; font-style: italic; margin-left: 0.2rem; }
.why__card p { color: var(--paper-dim); font-size: 0.95rem; max-width: 16rem; margin: 0 auto; }

/* ---------- faq ---------- */
.faq__list { max-width: 46rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font-weight: 600; font-size: 1.06rem;
  transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--amber); }
.faq__icon {
  flex: 0 0 auto;
  width: 0.9rem; height: 0.9rem; position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--amber);
  transition: transform 0.25s ease;
}
.faq__icon::before { inset: 50% 0 auto 0; height: 2px; margin-top: -1px; }
.faq__icon::after { inset: 0 auto 0 50%; width: 2px; margin-left: -1px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item p { padding: 0 2.5rem 1.5rem 0; color: var(--paper-dim); }
.faq__item p strong { color: var(--paper); }

/* ---------- book ---------- */
.book {
  position: relative;
  text-align: center;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  margin: clamp(3rem, 7vw, 6rem) var(--pad);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad);
}
.book__frame { position: absolute; inset: 1rem; pointer-events: none; z-index: 1; }
.book__title { font-size: clamp(2.6rem, 6.5vw, 5rem); }
.book__title em { color: var(--amber); }
.book__sub { color: var(--paper-dim); margin-top: 1.2rem; }
.book__trust {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 1.3rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--paper-dim);
  font-size: 0.82rem; line-height: 1.3; text-align: left;
}
.book__trust svg { width: 1.1rem; height: 1.1rem; color: var(--amber); flex: none; }
.book__trust strong { color: var(--paper); font-weight: 600; }
.book__parent {
  margin: 1rem auto 0; max-width: 40rem;
  color: var(--paper-dim); font-size: 0.85rem; line-height: 1.5;
}
.book__parent a { color: var(--amber); }
.book__channels {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  margin: 2.6rem 0 3rem;
}
.channel {
  text-decoration: none;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 1.2rem 2rem;
  display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start;
  transition: border-color 0.2s ease;
  background: var(--ink);
}
.channel:hover { border-color: var(--amber); }
.channel > .channel__label, .channel > .channel__value { transform: translateZ(16px); }
.channel__label {
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber);
}
.channel__value { font-weight: 600; font-size: 1.1rem; }
.book__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  max-width: 40rem; margin: 0 auto; text-align: left;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim);
}
.field input, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line); border-radius: 6px;
  color: var(--paper);
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field input::placeholder, .field textarea::placeholder { color: rgba(198, 193, 182, 0.72); }
.book__form .btn { border: 0; }
.book__form-note { font-size: 0.82rem; color: var(--paper-dim); text-align: center; }
.book__form-note a, .field--consent a { color: var(--amber); }

/* honeypot — kept out of view and away from assistive tech + tab order */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--amber); }

/* consent checkbox row */
.field--consent {
  flex-direction: row; align-items: flex-start; gap: 0.7rem;
}
.field--consent input[type="checkbox"] {
  flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem;
  accent-color: var(--amber);
}
.field--consent label {
  font-size: 0.9rem; letter-spacing: 0; text-transform: none;
  line-height: 1.5; color: var(--paper-dim);
}

/* invalid field + error message */
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e0533d; }
.field--consent input[aria-invalid="true"] { outline: 2px solid #e0533d; outline-offset: 2px; }
.form-status {
  margin: 0.2rem 0; padding: 0.8rem 1rem; border-radius: 6px;
  font-size: 0.92rem; line-height: 1.4;
}
.form-status.is-error {
  background: rgba(224, 83, 61, 0.12);
  border: 1px solid rgba(224, 83, 61, 0.5);
  color: #f6c9c0;
}

/* clear focus ring for keyboard users across links/buttons/fields */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px;
}

/* ---------- cookie consent ---------- */
.cookie {
  position: fixed; z-index: 95; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 46rem; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem;
  padding: 1.1rem 1.3rem;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.cookie[hidden] { display: none; }
.cookie__text { flex: 1 1 18rem; font-size: 0.88rem; line-height: 1.5; color: var(--paper-dim); margin: 0; }
.cookie__text a { color: var(--amber); }
.cookie__actions { display: flex; gap: 0.7rem; flex: 0 0 auto; }
.cookie__btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ---------- thank-you page ---------- */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.thanks__card { max-width: 40rem; }
.thanks__title { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 0.98; margin: 0.6rem 0 1.4rem; }
.thanks__title em { color: var(--amber); }
.thanks__lede { color: var(--paper-dim); font-size: 1.1rem; line-height: 1.6; max-width: 34rem; margin: 0 auto; }
.thanks__note { color: var(--paper-dim); margin: 1.1rem 0 2rem; }
.thanks__note a { color: var(--amber); font-weight: 600; }

/* ---------- legal / privacy page ---------- */
.legal { max-width: 52rem; margin: 0 auto; }
.legal__head { border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; margin-bottom: 2rem; }
.legal__head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; margin-top: 0.4rem; }
.legal__meta { color: var(--paper-dim); font-size: 0.9rem; margin-top: 0.8rem; }
.legal__body { color: var(--paper-dim); line-height: 1.7; }
.legal__body h2 {
  color: var(--paper); font-size: 1.3rem; margin: 2.2rem 0 0.7rem;
  font-family: var(--font-body); font-weight: 600;
}
.legal__body p { margin: 0 0 1rem; }
.legal__body ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.legal__body li { margin-bottom: 0.5rem; }
.legal__body a { color: var(--amber); }
.legal__body strong { color: var(--paper); }
.legal__back { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }

/* ---------- footer ---------- */
.footer { padding: 3.5rem var(--pad) 2.5rem; border-top: 1px solid var(--line); }
.footer__top { margin-bottom: 2.5rem; }
.footer__logo {
  display: block;
  width: min(300px, 72vw); height: auto;
  margin: 0 0 1.2rem -1.2rem;
}
.footer__tag { color: var(--paper-dim); font-size: 0.92rem; margin-top: 0.4rem; }
.footer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.footer__grid h2 {
  font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.8rem;
}
.footer__grid a { display: block; text-decoration: none; color: var(--paper-dim); margin-bottom: 0.3rem; }
.footer__grid a:hover { color: var(--amber); }
.footer__grid p { color: var(--paper-dim); font-size: 0.92rem; }
.footer__legal { margin-top: 2rem; font-size: 0.8rem; color: rgba(184, 179, 168, 0.82); }

/* ---------- mobile sticky action bar ---------- */
.actionbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(15, 16, 19, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.actionbar.is-away { transform: translateY(110%); }
.actionbar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0.8rem 0;
  border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
  color: var(--paper);
}
.actionbar .actionbar__book {
  background: var(--amber); border-color: var(--amber); color: var(--ink);
  flex: 1.4;
}

/* ---------- reveal on scroll (3D flip-up) ---------- */
.reveal {
  opacity: 0;
  transform: perspective(900px) translate3d(0, 26px, 0) rotateX(8deg);
  transform-origin: 50% 100%;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .ticker__track, .rec-dot, .hero__scroll-line, .hex3d svg, .li-card::before { animation: none; }
  .flybee, .bee__face, .bee__bob, .bee__wing { animation: none; }
  .flybee { offset-distance: 20%; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-depth], [data-parallax], [data-tilt] { transform: none !important; }
  .tilt-glare { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { gap: 1rem; flex-wrap: wrap; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .li-grid { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .quote__result { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.8rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .wall__grid { display: block; columns: 2; column-gap: 1.1rem; }
  .wall__col { display: contents; }
  .wall__grid .shot { break-inside: avoid; margin-bottom: 1.1rem; }
  .rate { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta--tr, .hero__meta--br { display: none; }
}

@media (max-width: 720px) {
  .hex3d:nth-child(even) { display: none; }
  .ghost { -webkit-text-stroke-width: 1px; }
  .gallery__grid { display: block; columns: 2; column-gap: 1rem; }
  .gallery__grid .shot { break-inside: avoid; margin-bottom: 1rem; }
  .wall__grid { column-gap: 1rem; }
  .wall__grid .shot { margin-bottom: 1rem; }
  .book__form { grid-template-columns: 1fr; }
  .book { margin-left: 1rem; margin-right: 1rem; }
  .hero__scroll { display: none; }
  .actionbar { display: flex; }
  body { padding-bottom: 4.2rem; }
  .footer { padding-bottom: 5.5rem; }
  /* lift the cookie banner clear of the sticky mobile action bar */
  .cookie { bottom: 4.9rem; }
}
