/* ============================================================
   WeGrapps — Editorial Studio design system
   Multi-page · pure CSS · no frameworks · shared-hosting light
   ============================================================ */
/* (Cinematic home hero styles live at the very bottom of this file) */

:root {
  --paper:    #f6f4ee;   /* warm off-white */
  --paper-2:  #efece3;   /* slightly deeper section bg */
  --card:     #fbfaf6;
  --ink:      #14130f;   /* near-black */
  --ink-2:    #3a382f;
  --muted:    #6f6c60;
  --faint:    #9a9789;
  --line:     #d9d5c8;   /* hairline rules */
  --line-2:   #c7c2b2;

  --accent:   #f23005;   /* vermilion */
  --accent-2: #c92703;   /* hover */
  --accent-w: #fbe6df;   /* accent wash */

  --maxw: 1280px;
  --gut:  clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2,.7,.2,1);

  --disp: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --serif:'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* faint paper grain for a tactile, non-templated feel */
  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='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

h1,h2,h3,h4 { font-family: var(--disp); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.accent { color: var(--accent); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- section scaffolding (editorial numbered) ---------- */
.sec { padding: clamp(64px, 9vw, 130px) 0; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 56px; }
.sec-num {
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px;
}
.sec-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-title { font-size: clamp(2.1rem, 5.5vw, 4rem); max-width: 16ch; }
.sec-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 56ch; }

.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  padding: .9em 1.5em; border-radius: 2px; border: 1.5px solid var(--ink);
  transition: background .22s var(--ease), color .22s, transform .22s, border-color .22s;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.btn__a { transition: transform .22s var(--ease); }
.btn:hover .btn__a { transform: translateX(4px); }

.tlink { font-weight: 600; display: inline-flex; align-items: center; gap: .5em; border-bottom: 1.5px solid transparent; transition: border-color .2s, gap .2s; }
.tlink:hover { border-color: var(--accent); gap: .8em; }
.tlink .btn__a { color: var(--accent); }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 90; background: rgba(246,244,238,.82); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.bar.is-stuck { border-bottom-color: var(--line); }
.bar__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: .15rem; font-family: var(--disp); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }
.brand b { color: var(--accent); font-weight: 800; }
.brand sup { font-family: var(--sans); font-size: .5rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin-left: 4px; }

