/* ============================================================
   Double Wisdom Ventures — one-pager
   Palette: black main · yellow accent · white/cream
   Type: Space Grotesk (UI) · Playfair Display (editorial serif)
         JetBrains Mono (system labels)
   ============================================================ */

:root {
  --black: #070707;
  --black-soft: #0d0d0d;
  --black-card: #121212;
  --black-raise: #181818;
  --yellow: #f5c518;
  --yellow-bright: #ffd84d;
  --yellow-soft: rgba(245, 197, 24, 0.1);
  --cream: #f2efe6;
  --white: #ffffff;
  --grey: #98948a;
  --grey-dim: #6e6b63;
  --line: rgba(242, 239, 230, 0.1);
  --line-strong: rgba(242, 239, 230, 0.18);
  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--yellow); color: var(--black); }

/* Film-grain overlay — keeps large dark surfaces from looking flat */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Craflow-style structural grid — faint page-wide column hairlines */
.pagegrid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(242, 239, 230, 0.045) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: -1px 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }

h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; color: var(--white); }

h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }

.accent { color: var(--yellow); }

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--yellow);
  background: linear-gradient(105deg, #ffe9a0 0%, var(--yellow) 45%, #cf9d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mono section kicker — "01 — About Us" */
/* Chip-style kicker badge */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.7);
}
.kicker span { color: var(--yellow); }
.section__head--center .kicker { margin-left: auto; margin-right: auto; }

.section__head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__lede { margin-top: 22px; color: var(--grey); font-size: 1.1rem; max-width: 640px; }
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 30px;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn span, .btn .btn__arrow { position: relative; z-index: 1; }

.btn__arrow {
  font-style: normal;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--solid {
  background: var(--yellow);
  color: var(--black);
}
.btn--solid:hover {
  background: var(--yellow-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 197, 24, 0.25);
}
.btn--solid:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn--small { padding: 11px 24px; font-size: 0.88rem; }
.btn--full { width: 100%; border: none; }

/* ---------- Nav ---------- */
/* Transparent header: invisible at the top, frosts in once you scroll */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

/* Craflow-style bar: pill links split left/right, small mark dead centre */
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}

.nav__links { display: contents; }
.nav__group { display: flex; align-items: center; gap: 10px; }
.nav__group--left { grid-column: 1; grid-row: 1; justify-self: start; }
.nav__group--right { grid-column: 3; grid-row: 1; justify-self: end; }

/* Plain text links — no backgrounds, just type and a sliding underline */
.nav__pill {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.25s ease;
}
.nav__pill::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__pill:hover,
.nav__pill.is-active { color: var(--yellow); }
.nav__pill:hover::after,
.nav__pill.is-active::after { transform: scaleX(1); transform-origin: left; }

/* The single real button in the header */
.nav__pill--solid {
  background: var(--yellow);
  color: var(--black);
  padding: 11px 22px;
  border-radius: 12px;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.nav__pill--solid::after { display: none; }
.nav__pill--solid:hover {
  background: var(--yellow-bright);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(245, 197, 24, 0.25);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  overflow: hidden;
}

/* Background video slot (assets/hero-veil.mp4) — screen-blended over black */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: saturate(0.75) contrast(1.06);
}

/* Real footage playing → the CSS placeholder veil stands down */
.hero.has-video .hero__veil { display: none; }

