/* ==========================================================================
   FIELDWORK MEDIA
   Palette: cream #f7f3ec / ink #1c1710 / copper #b1531f / navy #1b2a3c
   Type: Poppins throughout
   Signature: the "pitch line" - angled edges and copper rules
   ========================================================================== */

:root {
  --cream: #f7f3ec;
  --cream-deep: #efe7d9;
  --ink: #1c1710;
  --ink-soft: #4a4036;
  --copper: #b1531f;
  --copper-bright: #d4692c;
  --navy: #1b2a3c;
  --navy-deep: #131f2e;
  --paper-line: rgba(28, 23, 16, 0.14);

  --font: "Poppins", "Segoe UI", Arial, sans-serif;

  --pitch: -4deg;          /* the roof pitch angle used everywhere */
  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 12vw, 140px);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

/* ---------- shared bits ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--copper);
  transform: rotate(var(--pitch));
}
.eyebrow--light { color: var(--copper-bright); }

.section {
  padding: var(--section-y) var(--pad-x);
}

.section__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }

.section__title {
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section__title--light { color: var(--cream); }

.section__lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink-soft);
  max-width: 600px;
}
.section__lede--light { color: rgba(247, 243, 236, 0.78); }

.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn--lg { padding: 17px 34px; font-size: 15px; }
.btn--copper {
  background: var(--copper);
  color: var(--cream);
  box-shadow: 4px 4px 0 rgba(28, 23, 16, 0.85);
}
.btn--copper:hover {
  background: var(--copper-bright);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(28, 23, 16, 0.85);
}
.btn--copper:active { transform: translate(0, 0); box-shadow: 2px 2px 0 rgba(28, 23, 16, 0.85); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px var(--pad-x);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-line);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.nav__logoimg { height: clamp(64px, 9vw, 96px); width: auto; }
.nav__mark {
  width: 22px;
  height: 14px;
  background: var(--copper);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 78% 100%, 50% 38%, 22% 100%);
}
.nav__logo.has-logo .nav__mark { display: none; }

.nav__wordmark, .footer__wordmark {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav__wordmark em, .footer__wordmark em {
  font-style: normal;
  color: var(--copper);
}

.nav__links { display: none; gap: 28px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--copper); }

.nav__cta { box-shadow: none; padding: 10px 18px; font-size: 13px; }

@media (min-width: 860px) {
  .nav__links { display: flex; }
}

@media (max-width: 499px) {
  .nav__cta { display: none; }
  .nav { justify-content: center; }
  .nav__logo { margin-right: 0; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 110px) var(--pad-x) clamp(90px, 12vw, 150px);
  overflow: hidden;
}

/* faint blueprint grid behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero__headline {
  font-weight: 800;
  font-size: clamp(40px, 7.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
}
.hero__line--copper { color: var(--copper); }
.hero__line:nth-child(2) { padding-left: 0.3em; }
.hero__line:nth-child(3) { padding-left: 0.1em; }

.hero__sub {
  margin-top: 26px;
  max-width: 500px;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--ink-soft);
}
.hero__sub strong { color: var(--ink); }

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__proof {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--copper);
}

/* hero phone */
.hero__visual {
  position: relative;
  justify-self: center;
  transform: rotate(3deg);
}

.phone {
  position: relative;
  width: min(330px, 78vw);
  border-radius: 38px;
  border: 3px solid var(--ink);
  background: var(--ink);
  padding: 10px;
  box-shadow: 14px 18px 0 rgba(28, 23, 16, 0.15);
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 8px;
  border-radius: 6px;
  background: rgba(247, 243, 236, 0.25);
  z-index: 3;
}

.hero__callout {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.hero__callout-line {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--copper);
  transform: rotate(var(--pitch));
}
.hero__callout--top { top: 8%; right: calc(100% - 6px); flex-direction: row-reverse; }
.hero__callout--bottom { bottom: 12%; left: calc(100% - 6px); }

