/* ==========================================================================
   VINCERE — Design System & Site Styles (v2, "bright agency page")
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset, base & browser surfaces
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Navigation
   7.  Hero & device stage
   8.  Credibility
   9.  Services
   10. Why VINCERE
   11. Selected work & concept previews
   12. Process
   13. About
   14. FAQ
   15. Contact & form
   16. Footer
   17. Motion
   18. Responsive
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Ground & ink (navy-biased neutrals, never pure grey) --- */
  --bg:        #FFFFFF;
  --tint:      #F5F7FB;
  --tint-2:    #EEF2F8;
  --ink:       #0B1F3A;
  --ink-2:     #1E2F4D;
  --muted:     #4B5B73;   /* 6.5:1 on white */
  --muted-2:   #5F6E85;   /* 5.2:1 on white, 4.8:1 on --tint */
  --line:      rgba(11, 31, 58, 0.10);
  --line-2:    rgba(11, 31, 58, 0.06);

  /* --- The gradient: mint → azure. Bright for surfaces, deep for text. --- */
  --g1:        #19B394;
  --g2:        #2D7CF6;
  --grad:      linear-gradient(97deg, var(--g1) 0%, var(--g2) 110%);
  --gt1:       #0E8F74;
  --gt2:       #1F63D6;
  --grad-text: linear-gradient(97deg, var(--gt1) 0%, var(--gt2) 110%);
  --link:      #1F63D6;   /* 5.5:1 on white */
  --link-soft: rgba(31, 99, 214, 0.10);

  /* --- The action: vermilion → raspberry, worn only by "Start a project" --- */
  --c1:        #D93A1F;
  --c2:        #C8206A;
  --grad-cta:  linear-gradient(90deg, var(--c1) 0%, var(--c2) 100%);
  --cta-glow:  rgba(217, 58, 31, 0.28);

  /* --- Dark surface (contact, footer) --- */
  --d-bg:      #0B1F3A;
  --d-bg-2:    #0F2747;
  --d-surface: #14305A;
  --d-text:    #F4F7FC;
  --d-muted:   #A7B6CE;
  --d-line:    rgba(255, 255, 255, 0.12);
  --d-placeholder: #8A9BB8;

  /* --- Type --- */
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.5rem, 5.4vw, 4rem);
  --fs-h2:      clamp(1.9rem, 3.6vw, 2.75rem);
  --fs-h3:      clamp(1.15rem, 1.5vw, 1.35rem);
  --fs-lede:    clamp(1.05rem, 1.35vw, 1.2rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* --- Space --- */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.75rem; --sp-8: 3.5rem;
  --sp-9: 5rem;    --sp-10: 7rem;

  --section-y:   clamp(4.5rem, 8.5vw, 8rem);
  --section-y-t: clamp(3.25rem, 6vw, 5.5rem);
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --container:   1200px;

  /* --- Radius: 8 for cards, 16 for stages, pills for actions --- */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* --- Elevation: always offset, always soft --- */
  --sh-1: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 6px rgba(11, 31, 58, 0.04);
  --sh-2: 0 6px 16px -6px rgba(11, 31, 58, 0.12), 0 2px 6px rgba(11, 31, 58, 0.05);
  --sh-3: 0 20px 40px -16px rgba(11, 31, 58, 0.22), 0 6px 16px -8px rgba(11, 31, 58, 0.10);
  --sh-4: 0 40px 70px -24px rgba(11, 31, 58, 0.40), 0 12px 24px -12px rgba(11, 31, 58, 0.20);

  /* --- Motion: one clock --- */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms; --t-mid: 280ms; --t-slow: 650ms;
}

/* ==========================================================================
   2. RESET, BASE & BROWSER SURFACES
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  accent-color: var(--link);
  scrollbar-color: rgba(11, 31, 58, 0.28) transparent;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
svg { flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
input, textarea, select { caret-color: var(--link); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--link); color: #fff; }
.section--dark ::selection, .footer ::selection { background: var(--g1); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(11, 31, 58, 0.22); border: 4px solid var(--bg); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: rgba(11, 31, 58, 0.38); }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: var(--r-xs); }
.section--dark :focus-visible, .footer :focus-visible { outline-color: #8FB8FF; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: fixed; top: var(--sp-3); left: var(--sp-3); z-index: 200;
  transform: translateY(-160%);
  background: var(--ink); color: #fff;
  padding: 0.7rem 1.1rem; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 500;
  transition: transform var(--t-mid) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
p { text-wrap: pretty; }

.lede {
  font-size: var(--fs-lede);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .lede { color: var(--d-muted); }

/* Gradient keyword: the one place text wears the gradient. Solid fallback first. */
.grad {
  color: var(--gt2);
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex; align-items: center; vertical-align: middle;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  padding: 0.38rem 0.62rem; border-radius: var(--r-pill);
  background: var(--tint-2); color: var(--muted);
}
.badge--accent { background: var(--link-soft); color: var(--link); }

.text-link {
  color: var(--link); font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(31, 99, 214, 0.35);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; }