/* Flowing silk veil — blurred white ribbons drifting left → right.
   Screen blend over black reads as glossy translucent fabric. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.veil {
  position: absolute;
  display: block;
  width: 130%;
  height: 46%;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 28%,
    rgba(242, 239, 230, 0.12) 48%,
    rgba(255, 255, 255, 0.42) 66%,
    transparent 100%);
  will-change: transform;
}
.veil--a {
  top: 6%;
  left: -40%;
  opacity: 0.14;
  transform: rotate(-9deg);
  animation: veilflow 26s ease-in-out infinite alternate;
}
.veil--b {
  top: 38%;
  left: -55%;
  opacity: 0.1;
  transform: rotate(5deg);
  animation: veilflow 34s ease-in-out 4s infinite alternate;
}
.veil--c {
  top: 62%;
  left: -30%;
  opacity: 0.05;
  height: 34%;
  transform: rotate(-4deg);
  animation: veilflow 30s ease-in-out 9s infinite alternate;
}
@keyframes veilflow {
  0%   { translate: 0 0; scale: 1 1; }
  100% { translate: 26% -3%; scale: 1.06 0.94; }
}

/* Contrast scrim above video + veil, below content */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 65% at 50% 44%, transparent 42%, rgba(7, 7, 7, 0.5) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, transparent 26%, transparent 58%, var(--black) 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}
.hero__glow--a {
  top: -240px; right: -160px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.14) 0%, transparent 62%);
}
.hero__glow--b {
  bottom: -300px; left: -240px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.07) 0%, transparent 62%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 80% 70% at 55% 40%, black 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 40%, black 10%, transparent 72%);
  opacity: 0.45;
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Anything with the `hidden` attribute stays hidden even when a class
   sets its own display (used to temporarily park the phone mockup). */
[hidden] { display: none !important; }

/* Centered, editorial hero — Craflow-style. Remove this class from
   .hero__layout to restore the two-column phone layout. */
.hero__layout--centered { grid-template-columns: 1fr; justify-items: center; }
.hero__layout--centered .hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
}
.hero__layout--centered .hero__sub { margin-left: auto; margin-right: auto; max-width: 620px; }
.hero__layout--centered .hero__cta { justify-content: center; }
.hero__layout--centered .hero__markers { justify-content: center; }
.hero__layout--centered .hero__title { font-size: clamp(3rem, 8.2vw, 6.6rem); }

.hero__logo {
  height: clamp(88px, 13vw, 148px);
  width: auto;
  margin-bottom: 36px;
  filter: drop-shadow(0 18px 60px rgba(245, 197, 24, 0.18));
}

/* Trial: the wordmark takes the headline's place, headline-sized */
.hero__title--logo { line-height: 0; }
.hero__title--logo img {
  height: clamp(210px, 27vw, 330px);
  width: auto;
  max-width: 92vw;
  object-fit: contain;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.65))
          drop-shadow(0 10px 44px rgba(245, 197, 24, 0.14));
}

/* status chip — mono, terminal-flavoured */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245, 197, 24, 0.3);
  background: var(--yellow-soft);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 5px rgba(245, 197, 24, 0); }
}