/* the signature angled pitch line closing the hero */
.hero__pitchline {
  position: absolute;
  left: -5%;
  bottom: clamp(28px, 5vw, 56px);
  width: 110%;
  height: 3px;
  background: var(--copper);
  transform: rotate(var(--pitch));
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .hero__visual { justify-self: end; margin-right: clamp(20px, 4vw, 70px); }
}
@media (max-width: 959px) {
  .hero__callout--top { display: none; }
  .hero__callout--bottom { left: auto; right: calc(100% - 10px); flex-direction: row-reverse; }
}

/* ==========================================================================
   TICKER
   ========================================================================== */

.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 13px 0;
  transform: rotate(var(--pitch));
  scale: 1.06 1;
  margin: -10px 0 34px;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: ticker-scroll 28s linear infinite;
}
.ticker__track span { white-space: nowrap; }
.ticker__dot {
  width: 8px;
  height: 8px;
  background: var(--copper);
  flex-shrink: 0;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   WORK
   ========================================================================== */

.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1400px;
}

.work-card {
  cursor: pointer;
  transition: transform 0.25s ease;
}
.work-card:hover, .work-card:focus-visible { transform: translateY(-6px); }

.video-shell {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: 8px 10px 0 rgba(28, 23, 16, 0.12);
}
.video-shell--hero { border-radius: 30px; box-shadow: none; }
.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.video-shell.has-media video { opacity: 1; }
.video-shell.has-media .video-fallback { opacity: 0; }

/* placeholder look until real mp4s are swapped in */
.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(247, 243, 236, 0.04) 26px 52px),
    linear-gradient(160deg, var(--navy) 20%, var(--navy-deep) 90%);
  transition: opacity 0.4s ease;
}
.video-fallback__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-bright);
  border: 1px solid var(--copper-bright);
  border-radius: 4px;
  padding: 4px 8px;
}
.video-fallback__name {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.1;
  color: var(--cream);
}
.video-fallback__file {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 236, 0.45);
}

.work-card__play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--copper);
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}
.work-card__play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 12px solid var(--cream);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.work-card:hover .work-card__play { transform: scale(1.12); background: var(--copper-bright); }

