
:root {
  --ink: #0D0D0D;
  --paper: #F5F3F0;
  --ox: #8E1B12;
  --mute: #A9A39C;
  --mute-ink: #5C5751;
  --lcd: #D9D5CE;
  --disp: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Wix Madefor Text", ui-sans-serif, system-ui, sans-serif;
  --pad: clamp(112px, 15vw, 220px);
  --gut: clamp(20px, 5vw, 80px);
  --col: clamp(380px, 38vw, 600px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}
html { background: var(--ink); color-scheme: dark; }
body {
  font: 400 18px/1.5 var(--text);
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
em, i { font-style: normal; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { text-decoration: none; }
::selection { background: var(--ox); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Type */
.disp { font-family: var(--disp); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: .004em; }
.h2 { font-size: clamp(52px, 6.2vw, 104px); }
.body-mute { color: var(--mute); max-width: 24em; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 50px; padding: 0 24px 0 26px; border-radius: 999px;
  font: 500 16px/1 var(--text); letter-spacing: .005em;
  background: var(--paper); color: var(--ink);
  --k-fill: var(--ox); --k-fill-ink: var(--paper);
  transition: transform .25s var(--ease), color .45s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn .k-arrow svg { width: 16px; height: 16px; }
.btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.btn--dark:focus-visible { outline-color: var(--ink); }
.link { font: 500 15px/1.4 var(--text); padding-bottom: 2px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 900 26px/1 var(--disp); letter-spacing: .06em; text-transform: uppercase; }
.mark svg { width: 14px; height: 18px; }

/* 1 and 2: the hill (hero panel, then the pinned morph) */
.hill { position: relative; background: var(--ink); }
.kit-js:not(.is-static) .hill { height: 430svh; }
.stage {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; grid-template-columns: var(--col) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
}
.kit-js:not(.is-static) .stage { position: sticky; top: 0; }
.col { display: contents; }
.bar { grid-area: 1 / 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px var(--gut) 0; position: relative; z-index: 2; }
.art { grid-area: 1 / 2 / 3 / 3; position: relative; overflow: hidden; background: var(--ink); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.col-body { grid-area: 2 / 1; align-self: end; display: grid; padding: 0 var(--gut) clamp(40px, 7svh, 84px); position: relative; z-index: 2; }
.hero-copy, .scene { grid-area: 1 / 1; align-self: end; }
.h-hero { font-size: clamp(60px, min(7.4vw, 13.4svh), 128px); line-height: .84; max-width: 4.7em; }
.lede { margin-top: 30px; max-width: 22em; color: var(--mute); }
.actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.steps { display: grid; }
.step { grid-area: 1 / 1; }
.kit-js:not(.is-static) .step { opacity: 0; }
.step-n { font: 600 18px/1 var(--disp); letter-spacing: .08em; color: var(--mute); }
.step-n b { font-weight: 800; color: var(--paper); }
.step-t { font-size: clamp(56px, min(6vw, 11svh), 104px); margin: 22px 0 26px; }
.step p { color: var(--mute); max-width: 21em; }
.scene-art { display: none; }

.panel .c { fill: var(--paper); }
.panel .L { fill: var(--ox); }
.panel .plot { fill: var(--ox); }
.panel .rows path { fill: var(--paper); }
.panel .tag-a { font: 800 30px/1 var(--disp); fill: var(--paper); letter-spacing: .03em; }
.panel .tag-b { font: 500 14px/1 var(--text); fill: var(--mute); }

/* Static mode and no script: the hero, then the finished scene */
.is-static .stage, html:not(.kit-js) .stage { height: auto; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
.is-static .art, html:not(.kit-js) .art { height: 100svh; min-height: 600px; }
.is-static .col-body, html:not(.kit-js) .col-body { display: contents; }
.is-static .hero-copy, html:not(.kit-js) .hero-copy { grid-area: 2 / 1; padding: 0 var(--gut) clamp(40px, 7svh, 84px); }
.is-static .scene, html:not(.kit-js) .scene { grid-area: 3 / 1; align-self: center; padding: var(--pad) var(--gut); }
.is-static .steps, html:not(.kit-js) .steps { gap: 88px; }
.is-static .step, html:not(.kit-js) .step { grid-area: auto; }
.is-static .step-t, html:not(.kit-js) .step-t { font-size: clamp(48px, 4.6vw, 80px); margin: 16px 0 18px; }
.is-static .scene-art { display: block; grid-area: 3 / 2; position: relative; height: 100svh; min-height: 600px; align-self: center; overflow: hidden; }
.scene-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 3: the text message */
.sms { background: var(--paper); color: var(--ink); padding: var(--pad) var(--gut); }
.sms-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(56px, 8vw, 140px); }
.sms-copy p { margin-top: 30px; max-width: 22em; color: var(--mute-ink); }
.sms-copy .note { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(13, 13, 13, .18); font: 500 15px/1.5 var(--text); color: var(--ink); max-width: 26em; }
.phone { justify-self: center; width: clamp(280px, 25vw, 340px); container-type: inline-size; position: relative; }
.phone > svg { width: 100%; height: auto; }
.phone .keys text { font: 500 15px/1 var(--text); fill: var(--mute); }
.screen {
  position: absolute; left: 10.625%; top: 10.882%; width: 78.75%; height: 41.176%;
  padding: 4cqw 4.2cqw 4.4cqw; display: flex; flex-direction: column;
  font-size: 4.3cqw; line-height: 1.36; color: var(--ink); overflow: hidden;
}
.scr-head { display: flex; justify-content: space-between; font-weight: 600; padding-bottom: 2.4cqw; border-bottom: 1.5px solid var(--ink); }
.scr-head span:last-child { font-weight: 500; }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6cqw; padding-top: 3cqw; }
.msg { max-width: 88%; padding: 2.4cqw 3.2cqw; border-radius: 3cqw; }
.msg-out { align-self: flex-end; background: var(--ink); color: var(--lcd); border-bottom-right-radius: .8cqw; }
.msg-in { align-self: flex-start; border: 1.5px solid var(--ink); border-bottom-left-radius: .8cqw; margin-top: 1.4cqw; }
.meta { align-self: flex-end; font-size: max(11px, 3.4cqw); font-weight: 500; }

/* 4: the hills */
.vista { background: var(--ink); padding-top: var(--pad); }
.vista-line { font-size: clamp(44px, 5.4vw, 92px); line-height: .9; font-weight: 800; max-width: 11em; padding: 0 var(--gut); margin-bottom: clamp(56px, 8vw, 128px); }
.vista-img { height: min(92svh, 62vw); min-height: 380px; }
.vista-img img { width: 100%; height: 100%; object-fit: cover; }

/* 5: the cooperative */
.coop { background: var(--paper); color: var(--ink); padding: var(--pad) var(--gut); }
.coop-top, .coop-voice { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(56px, 7vw, 128px); align-items: center; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map figcaption { margin-top: 20px; font: 500 14px/1.4 var(--text); color: var(--mute-ink); }
.map .ring { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.map .p { stroke: var(--ink); stroke-width: .9; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map .p-ready { fill: var(--ink); }
.map .p-soon { fill: var(--ox); }
.map .p-later { fill: var(--paper); }
.coop-copy p { margin-top: 30px; color: var(--mute-ink); max-width: 22em; }
.legend { margin-top: 44px; display: grid; gap: 16px; font: 500 15px/1 var(--text); }
.legend li { display: flex; align-items: center; gap: 14px; }
.sw { width: 26px; height: 14px; border: 1.5px solid var(--ink); }
.sw-ready { background: var(--ink); }
.sw-soon { background: var(--ox); border-color: var(--ox); }
.coop-voice { margin-top: var(--pad); align-items: end; }
.quote p { font-size: clamp(44px, 5vw, 84px); line-height: .92; font-weight: 800; max-width: 9.5em; }
.quote footer { margin-top: 32px; font: 400 16px/1.5 var(--text); color: var(--mute-ink); }
.quote footer b { font-weight: 600; color: var(--ink); }
.portrait { aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* 6: price and footer */
.start { background: var(--ink); padding: var(--pad) var(--gut); }
.start-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(56px, 7vw, 128px); align-items: end; }
.price { font-size: clamp(72px, 11vw, 196px); line-height: .84; }
.price-sub { margin-top: 32px; font: 400 clamp(20px, 1.7vw, 25px)/1.4 var(--text); max-width: 22em; }
.start .actions { margin-top: 48px; }
.craft { width: clamp(200px, 19vw, 270px); }
.craft img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.craft figcaption { margin-top: 16px; font: 400 14px/1.5 var(--text); color: var(--mute); }
.foot { background: var(--ink); }
.band { display: block; width: 100%; height: 36px; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; padding: 64px var(--gut) 56px; }
.foot-brand p { margin-top: 18px; font-size: 15px; color: var(--mute); max-width: 26em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 32px; font: 500 15px/1.4 var(--text); color: var(--mute); }
.foot-links a { color: var(--paper); }

/* Phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .bar { grid-area: 1 / 1; padding: 18px var(--gut) 16px; }
  .art { grid-area: 2 / 1; }
  .col-body { grid-area: 3 / 1; padding: 26px var(--gut) 30px; }
  .h-hero { font-size: clamp(50px, 14.6vw, 68px); max-width: none; }
  .lede { margin-top: 18px; }
  .actions { margin-top: 24px; }
  .step-t { font-size: clamp(48px, 13vw, 60px); margin: 14px 0 14px; }
  .is-static .stage, html:not(.kit-js) .stage { grid-template-rows: auto auto auto auto auto; }
  .is-static .art, html:not(.kit-js) .art { grid-area: 2 / 1; height: 54svh; min-height: 360px; }
  .is-static .hero-copy, html:not(.kit-js) .hero-copy { grid-area: 3 / 1; padding: 30px var(--gut) 40px; }
  .is-static .scene, html:not(.kit-js) .scene { grid-area: 4 / 1; padding: 96px var(--gut) 56px; }
  .is-static .steps { gap: 56px; }
  .is-static .scene-art { grid-area: 5 / 1; height: 60svh; min-height: 380px; }
  .sms-grid, .coop-top, .coop-voice, .start-grid { grid-template-columns: minmax(0, 1fr); }
  .phone { width: min(300px, 80vw); }
  .coop-voice .portrait { order: -1; }
  .craft { width: min(240px, 64vw); }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