.menu { display: flex; align-items: center; gap: 2rem; }
.menu a { font-family: var(--sans); font-weight: 500; font-size: .96rem; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .2s; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--accent); transition: width .25s var(--ease); }
.menu a:not(.btn):hover { color: var(--ink); } .menu a:not(.btn):hover::after,.menu a.is-current::after { width: 100%; }
.menu a.is-current { color: var(--ink); }
.menu .btn { padding: .6em 1.2em; }
/* keep button text light on its dark fill (beats `.menu a` color) */
.menu a.btn--solid { color: var(--paper); }
.menu a.btn--solid:hover { color: var(--paper); }

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

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px,6vw,80px); }
.hero__top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero__meta { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__h { font-size: clamp(2.8rem, 9vw, 7.2rem); line-height: .96; letter-spacing: -.035em; }
.hero__h .serif { font-size: .92em; }
.hero__sub { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hero__p { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--ink-2); max-width: 44ch; }
.hero__p b { color: var(--ink); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-self: start; }
@media (max-width: 820px){ .hero__sub { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- capabilities band (transparent · on paper, shine sweep) ---------- */
.cap {
  position: relative; overflow: hidden;
  padding: clamp(30px, 5vw, 60px) 0;
  display: grid; gap: clamp(4px, .9vw, 12px);
  background: transparent;            /* no band colour — uses the page paper */
  border-block: 1px solid var(--line);
}
.cap::before, .cap::after { /* soft fade at edges, matching the paper */
  content: ""; position: absolute; top: 0; bottom: 0; width: 11%; z-index: 2; pointer-events: none;
}
.cap::before { left: 0;  background: linear-gradient(90deg,  var(--paper), transparent); }
.cap::after  { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

.cap__row { overflow: hidden; }
.cap__track { display: inline-flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); width: max-content; will-change: transform; }
.cap__row--a .cap__track { animation: capLeft 32s linear infinite; }
.cap__row--b .cap__track { animation: capRight 38s linear infinite; }
@keyframes capLeft  { to   { transform: translateX(-50%); } }
@keyframes capRight { from { transform: translateX(-50%); } to { transform: none; } }
.cap:hover .cap__track { animation-play-state: paused; }

/* solid row: dark words with a soft accent shine sweeping across */
.cap__item {
  font-family: var(--disp); font-weight: 800; letter-spacing: -.02em; white-space: nowrap;
  font-size: clamp(1.5rem, 3.6vw, 2.9rem);
  background: linear-gradient(100deg, var(--ink) 42%, var(--accent) 50%, var(--ink) 58%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: capshine 7s linear infinite;
  transition: transform .25s var(--ease);
}
@keyframes capshine { to { background-position: -240% 0; } }
.cap__item:hover { transform: translateY(-2px); }

/* second row: outlined words for rhythm */
.cap__row--b .cap__item {
  background: none; -webkit-text-fill-color: transparent; color: transparent;
  -webkit-text-stroke: 1.4px rgba(20,19,15,.30); text-stroke: 1.4px rgba(20,19,15,.30); animation: none;
}
.cap__row--b .cap__item:hover { -webkit-text-stroke: 1.4px var(--accent); text-stroke: 1.4px var(--accent); }

.cap__sep { width: 12px; height: 12px; flex: none; background: var(--accent); border-radius: 3px; transform: rotate(45deg); opacity: .9; }
.cap__row--b .cap__sep { background: transparent; border: 1.6px solid var(--line-2); }

@media (prefers-reduced-motion: reduce) { .cap__item { animation: none; background-position: 0 0; } .cap__track { animation: none !important; transform: none !important; } }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); background: var(--card); }
.stats > div { padding: 36px 30px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--disp); font-size: clamp(2.4rem,4vw,3.4rem); line-height: 1; }
.stats span { font-size: .9rem; color: var(--muted); margin-top: 8px; display: block; }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2){border-right:0} .stats>div:nth-child(1),.stats>div:nth-child(2){border-bottom:1px solid var(--line)} }

/* ---------- services list (editorial rows) ---------- */
.svc { border-top: 1px solid var(--line-2); }
.svc__row { display: grid; grid-template-columns: 64px 1.1fr 1.4fr auto; gap: 24px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease), background .3s; }
.svc__row:hover { padding-left: 16px; background: linear-gradient(90deg, var(--accent-w), transparent 60%); }
.svc__no { font-family: var(--sans); font-size: .9rem; color: var(--accent); font-weight: 600; padding-top: 8px; }
.svc__name { font-family: var(--disp); font-size: clamp(1.5rem,2.6vw,2.1rem); font-weight: 700; }
.svc__desc { color: var(--ink-2); font-size: 1rem; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.svc__tags span { font-family: var(--sans); font-size: .74rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: .2rem .7rem; }
.svc__arrow { font-size: 1.5rem; color: var(--accent); padding-top: 6px; opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); }
.svc__row:hover .svc__arrow { opacity: 1; transform: none; }
@media (max-width: 820px){ .svc__row { grid-template-columns: 40px 1fr; gap: 6px 16px; } .svc__arrow { display: none; } .svc__desc { grid-column: 2; } }