.work-card__meta {
  display: flex;
  gap: 14px;
  padding: 18px 4px 0;
  align-items: baseline;
}
.work-card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--copper);
}
.work-card__title {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.work-card__desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ==========================================================================
   COMPARISON (navy section)
   ========================================================================== */

.section--navy {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  clip-path: polygon(0 clamp(24px, 3.5vw, 56px), 100% 0, 100% calc(100% - clamp(24px, 3.5vw, 56px)), 0 100%);
  padding-top: calc(var(--section-y) + clamp(24px, 3.5vw, 56px));
  padding-bottom: calc(var(--section-y) + clamp(24px, 3.5vw, 56px));
}

.compare {
  max-width: 980px;
  display: grid;
  gap: 28px;
}

.compare__row {
  display: grid;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.12);
}
.compare__label h3 {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.compare__label p {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(247, 243, 236, 0.6);
}

.compare__barwrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.compare__bar {
  position: relative;
  height: 24px;
  width: 0;
  min-width: 4px;
  border-radius: 4px;
  background: rgba(247, 243, 236, 0.28);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
/* faded extension showing the top of the price range */
.compare__bar .compare__minmax {
  position: absolute;
  left: 100%;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(-45deg, rgba(247, 243, 236, 0.16) 0 6px, transparent 6px 12px);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.compare__bar--copper { background: var(--copper); box-shadow: 0 0 0 2px rgba(212, 105, 44, 0.35); }

.compare__price {
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 17px);
  white-space: nowrap;
}
.compare__price em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.8em;
  color: rgba(247, 243, 236, 0.55);
  display: block;
}
.compare__price--copper { color: var(--copper-bright); }
.compare__price--copper em { color: rgba(212, 105, 44, 0.8); }

.compare__row--fieldwork {
  border: 2px solid var(--copper);
  border-radius: 10px;
  padding: 20px;
  background: rgba(177, 83, 31, 0.08);
}

.compare__disclosure {
  margin-top: 32px;
  font-size: 12px;
  color: rgba(247, 243, 236, 0.45);
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.compare__cta { margin-top: 36px; text-align: center; }

/* the whole pricing section reads centered */
.section--navy .section__head {
  margin-inline: auto;
  text-align: center;
}
.section--navy .section__lede { margin-inline: auto; }
.compare { margin-inline: auto; }

/* Fieldwork row: the no-brainer */
.compare__row--fieldwork {
  position: relative;
  margin-top: 10px;
  border-width: 3px;
  background: linear-gradient(120deg, rgba(177, 83, 31, 0.2), rgba(177, 83, 31, 0.06));
  box-shadow: 0 0 0 5px rgba(212, 105, 44, 0.14), 0 20px 44px rgba(0, 0, 0, 0.35);
}
.compare__row--fieldwork.is-visible {
  animation: nobrainer-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
@keyframes nobrainer-pop {
  0%   { transform: scale(0.94); }
  60%  { transform: scale(1.035); }
  100% { transform: scale(1); }
}
.compare__row--fieldwork .compare__price--copper {
  font-size: clamp(20px, 2.8vw, 28px);
}
.compare__badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--copper);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
@media (prefers-reduced-motion: reduce) {
  .compare__row--fieldwork.is-visible { animation: none; }
}

@media (min-width: 760px) {
  .compare__row { grid-template-columns: 280px 1fr; align-items: center; gap: 28px; }
}

/* ==========================================================================
   PHOTO BAND (parallax)
   ========================================================================== */

.band {
  position: relative;
  min-height: clamp(300px, 46vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
  margin-top: calc(-1 * clamp(24px, 3.5vw, 56px));
  padding: 60px var(--pad-x);
}
.band__bg {
  position: absolute;
  inset: -12% 0;
  background:
    linear-gradient(rgba(19, 31, 46, 0.72), rgba(19, 31, 46, 0.72)),
    url("assets/portfolio/home-wide.jpg") center / cover no-repeat,
    repeating-linear-gradient(-45deg, transparent 0 32px, rgba(247, 243, 236, 0.04) 32px 64px);
  will-change: transform;
}
.band__claim {
  position: relative;
  font-weight: 800;
  font-size: clamp(26px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-align: center;
  max-width: 760px;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

/* header centered, steps flow down the middle */
.section--how .section__head {
  margin-inline: auto;
  text-align: center;
}
.section--how .eyebrow { justify-content: center; }

.steps {
  list-style: none;
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0;
}

/* staggered slide-in from the right */
.step.reveal { transform: translateX(48px); }
.step.reveal.is-visible { transform: translateX(0); }
.steps .step:nth-child(2) { transition-delay: 0.08s; }
.steps .step:nth-child(3) { transition-delay: 0.16s; }
.steps .step:nth-child(4) { transition-delay: 0.24s; }

.step .step__body h3,
.step .step__questions li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.step.is-visible .step__body h3,
.step.is-visible .step__questions li {
  opacity: 1;
  transform: translateX(0);
}
.step.is-visible .step__body h3 { transition-delay: 0.2s; }
.step.is-visible .step__questions li:nth-child(1) { transition-delay: 0.3s; }
.step.is-visible .step__questions li:nth-child(2) { transition-delay: 0.38s; }
.step.is-visible .step__questions li:nth-child(3) { transition-delay: 0.46s; }
.step.is-visible .step__questions li:nth-child(4) { transition-delay: 0.54s; }
.step.is-visible .step__questions li:nth-child(5) { transition-delay: 0.62s; }

@media (prefers-reduced-motion: reduce) {
  .step.reveal,
  .step .step__body h3,
  .step .step__questions li { opacity: 1; transform: none; transition: none; }
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--paper-line);
}
.step:last-child { border-bottom: 1px solid var(--paper-line); }

.step__num {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--copper);
}
.step__body h3 {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.step__body p { color: var(--ink-soft); max-width: 560px; }

.step__questions {
  margin: 14px 0 16px;
  list-style: none;
  display: grid;
  gap: 8px;
}
.step__questions li {
  font-size: 14.5px;
  font-weight: 500;
  padding-left: 24px;
  position: relative;
}
.step__questions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 2px;
  background: var(--copper);
  transform: rotate(var(--pitch));
}

.step__note {
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--copper);
  padding-left: 14px;
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */

.section--benefits {
  position: relative;
  background: var(--cream-deep);
}
/* documentary texture, invisible until texture.jpg is dropped in */
.section--benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/portfolio/texture.jpg") center / cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.section__inner { position: relative; }

/* fully centered section */
.section--benefits .section__head {
  margin-inline: auto;
  text-align: center;
}
.section--benefits .eyebrow { justify-content: center; }

.benefits {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  max-width: 1100px;
  margin-inline: auto;
}
.benefit { text-align: center; }
.benefit__rule {
  display: block;
  width: 52px;
  height: 3px;
  background: var(--copper);
  transform: rotate(var(--pitch));
  margin: 0 auto 18px;
}
.benefit h3 {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.benefit p { color: var(--ink-soft); max-width: 340px; font-size: 15px; margin-inline: auto; }

@media (min-width: 820px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

/* centered on the page */
.section--faq .section__head {
  margin-inline: auto;
  text-align: center;
}
.section--faq .eyebrow { justify-content: center; }
.faq { max-width: 780px; margin-inline: auto; }

.faq__item {
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq__item.is-open {
  border-color: var(--copper);
  box-shadow: 6px 6px 0 rgba(177, 83, 31, 0.12);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  transition: color 0.15s ease;
}
.faq__q:hover { color: var(--copper); }

.faq__icon {
  flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--copper);
  transition: transform 0.3s ease;
}
.faq__icon::before {
  width: 14px;
  height: 2.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__item.is-open .faq__icon::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 640px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.cta-final {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--section-y) var(--pad-x);
  clip-path: polygon(0 0, 100% clamp(24px, 3.5vw, 56px), 100% 100%, 0 100%);
  padding-top: calc(var(--section-y) + clamp(24px, 3.5vw, 56px));
}
/* handshake photo behind the whole section, invisible until dropped in */
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(19, 31, 46, 0.88), rgba(19, 31, 46, 0.92)),
    url("assets/portfolio/handshake.jpg") center / cover no-repeat;
  pointer-events: none;
}

.cta-final__grid {
  position: relative;
  display: grid;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
}

.cta-final__title {
  font-weight: 800;
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.cta-final__copy {
  margin-top: 22px;
  font-size: clamp(16px, 1.9vw, 19px);
  color: rgba(247, 243, 236, 0.8);
  max-width: 520px;
}

.cta-final__collage {
  position: relative;
  margin-top: 44px;
  max-width: 520px;
}
.cta-final__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  transform: rotate(-1.5deg);
  box-shadow: 10px 12px 0 rgba(177, 83, 31, 0.35);
}
.cta-final__photo--small {
  position: absolute;
  right: -14px;
  bottom: -34px;
  width: 44%;
  aspect-ratio: 4 / 3;
  transform: rotate(2.5deg);
  box-shadow: 6px 8px 0 rgba(177, 83, 31, 0.5);
}
.cta-final__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-final__photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(247, 243, 236, 0.05) 26px 52px),
    var(--navy);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
}
.cta-final__photo.is-missing img { display: none; }
.cta-final__photo.is-missing .cta-final__photo-fallback { display: flex; }
.cta-final__photo-file { font-size: 11px; letter-spacing: 0.04em; text-transform: none; }

/* form: dark panel, underline inputs */
.cta-form {
  background: rgba(27, 42, 60, 0.75);
  border: 1px solid rgba(247, 243, 236, 0.14);
  color: var(--cream);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  align-self: start;
}
.cta-form__title {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.cta-form__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 12px;
  background: var(--copper-bright);
  transform: rotate(var(--pitch));
}

.cta-form__field { margin-bottom: 22px; }
.cta-form__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(247, 243, 236, 0.55);
}
.cta-form__field input,
.cta-form__field select {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 14px;
  border: none;
  border-bottom: 2px solid rgba(247, 243, 236, 0.25);
  border-radius: 8px 8px 0 0;
  background: rgba(247, 243, 236, 0.07);
  color: var(--cream);
  caret-color: var(--copper-bright);
  appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-form__field input:focus,
.cta-form__field select:focus {
  outline: none;
  border-bottom-color: var(--copper-bright);
  background: rgba(247, 243, 236, 0.11);
}
.cta-form__field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.cta-form__field select option { color: var(--ink); background: var(--cream); }

.cta-form__choice {
  border: none;
  margin-bottom: 24px;
}
.cta-form__choice legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  margin-bottom: 10px;
}

