/* Línea landing page: light, simple, few screens. */
:root {
  --olive: #4f523a;
  --olive-2: #6a6d50;
  --ink: #191b12;
  --cream: #f5f4ef;
  --paper: #ebe8df;
  --bone: #e4dfd1;
  --leaf: #e2e7cc;      /* a soft, bright green band */
  --lime: #a8ff3f;     /* good vibes: highlights only, never body text */
  --rhubarb: #c4574a;  /* only for the strike-through */
  --muted: #7c7d6c;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--olive); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--lime); color: var(--olive); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100; letter-spacing: -0.02em; margin: 0; }
em { font-style: italic; }
.hl { background: linear-gradient(var(--lime), var(--lime)) 0 90% / 100% .22em no-repeat; padding: 0 .04em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section { padding: 112px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-2); margin: 0 0 14px; }

/* wordmark & mark, recolored with masks */
.wordmark { display: block; width: 104px; height: 37px; background: var(--olive);
  -webkit-mask: url(assets/linea-wordmark.svg) left center / contain no-repeat; mask: url(assets/linea-wordmark.svg) left center / contain no-repeat; }
.wordmark.big { width: 150px; height: 53px; background: var(--cream); }
.mark { display: block; background: var(--olive);
  -webkit-mask: url(assets/linea-mark.svg) center / contain no-repeat; mask: url(assets/linea-mark.svg) center / contain no-repeat; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; border: 0;
  background: var(--olive); color: var(--cream); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: #3c3f2b; transform: translateY(-1px); }
.btn.lime { background: var(--lime); color: var(--olive); }
.btn.lime:hover { background: #bdff6e; }
.btn.ghost { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1.5px var(--olive); }
.btn.ghost:hover { background: var(--olive); color: var(--cream); }
.btn.small { padding: 11px 18px; font-size: 14px; }
.btn.wide { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 14px 28px;
  background: rgba(245, 244, 239, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: rgba(79, 82, 58, .12); }
.nav .soon { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--olive-2); display: inline-flex; align-items: center; gap: 8px; }
.soon i, .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--olive); display: inline-block; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* 1. hero */
.hero { --nav: 66px; --pin: 55vh; height: calc(100vh - var(--nav) + var(--pin)); padding: 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); }
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 9px 16px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; color: var(--olive); }
.hero h1 { font-size: clamp(54px, 8.4vw, 116px); line-height: .95; }
.lede { font-size: 20px; line-height: 1.55; max-width: 560px; margin: 28px 0 0; color: var(--olive-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; }
.hero-art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--leaf); }
.hero-art { --p: 0; --r: 150px; --d: 14px; }
/* --p (0 to 1) follows the scroll: the dots gather into the mark, and spread again on the way back up */
.hero-art .mark { position: absolute; inset: 24%; opacity: clamp(0, (var(--p) - .55) * 2.6, 1);
  transform: scale(calc(.82 + .18 * var(--p))) rotate(calc((1 - var(--p)) * -40deg)); }
.dots i { position: absolute; left: 50%; top: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2); border-radius: 50%; background: var(--olive);
  opacity: clamp(0, (1 - var(--p)) * 3.4, 1);
  transform: rotate(calc(var(--i) * 30deg + var(--p) * 90deg)) translateY(calc(var(--r) * (var(--p) - 1))) scale(calc(1 - .6 * var(--p))); }

/* entrance + reveal (gentle, once) */
.rise { opacity: 0; transform: translateY(14px); animation: rise .8s ease forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; }
.js .reveal.in { opacity: 1; transform: none; }

/* 2. different */
.different { background: var(--paper); }
.different h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.06; max-width: 900px; }
.strike { color: var(--muted); background: linear-gradient(var(--rhubarb), var(--rhubarb)) 0 60% / 0% .1em no-repeat; transition: background-size 1s cubic-bezier(.6, 0, .2, 1) .5s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.in .strike { background-size: 100% .1em; }
.intro { font-size: 20px; max-width: 640px; margin: 28px 0 64px; color: var(--olive-2); }
.three { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 60px; }
.three article { position: relative; }
.thread { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.thread path { fill: none; stroke: var(--olive); stroke-width: 2; stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.6, 0, .2, 1) .3s; }
.node { position: absolute; left: 30px; top: -42px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--olive); z-index: 2; transition: background .3s; }
.three.drawn .node { background: var(--lime); }
.three.drawn article:nth-of-type(1) .node { transition-delay: .3s; }
.three.drawn article:nth-of-type(2) .node { transition-delay: 1.05s; }
.three.drawn article:nth-of-type(3) .node { transition-delay: 1.8s; }
.three article { background: var(--cream); border-radius: 24px; padding: 32px 30px 34px; }
.three .n { font: 600 13px/1 var(--sans); letter-spacing: .12em; color: var(--olive-2); }
.three h3 { font-size: 30px; margin: 18px 0 10px; }
.three p { margin: 0; color: var(--olive-2); }

