/* Wheelbase Studio - clean, professional, on-brand (ink, paper, number-plate yellow).
   Reveal effects only run when the script is on (html.js) and motion isn't reduced (html.calm). */

@font-face { font-family: 'Inter'; src: url('fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --ink-2: #16161a;
  --ink-3: #222227;
  --paper: #f3f1ec;
  --paper-2: #e9e6de;
  --white: #ffffff;
  --text-dark: #1b1b1d;
  --muted-dark: #5d5b56;
  --muted-light: #a9a7a1;
  --line-dark: rgba(11, 11, 12, .14);
  --line-light: rgba(255, 255, 255, .14);
  --yellow: #f5c23e;
  --yellow-deep: #d9a100;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --hdr: 72px;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
html.calm { scroll-behavior: auto; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--text-dark); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.paper .label, .paper2 .label { color: var(--yellow-deep); }
.h2 { font: 700 clamp(2rem, 4.2vw, 3.4rem)/1.04 var(--display); font-stretch: 112%; letter-spacing: -.02em; max-width: 18ch; margin-bottom: .5em; }
.intro { max-width: 640px; font-size: 19px; color: var(--muted-dark); }
.dark .intro { color: var(--muted-light); }

/* The brand's measuring line, used as a section marker. */
.measure { position: relative; width: 120px; height: 14px; margin-bottom: 26px; }
.measure::before, .measure::after { content: ''; position: absolute; top: 0; width: 4px; height: 14px; background: var(--yellow-deep); }
.measure::before { left: 0; }
.measure::after { right: 0; }
.measure span { position: absolute; left: 0; right: 0; top: 5px; height: 4px; background: var(--yellow-deep); transform-origin: left; }
.dark .measure::before, .dark .measure::after, .dark .measure span { background: var(--yellow); }
html.js:not(.calm) .measure span { transform: scaleX(0); transition: transform 1.1s var(--ease) .1s; }
html.js:not(.calm) .measure::after { opacity: 0; transition: opacity .3s 1s; }
html.js:not(.calm) .measure.is-in span { transform: none; }
html.js:not(.calm) .measure.is-in::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-y:hover { background: #ffd35e; }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-scrolled { border-color: var(--line-light); }
.hdr-in { display: flex; align-items: center; gap: 32px; height: var(--hdr); }
.logo { margin-right: auto; display: block; }
.logo img { width: 184px; height: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--white); }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-light); background: none; cursor: pointer; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { display: grid; gap: 4px; padding: 12px var(--gutter) 24px; background: var(--ink); border-top: 1px solid var(--line-light); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 12px 0; color: var(--white); text-decoration: none; font: 700 22px var(--display); font-stretch: 112%; border-bottom: 1px solid var(--line-light); }
.mnav .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font: 800 clamp(2.8rem, 6.6vw, 5.6rem)/.96 var(--display); font-stretch: 118%; letter-spacing: -.03em; margin-bottom: 26px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.facts { list-style: none; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; }
.facts strong { display: block; font: 700 24px/1.1 var(--display); font-stretch: 112%; color: var(--yellow); }
.facts span { font-size: 14px; color: var(--muted-light); }
.hero-visual { position: relative; padding-bottom: 44px; }
.browser { border-radius: 14px; overflow: hidden; background: var(--ink-3); box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1c1c20; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.browser-bar span { margin-left: 12px; padding: 3px 14px; border-radius: 999px; background: #2a2a30; color: var(--muted-light); font-size: 12px; }
.browser-screen { position: relative; aspect-ratio: 16 / 10; background: var(--ink); }
.browser-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 1s var(--ease), transform 6s linear; transform: scale(1.03); }
.browser-screen img.is-on { opacity: 1; transform: scale(1); }
.phone { position: absolute; left: -36px; bottom: 0; width: 26%; min-width: 120px; border-radius: 26px; overflow: hidden; border: 7px solid #1c1c20; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); background: var(--ink); }
.phone img { aspect-ratio: 390 / 844; object-fit: cover; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.paper { background: var(--paper); }
.paper2 { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--white); }
.cards4 { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cards4 li { padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-dark); }
.num { display: block; font: 700 13px var(--sans); letter-spacing: .12em; color: var(--yellow-deep); margin-bottom: 18px; }
.cards4 h3, .services h3, .steps h3 { font: 700 21px/1.15 var(--display); font-stretch: 108%; margin-bottom: 10px; }
.cards4 p, .services p, .steps p { color: var(--muted-dark); font-size: 16px; margin: 0; }

.studio-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.studio-copy p { color: rgba(255, 255, 255, .78); }
.tag { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(245, 194, 62, .14); color: var(--yellow) !important; font-size: 14px; font-weight: 600; }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.ba figure { margin: 0; }
.ba img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.ba figcaption { margin-top: 10px; font-size: 14px; color: var(--muted-light); }
.ba-arrow { font-size: 26px; color: var(--yellow); }
.credit { margin-top: 26px; font-size: 12.5px; color: #77756f; }
.credit a { color: inherit; }

.services { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services li { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-dark); }
.services p { flex: 1; margin-bottom: 18px; }
.incl { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--muted-dark); }
.note { margin-top: 26px; color: var(--muted-dark); }

.work { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work a { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-light); transition: border-color .3s, transform .4s var(--ease); }
.work a:hover { border-color: var(--yellow); transform: translateY(-3px); }
.work img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work span { display: block; padding: 18px 20px 22px; color: var(--muted-light); font-size: 15px; }
.work strong { display: block; color: var(--white); font: 700 19px var(--display); font-stretch: 108%; margin-bottom: 4px; }
#work .ctas { margin-top: 34px; }

.founding { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 36px 0 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--yellow); color: var(--ink); }
.founding-tag { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.founding-main { margin: 0 0 4px; font-size: 18px; }
.founding-small { margin: 0; font-size: 14px; color: rgba(11, 11, 12, .75); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-dark); }
.plan-pick { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 0 30px 60px rgba(11, 11, 12, .25); }
.pick { position: absolute; top: -13px; left: 28px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.plan h3 { font: 800 28px var(--display); font-stretch: 112%; }
.plan-for { color: var(--muted-dark); font-size: 15px; margin: 4px 0 22px; }
.plan-pick .plan-for { color: var(--muted-light); }
.price { margin: 0; font-size: 16px; color: var(--muted-dark); }
.price strong { font: 800 46px/1 var(--display); font-stretch: 112%; color: var(--text-dark); margin-right: 4px; }
.plan-pick .price, .plan-pick .price-build { color: var(--muted-light); }
.plan-pick .price strong, .plan-pick .price-build strong { color: var(--white); }
.price-build { margin: 8px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); font-size: 16px; color: var(--muted-dark); }
.price-build strong { font: 700 24px var(--display); color: var(--text-dark); }
.plan-pick .price-build { border-color: var(--line-light); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; font-size: 15.5px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 7px; border-left: 2px solid var(--yellow-deep); border-bottom: 2px solid var(--yellow-deep); transform: rotate(-45deg); }
.plan li:has(strong:only-child) { padding-left: 0; }
.plan li:has(strong:only-child)::before { display: none; }
.plan-pick li::before { border-color: var(--yellow); }
.terms { margin-top: 26px; font-size: 14.5px; color: var(--muted-dark); max-width: 900px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 28px 26px 0 0; border-top: 2px solid var(--ink); margin-right: 20px; }

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font: 700 19px/1.3 var(--display); font-stretch: 105%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--muted-dark); max-width: 60ch; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-grid > div > p { color: rgba(255, 255, 255, .78); max-width: 32em; }
.next { list-style: none; counter-reset: next; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 32em; }
.next li { counter-increment: next; position: relative; padding-left: 44px; color: rgba(255, 255, 255, .78); }
.next li::before { content: counter(next); position: absolute; left: 0; top: -3px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--yellow); color: var(--yellow); font: 700 14px/27px var(--display); text-align: center; }
.next strong { color: var(--white); }
.contact-email { display: grid; gap: 4px; margin-top: 28px; }
.contact-email span { font-size: 14px; color: var(--muted-light) !important; }
.contact-email a { font: 700 clamp(20px, 2.2vw, 26px) var(--display); font-stretch: 105%; color: var(--yellow); text-decoration: none; word-break: break-all; }
.contact-email a:hover { text-decoration: underline; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-light); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.opt { font-weight: 400; color: var(--muted-light); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: var(--ink-3); color: var(--white); font: 400 16px var(--sans); transition: border-color .2s;
}
.form textarea { resize: vertical; }
.form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a7a1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); }
.form [aria-invalid='true'] { border-color: #ff6b57; }
.form-error { margin: 0; color: #ff8a7a; font-size: 14px; font-weight: 600; }
.form-error[hidden] { display: none; }
.form-note { margin: 0; font-size: 13px; color: var(--muted-light); }
.form-note a { color: inherit; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form-done { text-align: center; justify-items: center; padding-block: clamp(36px, 5vw, 56px); }
.form[hidden], .form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done-tick { display: grid; place-items: center; width: 56px; height: 56px; margin: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 28px; font-weight: 800; }
.form-done h3 { margin: 0; font: 700 clamp(22px, 2.4vw, 28px) var(--display); font-stretch: 105%; color: var(--white); }
.form-done p { margin: 0; max-width: 30em; color: rgba(255, 255, 255, .78); }
.form-done a { color: var(--yellow); }

.ftr { background: var(--ink); color: var(--muted-light); border-top: 1px solid var(--line-light); padding: 50px 0 34px; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: 30px; align-items: start; }
.ftr-in img { width: 170px; margin-bottom: 14px; }
.ftr-in p { margin: 0; font-size: 15px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr nav a, .ftr-mail a { text-decoration: none; color: rgba(255, 255, 255, .8); font-size: 15px; }
.ftr nav a:hover, .ftr-mail a:hover { color: var(--white); text-decoration: underline; }
.ftr-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13px; color: #807e78; }
.ftr-legal p { max-width: 900px; margin: 0; }
.ftr-legal a { color: inherit; }

/* Privacy page */
.page { padding: clamp(60px, 8vw, 100px) 0; }
.page .wrap { max-width: 820px; }
.page h1 { font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); font-stretch: 112%; margin-bottom: 30px; }
.page h2 { font: 700 22px var(--display); font-stretch: 108%; margin: 34px 0 10px; }
.page p, .page li { color: var(--muted-dark); }
.page ul { padding-left: 1.25em; }
.page li { margin: 6px 0; }
.page li::marker { color: var(--yellow-deep); }
.page strong { color: var(--text-dark); }
.page a:not(.btn) { color: var(--text-dark); text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.page a:not(.btn):hover { text-decoration-color: var(--text-dark); }

/* Guides */
.crumbs { margin: 0 0 18px; font-size: 14px; }
.crumbs span { margin: 0 6px; color: var(--muted-dark); }
.guide-meta { margin: -14px 0 30px; font-size: 15px; }
.page .guide-lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--text-dark); }
.guide h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 1.05; }
.page .guide p, .page .guide li { color: #3d3c39; }
.page-wide .wrap { max-width: 1120px; }
.guide h2 { font-size: clamp(22px, 2.4vw, 26px); margin-top: 40px; }
.guide-cta { margin: 56px 0 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.page .guide-cta h2 { margin-top: 0; color: var(--white); font-size: clamp(22px, 2.6vw, 28px); }
.page .guide-cta p { color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.page .guide-more { margin-top: 56px; }
.guide-cards { list-style: none; margin: 34px 0 0; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page .guide-cards li { margin: 0; }
.guide-cards a { display: grid; align-content: start; gap: 10px; height: 100%; padding: 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-dark); color: var(--text-dark) !important; text-decoration: none !important; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.guide-cards a:hover { border-color: var(--yellow-deep); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 11, 12, .08); }
.guide-cards strong { font: 700 21px/1.18 var(--display); font-stretch: 106%; }
.guide-cards span { color: var(--muted-dark); font-size: 16px; }
.guide-cards .guide-cards-time { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-deep); }
.guide-cards .guide-cards-go { margin-top: 6px; font-weight: 600; color: var(--text-dark); }
#guides .intro a { color: inherit; text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }

/* ---------- reveals ---------- */
html.js:not(.calm) [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js:not(.calm) [data-reveal].is-in { opacity: 1; transform: none; }
html.js:not(.calm) [data-rise] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
html.js:not(.calm) [data-rise].is-in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr-in { gap: 14px; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services, .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 860px) {
  .guide-cards { grid-template-columns: minmax(0, 1fr); }
  .nav-sub { display: none; }
  .hero-grid, .studio-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin: 10px 0 0 24px; }
  .phone { left: -24px; width: 30%; }
  .founding { grid-template-columns: minmax(0, 1fr); }
  .founding-tag { justify-self: start; }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hdr-cta { display: none; }
  .logo img { width: 150px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .facts strong { font-size: 20px; }
  .cards4, .services, .work, .steps, .row2 { grid-template-columns: minmax(0, 1fr); }
  .steps li { margin-right: 0; }
  .ba { grid-template-columns: minmax(0, 1fr); }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
