/* ============================================================
   reachup · v4 — the real brand
   Mark:   coral circle arrow (#FF5E5B) · wordmark ink #10171E
   Canvas: warm paper, light-first. Ink studio band + ink footer
   for rhythm. Liquid glass everywhere it earns its keep.
   Type:   Poppins (display, matches the wordmark's geometry)
           Inter Tight (body) · Instrument Serif (ital accents)
           IBM Plex Mono (kickers/labels)
   The only gradients are the white/dark-alpha border strokes of
   the glass spec and the hero blur mask. No color gradients.
   ============================================================ */

:root {
  --paper: #FBFAF7;
  --paper-2: #F3F1EB;
  --ink: #10171E;
  --ink-2: #171F28;
  --ink-dim: #4A5158;
  --ink-faint: #6E747C;
  --coral: #FF5E5B;
  --coral-deep: #E8403D;
  --ivory: #F4F1E8;
  --ivory-dim: #B9B7AE;
  --hair: rgba(16, 23, 30, 0.10);
  --hair-strong: rgba(16, 23, 30, 0.18);
  --hair-inv: rgba(244, 241, 232, 0.10);
  --hair-inv-strong: rgba(244, 241, 232, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
h1 em, h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
  letter-spacing: -0.01em;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: '';
  position: absolute; left: 4%; right: 6%; bottom: 0.02em;
  height: 0.06em; background: var(--coral);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero h1:hover em::after { transform: scaleX(1); }
.hero h1:hover em { animation: emPulse 1.2s ease-in-out; }
@keyframes emPulse { 0%,100% { transform: none; } 40% { transform: translateY(-3px) rotate(-1deg); } }

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

/* ---------- Liquid Glass (ui-layouts recipe, single-element API) ----------
   Layer model of the reference, mapped to pseudo-elements:
   ::before (z:-1)  = distortion layer: backdrop blur + feTurbulence
                      displacement (filter: url(#glass-blur))
   element shadow   = outer depth (0 4px 4px, 0 0 12px, white 24px halo)
   ::after (z:2)    = glossy dual diagonal inset edges
   isolation traps ::before behind the content. */
.liquid-glass {
  position: relative;
  isolation: isolate;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.15),
    0 0 12px rgba(0, 0, 0, 0.08),
    0 0 24px rgba(255, 255, 255, 0.1);
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  filter: url(#glass-blur);
  pointer-events: none;
}
.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow:
    inset 2px 2px 2px 0 rgba(255, 255, 255, 0.35),
    inset -2px -2px 2px 0 rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.liquid-glass.on-light {
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 4px 4px rgba(16, 23, 30, 0.10),
    0 0 12px rgba(16, 23, 30, 0.06),
    0 0 24px rgba(255, 255, 255, 0.35);
}
.liquid-glass.on-light::after {
  box-shadow:
    inset 2px 2px 2px 0 rgba(255, 255, 255, 0.6),
    inset -2px -2px 2px 0 rgba(255, 255, 255, 0.6);
}

/* ---------- blur-fade-up entrance ---------- */
@keyframes blurFadeUp {
  from { opacity: 0; filter: blur(20px); transform: translateY(40px); }
  to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
}
.bfu { animation: blurFadeUp 1s ease-out forwards; opacity: 0; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; filter: blur(14px); transform: translateY(28px);
  transition: opacity .9s ease, filter .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; filter: blur(0); transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .bfu { animation: none; opacity: 1; }
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ============================ NAV ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 250, 247, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--hair);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; }
.brand-lockup { height: 30px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-dim); text-decoration: none;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* buttons */
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 10px 22px;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink); text-decoration: none;
  transition: transform .3s ease;
  cursor: pointer;
}
.btn-glass:hover { transform: scale(1.04); }
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 34px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .3s ease, background .3s ease;
}
.btn-solid:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-coral {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 26px;
  background: var(--coral); color: var(--ink);
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-decoration: none;
  transition: transform .3s ease, background .3s ease;
}
.btn-coral:hover { background: #FF7472; transform: translateY(-2px); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 120px 24px 0;
  overflow: hidden;
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-blur {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(to top, black 0%, transparent 42%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 42%);
}
.hero-content { position: relative; z-index: 10; max-width: 1020px;
  transform: translate(calc(var(--hx, 0) * 8px), calc(var(--hy, 0) * 5px));
  transition: transform .25s ease-out; }
.hero .kicker { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  margin-bottom: 30px;
  text-wrap: balance;
  color: var(--ink);
}
.hero .deck {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 640px;
  margin: 0 auto 44px;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-row .btn-glass { padding: 14px 30px; font-size: 14px; }

.hero-foot { position: relative; z-index: 10; width: 100%; margin-top: auto; padding: 56px 0 26px; }
.ticker { overflow: hidden; border-top: 1px solid var(--hair); padding-top: 22px; }
.ticker-track {
  display: flex; width: max-content; white-space: nowrap;
  animation: tick 46s linear infinite;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-dim);
}
.ticker-track i { color: var(--coral); font-style: normal; padding: 0 18px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ========================= PRODUCTS ========================= */
.products { padding: 130px 0 110px; position: relative; z-index: 2; background: var(--paper); }
.sec-head { margin-bottom: 72px; }
.sec-head h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-top: 18px; }

.product-list { display: flex; flex-direction: column; }
.product {
  display: grid; grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: 48px; align-items: center;
  padding: 56px 32px;
  margin: 0 -32px;
  border-top: 1px solid var(--hair);
  border-radius: 24px;
  text-decoration: none; color: inherit;
  transition: background .45s ease;
}
.product:hover { background: #FFFFFF; }
.p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.p-logo { width: 34px; height: 34px; border-radius: 8px; display: block; }
.p-index { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-faint); letter-spacing: 0.2em; }
.product h3 { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.p-line {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1;
  color: var(--ink); margin-bottom: 14px;
}
.p-sub { color: var(--ink-dim); font-size: 15.5px; line-height: 1.65; max-width: 380px; margin-bottom: 26px; }
.p-visit {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.05em;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--hair-strong);
  padding-bottom: 4px;
  transition: color .3s ease, border-color .3s ease;
}
.p-visit i { font-style: normal; color: var(--pa, var(--coral)); }
.product:hover .p-visit { color: var(--ink); border-color: var(--pa, var(--coral)); }

.p-shot {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--hair);
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(16,23,30,0.05), 0 12px 32px rgba(16,23,30,0.07);
  transform: perspective(1200px) rotateY(0deg);
  transition: transform .6s ease, border-color .6s ease, box-shadow .6s ease;
}
.product:hover .p-shot {
  border-color: var(--hair-strong);
  transform: perspective(1200px) rotateY(-1.6deg) translateY(-4px);
  box-shadow: 0 2px 4px rgba(16,23,30,0.06), 0 20px 48px rgba(16,23,30,0.10);
}
.p-chrome {
  display: flex; gap: 6px; padding: 12px 14px;
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.p-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--hair-strong); }
.p-chrome i:first-child { background: var(--pa, var(--coral)); opacity: .8; }
.p-shot img {
  width: 100%; height: auto; display: block;
  transform: scale(1.005);
  transition: transform 1.1s cubic-bezier(.2,.6,.2,1);
}
.product:hover .p-shot img { transform: scale(1.045); }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 28px; padding: 44px 20px; margin: 0 -20px; }
  .p-sub { max-width: none; }
}