.after { margin: 56px 0 0; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; max-width: 760px; }
.foot h4.mt { margin-top: 22px; }

/* 2b. the guide, a transitional offer */
.magnet { background: var(--olive); color: var(--cream); }
.magnet-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: center; }
.magnet .eyebrow { color: rgba(245, 244, 239, .65); }
.magnet h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; }
.magnet .lede { color: var(--bone); margin-top: 18px; }
.book { aspect-ratio: 3 / 4; max-width: 300px; width: 100%; justify-self: center; background: var(--cream); color: var(--olive); border-radius: 6px 16px 16px 6px; padding: 26px;
  display: flex; flex-direction: column; transform: rotate(-3deg); box-shadow: 14px 14px 0 var(--lime); }
.js .book.reveal.in { transform: rotate(-3deg); }
.book .wordmark { width: 70px; height: 25px; }
.book .ttl { margin-top: 10px; font: 400 26px/1.05 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.02em; }
.book .ttl i { font-style: italic; }
.book .sub { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-2); }
.mcard { margin-top: 30px; max-width: 620px; }
.magnet .field { color: var(--cream); }
.magnet .consent { color: var(--bone); }
.magnet .consent input { accent-color: var(--lime); }
.magnet .err { color: var(--lime); }
.magnet .form { gap: 16px; }
.magnet .form .btn { justify-self: start; }
.magnet .done { text-align: left; padding: 0; }
.magnet .done h3 { font-size: 36px; margin-bottom: 18px; }
.magnet .done p { margin: 18px 0 0; color: var(--bone); max-width: none; }

/* 3. chill */
.chill { background: var(--leaf); overflow: hidden; }
.chill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.chill h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; }
.ticks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; max-width: 470px; }
.ticks li { position: relative; padding-left: 30px; font-size: 18px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--olive); }
.ticks b { font-weight: 600; color: var(--olive); }
.rhubarb { margin: 0 calc(-50vw + 50%) 0 0; position: relative; }
.rhubarb img { width: 100%; max-width: 560px; margin-left: auto; }
.rhubarb figcaption { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--olive-2); }

/* 4. guide */
.guide-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.guide h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; }
.big { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; margin: 0 0 30px; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(79, 82, 58, .18); }
.facts li { padding: 13px 0; border-bottom: 1px solid rgba(79, 82, 58, .18); font-size: 16px; color: var(--olive-2); }
.sig { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; }

/* 5. join */
.join { background: var(--cream); }
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.join h2 { font-size: clamp(44px, 6vw, 84px); line-height: 1; }
.join .lede { font-size: 19px; }
.ticks.small { margin-top: 28px; }
.ticks.small li { font-size: 17px; }
.es { margin: 22px 0 0; font-size: 15px; color: var(--muted); }

.card { background: var(--paper); border-radius: 28px; padding: 36px; }
.form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--bone); background: #fff; color: var(--ink); font: 16px var(--sans); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--olive); box-shadow: 0 0 0 4px var(--lime); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--bone); background: #fff; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip input:checked + label { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.chip input:focus-visible + label { box-shadow: 0 0 0 4px var(--lime); }
.consent { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--olive-2); cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--olive); }
.err { margin: 0; min-height: 1px; color: var(--olive); font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.done { display: none; text-align: center; padding: 40px 10px; }
.done .mark { width: 72px; height: 72px; margin: 0 auto 20px; }
.done h3 { font-size: 40px; margin-bottom: 10px; }
.done p { margin: 0 auto 26px; max-width: 380px; color: var(--olive-2); }
.sent .form { display: none; }
.sent .done { display: block; animation: rise .6s ease both; }

/* footer */
footer { background: var(--olive); color: var(--bone); padding: 72px 0 28px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 244, 239, .55); }
.foot p { margin: 0; line-height: 1.7; }
.soon-foot { margin-top: 14px !important; }
.foot a { text-decoration: none; border-bottom: 1px solid rgba(245, 244, 239, .3); }
.foot a:hover { border-color: var(--lime); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(245, 244, 239, .15); font-size: 13px; color: rgba(245, 244, 239, .55); }
.legal a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(245, 244, 239, .3); margin-left: 8px; }
.legal a:hover { border-color: var(--lime); }