/* Big Craflow-style display type: bold caps, tight leading */
.hero__title {
  font-size: clamp(2.9rem, 6.4vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-bottom: 28px;
}
.hero__title-accent {
  color: var(--yellow);
  background: linear-gradient(110deg, #ffe9a0 0%, var(--yellow) 40%, #cf9d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title-dot { color: var(--cream); }

.hero__sub {
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  color: rgba(242, 239, 230, 0.75);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 42px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero__markers {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  font-size: 0.92rem;
  color: var(--grey);
}
.hero__markers li { display: flex; align-items: center; gap: 10px; }
.marker__key {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--yellow);
  border: 1px solid rgba(245, 197, 24, 0.3);
  border-radius: 6px;
  padding: 2px 7px;
}

/* scroll cue */
.hero__scrollcue {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color 0.25s ease;
}
.hero__scrollcue:hover { border-color: var(--yellow); }
.hero__scrollcue span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--yellow);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Corner metadata, Craflow-style */
.hero__corner {
  position: absolute;
  z-index: 2;
  bottom: 36px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__corner--left { left: 34px; }
.hero__corner--left::before { content: "⊕"; color: var(--yellow); font-size: 0.85rem; }
.hero__corner--right { right: 34px; }
.hero__corner--right::after { content: "◉"; color: var(--yellow); font-size: 0.8rem; }

/* ---------- Phone scene ---------- */
.hero__visual { display: flex; justify-content: center; }

.scene {
  position: relative;
  perspective: 1400px;
}

.phone {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(5deg) rotateZ(1deg);
  transition: transform 0.5s var(--ease-out);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.phone__frame {
  width: 310px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2a2a2a, #131313);
  border: 1px solid rgba(242, 239, 230, 0.22);
  padding: 11px;
  box-shadow:
    0 60px 110px rgba(0, 0, 0, 0.72),
    0 0 110px rgba(245, 197, 24, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.phone__island {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 27px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

.phone__screen {
  position: relative;
  background: linear-gradient(185deg, #131313 0%, #0a0a0a 55%, #0d0c08 100%);
  border-radius: 38px;
  padding: 14px 16px 12px;
  min-height: 596px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
}

.phone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cream);
  padding: 0 10px;
  height: 26px;
}
.phone__statusicons { display: flex; gap: 5px; align-items: center; }

.phone__appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 0;
}
.phone__greeting {
  display: block;
  font-size: 0.66rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey);
}
.phone__fy { font-size: 1.02rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.phone__avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  padding: 4px;
  object-fit: contain;
}

.phone__card {
  position: relative;
  background: linear-gradient(140deg, var(--yellow-bright) 0%, var(--yellow) 55%, #d9a800 100%);
  border-radius: 20px;
  padding: 16px 16px 14px;
  color: var(--black);
  overflow: hidden;
}
.phone__card::after {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
}
.phone__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 2px;
}
.phone__amount { font-size: 1.95rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.phone__cents { font-size: 1.05rem; opacity: 0.65; }

.phone__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 40px;
  margin: 10px 0 8px;
  position: relative;
  z-index: 1;
}
.phone__chart i {
  flex: 1;
  height: var(--h);
  background: rgba(7, 7, 7, 0.28);
  border-radius: 4px 4px 2px 2px;
}
.phone__chart i:last-child { background: var(--black); }

.phone__badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  background: rgba(7, 7, 7, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
}

.phone__segmented {
  display: flex;
  background: rgba(242, 239, 230, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  font-size: 0.72rem;
  font-weight: 600;
}
.phone__segmented span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 9px;
  color: var(--grey);
}
.phone__segmented .is-on { background: var(--black-raise); color: var(--yellow); box-shadow: 0 2px 8px rgba(0,0,0,0.4); }

.phone__rows { display: flex; flex-direction: column; gap: 9px; }

.phone__row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 239, 230, 0.045);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
}
.phone__row div { flex: 1; min-width: 0; }
.phone__row strong {
  display: block;
  font-size: 0.79rem;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__row small { font-size: 0.65rem; color: var(--grey); }

.phone__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.phone__dot--in  { background: #6fce7e; box-shadow: 0 0 8px rgba(111, 206, 126, 0.6); }
.phone__dot--out { background: #e2695d; box-shadow: 0 0 8px rgba(226, 105, 93, 0.6); }
.phone__dot--tax { background: var(--yellow); box-shadow: 0 0 8px rgba(245, 197, 24, 0.6); }

.phone__val { font-size: 0.78rem; font-weight: 700; color: var(--cream); font-variant-numeric: tabular-nums; }
.phone__val--in { color: #6fce7e; }

.phone__tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  background: rgba(242, 239, 230, 0.05);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 9px 14px 7px;
}
.phone__tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--grey-dim);
  letter-spacing: 0.02em;
}
.phone__tabbar svg { width: 19px; height: 19px; }
.phone__tabbar .is-on { color: var(--yellow); }

.phone__reflection {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0%, transparent 30%);
  pointer-events: none;
}

/* Floating glass chips */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(24, 24, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 13px 17px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  z-index: 4;
}
.chip strong { display: block; font-size: 0.82rem; color: var(--white); letter-spacing: -0.01em; }
.chip small { font-size: 0.7rem; color: var(--grey); font-family: var(--font-mono); }

.chip__icon {
  width: 30px; height: 30px;
  color: var(--yellow);
  background: var(--yellow-soft);
  border: 1px solid rgba(245, 197, 24, 0.3);
  border-radius: 9px;
  padding: 6px;
}

.chip--scan {
  top: 72px;
  right: -52px;
  animation: bob 6s ease-in-out infinite;
}
.chip--live {
  bottom: 52px;
  left: -104px;
  animation: bob 6s ease-in-out 1.6s infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chip__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

/* (marquee band removed — the hero now dissolves straight into About;
   these keyframes stay because the filmstrip scrolls with them) */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 70px);
  margin-bottom: clamp(56px, 7vw, 90px);
}

.about__copy p { margin-bottom: 24px; color: var(--grey); }
.about__copy p:last-child { margin-bottom: 0; }
.about__lead {
  color: var(--cream) !important;
  font-size: 1.22rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ---------- Photo deck (Craflow-style fanned stack) ---------- */
.deck {
  position: relative;
  min-height: 440px;
}
.deck__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(66%, 300px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}
.deck__card--a { transform: translate(-50%, -50%) rotate(-9deg) translateX(-46px); }
.deck__card--b { transform: translate(-50%, -50%) rotate(7deg) translateX(52px); }
.deck__card--c { transform: translate(-50%, -50%) rotate(-1deg) translateY(6px); }
.deck:hover .deck__card--a { transform: translate(-50%, -50%) rotate(-12deg) translateX(-78px) translateY(-8px); }
.deck:hover .deck__card--b { transform: translate(-50%, -50%) rotate(10deg) translateX(84px) translateY(-4px); }
.deck:hover .deck__card--c { transform: translate(-50%, -50%) rotate(0deg) translateY(-10px); }
.deck:hover .deck__card { filter: grayscale(0.2) contrast(1.03) brightness(1); }

/* ---------- Stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(56px, 7vw, 90px);
}
.stat {
  padding: 38px 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num {
  font-size: clamp(2.6rem, 4.2vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}
.stat__num i {
  font-style: normal;
  color: var(--yellow);
  font-size: 0.6em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.7;
}

/* ---------- Service rows (Craflow-style, hover photo reveal) ---------- */
.svc { border-bottom: 1px solid var(--line); }

.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1.1fr 1.3fr 50px;
  align-items: center;
  gap: 26px;
  padding: 40px 10px;
  border-top: 1px solid var(--line);
  transition: background 0.3s ease, padding 0.35s var(--ease-out);
}
.svc__row:hover { background: rgba(242, 239, 230, 0.025); padding-left: 22px; }

.svc__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.12em;
}
.svc__title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.svc__row:hover .svc__title { color: var(--yellow); }
.svc__desc { color: var(--grey); font-size: 0.98rem; }
.svc__arrow {
  font-size: 1.5rem;
  color: var(--grey-dim);
  justify-self: end;
  transition: transform 0.35s var(--ease-out), color 0.25s ease;
}
.svc__row:hover .svc__arrow { transform: translateX(8px); color: var(--yellow); }