.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(247, 243, 236, 0.18);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice:has(input:checked) {
  border-color: var(--copper-bright);
  background: rgba(212, 105, 44, 0.14);
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid rgba(247, 243, 236, 0.7);
  border-radius: 50%;
  position: relative;
}
.choice input:checked + .choice__box {
  border-color: var(--copper-bright);
}
.choice input:checked + .choice__box::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--copper-bright);
}
.choice input:focus-visible + .choice__box {
  outline: 3px solid var(--copper-bright);
  outline-offset: 2px;
}
.choice__text strong { display: block; font-size: 15px; font-weight: 600; }
.choice__text em {
  font-style: normal;
  font-size: 13px;
  color: rgba(247, 243, 236, 0.55);
}

.cta-form__field--style { margin-top: 6px; margin-bottom: 4px; }

.cta-form__submit { width: 100%; border: none; }
.cta-form__fine {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(247, 243, 236, 0.55);
  text-align: center;
}
.cta-form__status {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--copper-bright);
  text-align: center;
  min-height: 1.4em;
}

/* submit success: fields lock + fade out, big confirmation crossfades in */
#contact-form { display: grid; }
.cta-form__fields,
.cta-form__success {
  grid-area: 1 / 1;
  min-width: 0;
}
.cta-form__fields {
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}
#contact-form.is-submitted .cta-form__fields {
  opacity: 0;
  transform: scale(0.96) translateY(6px);
  filter: blur(2px);
  pointer-events: none;
}