.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* Icons: one family, 1.75 stroke, gradient tile */
.icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(11, 31, 58, 0.22);
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-t); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--d-bg); color: var(--d-text); }
.section--dark .h2 { color: #fff; }

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.section__head .h2 { margin-bottom: var(--sp-4); }
.section__head--split { max-width: none; display: grid; gap: var(--sp-5); }
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: var(--sp-8); }
  .section__head--split .lede { padding-bottom: 0.3rem; }
}

/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */
.btn {
  --btn-py: 0.95rem; --btn-px: 1.6rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease),
              background-color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.btn svg { transition: transform var(--t-mid) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }

/* The one warm control on the page. */
.btn--primary {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.14), 0 10px 22px -10px var(--cta-glow);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255, 255, 255, 0.10); opacity: 0; transition: opacity var(--t-fast) var(--ease);
}
.btn--primary:hover { box-shadow: 0 2px 4px rgba(11, 31, 58, 0.14), 0 16px 30px -12px var(--cta-glow); transform: translateY(-1px); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn--ghost:hover { border-color: rgba(11, 31, 58, 0.28); box-shadow: var(--sh-1); }
.section--dark .btn--ghost { color: #fff; background: transparent; border-color: var(--d-line); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }

.btn--sm { --btn-py: 0.7rem; --btn-px: 1.2rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--link);
  padding-block: 0.25rem;
}
.link-btn svg { transition: transform var(--t-mid) var(--ease-out); }
.link-btn:hover svg { transform: translateX(4px); }

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow var(--t-mid) var(--ease);
}
.nav.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(11, 31, 58, 0.18); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); height: 76px; }

/* Wordmark "Ascendente": drawn V + INCERE in Archivo 800 wide. Source in /brand/04-ascendente. */
.logo { display: inline-flex; align-items: baseline; gap: 0.05em; color: var(--ink); font-size: 1.25rem; line-height: 1; }
.logo__v { height: calc(0.69em * 1.18); width: auto; flex: none; fill: currentColor; transition: transform var(--t-mid) var(--ease-out); }
.logo:hover .logo__v { transform: translateY(-2px); }
.logo__word { font-family: "Archivo", var(--font); font-weight: 800; font-stretch: 112%; letter-spacing: 0; text-transform: uppercase; line-height: 1; }