.svc__img {
  position: absolute;
  right: 130px;
  top: 50%;
  width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  filter: grayscale(1) brightness(0.95);
  opacity: 0;
  transform: translateY(-50%) rotate(-5deg) scale(0.88);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
  pointer-events: none;
  z-index: 5;
}
.svc__row:hover .svc__img {
  opacity: 1;
  transform: translateY(-50%) rotate(3deg) scale(1);
}

/* ---------- Statement (full-bleed quote over architecture) ---------- */
.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 180px) 0;
  text-align: center;
}
.statement__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.34) contrast(1.1);
}
.statement__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(7, 7, 7, 0.25), rgba(7, 7, 7, 0.88)),
    linear-gradient(rgba(7, 7, 7, 0.9), transparent 22%, transparent 78%, rgba(7, 7, 7, 0.9));
}
.statement__inner { position: relative; max-width: 940px; }
.statement__mark {
  display: block;
  color: var(--yellow);
  font-size: 1.4rem;
  margin-bottom: 30px;
}
.statement__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.32;
  color: var(--white);
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.statement__cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.statement__cite::before { content: "— "; }
.statement__tagline {
  margin-top: 44px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.65);
}

/* ---------- Filmstrip ---------- */
.filmstrip {
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--black-soft);
}
.filmstrip__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
.filmstrip__track img {
  height: 200px;
  width: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  filter: grayscale(1) brightness(0.9);
  transition: filter 0.35s ease, transform 0.35s var(--ease-out);
}
.filmstrip__track img:hover { transform: scale(1.03); }
.filmstrip__track img:hover { filter: grayscale(0) brightness(1); }