/* ========================= NUMBERS ========================= */
.numbers { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--paper); position: relative; z-index: 2; }
.num-kicker {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-dim); text-align: center;
  padding: 34px 24px 0;
}
.numbers-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.num { padding: 56px 20px; text-align: center; border-left: 1px solid var(--hair); }
.num:first-child { border-left: none; }
.num .n {
  display: block;
  font-family: 'IBM Plex Mono', monospace; font-weight: 600;
  font-size: clamp(1.8rem, 3.1vw, 2.8rem); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.num .l { display: block; margin-top: 10px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 980px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(odd) { border-left: none; }
  .num { border-top: 1px solid var(--hair); padding: 36px 12px; }
  .num:nth-child(-n+2) { border-top: none; }
}

/* ==================== STUDIO (ink band) ==================== */
.studio { background: var(--ink); color: var(--ivory); padding: 150px 0; position: relative; z-index: 2; }
.studio .kicker { color: var(--coral); }
.studio h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 18px 0 56px; max-width: 820px; }
.studio-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; }
.studio-cols p { font-size: 17.5px; line-height: 1.75; color: var(--ivory-dim); }
.studio-note { margin-top: 56px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ivory-dim); }
.studio-note span { color: var(--coral); }
@media (max-width: 760px) { .studio-cols { grid-template-columns: 1fr; gap: 22px; } }