.nav__links { display: none; align-items: center; gap: var(--sp-6); margin-inline: auto; }
.nav__links a { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); transition: color var(--t-fast) var(--ease); }
.nav__links a:hover { color: var(--link); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav__cta { display: none; }

.nav__toggle {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.95rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; font-size: var(--fs-xs); font-weight: 600;
}
.nav__toggle-bars { display: grid; gap: 4px; width: 15px; }
.nav__toggle-bars i { display: block; height: 1.75px; background: var(--ink); border-radius: 2px; transition: transform var(--t-mid) var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:first-child { transform: translateY(2.9px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:last-child  { transform: translateY(-2.9px) rotate(-45deg); }

.menu {
  position: fixed; inset: 76px 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-3);
  padding-block: var(--sp-4) var(--sp-6);
  max-height: calc(100dvh - 76px); overflow-y: auto;
  animation: menu-in var(--t-mid) var(--ease-out);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu__links { display: grid; }
.menu__links > a:not(.btn) {
  display: block; padding-block: 1rem; border-bottom: 1px solid var(--line-2);
  font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em;
}
.menu__cta { margin-top: var(--sp-5); }
.menu__meta { margin-top: var(--sp-4); text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.menu__meta a { color: var(--link); }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .menu { display: none !important; }
}

/* ==========================================================================
   7. HERO & DEVICE STAGE
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }

.hero__title { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: var(--sp-5); max-width: 16ch; }
.hero__lede { font-size: clamp(1.05rem, 1.45vw, 1.2rem); font-weight: 300; line-height: 1.6; color: var(--muted); max-width: 56ch; margin-bottom: var(--sp-6); }
.hero__lede strong { font-weight: 600; color: var(--ink); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__actions .btn { --btn-py: 1.05rem; --btn-px: 1.8rem; font-size: var(--fs-body); }

.hero__points { display: grid; gap: 0.55rem; font-size: var(--fs-sm); color: var(--muted); }
.hero__points li { position: relative; padding-left: 1.6rem; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad);
}
.hero__points li::after {
  content: ""; position: absolute; left: 5px; top: 0.42em;
  width: 4px; height: 7px;
  border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff;
  transform: rotate(42deg);
}

/* --- The stage: a gradient field with a curved edge, holding tilted devices --- */
.hero__visual { position: relative; min-width: 0; }
.stage { position: relative; margin: 0 0 2.6rem; height: clamp(380px, 92vw, 460px); }
.stage__clip { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-lg); }
.stage__bg {
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(var(--stage-angle, 118deg), var(--g1) 0%, #22A0C9 45%, var(--g2) 100%);
}
.stage__bg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(70% 60% at 30% 20%, rgba(255,255,255,0.22), transparent 70%);
}

.device {
  position: absolute;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-4);
  will-change: transform;
}
.device .pv { height: 100%; border-radius: 0; }

/* Laptop-style browser card: toolbar with traffic lights and an address pill */
.device--browser { width: 60%; aspect-ratio: 16 / 10; border-radius: 12px; rotate: -6deg; }
.device--browser .device__bar {
  display: flex; align-items: center; gap: 10px; height: 30px; padding-inline: 12px;
  background: #EEF2F8; border-bottom: 1px solid var(--line-2);
}
.device__dots { display: flex; gap: 5px; }
.device__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(11,31,58,0.18); }
.device__url {
  flex: 1; max-width: 56%; margin-inline: auto; text-align: center;
  font-size: 9px; color: var(--muted-2); background: #fff; border-radius: var(--r-pill); padding: 3px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.device--browser .pv { height: calc(100% - 30px); }

/* Phones: bezel, inset screen, island */
.device--phone {
  width: 27%; aspect-ratio: 9 / 18.6;
  border-radius: 30px; padding: 7px;
  background: var(--ink);
  box-shadow: var(--sh-4), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.device--phone .pv { border-radius: 23px; padding: 1.7rem 0.7rem 0.75rem; }
.device__island {
  position: absolute; left: 50%; top: 15px; transform: translateX(-50%);
  width: 34%; height: 11px; border-radius: var(--r-pill); background: var(--ink); z-index: 2;
}

.device--a { left: 22%; top: 6%; animation: drift-a 9s ease-in-out infinite; }
.device--b { left: 3%; top: 26%; width: 31%; rotate: -9deg; animation: drift-b 11s ease-in-out infinite; }
.device--c { right: 2%; top: 40%; width: 25%; rotate: -11deg; animation: drift-c 10s ease-in-out infinite; }
@keyframes drift-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift-c { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stage__caption {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.8rem);
  font-size: var(--fs-xs); font-weight: 500; color: var(--muted); text-align: center;
}
@media (min-width: 1000px) {
  .stage__caption {
    top: auto; right: auto; left: 1.25rem; bottom: 1.25rem; z-index: 3; text-align: left;
    color: #fff; background: rgba(11, 31, 58, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    padding: 0.4rem 0.7rem; border-radius: var(--r-pill); max-width: calc(100% - 2rem);
  }
}
@media (min-width: 1000px) {
  .hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
  .hero__inner { grid-template-columns: 0.98fr 1.02fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
  .hero__title { max-width: 14ch; }
  .stage { height: clamp(440px, 40vw, 600px); margin-bottom: 0; }
  .stage__clip { position: static; overflow: visible; border-radius: 0; }
  /* The stage bleeds to the viewport's right edge with a full curved left edge. */
  .stage__bg {
    inset: 0 calc(-1 * var(--gutter) - (100vw - var(--container)) / 2) 0 0;
    border-radius: 999px 0 0 999px;
  }
  .device--browser { width: 62%; }
  .device--a { left: 30%; top: 4%; }
  .device--b { left: 9%; top: 24%; width: 29%; }
  .device--c { right: -6%; top: 36%; width: 23%; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .stage__bg { inset: 0 calc(-1 * var(--gutter)) 0 0; }
}

/* ==========================================================================
   8. CREDIBILITY
   ========================================================================== */
.credibility__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.credibility__head .h2 { margin-bottom: var(--sp-4); }

.pillars { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.pillar { display: grid; gap: 0.9rem; align-content: start; }
.pillar h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
.pillar p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; max-width: 34ch; }
@media (min-width: 640px)  { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   9. SERVICES
   ========================================================================== */
.svc { display: grid; gap: var(--sp-4); }
.svc__card {
  display: grid; align-content: start; gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: var(--sh-1);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.svc__card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: rgba(31, 99, 214, 0.25); }
.svc__card .icon { margin-bottom: 0.25rem; }
.svc__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.svc__desc { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; max-width: 52ch; }
.svc__list { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.svc__list li { position: relative; padding-left: 1.5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.svc__card--lead { background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FD 100%); border-color: rgba(31, 99, 214, 0.22); box-shadow: var(--sh-2); }
.svc__note { margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--muted); max-width: 66ch; }
@media (min-width: 860px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc__card--lead { grid-row: span 2; }
  .svc__card--lead .svc__desc { max-width: 46ch; }
  .svc__card--lead .svc__list { margin-top: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--line-2); }
}

/* ==========================================================================
   10. WHY VINCERE
   ========================================================================== */
.why__list { display: grid; gap: 0 clamp(2rem, 5vw, 4rem); }
.why__item {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4);
  padding-block: clamp(1.5rem, 2.6vw, 2rem);
  border-top: 1px solid var(--line);
}
.why__item h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin-bottom: 0.45rem; padding-top: 0.55rem; }
.why__item p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; max-width: 60ch; }
@media (min-width: 860px) { .why__list { grid-template-columns: repeat(2, 1fr); } }
/* ==========================================================================
   11. SELECTED WORK & CONCEPT PREVIEWS
   ========================================================================== */
.work__grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.proj {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.proj:hover { box-shadow: var(--sh-3); transform: translateY(-4px); }
.proj__preview { aspect-ratio: 16 / 10; padding: clamp(0.9rem, 2vw, 1.4rem); display: grid; overflow: hidden; background: var(--pv-ground); }
.proj__preview .pv { border-radius: var(--r-xs); } /* concentric with the 8px card */
.proj__body { padding: clamp(1.25rem, 2.4vw, 1.75rem); display: grid; gap: 0.6rem; }
.proj__meta { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.proj__name { font-size: 1.3rem; letter-spacing: -0.025em; }
.proj__tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--link); background: var(--link-soft);
  padding: 0.3rem 0.6rem; border-radius: var(--r-pill);
}
.proj__desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.62; max-width: 48ch; margin-bottom: 0.4rem; }
.work__note { margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--fs-sm); color: var(--muted); text-align: center; }
@media (min-width: 760px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Inline concept detail --- */
.detail {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-2); overflow: hidden; outline: none;
}
/* Once opened, the script moves the panel into the grid after the trigger's row. */
.work__grid > .detail { grid-column: 1 / -1; margin-top: 0; }
.js .detail:not([hidden]) { animation: detail-in var(--t-slow) var(--ease-out) both; }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.detail__inner { display: grid; }
.detail__preview { padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--tint); display: grid; align-content: center; gap: var(--sp-4); }
.detail__art { display: grid; }
.detail__preview .pv { aspect-ratio: 16 / 10; border-radius: var(--r-lg); transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }

/* Skin switcher: same structure, different tokens. Proves the concept is a base, not a one-off. */
.skins { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-4); flex-wrap: wrap; }
.skins[hidden] { display: none; }
.skins__label { font-size: var(--fs-xs); color: var(--muted-2); }
.skins__options { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.skins__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2);
  padding: 0.42rem 0.8rem 0.42rem 0.5rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.skins__btn:hover { border-color: rgba(11,31,58,0.24); box-shadow: var(--sh-1); }
.skins__btn[aria-pressed="true"] { border-color: var(--link); color: var(--link); box-shadow: 0 0 0 3px var(--link-soft); }
.skins__swatch {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--sw-1) 0 50%, var(--sw-2) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(11,31,58,0.12);
}
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); }
.detail__actions .btn--ghost[hidden] { display: none; }
.detail__actions .btn--ghost:hover svg { transform: translate(2px, -2px); }
.detail__body { padding: clamp(1.4rem, 3vw, 2.25rem); }
.detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: 0.7rem; }
.detail__title { font-size: clamp(1.5rem, 3vw, 2rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.detail__close {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: #fff;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.detail__close:hover { background: var(--tint); border-color: rgba(11,31,58,0.24); }
.detail__desc { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; max-width: 62ch; }
.detail__sub { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-top: var(--sp-5); margin-bottom: var(--sp-3); }
.detail__points { display: grid; gap: 0.5rem; }
.detail__points li { position: relative; padding-left: 1.5rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.detail__points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.detail__note { margin-block: var(--sp-5); font-size: var(--fs-xs); color: var(--muted); max-width: 62ch; }
@media (min-width: 820px) {
  .detail__inner { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .detail__body { padding: clamp(1.75rem, 3vw, 2.5rem); }
}

/* --- Concept preview mock UIs (each concept keeps its own world) ---
   Every concept is one structure plus a token block. A skin is a second token
   block on [data-skin]; nothing structural changes. The same rule powers the
   "same structure, different skin" switcher in the detail panel. Tokens:
     --pv-ground      page background (may be a gradient)
     --pv-ink         primary text
     --pv-accent      the one action color
     --pv-accent-ink  text on the accent
     --pv-line        hairlines / tiles, derived from ink
     --pv-tile-1..3   material swatches used by strips/tiles where relevant */
.pv {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md);
  padding: clamp(0.75rem, 1.8vw, 1.1rem); container-type: inline-size; overflow: hidden;
  background: var(--pv-ground); color: var(--pv-ink); font-family: var(--font);
}
.pv__nav { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pv__logo { font-size: clamp(0.6rem, 2.1cqi, 0.75rem); font-weight: 600; }
.pv__links { display: flex; gap: 0.4rem; }
.pv__links i { display: block; width: 16px; height: 3px; border-radius: 2px; background: currentColor; opacity: 0.35; }
.pv__body { margin-block: auto; }
.pv__h1 { font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.pv__sub { font-size: clamp(0.5rem, 1.75cqi, 0.6875rem); opacity: 0.65; margin-top: 0.4rem; }
.pv__btn, .pv__pill { display: inline-block; font-size: clamp(0.5rem, 1.7cqi, 0.625rem); font-weight: 600; padding: 0.35rem 0.75rem; background: var(--pv-accent); color: var(--pv-accent-ink); }
.pv__row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.7rem; }
.pv__chip { font-size: clamp(0.45rem, 1.55cqi, 0.5625rem); padding: 0.22rem 0.5rem; border: 1px solid currentColor; border-radius: var(--r-pill); opacity: 0.55; }
/* Shared "price list" rows (salon, contractor): label left, value right, hairline between. */
.pv__list { display: grid; margin-top: 0.9rem; font-size: clamp(0.45rem, 1.6cqi, 0.6rem); }
.pv__list span { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.28rem 0; border-top: 1px solid var(--pv-line); }
.pv__list b { font-weight: 600; }

/* 01 Sasso — restaurant. Editorial serif on a warm dark ground. */
.pv--sasso, .proj__preview--sasso {
  --pv-ground: radial-gradient(120% 100% at 20% 0%, #221B16 0%, #14100E 60%);
  --pv-ink: #EDE3D6; --pv-accent: #C2A87E; --pv-accent-ink: #14100E; --pv-line: rgba(237,227,214,0.18);
  --pv-tile-1: linear-gradient(135deg, #4A3A2C, #6B5238);
  --pv-tile-2: linear-gradient(135deg, #33261D, #4A3A2C);
  --pv-tile-3: linear-gradient(135deg, #6B5238, #C2A87E);
}
.pv--sasso[data-skin="daylight"] {
  --pv-ground: linear-gradient(160deg, #F6F1E7 0%, #EDE4D3 100%);
  --pv-ink: #26211B; --pv-accent: #7A4A2C; --pv-accent-ink: #F6F1E7; --pv-line: rgba(38,33,27,0.14);
  --pv-tile-1: linear-gradient(135deg, #D9C9AE, #B99C74);
  --pv-tile-2: linear-gradient(135deg, #E6DBC6, #CDB994);
  --pv-tile-3: linear-gradient(135deg, #7A4A2C, #B07B52);
}
.pv--sasso[data-skin="verde"] {
  --pv-ground: radial-gradient(120% 100% at 20% 0%, #24402F 0%, #172A20 60%);
  --pv-ink: #EEF1E6; --pv-accent: #D6C48E; --pv-accent-ink: #172A20; --pv-line: rgba(238,241,230,0.18);
  --pv-tile-1: linear-gradient(135deg, #2F4D3B, #4C6B55);
  --pv-tile-2: linear-gradient(135deg, #223A2C, #2F4D3B);
  --pv-tile-3: linear-gradient(135deg, #4C6B55, #D6C48E);
}
.pv--sasso { font-family: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif; } /* the face the full concept site uses */
.pv--sasso .pv__logo { letter-spacing: 0.28em; font-size: clamp(0.55rem, 1.9cqi, 0.7rem); font-weight: 500; }
.pv--sasso .pv__sub { font-family: var(--font); color: var(--pv-accent); opacity: 1; letter-spacing: 0.12em; text-transform: uppercase; font-size: clamp(0.45rem, 1.55cqi, 0.5625rem); margin-top: 0.5rem; }
.pv--sasso .pv__h1 { font-size: clamp(1.05rem, 6.4cqi, 2.1rem); font-weight: 400; letter-spacing: -0.01em; font-style: italic; }
.pv--sasso .pv__btn { font-family: var(--font); margin-top: 0.85rem; border-radius: var(--r-pill); }
.pv--sasso .pv__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.9rem; }
.pv--sasso .pv__strip span { height: clamp(16px, 6cqi, 30px); border-radius: 3px; }
.pv--sasso .pv__strip span:nth-child(1) { background: var(--pv-tile-1); }
.pv--sasso .pv__strip span:nth-child(2) { background: var(--pv-tile-2); }
.pv--sasso .pv__strip span:nth-child(3) { background: var(--pv-tile-3); }

/* 02 Halston & Co. — barber shop. Monochrome, type-led, square corners. */
.pv--halston, .proj__preview--halston {
  --pv-ground: linear-gradient(160deg, #101012 0%, #08080A 100%);
  --pv-ink: #F2F2F0; --pv-accent: #F2F2F0; --pv-accent-ink: #08080A; --pv-line: rgba(242,242,240,0.18);
}
.pv--halston[data-skin="ivory"] {
  --pv-ground: linear-gradient(160deg, #F4F0E8 0%, #EAE4D8 100%);
  --pv-ink: #121212; --pv-accent: #121212; --pv-accent-ink: #F4F0E8; --pv-line: rgba(18,18,18,0.16);
}
.pv--halston[data-skin="oxblood"] {
  --pv-ground: linear-gradient(160deg, #431719 0%, #2C0F11 100%);
  --pv-ink: #F6E9E3; --pv-accent: #E9CFC3; --pv-accent-ink: #2C0F11; --pv-line: rgba(246,233,227,0.2);
}
.pv--halston .pv__logo { letter-spacing: 0.16em; font-weight: 700; font-size: clamp(0.5rem, 1.75cqi, 0.625rem); }
.pv--halston .pv__pill { border-radius: 2px; letter-spacing: 0.1em; text-transform: uppercase; }
.pv--halston .pv__h1 { font-size: clamp(1.35rem, 8.2cqi, 2.9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.92; }
.pv--halston .pv__chip { border-radius: 2px; text-transform: uppercase; letter-spacing: 0.08em; }
.pv--halston .pv__bar { display: flex; justify-content: space-between; border-top: 1px solid var(--pv-line); padding-top: 0.5rem; margin-top: 0.9rem; font-size: clamp(0.45rem, 1.5cqi, 0.5625rem); letter-spacing: 0.14em; opacity: 0.6; }

/* 03 Northline Dental — light, calm, rounded. */
.pv--northline, .proj__preview--northline {
  --pv-ground: linear-gradient(160deg, #EFF6F8 0%, #E3EEF3 100%);
  --pv-ink: #10373F; --pv-accent: #17798A; --pv-accent-ink: #FFFFFF; --pv-line: rgba(16,55,63,0.16);
  --pv-tile-1: rgba(255,255,255,0.72); --pv-tile-2: #1B8A9C;
}
.pv--northline[data-skin="slate"] {
  --pv-ground: linear-gradient(160deg, #1B2B34 0%, #121E25 100%);
  --pv-ink: #E9F1F3; --pv-accent: #5FCBD9; --pv-accent-ink: #0F1B20; --pv-line: rgba(233,241,243,0.16);
  --pv-tile-1: rgba(255,255,255,0.07); --pv-tile-2: #5FCBD9;
}
.pv--northline[data-skin="warm"] {
  --pv-ground: linear-gradient(160deg, #FBF6EF 0%, #F3EADD 100%);
  --pv-ink: #2E2A26; --pv-accent: #C9622A; --pv-accent-ink: #FFFFFF; --pv-line: rgba(46,42,38,0.16);
  --pv-tile-1: rgba(255,255,255,0.8); --pv-tile-2: #C9622A;
}
.pv--northline .pv__logo { letter-spacing: -0.02em; }
.pv--northline .pv__pill { background: var(--pv-ink); color: var(--pv-accent-ink); border-radius: var(--r-pill); }
.pv--northline .pv__h1 { font-size: clamp(0.95rem, 5.6cqi, 1.85rem); letter-spacing: -0.032em; }
.pv--northline .pv__btn { margin-top: 0.75rem; border-radius: var(--r-pill); }
.pv--northline .pv__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.9rem; }
.pv--northline .pv__tiles span { position: relative; height: clamp(16px, 6cqi, 30px); border-radius: var(--r-sm); background: var(--pv-tile-1); border: 1px solid var(--pv-line); }
.pv--northline .pv__tiles span::before { content: ""; position: absolute; left: 18%; top: 26%; width: clamp(4px, 1.6cqi, 7px); aspect-ratio: 1; border-radius: 50%; background: var(--pv-tile-2); }
.pv--northline .pv__tiles span::after { content: ""; position: absolute; left: 18%; right: 22%; bottom: 30%; height: 2px; border-radius: 2px; background: var(--pv-line); }

/* 04 Apex Auto — dark, technical, one signal color. */
.pv--apex, .proj__preview--apex {
  --pv-ground: linear-gradient(160deg, #16181C 0%, #0C0E11 100%);
  --pv-ink: #E8EAED; --pv-accent: #FF5A1F; --pv-accent-ink: #0C0E11; --pv-line: rgba(232,234,237,0.2);
}
.pv--apex[data-skin="signal"] {
  --pv-ground: linear-gradient(160deg, #F3F4F6 0%, #E7E9EE 100%);
  --pv-ink: #14161A; --pv-accent: #E2391B; --pv-accent-ink: #FFFFFF; --pv-line: rgba(20,22,26,0.18);
}
.pv--apex[data-skin="racing"] {
  --pv-ground: linear-gradient(160deg, #123125 0%, #0B2019 100%);
  --pv-ink: #E6F2EA; --pv-accent: #BDF24A; --pv-accent-ink: #0B2019; --pv-line: rgba(230,242,234,0.18);
}
.pv--apex .pv__logo { letter-spacing: 0.1em; font-weight: 500; }
.pv--apex .pv__logo b { color: var(--pv-accent); font-weight: 700; }
.pv--apex .pv__h1 { font-size: clamp(1rem, 5.8cqi, 1.95rem); letter-spacing: -0.035em; }
.pv--apex .pv__btn { border-radius: var(--r-xs); }
.pv--apex .pv__stat { font-size: clamp(0.45rem, 1.5cqi, 0.5625rem); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }
.pv--apex .pv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; margin-top: 0.9rem; }
.pv--apex .pv__grid span { position: relative; height: clamp(14px, 5cqi, 26px); border: 1px solid var(--pv-line); border-radius: 3px; background: color-mix(in srgb, var(--pv-ink) 5%, transparent); }
.pv--apex .pv__grid span::before { content: ""; position: absolute; left: 16%; right: 42%; top: 28%; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--pv-ink) 34%, transparent); }
.pv--apex .pv__grid span::after { content: ""; position: absolute; left: 16%; right: 22%; bottom: 30%; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--pv-ink) 16%, transparent); }
.pv--apex .pv__grid span:first-child { border-color: color-mix(in srgb, var(--pv-accent) 55%, transparent); background: color-mix(in srgb, var(--pv-accent) 12%, transparent); }
.pv--apex .pv__grid span:first-child::before { background: color-mix(in srgb, var(--pv-accent) 85%, transparent); }

/* 05 Auburn & Ash — hair salon. Sage ground, copper action, lowercase headline, prices in the open. */
.pv--auburn, .proj__preview--auburn {
  --pv-ground: linear-gradient(160deg, #E9EDE4 0%, #DDE3D8 100%);
  --pv-ink: #1F2A22; --pv-accent: #B4552D; --pv-accent-ink: #FFF7F2; --pv-line: rgba(31,42,34,0.16);
}
.pv--auburn[data-skin="blush"] {
  --pv-ground: linear-gradient(160deg, #F9E9E4 0%, #F1D9D2 100%);
  --pv-ink: #3A1F22; --pv-accent: #C2483E; --pv-accent-ink: #FFF5F2; --pv-line: rgba(58,31,34,0.16);
}
.pv--auburn[data-skin="noir"] {
  --pv-ground: linear-gradient(160deg, #1D1B20 0%, #121115 100%);
  --pv-ink: #F2EDE8; --pv-accent: #D6A06A; --pv-accent-ink: #121115; --pv-line: rgba(242,237,232,0.18);
}
.pv--auburn .pv__logo { font-weight: 500; letter-spacing: -0.01em; }
.pv--auburn .pv__logo i { font-style: normal; color: var(--pv-accent); }
.pv--auburn .pv__pill { border-radius: var(--r-pill); }
.pv--auburn .pv__h1 { font-size: clamp(1.25rem, 7.4cqi, 2.6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 0.96; }
.pv--auburn .pv__sub { opacity: 0.7; margin-top: 0.5rem; }
.pv--auburn .pv__list span:last-child { border-bottom: 1px solid var(--pv-line); }
.pv--auburn .pv__list em { font-style: normal; color: var(--pv-accent); font-weight: 600; }

/* 06 Kestrel Plumbing & Heating — service contractor. Paper ground, charcoal ink, safety-yellow action. */
.pv--kestrel, .proj__preview--kestrel {
  --pv-ground: linear-gradient(160deg, #F6F5F0 0%, #ECEBE4 100%);
  --pv-ink: #1C1F26; --pv-accent: #FFC531; --pv-accent-ink: #1C1F26; --pv-line: rgba(28,31,38,0.16);
}
.pv--kestrel[data-skin="navy"] {
  --pv-ground: linear-gradient(160deg, #1A3450 0%, #12263B 100%);
  --pv-ink: #F2F6FA; --pv-accent: #FFC531; --pv-accent-ink: #12263B; --pv-line: rgba(242,246,250,0.18);
}
.pv--kestrel[data-skin="forest"] {
  --pv-ground: linear-gradient(160deg, #EEF3EC 0%, #E1EADF 100%);
  --pv-ink: #163122; --pv-accent: #2F8F5B; --pv-accent-ink: #FFFFFF; --pv-line: rgba(22,49,34,0.16);
}
.pv--kestrel .pv__logo { font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.pv--kestrel .pv__logo b { font-weight: 500; opacity: 0.6; text-transform: none; letter-spacing: 0; }
.pv--kestrel .pv__pill { border-radius: var(--r-xs); }
.pv--kestrel .pv__h1 { font-size: clamp(1.05rem, 6cqi, 2rem); font-weight: 700; letter-spacing: -0.035em; }
.pv--kestrel .pv__btn { border-radius: var(--r-xs); }
.pv--kestrel .pv__list span::before { content: ""; width: clamp(5px, 1.5cqi, 7px); aspect-ratio: 1; border-radius: 50%; background: var(--pv-accent); align-self: center; flex: none; margin-right: 0.35rem; }
.pv--kestrel .pv__list span { justify-content: flex-start; }
.pv--kestrel .pv__list b { margin-left: auto; }

/* ==========================================================================
   12. PROCESS — a connected timeline
   ========================================================================== */
.steps { display: grid; gap: var(--sp-5); position: relative; }
.step { position: relative; padding-left: 2.75rem; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 14px -6px rgba(11, 31, 58, 0.22);
}
.step::before {
  content: ""; position: absolute; left: 17px; top: 36px; bottom: -1.5rem;
  border-left: 2px dashed var(--line);
}
.step:last-child::before { display: none; }
.step__title { font-size: 1.2rem; margin-bottom: 0.45rem; padding-top: 0.35rem; }
.step p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.62; max-width: 36ch; }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .step { padding-left: 0; padding-top: 3.25rem; }
  .step__num { left: 0; top: 0; }
  .step::before { left: 44px; right: calc(-1 * clamp(1.5rem, 3vw, 2.5rem)); top: 17px; bottom: auto; border-left: 0; border-top: 2px dashed var(--line); }
  .step__title { padding-top: 0; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   13. ABOUT
   ========================================================================== */
.about__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.about__copy .h2 { max-width: 20ch; margin-bottom: var(--sp-5); }
.about__text { display: grid; gap: var(--sp-4); max-width: 66ch; }
.about__text p { color: var(--muted); font-size: var(--fs-lede); font-weight: 300; line-height: 1.68; }
.about__card {
  align-self: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--sh-2);
}
.about__card-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); }
.facts { display: grid; }
.fact { padding-block: var(--sp-4); border-bottom: 1px solid var(--line-2); }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--link); margin-bottom: 0.25rem; }
.fact dd { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
@media (min-width: 960px) { .about__inner { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 5rem); } }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.faq__head .h2 { margin-bottom: var(--sp-4); }
.faq__contact { font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; }
.faq__list { display: grid; gap: 0.6rem; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); transition: box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease); }
.qa:hover { border-color: rgba(11,31,58,0.2); }
.qa[open] { box-shadow: var(--sh-2); border-color: rgba(31, 99, 214, 0.25); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em;
  border-radius: inherit;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint-2); transition: background var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%); transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { background: var(--grad); transform: rotate(90deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { opacity: 0; }
.qa__body { padding: 0 1.25rem 1.2rem; }
.qa__body p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; max-width: 68ch; }
@media (min-width: 960px) {
  .faq__inner { grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
  .faq__head { position: sticky; top: 104px; }
  .faq__contact { margin-top: var(--sp-5); }
}

/* ==========================================================================
   15. CONTACT & FORM
   ========================================================================== */
.contact { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--d-bg) 0%, var(--d-bg-2) 100%); }
.contact::before {
  content: ""; position: absolute; top: -40%; left: -10%;
  width: min(760px, 85vw); aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(25, 179, 148, 0.28) 0%, rgba(45, 124, 246, 0.16) 40%, transparent 68%);
  pointer-events: none;
}
.contact__inner { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.contact__copy .h2 { max-width: 15ch; margin-bottom: var(--sp-5); }
.contact__list { display: grid; gap: 0.6rem; margin-top: var(--sp-6); }
.contact__list li { position: relative; padding-left: 1.6rem; font-size: var(--fs-sm); color: var(--d-muted); }
.contact__list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.contact__list li::after { content: ""; position: absolute; left: 5px; top: 0.42em; width: 4px; height: 7px; border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(42deg); }
.contact__direct { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--d-line); }
.contact__direct p { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 0.4rem; }
.contact__email { font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; border-bottom: 1px solid var(--d-line); padding-bottom: 2px; transition: border-color var(--t-fast) var(--ease); }
.contact__email:hover { border-color: #fff; }

.form {
  background: #fff; color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3.2vw, 2.25rem);
  display: grid; gap: var(--sp-4);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.45), 0 12px 24px -12px rgba(0, 0, 0, 0.25);
}
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 0.4rem; }
.req { color: var(--c1); }
.opt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--tint); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 0.85rem 1rem; color: var(--ink);
  font-size: var(--fs-sm); line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(11,31,58,0.24); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--link); box-shadow: 0 0 0 3px var(--link-soft); }
.field [aria-invalid="true"] { border-color: var(--c1); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(217, 58, 31, 0.16); border-color: var(--c1); }
.field__error { font-size: var(--fs-xs); color: #B42318; }
.select { position: relative; display: grid; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select select:invalid { color: var(--muted-2); }
.select svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[type="submit"] { margin-top: var(--sp-2); --btn-py: 1.05rem; font-size: var(--fs-body); }
.form button[type="submit"]:disabled { opacity: 0.7; cursor: progress; }
.form__fine { font-size: var(--fs-xs); color: var(--muted-2); text-align: center; }
.form__status { font-size: var(--fs-sm); line-height: 1.6; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); background: var(--link-soft); border: 1px solid rgba(31,99,214,0.25); color: var(--ink); }
.form__status[data-state="error"] { background: rgba(217, 58, 31, 0.08); border-color: rgba(217, 58, 31, 0.3); }
.form__status a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 0.95fr 1.05fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; } }

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer { background: var(--d-bg-2); color: var(--d-text); border-top: 1px solid var(--d-line); padding-block: clamp(3rem, 6vw, 4.5rem) var(--sp-6); }
.footer__top { display: grid; gap: var(--sp-8); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--d-line); }
.logo--footer { color: #fff; }
.footer__tag { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--d-muted); max-width: 34ch; }
.footer__nav { display: grid; gap: var(--sp-6); }
.footer__h { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); margin-bottom: var(--sp-4); }
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { font-size: var(--fs-sm); color: #fff; opacity: 0.85; transition: opacity var(--t-fast) var(--ease); }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; padding-top: var(--sp-5); font-size: var(--fs-xs); color: var(--d-muted); }
.footer__bottom a:hover { color: #fff; }
@media (min-width: 640px) { .footer__nav { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.2fr 1fr; gap: var(--sp-9); } .footer__nav { gap: var(--sp-8); } }

/* ==========================================================================
   17. MOTION
   Hero arrives in a stagger (CSS only). Sections reveal once on scroll with a
   12px rise (JS adds .is-visible). Everything gated behind .js so a missing
   script leaves the page fully visible.
   ========================================================================== */
.js .hero [data-reveal] { animation: rise 0.9s var(--ease-out) both; }
.js .hero [data-reveal-delay="1"] { animation-delay: 90ms; }
.js .hero [data-reveal-delay="2"] { animation-delay: 180ms; }
.js .hero [data-reveal-delay="3"] { animation-delay: 270ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .hero [data-reveal], .js .detail:not([hidden]) { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .device { animation: none; }
}

/* ==========================================================================
   18. RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 599px) {
  :root { --fs-display: clamp(2.2rem, 10vw, 2.9rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stage { height: clamp(340px, 88vw, 420px); }
  .device--browser { width: 68%; }
  .device--a { left: 26%; top: 6%; }
  .device--b { left: 2%; top: 28%; width: 34%; }
  .device--c { right: -4%; top: 42%; width: 27%; }
  .proj__preview { aspect-ratio: 5 / 4; }
  .detail__preview .pv { aspect-ratio: 4 / 3; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .hero__visual { max-width: 720px; }
  .proj__preview { aspect-ratio: 16 / 9; }
}