/* ---------- App / bento ---------- */
.app { background: var(--black-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento__cell {
  background: linear-gradient(180deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.bento__cell:hover {
  border-color: rgba(245, 197, 24, 0.32);
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px rgba(0, 0, 0, 0.45);
}

.bento__cell--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 34px; }

.bento__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: var(--yellow);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.2) 0%, rgba(245, 197, 24, 0.05) 100%);
  border: 1px solid rgba(245, 197, 24, 0.32);
  border-radius: 13px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.bento__icon svg { width: 24px; height: 24px; }

.bento__text h3 { margin-bottom: 10px; }
.bento__text p { font-size: 0.94rem; color: var(--grey); }

/* photo inside a wide cell */
.bento__photo {
  flex-shrink: 0;
  width: 42%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.4s ease;
}
.bento__cell--wide:hover .bento__photo { filter: grayscale(0.15) brightness(1); }

/* mini video-call visual inside the wide cell */
.bento__visual--call { flex-shrink: 0; width: 46%; }

.callwin {
  background: #0b0b0b;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.callwin__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.callwin__rec {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e25d5d;
  animation: blink 1.6s ease-in-out infinite;
}
.callwin__body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.callwin__msg {
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 10px 13px;
  border-radius: 12px;
  max-width: 88%;
}
.callwin__msg--ai {
  background: rgba(242, 239, 230, 0.07);
  border: 1px solid var(--line);
  color: var(--cream);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.callwin__msg--you {
  background: var(--yellow);
  color: var(--black);
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.callwin__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 16px;
}
.callwin__controls i {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(242, 239, 230, 0.08);
  border: 1px solid var(--line);
}
.callwin__controls .is-end { background: #e25d5d; border-color: #e25d5d; }

/* yellow CTA cell — the grid's single accent block */
.bento__cell--cta {
  background: linear-gradient(150deg, var(--yellow-bright) 0%, var(--yellow) 60%, #dfae00 100%);
  border: none;
  justify-content: space-between;
}
.bento__cell--cta:hover {
  background: linear-gradient(150deg, var(--yellow-bright) 0%, var(--yellow) 60%, #dfae00 100%);
  border: none;
}
.bento__cell--cta h3 { color: var(--black); font-size: 1.5rem; letter-spacing: -0.02em; }
.bento__cta-mark {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid rgba(7, 7, 7, 0.35);
}
.bento__cta-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(7, 7, 7, 0.62);
  margin-bottom: 6px;
}

.btn--dark {
  background: var(--black);
  color: var(--yellow);
  align-self: flex-start;
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(7, 7, 7, 0.4); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }

.contact__glow {
  position: absolute;
  bottom: -280px; left: -220px;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.1) 0%, transparent 62%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: start;
}

.contact__copy h2 { margin-bottom: 26px; }
.contact__copy > p { color: var(--grey); margin-bottom: 22px; }

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 22px;
  margin-top: 12px;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}
.contact__email svg { color: var(--yellow); }
.contact__email:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.contact__form {
  background:
    linear-gradient(var(--black-card), var(--black-card)) padding-box,
    linear-gradient(150deg, rgba(245, 197, 24, 0.4), rgba(242, 239, 230, 0.1) 50%, rgba(242, 239, 230, 0.06)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 70px rgba(0, 0, 0, 0.45);
}

.form__field { display: flex; flex-direction: column; gap: 9px; }

.form__field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.form__field input,
.form__field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 15px 17px;
  outline: none;
  resize: vertical;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(152, 148, 138, 0.55); }
.form__field input:focus,
.form__field textarea:focus {
  border-color: rgba(245, 197, 24, 0.65);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(245, 197, 24, 0.12),
              0 0 24px rgba(245, 197, 24, 0.08);
}

.form__status {
  font-size: 0.92rem;
  min-height: 1.4em;
  text-align: center;
  color: var(--yellow);
}
.form__status.is-error { color: #e2695d; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 90px 0 0;
  background: var(--black-soft);
  overflow: hidden;
}

/* Craflow-style closing statement: massive edge-to-edge wordmark,
   fading into the page edge like a light falloff */
.footer__word {
  font-size: min(11.5vw, 168px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.84;
  text-align: center;
  white-space: nowrap;
  color: var(--cream);
  margin-top: 70px;
  transform: translateY(0.06em);
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(180deg, black 30%, rgba(0, 0, 0, 0.25) 100%);
  -webkit-mask-image: linear-gradient(180deg, black 30%, rgba(0, 0, 0, 0.25) 100%);
}

.footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__logo { height: 58px; width: auto; opacity: 0.92; }

.footer__slogan {
  font-family: var(--font-serif);
  color: rgba(242, 239, 230, 0.5);
  font-size: 1.05rem;
}

.footer__links { display: flex; gap: 30px; }
.footer__links a {
  color: var(--grey);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--yellow); }

.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(152, 148, 138, 0.6);
}

/* ---------- Reveal animation ---------- */
/* Cinematic entrance: rise + focus pull (blur settles as it lands) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out),
              filter 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .phone, .chip--scan, .chip--live, .filmstrip__track, .veil,
  .status__dot, .chip__pulse, .callwin__rec, .hero__scrollcue span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; gap: 90px; }
  .hero { padding-top: 170px; }
  .hero__content { max-width: 640px; }
  .hero__scrollcue { display: none; }
  .chip--scan { right: 0; }
  .chip--live { left: 0; }
}

@media (max-width: 960px) {
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .deck { min-height: 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 22px; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .svc__row { grid-template-columns: 48px 1fr 40px; }
  .svc__desc { display: none; }
  .svc__img { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--wide { grid-column: span 2; flex-direction: column; align-items: stretch; }
  .bento__visual--call { width: 100%; max-width: 440px; }
}

/* Mobile nav: no hamburger — the pills stay visible, just compact.
   A one-pager needs visible anchors, not a menu. */
@media (max-width: 860px) {
  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
  }
  .nav__toggle { display: none; }
  .nav__links { display: contents; }
  .nav__group { gap: 16px; }
  .nav__pill { font-size: 0.72rem; letter-spacing: 0.08em; }
  .nav__pill--solid { padding: 9px 16px; }
}

@media (max-width: 680px) {
  /* the solid button is now the nav's only contact path — keep it visible */
  .nav__pill { font-size: 0.68rem; }
  .nav__pill--solid { padding: 8px 13px; }
}

@media (max-width: 680px) {

  .hero__cta .btn { width: 100%; }
  .hero__markers { gap: 14px; flex-direction: column; align-items: flex-start; }
  .hero__layout--centered .hero__markers { align-items: center; }
  .hero__corner { display: none; }
  .status { font-size: 0.66rem; letter-spacing: 0.14em; padding: 8px 14px; }
  .hero__content, .hero__visual { min-width: 0; }

  .phone__frame { width: 272px; }
  .phone__screen { min-height: 540px; }
  .chip { padding: 10px 13px; }
  .chip strong { font-size: 0.75rem; }
  .chip small { font-size: 0.64rem; }
  .chip--scan { top: 40px; right: -8px; }
  .chip--live { bottom: 56px; left: -8px; }

  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; padding: 22px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__photo { width: 100%; min-height: 180px; }
  .filmstrip__track img { height: 140px; }
  .deck { min-height: 320px; }
  .deck__card { width: 58%; }
  .bento__cell--wide { grid-column: span 1; }
  .contact__form { padding: 32px 24px; }
}
