/* Multi-page site based on the Dreelio template, rebuilt locally. Values mirror the Framer project (desktop 1200, tablet 810, phone 390). */

@font-face { font-family: "Open Runde"; src: url("fonts/OpenRunde-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Runde"; src: url("fonts/OpenRunde-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Open Runde"; src: url("fonts/OpenRunde-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --blue-30: rgb(132, 185, 239);
  --blue-20: rgb(156, 193, 231);
  --blue-10: rgb(226, 236, 245);
  --beige-40: rgb(237, 223, 208);
  --beige-30: rgb(244, 230, 218);
  --beige-20: rgb(241, 235, 229);
  --beige-10: rgb(244, 241, 238);
  --white: #fff;
  --ink: rgb(26, 22, 21);
  --ink-2: rgb(69, 63, 61);
  --ink-3: rgb(117, 113, 112);
  --stroke: rgb(228, 226, 226);
  --brown: rgb(97, 74, 68);
  --card: rgb(240, 234, 229);
  --font: "Open Runde", Inter, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  background: var(--blue-20) linear-gradient(180deg, #fafafa 0%, #f9f8f8 36%, var(--beige-10) 45%, var(--beige-10) 51%, rgb(226, 236, 246) 73%, rgb(167, 203, 242) 125%);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.draft-banner { position: relative; z-index: 20; background: var(--ink); color: rgba(255, 255, 255, 0.85); font-size: 13px; text-align: center; padding: 7px 16px; }

/* Type scale (Framer text styles) */
.h1, .h2, .h3, .h5, .h6 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.03em; }
.h1 { font-size: 76px; line-height: 1.2; text-align: center; }
.h2 { font-size: 52px; line-height: 1.2; text-align: center; }
.h2.left { text-align: left; }
.h3 { font-size: 40px; line-height: 1.2; }
.h5 { font-size: 28px; line-height: 1.4; }
.h6 { font-size: 20px; line-height: 1.4; }
.body-xl { margin: 0; font-size: 20px; line-height: 1.5; text-align: center; }
.body-l { margin: 0; font-size: 18px; line-height: 1.5; }
.body-l strong, .body-xl strong { color: var(--ink); font-weight: 600; }
.center { text-align: center; }
.muted { margin: 0; color: var(--ink-3); }
.eyebrow { margin: 0; color: var(--brown); font-size: 15px; line-height: 1.25; font-weight: 600; text-transform: uppercase; text-align: center; }
.eyebrow-left { text-align: left; }
.eyebrow.dark { color: var(--ink); }

/* Buttons: two stacked labels that roll on hover, like the Framer component */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 24px; border-radius: 100px; border: 1px solid transparent; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.3s ease, transform 0.3s var(--spring); }
.btn-t { display: flex; flex-direction: column; height: 19px; overflow: hidden; }
.btn-t span { display: block; line-height: 19px; transition: transform 0.45s var(--spring); }
.btn:hover .btn-t span { transform: translateY(-100%); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-secondary { background: var(--beige-10); color: var(--ink); }
.btn-secondary:hover { background: var(--beige-20); }
.btn-tertiary { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.btn-tertiary:hover { background: rgba(255, 255, 255, 0.2); }
.btn-block { width: 100%; }

/* Nav */
.nav { position: fixed; z-index: 30; left: 0; right: 0; top: 0; padding: 16px 16px 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.draft-banner + .nav { top: var(--banner-h, 33px); }
.is-scrolled .draft-banner + .nav { top: 0; }
.nav-bar { pointer-events: auto; position: relative; width: 100%; max-width: 1072px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px; border-radius: 40px; border: 1px solid rgba(117, 115, 114, 0); background: rgba(255, 255, 255, 0); transition: max-width 0.6s var(--spring), padding 0.6s var(--spring), background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease; }
.is-scrolled .nav-bar { max-width: 940px; padding-left: 24px; background: rgba(255, 255, 255, 0.25); border-color: rgba(117, 115, 114, 0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.logo img { width: 28px; height: 21px; }
.nav-links { display: flex; gap: 4px; }
.nav-item { padding: 8px 12px; border-radius: 100px; color: var(--ink); font-size: 16px; text-decoration: none; white-space: nowrap; transition: background 0.25s ease; }
.nav-item:hover { background: rgba(255, 255, 255, 0.5); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 16px; width: 16px; height: 2px; background: var(--ink); transition: transform 0.35s var(--spring), top 0.35s var(--spring); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.mobile-menu { pointer-events: auto; width: 100%; max-width: 1072px; margin-top: 8px; padding: 16px; border-radius: 32px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(117, 115, 114, 0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(26, 22, 21, 0.18); }
.mobile-links { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 20px; text-align: center; }

/* Layout */
.main { position: relative; display: flex; flex-direction: column; align-items: center; gap: 120px; overflow: clip; }
.wrap { width: 100%; max-width: 1072px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.wrap-wide { max-width: 1136px; }
.content { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 160px; padding: 0 0 0; }
.sec { width: 100%; padding: 0 64px; scroll-margin-top: 120px; }
.sec-head { width: 100%; max-width: 800px; display: flex; flex-direction: column; gap: 20px; }

/* Hero */
.hero { position: relative; width: 100%; min-height: 0; padding: 160px 64px 48px; background: linear-gradient(180deg, var(--blue-20) 0%, var(--beige-40) 100%); overflow: clip; display: flex; flex-direction: column; align-items: center; }
.cloud { position: absolute; width: 480px; height: auto; pointer-events: none; will-change: transform; }
.hero-cloud { top: 180px; }
.cloud-l { left: -280px; }
.cloud-r { right: -280px; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1072px; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.hero-top { width: 100%; max-width: 792px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero-texts { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-texts .body-xl { max-width: 700px; }
.hero-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-stage { width: 100%; perspective: 1000px; }
.hero-img img { width: 100%; height: auto; }
.tilt { display: block; transform-origin: 50% 0; will-change: transform; }
/* Hero image springs from tilted back, smaller and raised to flat as the page loads */
.js .tilt { transform: translateY(-80px) scale(0.8) rotateX(20deg); transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; }
.js .tilt.is-in { transform: none; }

/* Words fade and un-blur in on load, like Framer's text effect */
.js .words .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(10px); transition: opacity 0.7s var(--spring), filter 0.7s var(--spring), transform 0.7s var(--spring); }
.js .words.is-in .w { opacity: 1; filter: none; transform: none; }
.js .fade-late { opacity: 0; transition: opacity 0.7s cubic-bezier(0.44, 0, 0.56, 1) 1.25s; }
.js .fade-late.is-in { opacity: 1; }

/* Clients carousel */
.carousel { position: relative; width: 100%; aspect-ratio: 1072 / 700; border-radius: 24px; overflow: hidden; background: #f9f8f8; isolation: isolate; }
.car-track { display: flex; width: 200%; height: 100%; transition: transform 0.9s var(--spring); }
.car-slide { display: block; width: 50%; height: 100%; overflow: hidden; }
.car-slide .browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Framer's slow zoom: each image starts at 130% and settles to 100% when it comes into view or slides in */
/* The whole story (site screenshot and quote card) settles together; the tabs stay still. */
.js .car-slide .story-stage { transform: scale(1.3); transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.js .car-slide.is-zoomed .story-stage { transform: none; }
.js .car-slide.no-anim .story-stage { transition: none; }
.carousel[data-index="1"] .car-track { transform: translateX(-50%); }
.car-toggle { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; gap: 12px; padding: 8px; border-radius: 40px; background: rgba(255, 255, 255, 0.25); border: 1px solid rgba(117, 113, 112, 0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.car-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; padding: 8px 22px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.55); color: var(--ink); font: 600 16px/1.2 var(--font); cursor: pointer; transition: background 0.35s ease, color 0.35s ease; white-space: nowrap; }
.car-tab small { font-size: 12.5px; font-weight: 500; opacity: 0.8; margin-top: 2px; }
.car-tab.is-on { background: var(--ink); color: var(--white); border-color: transparent; }

/* Feature rows */
.feats { gap: 120px; }
.feat { width: 100%; display: flex; gap: 64px; align-items: stretch; }
.feat-art { flex: 1 1 0; min-width: 588px; padding: 40px; border-radius: 24px; background: url("img/panel-gradient.png") center / cover; overflow: hidden; display: flex; justify-content: center; }
.feat-ill { width: 100%; border-radius: 20px; overflow: hidden; }
.feat-ill img { width: 100%; height: auto; aspect-ratio: 0.826; object-fit: cover; object-position: top; }
.feat-copy { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.feat-top { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.feat-texts { display: flex; flex-direction: column; gap: 16px; }
.pills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pill { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 100px; border: 1px solid var(--stroke); color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap; }
.pill .ic { width: 24px; height: 24px; flex: none; }
.pills-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Benefit cards */
.cards { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.row3 { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.row2 { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.bcard { display: flex; flex-direction: column; gap: 68px; padding: 32px; border-radius: 24px; background: var(--card); }
.bcard-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 50px rgba(97, 74, 68, 0.1); display: grid; place-items: center; color: var(--ink); }
.bcard-ic .ic { width: 24px; height: 24px; }
.bcard-t { display: flex; flex-direction: column; gap: 16px; }
.bcard-t p { margin: 0; }
.wcard { display: flex; flex-direction: column; gap: 80px; padding: 32px; border-radius: 24px; background: var(--card); overflow: hidden; }
.wcard-2 { background: var(--beige-20); }
.wcard-ill img { width: 100%; height: auto; }

/* Pricing */
.pgrid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0); }
.pcard-hi { background: linear-gradient(180deg, rgb(183, 213, 241) 15%, var(--beige-30) 100%); border: 5px solid var(--blue-30); padding: 24px 20px; }
.pcard-top { display: flex; flex-direction: column; gap: 24px; padding-bottom: 28px; }
.pcard-head { display: flex; flex-direction: column; gap: 4px; }
.pcard-eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 18px; font-weight: 500; }
.pcard-badge { padding: 4px 12px; border-radius: 100px; background: rgb(234, 243, 237); border: 1px solid rgb(0, 168, 45); color: rgb(0, 168, 45); font-size: 14px; font-weight: 500; }
.pcard-body { display: flex; flex-direction: column; gap: 20px; }
.pcard-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pcard-list li { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1.5; }
.pcard-list .ic { width: 24px; height: 24px; flex: none; color: var(--ink); }
.carte { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pill-auto { justify-content: flex-start; }

/* Footer */
.site-foot { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 120px; padding: 0 64px 64px; position: relative; }
.banner { position: relative; width: 100%; max-width: 1072px; display: flex; justify-content: center; }
.banner-cloud { top: -40px; }
.banner-copy { position: relative; z-index: 2; max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.banner-copy .h2 + .body-l { margin-top: -16px; }
.foot-card { width: 100%; max-width: 1072px; padding: 40px; border-radius: 32px; background: rgba(255, 255, 255, 0.25); border: 1px solid rgba(117, 115, 114, 0.15); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); display: flex; flex-direction: column; gap: 80px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; }
.foot-left { max-width: 240px; display: flex; flex-direction: column; gap: 16px; }
.foot-left p { margin: 0; }
.foot-links { display: flex; gap: 32px; width: 100%; max-width: 300px; }
.foot-links > div { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 32px; border-top: 1px solid rgba(117, 115, 114, 0.15); }
.foot-bottom p { margin: 0; }
.foot-bottom a { text-decoration: none; color: var(--ink); font-weight: 500; }

/* Contact page */
.hero-contact { min-height: 0; }
.badge { padding: 9px 12px 6px; border-radius: 100px; background: var(--beige-10); color: var(--brown); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.cform { width: 100%; max-width: 600px; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.cform input { width: 100%; height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--stroke); background: var(--white); font: 400 16px var(--font); color: var(--ink); box-shadow: 0 4px 50px rgba(97, 74, 68, 0.06); }
.cform input:focus { outline: none; border-color: var(--blue-30); }
.cform input[aria-invalid="true"] { border-color: rgb(201, 80, 46); }
.form-status { margin: 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.form-status.is-error { color: rgb(201, 80, 46); }

/* Scroll-in motion (Framer appear effects) */
.js .reveal { opacity: 0; transform: translateY(64px); transition: opacity 0.8s var(--spring), transform 1s var(--spring); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-up { opacity: 0; transform: translateY(var(--rise, 96px)); transition: opacity 0.8s var(--spring) 0.2s, transform 1s var(--spring) 0.2s; }
.js .reveal-up.is-in { opacity: 1; transform: none; }
.js .parallax { transform: translateY(60px); transition: transform 1.1s var(--spring) 0.4s; }
.js .parallax.is-in { transform: none; }

/* Tablet (810–1199) */
@media (max-width: 1199px) {
  .h1 { font-size: 58px; }
  .h2 { font-size: 44px; }
  .h3 { font-size: 32px; }
  .h5 { font-size: 24px; }
  .body-xl { font-size: 18px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-bar, .is-scrolled .nav-bar { max-width: 1072px; padding: 8px 8px 8px 24px; background: rgba(255, 255, 255, 0.25); border-color: rgba(117, 115, 114, 0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .hero { padding: 144px 40px 48px; }
  .sec, .site-foot { padding-left: 40px; padding-right: 40px; }
  .feat, .feat-flip { flex-direction: column; gap: 40px; }
  .feat .feat-art { order: 2; }
  .feat-art, .feat-copy { flex: none; }
  .feat-art { min-width: 0; }
  .feat-ill { max-width: 510px; }
  .feat-copy { gap: 40px; }
  .row3, .row2 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; }
}

/* Phone (under 810) */
@media (max-width: 809px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 26px; }
  .h5 { font-size: 20px; }
  .h6 { font-size: 18px; }
  .body-xl, .body-l { font-size: 16px; }
  .eyebrow { font-size: 13px; }
  .main { gap: 80px; }
  .content { gap: 80px; }
  .hero { min-height: 0; padding: 128px 20px 40px; }
  .hero-content { gap: 60px; }
  .sec, .site-foot { padding-left: 16px; padding-right: 16px; }
  .wrap { gap: 40px; }
  .cloud { width: 300px; }
  .hero-cloud { top: 120px; }
  .cloud-l { left: -200px; }
  .cloud-r { right: -200px; }
  .hero-img img { aspect-ratio: 1.17; object-fit: contain; }
  .carousel { aspect-ratio: auto; height: 500px; }
  .car-toggle { bottom: 20px; gap: 6px; padding: 6px; }
  .car-tab { padding: 6px 14px; font-size: 14px; min-height: 46px; }
  .car-tab small { font-size: 11.5px; }
  .feats { gap: 64px; }
  .feat-art { padding: 20px; }
  .feat-ill img { aspect-ratio: 0.79; }
  .pills { gap: 10px; }
  .pill { padding: 10px 12px; font-size: 14px; white-space: normal; text-align: left; }
  .pill .ic { width: 20px; height: 20px; }
  .bcard { gap: 40px; padding: 24px; }
  .wcard { gap: 48px; padding: 24px; }
  .pcard-list li { font-size: 16px; }
  .site-foot { gap: 80px; padding-bottom: 32px; }
  .foot-card { padding: 28px 24px; gap: 48px; }
  .foot-bottom { flex-direction: column; text-align: center; padding-top: 24px; }
  .cform { padding: 24px; }
  .cform-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .reveal-up, .js .parallax, .js .fade-late, .js .words .w, .js .tilt { opacity: 1; transform: none; filter: none; }
}


/* ===== Multi-page additions (same motion and surfaces as Dreelio) ===== */
.sub-muted, .muted-2 { color: var(--ink-3); }
.sec-head .sub-muted { max-width: 640px; margin: 0 auto; }

/* Inner-page hero */
.hero-page { min-height: 0; padding-bottom: 120px; }
.hero-page .hero-top { gap: 32px; }

/* Browser frame */
.browser { width: 100%; border-radius: 16px; background: var(--white); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(26, 22, 21, 0.35), 0 0 0 1px rgba(117, 113, 112, 0.12); }
.browser-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: rgb(246, 244, 242); border-bottom: 1px solid rgba(117, 113, 112, 0.12); }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(117, 113, 112, 0.28); }
.browser-url { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; padding: 3px 14px; border-radius: 100px; background: var(--white); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.browser-view { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f9f8f8; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Client stories: live site with the quote card layered over its lower left */
.carousel-story { background: linear-gradient(180deg, var(--blue-20) 0%, var(--beige-30) 100%); }
.story { position: relative; text-decoration: none; color: inherit; }
.story-stage { position: relative; width: 100%; height: 100%; }
.story-browser { position: absolute; right: 3.5%; top: 5.5%; width: 73%; }
.story-browser .browser-view { aspect-ratio: 16 / 10.4; }
.story-card { position: absolute; left: 3.5%; bottom: 16%; width: 36%; margin: 0; padding: 28px; border-radius: 24px; background: var(--white); box-shadow: 0 30px 60px -24px rgba(26, 22, 21, 0.3); display: flex; flex-direction: column; gap: 18px; }
.story-mark { height: 22px; font: 400 60px/1 Georgia, serif; color: var(--blue-30); }
.story-card blockquote { margin: 0; font-size: 21px; line-height: 1.45; color: var(--ink); letter-spacing: -0.01em; }
.story-card figcaption { display: flex; align-items: center; gap: 12px; }
.story-card figcaption img { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.story-card figcaption b, .work-who b { display: block; color: var(--ink); font-weight: 600; }
.story-card figcaption small, .work-who small { display: block; color: var(--ink-3); font-size: 14px; }
.story-link { align-self: flex-start; padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; font-weight: 600; }

/* Industries */
.niches { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.niche { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-height: 168px; padding: 24px; border-radius: 24px; background: var(--card); color: var(--ink-2); text-decoration: none; }
.niche-t b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.niche-t small { display: block; font-size: 15px; line-height: 1.4; }
.niche-go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; transition: transform 0.5s var(--spring); }
.js .niche.reveal-up.is-in { transition: opacity 0.8s var(--spring), transform 0.6s var(--spring), background 0.3s ease; }
.niche:hover, .js .niche.reveal-up.is-in:hover { background: var(--beige-20); transform: translateY(-4px); }
.niche:hover .niche-go { transform: translateX(4px); }

/* Sample sites */
.samples { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sample { display: flex; flex-direction: column; gap: 14px; }
.sample-meta p { margin: 0; }
.sample-name { color: var(--ink); font-size: 18px; font-weight: 600; }
.sample-kind { color: var(--ink-3); font-size: 14px; }
.sample .browser-view img { transform: scale(1.12); transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.sample.is-in .browser-view img, html:not(.js) .sample .browser-view img { transform: none; }
.sample-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 10% 11%; color: var(--ink); }
.sample-ph-1 { background: linear-gradient(140deg, rgb(246, 241, 234), rgb(231, 220, 205)); }
.sample-ph-2 { background: linear-gradient(140deg, rgb(232, 240, 247), rgb(205, 220, 236)); }
.sample-ph-3 { background: linear-gradient(140deg, rgb(32, 31, 30), rgb(61, 55, 50)); color: var(--white); }
.sample-ph-kind { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.sample-ph-name { margin: 0; font-size: clamp(20px, 2.3vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.sample-ph-btn { align-self: flex-start; margin-top: 6px; padding: 8px 14px; border-radius: 100px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500; }
.sample-ph-3 .sample-ph-btn { background: var(--white); color: var(--ink); }
.hero-samples { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; }
.hero-samples .sample:nth-child(2) { margin-bottom: 32px; }
.hero-samples .sample-meta { display: none; }

.hero-samples-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-caption { margin: 0; color: var(--ink-3); font-size: 14px; text-align: center; }
.sample-groups { width: 100%; display: flex; flex-direction: column; gap: 72px; }
.sample-group { display: flex; flex-direction: column; gap: 24px; }
.sample-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: flex-start; gap: 24px; padding: 28px 32px; border-radius: 24px; background: var(--card); }
.step-ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 50px rgba(97, 74, 68, 0.1); color: var(--ink); display: grid; place-items: center; }
.step-ic .ic { width: 24px; height: 24px; }
.step-t { display: flex; flex-direction: column; gap: 8px; }
.step-when { margin: 0; color: var(--brown); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }

/* Work */
.works { width: 100%; display: flex; flex-direction: column; gap: 120px; }
.work { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.work-flip { grid-template-columns: 1fr 1.3fr; }
.work-flip .work-art { order: 2; }
.work-art { padding: 40px; border-radius: 24px; background: url("img/panel-gradient.png") center / cover; }
.scroll-frame .browser-view { aspect-ratio: 16 / 11; }
.scroll-frame .browser-view img { height: auto; object-fit: initial; transition: transform 7s cubic-bezier(0.45, 0, 0.55, 1); }
.work-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.work-quote { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.45; letter-spacing: -0.01em; }
.work-who { display: flex; align-items: center; gap: 12px; }
.work-who img { width: 48px; height: 48px; border-radius: 50%; }
.work-link { padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; text-decoration: none; }

/* About */
.founder { width: 100%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; border-radius: 24px; background: url("img/panel-gradient.png") center / cover; color: var(--ink-3); font-weight: 500; display: grid; place-items: center; }
.founder-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* Legal pages */
.prose { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.prose h2 { margin-top: 24px; }
.prose p { margin: 0; }
.prose a { color: var(--ink); }
.legal-draft { padding: 12px 16px; border-radius: 12px; background: rgb(255, 244, 229); color: rgb(140, 80, 20); font-weight: 500; }

/* Form extras */
.opt { color: var(--ink-3); font-weight: 400; }
.cform label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ink-2); font-weight: 400; line-height: 1.4; }
.cform .check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; box-shadow: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: flex; flex-direction: column; gap: 12px; text-align: center; padding: 24px 8px; }
.form-done p { margin: 0; }
.form-fine { margin: 0; color: var(--ink-3); font-size: 13px; text-align: center; }
.form-fine a { color: var(--ink-2); }

/* Footer with three link columns */
.foot-links-3 { max-width: 560px; }

@media (max-width: 1199px) {
  .story-card { width: 42%; padding: 22px; gap: 14px; }
  .story-card blockquote { font-size: 17px; }
  .niches { grid-template-columns: 1fr 1fr; }
  .samples { grid-template-columns: 1fr; max-width: 620px; }
  .work, .founder { grid-template-columns: 1fr; gap: 32px; }
  .work-flip { grid-template-columns: 1fr; }
  .work-flip .work-art { order: 0; }
}

@media (max-width: 809px) {
  .hero-page { padding-bottom: 72px; }
  .carousel-story { height: 600px; }
  .story-browser { left: 4%; right: 4%; top: 4%; width: auto; }
  .story-browser .browser-view { aspect-ratio: 4 / 3; }
  .story-card { left: 4%; right: 4%; bottom: 88px; width: auto; padding: 18px; gap: 12px; }
  .story-mark { display: none; }
  .story-card blockquote { font-size: 15.5px; }
  .story-card figcaption img { width: 40px; height: 40px; }
  .niches { grid-template-columns: 1fr; }
  .niche { min-height: 0; }
  .hero-samples { grid-template-columns: 1fr; }
  .hero-samples .sample:not(:first-child) { display: none; }
  .hero-samples .sample:nth-child(2) { margin-bottom: 0; }
  .step { flex-direction: column; gap: 16px; padding: 24px; }
  .works { gap: 72px; }
  .work-art { padding: 16px; }
  .work-quote { font-size: 18px; }
  .foot-links-3 { flex-wrap: wrap; }
}