.cta-form__success {
  align-self: center;
  justify-self: center;
  text-align: center;
  padding: clamp(20px, 4vw, 40px) 12px;
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
  pointer-events: none;
}
#contact-form.is-submitted .cta-form__success {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.cta-form__success-icon { display: block; margin: 0 auto 18px; }
.cta-form__success-circle {
  stroke: var(--copper-bright);
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.cta-form__success-check {
  stroke: var(--copper-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}
#contact-form.is-submitted .cta-form__success-circle {
  animation: cta-success-circle 0.5s ease forwards 0.15s;
}
#contact-form.is-submitted .cta-form__success-check {
  animation: cta-success-check 0.35s ease forwards 0.55s;
}
@keyframes cta-success-circle { to { stroke-dashoffset: 0; } }
@keyframes cta-success-check { to { stroke-dashoffset: 0; } }

.cta-form__success-title {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-form__success-text {
  font-size: 15px;
  color: rgba(247, 243, 236, 0.7);
  max-width: 260px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .cta-form__fields,
  .cta-form__success,
  .cta-form__success-circle,
  .cta-form__success-check {
    transition: none;
    animation: none;
  }
  #contact-form.is-submitted .cta-form__success-circle,
  #contact-form.is-submitted .cta-form__success-check {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 980px) {
  .cta-final__grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--ink);
  color: rgba(247, 243, 236, 0.65);
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 0;
  font-size: 14px;
}
.footer__top {
  display: grid;
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer__wordmark { display: block; color: var(--cream); margin-bottom: 10px; }
.footer__brand p { max-width: 320px; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  text-decoration: none;
  color: rgba(247, 243, 236, 0.65);
  font-weight: 500;
  transition: color 0.15s ease;
  width: fit-content;
}
.footer__links a:hover { color: var(--copper-bright); }
.footer__cta { align-self: start; box-shadow: none; }

.footer__bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  padding: 20px 0 28px;
  max-width: 1240px;
  margin: 0 auto;
  font-size: 12.5px;
  color: rgba(247, 243, 236, 0.4);
}

@media (min-width: 820px) {
  .footer__top { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 23, 16, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__stage {
  width: min(420px, 92vw);
  max-height: 88vh;
}
.lightbox__stage video {
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
}
.lightbox__caption {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 52px;
  height: 52px;
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.lightbox__close:hover { background: var(--cream); color: var(--ink); }