/* ======================== STANDARDS ======================== */
.standards { padding: 150px 0; background: var(--paper); position: relative; z-index: 2; }
.std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.std { border-radius: 18px; padding: 38px 32px; transition: transform .45s ease; }
.std:hover { transform: translateY(-6px); }
.std svg { width: 30px; height: 30px; color: var(--coral-deep); margin-bottom: 26px; }
.std h3 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.std p { font-size: 15px; line-height: 1.7; color: var(--ink-dim); }
@media (max-width: 860px) { .std-grid { grid-template-columns: 1fr; } }

/* ========================= CONTACT ========================= */
.contact { padding: 170px 0 190px; text-align: center; background: var(--paper); position: relative; z-index: 2; }
.contact h2 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin: 20px 0 48px; }
.contact-note { margin-top: 26px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-faint); letter-spacing: 0.06em; }

/* ===================== FOOTER (ink band) ===================== */
footer { background: var(--ink); color: var(--ivory); position: relative; z-index: 2; overflow: hidden; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 24px; position: relative; z-index: 2; }
.foot-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.foot-brand img { width: 34px; height: 34px; display: block; }
.foot-brand span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ivory); }
.foot-links { display: flex; gap: 28px; }
.foot-links a {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  color: var(--ivory-dim); text-decoration: none; transition: color .25s ease;
}
.foot-links a:hover { color: var(--ivory); }
.foot-copy { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ivory-dim); }
/* the background wordmark element — keep */
.foot-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.72;
  font-size: clamp(6rem, 20vw, 20rem);
  color: rgba(255, 94, 91, 0.07);
  text-align: center;
  transform: translateY(0.18em);
  user-select: none;
  position: relative; z-index: 1;
}


/* ======================== SHOWCASE ======================== */
.showcase {
  display: grid; grid-template-columns: minmax(340px, 5fr) 7fr;
  gap: 40px; align-items: stretch;
}
.show-list { display: flex; flex-direction: column; justify-content: center; }
.show-row {
  display: grid;
  grid-template-columns: 34px 26px 1fr auto;
  grid-template-areas: "idx logo name go" "idx logo line go";
  column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 22px 18px;
  border-top: 1px solid var(--hair);
  text-decoration: none; color: inherit;
  border-radius: 14px;
  transition: background .35s ease, padding-left .35s ease;
}
.show-row:last-child { border-bottom: 1px solid var(--hair); }
.show-row .s-index { grid-area: idx; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .15em; color: var(--ink-faint); transition: color .3s ease; }
.show-row .s-logo { grid-area: logo; width: 26px; height: 26px; border-radius: 6px; }
.show-row .s-name { grid-area: name; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.show-row .s-line { grid-area: line; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 15.5px; color: var(--ink-dim); }
.show-row .s-go { grid-area: go; color: var(--ink-faint); font-size: 15px; transition: color .3s ease, transform .3s ease; }
.show-row:hover, .show-row.active { background: #FFFFFF; padding-left: 26px; }
.show-row:hover .s-index, .show-row.active .s-index { color: var(--pa, var(--coral)); }
.show-row:hover .s-go, .show-row.active .s-go { color: var(--pa, var(--coral)); transform: translate(2px, -2px); }

.show-view { border-radius: 18px; padding: 0; align-self: center; width: 100%; }
.show-view .p-chrome { background: transparent; border-bottom: 1px solid var(--hair); position: relative; z-index: 2; }
.show-frame { overflow: hidden; border-radius: 0 0 18px 18px; }
.show-frame img {
  width: 100%; height: auto; display: block;
  transition: opacity .35s ease, transform .8s cubic-bezier(.2,.6,.2,1);
}
.show-frame img.swap { opacity: 0; transform: scale(1.02); }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .show-view { order: -1; }
  .show-row .s-line { display: none; }
  .show-row { grid-template-areas: "idx logo name go"; grid-template-columns: 30px 24px 1fr auto; padding: 16px 12px; }
}