/* responsive */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .hero { --pin: 45vh; }
  .hero-grid, .chill-grid, .guide-grid, .join-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { align-content: center; gap: 28px; }
  .hero-art { order: -1; max-width: 260px; justify-self: start; }
  .hero-art { --r: 90px; --d: 12px; }
  .three { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; }
  .node { left: -40px; top: 32px; }
  .magnet-grid { grid-template-columns: 1fr; gap: 48px; }
  .book { max-width: 180px; justify-self: start; }
  .book .wordmark { width: 56px; height: 20px; }
  .book .ttl { font-size: 18px; }
  .book .bsun { width: 24px; height: 24px; top: 14px; right: 14px; }
  .book .bot .wordmark { width: 60px; height: 22px; }
  .rhubarb { margin-right: -28px; }
  .rhubarb img { width: 100%; margin-left: auto; max-width: 520px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { padding: 12px 16px; gap: 12px; }
  .nav .soon { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-art { max-width: 140px; }
  .hero-art { --r: 50px; --d: 9px; }
  .badge { margin-bottom: 20px; }
  .lede { font-size: 18px; }
  .row { grid-template-columns: 1fr; }
  .card { padding: 24px 18px; border-radius: 22px; }
  .rhubarb { margin-right: -16px; }
  .three { padding-left: 32px; }
  .node { left: -32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* the symbol in a corner of a section, as in the brand deck; it turns slowly as you scroll */
.different > .wrap, .guide > .wrap, .join > .wrap, footer .foot { position: relative; }
.corner { position: absolute; top: -56px; right: 28px; width: 46px; height: 46px; transform: rotate(var(--turn, 0deg)); }
.join .corner { top: auto; bottom: -64px; }
footer .corner { top: 0; background: var(--cream); width: 40px; height: 40px; }
.book { position: relative; }
.book .bsun { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; }
.book .ttl { max-width: 72%; }
.book .bot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.book .bot .wordmark { width: 96px; height: 34px; }
.book .bot .sub { margin: 0; font-size: 9px; white-space: nowrap; }
@media (max-width: 900px) { .corner { top: -48px; right: 16px; width: 34px; height: 34px; } .join .corner { bottom: -52px; } }

/* photos: square corners, as in the deck */
.portrait { margin: 36px 0 0; max-width: 340px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 999px 999px 48px 48px; }
.build { background: var(--paper); padding: 96px 0; }
.build-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; }
.build h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; }
.board { position: relative; padding-bottom: 70px; }
.render { margin: 0; }
.render img { width: 100%; height: auto; }
.render figcaption { text-align: right; margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--olive-2); }
/* instant photos, tucked over the drawing */
.snap { position: absolute; width: 30%; margin: 0; padding: 8px 8px 0; background: #fff; box-shadow: 0 10px 24px -12px rgba(25, 27, 18, .45); }
.snap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.snap figcaption { padding: 7px 2px 9px; font-family: var(--serif); font-style: italic; font-size: 13px; line-height: 1.2; color: var(--olive); text-align: center; }
.snap.s1 { left: -4%; bottom: 0; transform: rotate(-5deg); }
.snap.s2 { left: 29%; bottom: -14px; transform: rotate(4deg); }
.snap:hover { z-index: 2; }
@media (max-width: 900px) { .build-grid { grid-template-columns: 1fr; gap: 32px; } .board { padding-bottom: calc(40% + 48px); } .snap { width: 40%; } .snap.s1 { left: 2%; } .snap.s2 { left: 40%; } .portrait { max-width: 260px; } }

/* 2a. airway-focused */
.airway { background: var(--cream); }
.airway-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.airway h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; }
.airway .ticks { margin-top: 8px; max-width: none; }
@media (max-width: 900px) { .airway-grid { grid-template-columns: 1fr; gap: 28px; } }