/* ---------- work index (big editorial list) ---------- */
.worklist { border-top: 1px solid var(--ink); }
.workrow { display: grid; grid-template-columns: 1fr auto; gap: 16px 30px; align-items: center; padding: clamp(26px,3.5vw,44px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding-left .35s var(--ease); }
.workrow:hover { padding-left: 18px; }
.workrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.workrow:hover::before { transform: scaleY(1); }
.workrow__main { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.workrow__idx { font-family: var(--sans); font-size: .85rem; color: var(--faint); font-weight: 600; }
.workrow__name { font-family: var(--disp); font-size: clamp(1.8rem,5vw,3.4rem); font-weight: 700; transition: color .25s; }
.workrow:hover .workrow__name { color: var(--accent); }
.workrow__cat { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.workrow__meta { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .92rem; }
.workrow__metric { color: var(--ink); font-weight: 600; }
.workrow__go { font-size: 1.4rem; color: var(--accent); transition: transform .25s; } .workrow:hover .workrow__go { transform: translateX(5px); }
@media (max-width: 720px){ .workrow { grid-template-columns: 1fr; } .workrow__meta { font-size: .82rem; gap: 14px; } }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.filt { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink-2); padding: .5rem 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; transition: .2s; }
.filt:hover { border-color: var(--ink); }
.filt.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.workrow.is-hidden { display: none; }

/* ---------- feature cards (services page, journal) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cellcard { background: var(--card); padding: 34px 30px; transition: background .3s; }
.cellcard:hover { background: var(--paper-2); }
.cellcard__no { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--accent); }
.cellcard h3 { font-size: 1.5rem; margin: 16px 0 10px; }
.cellcard p { color: var(--ink-2); font-size: .98rem; }
.cellcard__list { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.cellcard__list li { font-size: .9rem; color: var(--muted); padding-left: 18px; position: relative; }
.cellcard__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 900px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .grid-3 { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qcard { background: var(--card); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.qcard p { font-family: var(--disp); font-weight: 500; font-size: clamp(1.25rem,2vw,1.6rem); line-height: 1.28; letter-spacing: -.01em; }
.qcard p::before { content: "“"; color: var(--accent); }
.qby { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.qby .av { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; }
.qby strong { display: block; font-family: var(--sans); } .qby span { font-size: .86rem; color: var(--muted); }
@media (max-width: 760px){ .quotes { grid-template-columns: 1fr; } }

/* ---------- process steps ---------- */
.steps { border-top: 1px solid var(--ink); }
.stepr { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.stepr__n { font-family: var(--disp); font-size: clamp(2.6rem,6vw,5rem); font-weight: 800; color: var(--line-2); line-height: .8; }
.stepr:hover .stepr__n { color: var(--accent); transition: color .3s; }
.stepr h3 { font-size: clamp(1.4rem,2.4vw,2rem); margin-bottom: 12px; }
.stepr p { color: var(--ink-2); max-width: 60ch; }
.stepr ul { margin-top: 14px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stepr ul li { font-size: .8rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 2px; padding: .25rem .7rem; }
@media (max-width: 640px){ .stepr { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- big CTA block ---------- */
.cta { background: var(--ink); color: var(--paper); padding: clamp(56px,8vw,110px) 0; }
.cta .wrap { display: grid; gap: 28px; }
.cta__h { font-size: clamp(2.4rem,7vw,5.5rem); line-height: .98; max-width: 16ch; }
.cta__h .serif { color: var(--accent); }
.cta__row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.cta .btn--ghost { color: var(--paper); border-color: var(--paper); }
.cta .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.cta__mail { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--paper); border-bottom: 1px solid var(--accent); }

/* ---------- case study article ---------- */
.cs-hero { padding: clamp(40px,6vw,80px) 0 0; }
.cs-back { font-size: .9rem; color: var(--muted); display: inline-flex; gap: 8px; margin-bottom: 30px; }
.cs-back:hover { color: var(--accent); }
.cs-tagline { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent); margin-bottom: 14px; }
.cs-title { font-size: clamp(2.6rem,7vw,5.5rem); line-height: .98; letter-spacing: -.03em; }
.cs-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 44px; }
.cs-facts > div { background: var(--card); padding: 22px 24px; }
.cs-facts dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; font-weight: 600; }
.cs-facts dd { font-family: var(--disp); font-size: 1.05rem; font-weight: 600; }
@media (max-width: 760px){ .cs-facts { grid-template-columns: 1fr 1fr; } }

.cs-visual { margin: clamp(40px,6vw,72px) 0; aspect-ratio: 16/8; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; position: relative; }
.cs-visual--violet { background: #14130f; }
.cs-visual--cyan { background: #0c1c20; }
.cs-visual--blue { background: #0e1626; }

.cs-body { display: grid; grid-template-columns: 1fr; gap: clamp(48px,7vw,90px); }
.cs-block { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.cs-block > h2 { font-size: 1.4rem; position: sticky; top: 90px; }
.cs-block__body { font-size: clamp(1.05rem,1.5vw,1.25rem); color: var(--ink-2); }
.cs-block__body p { margin-bottom: 1.1em; }
.cs-block__body p:last-child { margin-bottom: 0; }
.cs-block__body strong { color: var(--ink); }
.cs-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.cs-list li { padding-left: 26px; position: relative; }
.cs-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cs-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cs-results > div { background: var(--card); padding: 30px 26px; }
.cs-results b { display: block; font-family: var(--disp); font-size: clamp(2.2rem,4vw,3.2rem); color: var(--accent); line-height: 1; }
.cs-results span { font-size: .92rem; color: var(--muted); margin-top: 10px; display: block; }
@media (max-width: 760px){ .cs-block { grid-template-columns: 1fr; gap: 16px; } .cs-block > h2 { position: static; } .cs-results { grid-template-columns: 1fr; } }

.cs-quote { border-left: 3px solid var(--accent); padding: 8px 0 8px 30px; }
.cs-quote p { font-family: var(--disp); font-weight: 500; font-size: clamp(1.4rem,2.6vw,2.2rem); line-height: 1.22; }
.cs-quote footer { margin-top: 18px; color: var(--muted); }
.cs-quote footer b { color: var(--ink); }

.cs-next { border-top: 1px solid var(--ink); margin-top: 20px; }

/* ---------- about ---------- */
.about-lead { font-size: clamp(1.5rem,3.5vw,2.6rem); font-family: var(--disp); font-weight: 500; line-height: 1.15; max-width: 24ch; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
.about-cols p { color: var(--ink-2); margin-bottom: 1.1em; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.values > div { background: var(--card); padding: 30px; }
.values h3 { font-size: 1.2rem; margin-bottom: 8px; }
.values p { font-size: .94rem; color: var(--ink-2); }
@media (max-width: 820px){ .about-cols { grid-template-columns: 1fr; gap: 18px; } .values { grid-template-columns: 1fr; } }

/* ---------- journal ---------- */
.posts { border-top: 1px solid var(--ink); }
.post { display: grid; grid-template-columns: 160px 1fr auto; gap: 30px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease), background .3s; }
.post:hover { padding-left: 14px; background: linear-gradient(90deg,var(--accent-w),transparent 60%); }
.post__date { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post__title { font-family: var(--disp); font-size: clamp(1.3rem,2.4vw,1.9rem); font-weight: 700; }
.post__tag { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.05rem; }
@media (max-width: 720px){ .post { grid-template-columns: 1fr; gap: 6px; } }

.article { max-width: 740px; margin-inline: auto; }
.article p { font-size: 1.18rem; color: var(--ink-2); margin-bottom: 1.3em; }
.article h2 { font-size: 1.8rem; margin: 1.6em 0 .6em; }
.article blockquote { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 24px; margin: 1.4em 0; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info dl { display: grid; gap: 24px; }
.contact-info dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.contact-info dd { font-family: var(--disp); font-size: 1.3rem; }
.contact-info dd a:hover { color: var(--accent); }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.form input,.form select,.form textarea {
  font: inherit; padding: .85rem 1rem; background: var(--card);
  border: 1.5px solid var(--line-2); border-radius: 2px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder,.form textarea::placeholder { color: var(--faint); }
.form input:focus,.form select:focus,.form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-w); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: .92rem; min-height: 1.2em; }
.form__note.ok { color: var(--accent); } .form__note.err { color: #b00; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; gap: 36px; } .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); padding: clamp(48px,6vw,80px) 0 30px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.foot__big { font-family: var(--disp); font-weight: 800; font-size: clamp(2.4rem,6vw,4.5rem); line-height: .95; letter-spacing: -.03em; }
.foot__col h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-family: var(--sans); }
.foot__col a, .foot__col span { display: block; color: var(--ink-2); font-size: .96rem; margin-bottom: 10px; transition: color .2s; }
.foot__col a:hover { color: var(--accent); }
.foot__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
@media (max-width: 760px){ .foot__top { grid-template-columns: 1fr 1fr; } .foot__big { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- mobile menu ---------- */
@media (max-width: 860px){
  .menu { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 26px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
  .menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu a::after { display: none; }
  .menu .btn { margin-top: 14px; justify-content: center; }
  .burger { display: flex; }
}

/* ============================================================
   CINEMATIC HOME HERO  ·  the showstopper
   ============================================================ */
:root { --cyan: #19c0e6; --cyan-2: #7ef0ff; --night: #08080b; }

/* brand mark in nav */
.brand { gap: .55rem; align-items: center; }              /* center the logo with the wordmark */
.brand__logo { width: 34px; height: 34px; flex: none; }
.brand__logo > rect { opacity: .9; }                       /* make the diamond actually visible */
.brand__logo .bar3 { transform-box: fill-box; transform-origin: bottom; }
.brand__txt { display: inline-flex; align-items: baseline; line-height: 1; position: relative; top: 1px; }
.brand b { color: var(--cyan); font-weight: 800; }

/* nav inverted over the dark hero */
.bar--invert { background: transparent !important; border-bottom-color: transparent !important; }
.bar--invert .brand, .bar--invert .menu a:not(.btn) { color: #f4f3ee; }
.bar--invert .menu a:not(.btn)::after { background: var(--cyan); }
.bar--invert .menu a.btn--solid { background: var(--cyan); border-color: var(--cyan); color: var(--night); }
.bar--invert .menu a.btn--solid:hover { background: #fff; border-color: #fff; }
.bar--invert .burger span { background: #f4f3ee; }
@media (max-width: 860px){ .bar--invert .menu { background: var(--night); } }

/* hero shell */
.xhero {
  position: relative; min-height: 100svh; margin-top: -68px; padding-top: 68px;
  background: radial-gradient(120% 90% at 50% 0%, #101018 0%, var(--night) 60%);
  color: #f4f3ee; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.xhero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xhero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(95% 80% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(95% 80% at 50% 35%, #000 30%, transparent 75%);
}
.xhero__glow {
  position: absolute; left: var(--mx, 50%); top: var(--my, 38%);
  width: 70vmax; height: 70vmax; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(25,192,230,.20), rgba(25,192,230,.05) 35%, transparent 60%);
  filter: blur(20px); pointer-events: none; transition: left .5s var(--ease), top .5s var(--ease);
}
.dia { position: absolute; border: 1.5px solid rgba(25,192,230,.22); border-radius: 7px; transform: rotate(45deg); animation: floaty 16s ease-in-out infinite; }
.dia--fill { background: rgba(25,192,230,.06); border-color: rgba(25,192,230,.12); }
.dia-1 { width: 90px; height: 90px; top: 22%; right: 12%; animation-duration: 18s; }
.dia-2 { width: 46px; height: 46px; top: 64%; right: 26%; animation-duration: 13s; }
.dia-3 { width: 140px; height: 140px; bottom: 12%; right: 6%; animation-duration: 22s; }
.dia-4 { width: 60px; height: 60px; top: 30%; left: 6%; animation-duration: 15s; }
.dia-5 { width: 30px; height: 30px; top: 50%; left: 16%; animation-duration: 11s; }
@keyframes floaty { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(60deg) translate(0,-26px); } }

.xhero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(20px,6vh,70px); }
.xhero__lockup { display: inline-flex; align-items: center; gap: 16px; margin-bottom: clamp(22px,4vw,38px); opacity: 0; animation: fadeUp .8s var(--ease) .1s forwards; }
.xhero__lockup span:last-child { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #b7b6ad; line-height: 1.5; }

/* big animated logo */
.bigmark { width: 56px; height: 56px; filter: drop-shadow(0 0 18px rgba(25,192,230,.5)); }
.bigmark .bar3 { transform-box: fill-box; transform-origin: bottom; animation: eq 1.8s ease-in-out infinite; }
.bigmark .b-l { animation-delay: 0s; } .bigmark .b-m { animation-delay: .25s; } .bigmark .b-r { animation-delay: .5s; }
@keyframes eq { 0% { transform: scaleY(.15); } 30% { transform: scaleY(1); } 55% { transform: scaleY(.55); } 80% { transform: scaleY(.9); } 100% { transform: scaleY(.7); } }

/* kinetic headline */
.xhero__title { font-family: var(--disp); font-weight: 800; letter-spacing: -.035em; line-height: .92; font-size: clamp(3rem, 10.5vw, 9rem); }
.kin-line { display: block; overflow: hidden; padding-bottom: .04em; }
.kin-line > span { display: block; transform: translateY(108%); animation: kinup 1s var(--ease) forwards; }
.kin-line:nth-child(1) > span { animation-delay: .25s; }
.kin-line:nth-child(2) > span { animation-delay: .40s; }
.kin-line:nth-child(3) > span { animation-delay: .55s; }
@keyframes kinup { to { transform: none; } }
.grad-w { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2), var(--cyan));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

.xhero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: clamp(28px,4vw,46px); opacity: 0; animation: fadeUp .8s var(--ease) .9s forwards; }
.xhero__sub { font-size: clamp(1.05rem,1.6vw,1.3rem); color: #c9c8bf; max-width: 46ch; }
.xhero__sub b { color: #fff; }
.xhero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* dark-hero buttons */
.btn--cyan { background: var(--cyan); color: var(--night); border-color: var(--cyan); }
.btn--cyan:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn--line { background: transparent; color: #f4f3ee; border-color: rgba(255,255,255,.4); }
.btn--line:hover { background: #f4f3ee; color: var(--night); border-color: #f4f3ee; transform: translateY(-2px); }
.mag { transition: transform .25s var(--ease); will-change: transform; }

/* giant drifting wordmark */
.xhero__giant { position: absolute; left: 0; bottom: -.18em; z-index: 1; white-space: nowrap; pointer-events: none;
  font-family: var(--disp); font-weight: 800; font-size: clamp(7rem, 24vw, 22rem); line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); text-stroke: 1px rgba(255,255,255,.07);
  animation: drift 40s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* scroll cue */
.xhero__cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #8a8980;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.xhero__cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(#8a8980, transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* custom cursor (home, fine pointers only) */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 999; mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); transform: translate(-50%,-50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(25,192,230,.7); transform: translate(-50%,-50%); transition: width .2s, height .2s, background .2s; }
.cursor-ring.is-hot { width: 52px; height: 52px; background: rgba(25,192,230,.12); }

@media (hover: none), (max-width: 720px) { .cursor-dot, .cursor-ring { display: none; } .xhero__giant { font-size: 7rem; } }
@media (prefers-reduced-motion: reduce) {
  .kin-line > span, .xhero__lockup, .xhero__row { animation: none !important; opacity: 1 !important; transform: none !important; }
  .bigmark .bar3, .dia, .grad-w, .xhero__giant, .xhero__cue::after { animation: none !important; }
}

/* ============================================================
   HOME — added sections (proof, differentiation, momentum)
   ============================================================ */
/* availability nudge */
.avail { border-bottom: 1px solid var(--line); background: var(--paper); }
.avail__in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 0; font-size: .9rem; color: var(--ink-2); flex-wrap: wrap; text-align: center; }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; background: #27c08a; box-shadow: 0 0 0 4px rgba(39,192,138,.18); animation: blip 2s ease-in-out infinite; }
@keyframes blip { 0%,100% { box-shadow: 0 0 0 4px rgba(39,192,138,.18); } 50% { box-shadow: 0 0 0 7px rgba(39,192,138,.06); } }
.avail b { color: var(--ink); }
.avail a { color: var(--accent); font-weight: 600; border-bottom: 1px solid transparent; }
.avail a:hover { border-color: var(--accent); }

/* trusted-by logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 30px; align-items: center; }
.logos span { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--faint); font-family: var(--disp); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; opacity: .75; transition: opacity .25s, color .25s; white-space: nowrap; }
.logos span::before { content: ""; width: 13px; height: 13px; background: currentColor; border-radius: 3px; transform: rotate(45deg); opacity: .7; }
.logos span:hover { opacity: 1; color: var(--ink); }
@media (max-width: 760px){ .logos { grid-template-columns: repeat(3,1fr); } }

/* 4-up grid (why / values) */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 .cellcard { background: var(--card); }
@media (max-width: 900px){ .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .grid-4 { grid-template-columns: 1fr; } }

/* flagship spotlight */
.spot { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px,4vw,56px); align-items: center; }
.spot__media { aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(120% 120% at 30% 15%, #1b2540, #0c1018); display: grid; place-items: center; }
.spot__tag { color: var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin-bottom: 10px; }
.spot h3 { font-size: clamp(2rem,4.4vw,3.2rem); }
.spot p { color: var(--ink-2); margin: 16px 0; font-size: 1.05rem; max-width: 48ch; }
.spot__metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 22px 0 26px; }
.spot__metrics b { font-family: var(--disp); font-size: clamp(1.7rem,3vw,2.4rem); color: var(--accent); display: block; line-height: 1; }
.spot__metrics span { font-size: .82rem; color: var(--muted); margin-top: 8px; display: block; }
.spot .mock { width: 84%; }
@media (max-width: 820px){ .spot { grid-template-columns: 1fr; } }

/* reuse the case-study .mock here too */
.mock { background: #fbfaf6; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 13px; background: #efece3; border-bottom: 1px solid #d9d5c8; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c7c2b2; }
.mock__bar em { margin-left: auto; font-style: normal; font-size: .7rem; color: #6f6c60; }
.mock__body { padding: 18px; display: grid; gap: 10px; }
.mbub { font-size: .82rem; padding: .6rem .85rem; border-radius: 11px; max-width: 82%; line-height: 1.35; }
.mbub.u { background: #14130f; color: #f6f4ee; justify-self: end; border-bottom-right-radius: 3px; }
.mbub.b { background: #efece3; color: #14130f; justify-self: start; border-bottom-left-radius: 3px; }
.mbub.tag { font-size: .7rem; color: #f23005; background: #fbe6df; justify-self: start; padding: .28rem .65rem; border-radius: 999px; }

/* industries */
.inds { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.inds > div { background: var(--card); padding: 26px 24px; transition: background .25s; }
.inds > div:hover { background: var(--paper-2); }
.inds h4 { font-family: var(--disp); font-size: 1.2rem; }
.inds p { font-size: .88rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px){ .inds { grid-template-columns: 1fr 1fr; } }

/* process teaser */
.ptease { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; border-top: 1px solid var(--ink); padding-top: 32px; }
.ptease__n { font-family: var(--disp); font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.ptease h4 { margin: 10px 0 6px; font-size: 1.15rem; }
.ptease p { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 760px){ .ptease { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* FAQ accordion (no JS) */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--disp); font-weight: 700; font-size: clamp(1.1rem,2.2vw,1.45rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.7rem; line-height: 1; transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 72ch; font-size: 1.02rem; }

/* ---------- footer brand wordmark (outline / stroke style) ---------- */
.foot__big {
  font-family: var(--disp); font-weight: 800; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(2.6rem, 7vw, 5rem); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.6px var(--ink); text-stroke: 1.6px var(--ink);
}
@media (max-width: 500px){ .foot__big { font-size: 3rem; } }

/* ---------- FOOTER — redesigned (minimal · white · no gradient) ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(56px,7vw,90px) 0 26px; overflow: hidden; }
.foot__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(40px,5vw,60px); }
.foot__lead { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.02em; line-height: 1.04; max-width: 16ch; }
.foot__lead .accent { color: var(--accent); }
.foot__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding-top: clamp(36px,4vw,48px); border-top: 1px solid var(--line); }
.foot__cols h4 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot__cols a, .foot__cols span { display: block; color: var(--ink-2); font-size: .95rem; line-height: 1.5; margin-bottom: 11px; transition: color .2s, padding-left .2s; }
.foot__cols a:hover { color: var(--accent); padding-left: 4px; }
/* animated mark: draws from both edges, then an accent glint sweeps */
.foot__mark { position: relative; display: grid; justify-items: center; padding: clamp(40px,6vw,70px) 0 clamp(20px,3vw,34px); }
.foot__mark > span { grid-area: 1 / 1; font-family: var(--disp); font-weight: 800; line-height: .82; letter-spacing: -.03em; white-space: nowrap; font-size: clamp(3rem,15vw,13rem); color: transparent; -webkit-text-stroke: 1.2px var(--ink); text-stroke: 1.2px var(--ink); user-select: none; }
/* default (also the no-JS fallback): full word shown, glint hidden */
.foot__mark-l { clip-path: inset(0 50% 0 0); }
.foot__mark-r { clip-path: inset(0 0 0 50%); }
/* flood copy = SOLID ink fill that floods in L→R, holds, then drains away */
.foot__mark-shine { color: var(--ink); -webkit-text-fill-color: var(--ink);
  -webkit-text-stroke: 0; text-stroke: 0; clip-path: inset(0 100% 0 0); }
/* play (added when footer scrolls into view) */
.foot__mark.play .foot__mark-l { animation: drawL 1.7s var(--ease) both; }
.foot__mark.play .foot__mark-r { animation: drawR 1.7s var(--ease) both; }
.foot__mark.play .foot__mark-shine { animation: flood 6.5s ease-in-out 1.9s infinite; }
@keyframes drawL { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 50% 0 0); } }
@keyframes drawR { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 50%); } }
@keyframes flood {
  0%   { clip-path: inset(0 100% 0 0); }   /* hidden (collapsed at left) */
  22%  { clip-path: inset(0 0 0 0); }       /* flooded full, L→R */
  55%  { clip-path: inset(0 0 0 0); }       /* hold */
  80%  { clip-path: inset(0 0 0 100%); }    /* drain away, L→R */
  100% { clip-path: inset(0 0 0 100%); }    /* pause before repeat */
}
@media (max-width: 480px){ .foot__mark > span { -webkit-text-stroke-width: 1px; text-stroke-width: 1px; } }
@media (prefers-reduced-motion: reduce){
  .foot__mark.play .foot__mark-l, .foot__mark.play .foot__mark-r { animation: none; }
  .foot__mark-shine { display: none; }
}
.foot__bar { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.foot__totop { color: var(--ink-2); font-weight: 600; transition: color .2s; }
.foot__totop:hover { color: var(--accent); }
@media (max-width: 820px){ .foot__cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; } .foot__head { padding-bottom: 34px; } }

