:root {
  --bone: #eeebe5;
  --bone-2: #e4e0d8;
  --paper: #f6f4f0;
  --stone: #cfcac0;
  --graphite: #5e5a54;
  --ink: #121212;
  --ink-2: #1d1d1c;
  --line: rgba(18, 18, 18, 0.14);
  /* theme-dependent surfaces */
  --raised: #ffffff;
  --ink-hover: #000000;
  --nav-bg: rgba(238, 235, 229, 0.86);
  --ghost: rgba(18, 18, 18, 0.06);
  --shadow: rgba(18, 18, 18, 0.45);
  /* the dark sections (services, contact, footer…) keep their own palette in both themes */
  --night-ink: #121212;
  --night-ink-2: #1d1d1c;
  --night-bone: #eeebe5;
  --night-bone-2: #e4e0d8;
  --night-stone: #cfcac0;
  --night-graphite: #5e5a54;
  color-scheme: light;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 40px;
  --mb-gold: #b07a2c;
  --mb-mark: url("brand/logo-sm.png");
}

/* ---------- Dark theme (studio site only) ---------- */
:root[data-theme="dark"] {
  --mb-gold: #d8a85a;
  --mb-mark: url("brand/logo-sm-dark.png");
  --bone: #161513;
  --bone-2: #25231f;
  --paper: #1d1c19;
  --stone: #4a4640;
  --graphite: #a8a399;
  --ink: #ece8e1;
  --ink-2: #d9d4cb;
  --line: rgba(236, 232, 225, 0.14);
  --raised: #2a2824;
  --ink-hover: #ffffff;
  --nav-bg: rgba(22, 21, 19, 0.86);
  --ghost: rgba(236, 232, 225, 0.05);
  --shadow: rgba(0, 0, 0, 0.6);
  --night-ink: #0b0b0a;
  --night-ink-2: #151513;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --mb-gold: #d8a85a;
    --mb-mark: url("brand/logo-sm-dark.png");
    --bone: #161513;
    --bone-2: #25231f;
    --paper: #1d1c19;
    --stone: #4a4640;
    --graphite: #a8a399;
    --ink: #ece8e1;
    --ink-2: #d9d4cb;
    --line: rgba(236, 232, 225, 0.14);
    --raised: #2a2824;
    --ink-hover: #ffffff;
    --nav-bg: rgba(22, 21, 19, 0.86);
    --ghost: rgba(236, 232, 225, 0.05);
    --shadow: rgba(0, 0, 0, 0.6);
    --night-ink: #0b0b0a;
    --night-ink-2: #151513;
    color-scheme: dark;
  }
}
/* Dark sections: re-point the tokens so everything inside renders the same in both themes */
.services, .contact, .footer, .about-cta, .plan.featured, .calc-sum, .client-card.dark .cc-cover {
  --ink: var(--night-ink);
  --ink-2: var(--night-ink-2);
  --bone: var(--night-bone);
  --bone-2: var(--night-bone-2);
  --stone: var(--night-stone);
  --graphite: var(--night-graphite);
  --raised: #ffffff;
  --ink-hover: #000000;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--sans); background: var(--bone); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bone); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: .98; }
h2 { font-size: clamp(42px, 6vw, 88px); }
h2 em { letter-spacing: -0.02em; color: var(--graphite); }
/* Section label: the MB monogram, a numbered label and a fading gold rule */
main { counter-reset: section; }
.eyebrow { counter-increment: section; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before {
  content: counter(section, decimal-leading-zero); flex: none;
  display: inline-flex; align-items: center; height: 18px; padding-left: 30px; margin-right: 2px;
  font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--mb-gold);
  background: var(--mb-mark) left center / 22px 16px no-repeat;
}
.eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--mb-gold), transparent); flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); white-space: nowrap; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--ink-hover); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bone); }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-bone:hover { background: var(--raised); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn.wide { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; padding: 0 var(--pad); background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.04em; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 22px; width: auto; }
.brand em { font-size: 1.15em; margin-left: -6px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 6px; font-size: 14px; font-weight: 500; }
.nav-links a { padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: var(--bone-2); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--graphite); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 40%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero-top { padding: 0 var(--pad); }
.hero h1 { font-size: clamp(38px, 7.4vw, 124px); letter-spacing: -0.055em; line-height: .92; }
.hero h1 em { letter-spacing: -0.02em; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--graphite); max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.reel { margin-top: 64px; padding: 24px 0 64px; transform: rotate(-2deg); }
.reel-track { display: flex; gap: 18px; width: max-content; animation: reel 60s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - 9px)); } }
.reel-item { width: clamp(220px, 22vw, 340px); flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--night-ink); box-shadow: 0 24px 48px -28px var(--shadow); transition: transform .5s var(--ease); position: relative; }
.reel-item:hover { transform: translateY(-10px); }
.reel-item img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.reel-item span { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(18,18,18,.82); color: var(--night-bone); font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.reel-item:hover span { opacity: 1; transform: none; }

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof div { padding: 36px var(--pad); border-left: 1px solid var(--line); }
.proof div:first-child { border-left: 0; }
.proof b { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.proof small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .5em; margin-left: 6px; letter-spacing: 0; }
.proof span { color: var(--graphite); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 130px var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 64px; flex-wrap: wrap; }

/* ---------- Work ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
.work-card { display: block; transition: opacity .4s, transform .5s var(--ease); }
.work-card.hide { display: none; }
.work-card:nth-child(even) { margin-top: 90px; }
.wc-img { position: relative; border-radius: 18px; overflow: hidden; background: var(--night-ink); aspect-ratio: 16 / 10; }
.wc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work-card:hover .wc-img img { transform: scale(1.04); }
.wc-view { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 14px; font-weight: 500; transform: translateY(12px); opacity: 0; transition: opacity .35s, transform .45s var(--ease); }
.work-card:hover .wc-view, .work-card:focus-visible .wc-view { transform: none; opacity: 1; }
.wc-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; padding-top: 20px; }
.wc-num { font-size: 13px; color: var(--graphite); font-variant-numeric: tabular-nums; }
.wc-meta h3 { font-size: clamp(26px, 2.4vw, 36px); }
.wc-meta h3 em { color: var(--graphite); }
.swatches { display: flex; gap: 4px; align-self: center; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); }
.wc-tags { grid-column: 2 / -1; font-size: 14px; color: var(--graphite); }

/* ---------- Services ---------- */
.services { background: var(--ink); color: var(--bone); }
.services .eyebrow { color: var(--stone); }
.services, .contact { --mb-mark: url("brand/logo-sm-dark.png"); --mb-gold: #d8a85a; }
.services .eyebrow::before { color: #d8a85a; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { border: 1px solid #2c2c2b; border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 16px; background: var(--ink-2); transition: border-color .3s, transform .4s var(--ease); }
.svc:hover { border-color: var(--graphite); transform: translateY(-4px); }
.svc .num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--stone); }
.svc h3 { font-size: 30px; }
.svc p { color: var(--stone); font-size: 15px; }
.svc ul { list-style: none; margin-top: auto; padding-top: 18px; border-top: 1px solid #2c2c2b; display: grid; gap: 8px; font-size: 14px; }
.svc li::before { content: "+ "; color: var(--stone); }

/* ---------- Process ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; }
.tl-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-line i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -55px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bone); border: 2px solid var(--stone); transition: background .4s, border-color .4s; }
.step.on::before { background: var(--ink); border-color: var(--ink); }
.day { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--graphite); }
.step h3 { font-size: 28px; margin: 10px 0 12px; }
.step p { color: var(--graphite); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; background: var(--bone); }
.plan h3 { font-size: 26px; }
.plan-desc { color: var(--graphite); font-size: 15px; margin-top: 8px; min-height: 46px; }
.price { font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.05em; margin: 24px 0; line-height: 1; }
.price small { font-size: 18px; font-weight: 500; color: var(--graphite); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 15px; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: 30px; }
.plan li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: var(--bone); font-size: 10px; }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.plan.featured .plan-desc, .plan.featured .price small { color: var(--stone); }
.plan.featured ul { border-color: #2c2c2b; }
.plan.featured li::before { background: var(--bone); color: var(--ink); }
.badge { position: absolute; top: -13px; left: 34px; padding: 5px 12px; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 12px; font-weight: 600; border: 1px solid var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--graphite); padding: 0 40px 24px 0; white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact { padding: 130px var(--pad); background: var(--ink); color: var(--bone); }
.contact .eyebrow { color: var(--stone); }
.contact .eyebrow::before { color: #d8a85a; }
.contact h2 em { color: var(--stone); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--stone); margin-top: 24px; max-width: 440px; font-size: 17px; }
.brief { background: var(--ink-2); border: 1px solid #2c2c2b; border-radius: 26px; padding: 34px; display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brief label { display: grid; gap: 8px; }
.brief label > span, .brief legend { font-size: 13px; color: var(--stone); margin-bottom: 8px; }
.brief fieldset { border: 0; }
.brief input, .brief textarea { font: inherit; font-size: 16px; color: var(--bone); background: transparent; border: 0; border-bottom: 1px solid #3a3a38; padding: 10px 0; outline: none; resize: vertical; transition: border-color .3s; border-radius: 0; }
.brief input:focus, .brief textarea:focus { border-color: var(--bone); }
.brief textarea::placeholder { color: #6e6b66; }
.brief .invalid { border-color: #c9b8a6; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { padding: 10px 16px; border-radius: 999px; border: 1px solid #3a3a38; font-size: 14px; color: var(--stone); transition: background .25s, color .25s, border-color .25s; }
.chips button:hover { border-color: var(--stone); }
.chips button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.brief .btn-dark { background: var(--bone); color: var(--ink); margin-top: 6px; }
.brief .btn-dark:hover { background: #fff; }
.form-note { font-size: 14px; color: var(--stone); min-height: 20px; }
.form-note.err { color: var(--night-bone); padding: 12px 14px; border: 1px solid #c9b8a6; border-radius: 12px; background: rgba(201,184,166,.08); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bone); padding: 40px var(--pad) 30px; border-top: 1px solid #2c2c2b; overflow: hidden; }
.footer-mark { font-weight: 700; font-size: clamp(72px, 17vw, 280px); letter-spacing: -0.06em; line-height: .85; }
.footer-mark em { color: var(--stone); letter-spacing: -0.03em; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid #2c2c2b; font-size: 14px; color: var(--stone); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-row a:hover { color: var(--bone); }


/* ---------- Tailored sections ---------- */
.sec-note { max-width: 420px; color: var(--graphite); font-size: 16px; }
.sec-note.left { margin-top: 22px; }
.services .sec-note { color: var(--stone); }

/* Client work */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); transition: transform .5s var(--ease), border-color .3s; }
.client-card:hover { transform: translateY(-6px); border-color: var(--ink); }
.cc-cover { position: relative; aspect-ratio: 16 / 11; padding: 24px; display: flex; flex-direction: column; background: var(--bone-2); overflow: hidden; }
.client-card.dark .cc-cover { background: var(--ink); color: var(--bone); }
.cc-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 500; color: var(--graphite); }
.client-card.dark .cc-top { color: var(--stone); }
.cc-status { padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.cc-status.live { display: inline-flex; align-items: center; gap: 6px; }
.cc-status.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cc-cover h3 { margin-top: auto; font-size: clamp(30px, 2.8vw, 42px); letter-spacing: -0.045em; line-height: .95; position: relative; z-index: 1; }
.cc-tagline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.2; color: var(--graphite); position: relative; z-index: 1; max-width: 90%; }
.client-card.dark .cc-tagline { color: var(--stone); }
.cc-num { position: absolute; right: 14px; bottom: -28px; font-family: var(--serif); font-style: italic; font-size: 150px; line-height: 1; color: var(--ghost); pointer-events: none; }
.client-card.dark .cc-num { color: rgba(238,235,229,.07); }
.cc-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone-2); border-bottom: 1px solid var(--line); }
.cc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.client-card:hover .cc-shot img { transform: scale(1.03); }
.cc-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: var(--graphite); }
.cc-meta .cc-status { padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.cc-meta .cc-status.live { display: inline-flex; align-items: center; gap: 6px; }
.cc-meta .cc-status.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cc-name { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.04em; line-height: 1; margin-top: -2px; }
.cc-tag { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.2; color: var(--graphite); margin-top: -6px; }
.cc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cc-body > p { color: var(--graphite); font-size: 15px; }
.cc-client { font-size: 14px; color: var(--ink) !important; }
.cc-client span { display: block; font-size: 12px; color: var(--graphite); margin-bottom: 2px; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--graphite); }
.cc-link { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.cc-link.muted { font-weight: 500; color: var(--graphite); }

/* Concept lab */
.lab { background: var(--paper); border-top: 1px solid var(--line); }

/* Pricing as quote */
.price.quote { font-size: clamp(32px, 3vw, 42px); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-copy > p:not(.eyebrow) { color: var(--graphite); font-size: 17px; margin-top: 22px; max-width: 520px; }
.about-copy h2 { margin-bottom: 8px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.value { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--paper); }
.value h3 { font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; }
.value p { margin-top: 8px; font-size: 13px; color: var(--graphite); }
.founders { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--paper); }
.founders-photo { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; }
.founders-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform 1s var(--ease); }
.founders:hover .founders-photo img { transform: scale(1.03); }
.founders-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(18,18,18,.78); color: var(--night-bone); font-size: 13px; font-weight: 500; }
.founder { display: flex; gap: 16px; padding: 22px 24px; border-top: 1px solid var(--line); }
.initials { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--bone); font-weight: 700; font-size: 14px; }
#team .founder:nth-child(even) .initials { background: var(--bone-2); color: var(--ink); }
img.initials { object-fit: cover; padding: 0; }
.founder h3 { font-size: 18px; letter-spacing: -0.02em; }
.founder .role { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--graphite); margin: 2px 0 8px; }
.founder p:last-child { font-size: 14px; color: var(--graphite); }
.founded { padding: 16px 24px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--graphite); }

/* Contact details */
.contact-list { list-style: none; margin-top: 36px; border-top: 1px solid #2c2c2b; max-width: 460px; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #2c2c2b; font-size: 15px; color: var(--bone); }
.contact-list li > span:first-child { color: var(--stone); font-size: 13px; padding-top: 2px; }
.contact-list .phones { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.contact-list a { text-decoration: underline; text-decoration-color: #4a4845; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.contact-list a:hover { text-decoration-color: var(--bone); }

/* Scout callout */
.scout { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 28px 30px; margin-bottom: 64px; border: 1px solid #2c2c2b; border-radius: 22px; background: var(--ink-2); transition: border-color .3s; }
.scout:hover { border-color: var(--stone); }
.scout-tag { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--stone); }
.scout h3 { font-size: clamp(22px, 2vw, 28px); margin: 4px 0 8px; }
.scout p { color: var(--stone); font-size: 15px; max-width: 620px; }
.scout-cta { flex-shrink: 0; height: 48px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }

@media (max-width: 1200px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .client-grid, .svc-grid, .values { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .scout { flex-direction: column; align-items: flex-start; padding: 22px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Price calculator ---------- */
.inline-link { display: inline-block; margin-top: 10px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--stone); }
.inline-link:hover { text-decoration-color: var(--ink); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.calc-main { display: grid; gap: 48px; min-width: 0; }
.calc-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.calc-n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--graphite); }
.calc-head h3 { font-size: 28px; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; background: var(--paper); }
.seg button { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--graphite); transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.calc-bases { display: grid; gap: 12px; }
.calc-bases.template { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.calc-bases.service { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.base { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: border-color .25s, background .25s, transform .3s var(--ease); }
.base:hover { border-color: var(--graphite); }
.base.on { border-color: var(--ink); background: var(--raised); box-shadow: inset 0 0 0 1px var(--ink); }
.base img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; margin-bottom: 8px; background: var(--bone-2); }
.calc-bases.service .base { padding: 18px; }
.base-name { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.base-desc { font-size: 13px; color: var(--graphite); line-height: 1.4; }
.calc-bases.template .base-desc { display: none; }
.base-price { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.base-price small { font-weight: 400; font-size: 12px; color: var(--graphite); }
.calc-options { display: grid; gap: 28px; }
.opt-group { border: 0; display: grid; }
.opt-group legend { font-size: 13px; font-weight: 500; color: var(--graphite); margin-bottom: 10px; }
.opt { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.opt:last-child { border-bottom: 1px solid var(--line); }
.opt label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; min-width: 0; }
.opt input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--stone); border-radius: 7px; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.opt input:checked { background: var(--ink); border-color: var(--ink); }
.opt input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--bone); border-bottom: 2px solid var(--bone); transform: translateY(-1px) rotate(-45deg); }
.opt input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt-text { display: grid; gap: 2px; }
.opt-text b { font-weight: 500; font-size: 15px; }
.opt-text small { font-size: 13px; color: var(--graphite); }
.opt-price { grid-column: 3; font-size: 14px; font-weight: 600; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; transition: opacity .2s; }
.stepper.off { opacity: .35; pointer-events: none; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; font-size: 17px; }
.stepper button:hover { background: var(--bone-2); }
.stepper output { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc-empty { color: var(--graphite); font-size: 15px; }
.calc-sum { position: sticky; top: 96px; background: var(--ink); color: var(--bone); border-radius: 24px; padding: 28px; display: grid; gap: 16px; }
.sum-label { font-size: 13px; color: var(--stone); }
.sum-lines { list-style: none; display: grid; gap: 10px; font-size: 14px; padding-bottom: 16px; border-bottom: 1px solid #2c2c2b; }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; }
.sum-lines span { color: var(--stone); }
.sum-lines b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-total { font-size: clamp(40px, 4vw, 54px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sum-days { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--stone); margin-top: -6px; }
.sum-link { font-size: 14px; color: var(--stone); text-align: center; }
.sum-link:hover { color: var(--bone); }
.sum-note { font-size: 12px; color: #8d8981; line-height: 1.5; }

/* Form extras */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief { position: relative; }
.attached { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 15px; }
.attached small { display: block; font-size: 12px; font-weight: 500; color: var(--graphite); }
.attached button { width: 32px; height: 32px; border-radius: 50%; font-size: 18px; flex-shrink: 0; }
.attached button:hover { background: var(--bone-2); }
.brief button[disabled] { opacity: .6; cursor: progress; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { padding: 8px 14px; border: 1px solid #3a3a38; border-radius: 999px; font-size: 14px; color: var(--stone); transition: border-color .2s, color .2s; }
.socials a:hover { color: var(--bone); border-color: var(--stone); }
.founder-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13px; font-weight: 500; }
.founder-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--stone); }
[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr; }
  .calc-sum { position: static; }
}
@media (max-width: 560px) {
  .calc-bases.template { grid-template-columns: 1fr 1fr; }
  .opt { grid-template-columns: 1fr auto; }
  .opt .stepper { grid-column: 1; grid-row: 2; justify-self: start; margin-left: 36px; }
  .opt-price { grid-column: 2; grid-row: 1; }
}

/* ---------- Theme toggle ---------- */
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--ink); transition: background .2s, border-color .2s; flex-shrink: 0; }
.theme-toggle:hover { background: var(--bone-2); border-color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.logo-dark, [data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
/* no-JS fallback: the page already follows the system theme, so logo and icon must too */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-light { display: none; }
  :root:not([data-theme]) .logo-dark { display: block; }
  :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme]) .theme-toggle .i-sun { display: block; }
}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 72px var(--pad) 64px; }
.about-hero h1 { font-size: clamp(42px, 6.4vw, 104px); letter-spacing: -0.055em; line-height: .94; }
.about-hero h1 em { letter-spacing: -0.02em; color: var(--graphite); }
.about-hero .lede { margin-top: 32px; max-width: 540px; }
.about-hero .hero-ctas { margin-top: 32px; }
.ah-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--bone-2); border: 1px solid var(--line); }
.ah-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.ah-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(18,18,18,.78); color: var(--night-bone); font-size: 13px; font-weight: 500; }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts div { padding: 28px var(--pad); border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.about-facts div:first-child { border-left: 0; }
.about-facts span { font-size: 13px; color: var(--graphite); }
.about-facts b { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.story-copy p { font-size: clamp(17px, 1.4vw, 20px); color: var(--graphite); }
.story-copy p + p { margin-top: 20px; }
.team-sec { padding-top: 110px; }
.team-more { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder-list { display: grid; gap: 20px; }
.founder-card { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: 26px; padding: 20px; background: var(--paper); }
.fc-photo, .tc-photo { position: relative; overflow: hidden; border-radius: 18px; background: var(--bone-2); display: grid; place-items: center; }
.fc-photo { aspect-ratio: 4 / 5; }
.tc-photo { aspect-ratio: 4 / 4.6; margin-bottom: 18px; }
.fc-photo span, .tc-photo span { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 9vw, 120px); line-height: 1; color: var(--graphite); letter-spacing: -0.02em; }
.tc-photo span { font-size: clamp(56px, 6vw, 84px); }
.fc-photo img, .tc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.fc-body { padding: 8px 20px 8px 0; }
.fc-tag { font-size: 13px; font-weight: 500; color: var(--graphite); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.fc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.fc-body h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.045em; line-height: 1; }
.fc-role { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 24px); color: var(--graphite); margin: 8px 0 18px; }
.bio { color: var(--graphite); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines, 4); overflow: hidden; }
.bio-founder { font-size: 17px; max-width: 560px; --lines: 5; }
.bio-card { font-size: 15px; line-height: 1.55; --lines: 4; }
.bio-wrap.open .bio { display: block; -webkit-line-clamp: unset; overflow: visible; }
.read-more { margin-top: 4px; padding: 10px 0; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--stone); transition: text-decoration-color .2s; }
.read-more:hover { text-decoration-color: var(--ink); }
.read-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.team-card .bio-wrap { margin-top: 10px; }
.p-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 14px; font-weight: 500; }
.p-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--stone); transition: text-decoration-color .2s; }
.p-links a:hover { text-decoration-color: var(--ink); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 44px 28px; align-items: start; }
.team-card h3 { font-size: 28px; letter-spacing: -0.04em; line-height: 1.05; }
.tc-role { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--graphite); margin-top: 4px; }
.team-card .p-links { margin-top: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--paper); display: grid; gap: 10px; align-content: start; }
.vc-n { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--graphite); line-height: 1; }
.value-card h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.1; }
.value-card p { font-size: 15px; color: var(--graphite); }
.about-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding: 110px var(--pad); background: var(--ink); color: var(--bone); }
.about-cta h2 em { color: var(--stone); }
.about-cta > div > p { margin-top: 22px; color: var(--stone); font-size: 17px; max-width: 480px; }
.about-cta .hero-ctas { margin-top: 32px; }
.about-cta .contact-list { margin-top: 0; max-width: none; }
.btn-ghost-light { border: 1px solid #3a3a38; color: var(--bone); }
.btn-ghost-light:hover { border-color: var(--bone); }
.nav-links a[aria-current="page"] { background: var(--bone-2); }
@media (max-width: 980px) {
  .about-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .ah-photo { aspect-ratio: 4 / 3.4; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .about-facts div:nth-child(3) { border-left: 0; }
  .about-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story-grid, .about-cta { grid-template-columns: 1fr; gap: 36px; }
  .founder-card { grid-template-columns: 1fr; gap: 22px; }
  .fc-photo { aspect-ratio: 4 / 3.6; }
  .fc-body { padding: 0 6px 10px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-sec { padding-top: 80px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
  .about-cta { padding: 80px var(--pad); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .tc-photo { aspect-ratio: 4 / 3.4; }
  .team-card h3 { font-size: 26px; }
  .bio-founder { --lines: 4; }
}

/* ---------- Mobile menu ---------- */
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex-shrink: 0; color: var(--ink); }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 23px; }
.nav.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }
.menu-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bone); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px; display: grid; box-shadow: 0 30px 40px -30px var(--shadow); }
.mobile-menu a { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 600; letter-spacing: -0.035em; }
.mobile-menu a.mm-cta { margin-top: 18px; border: 0; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--bone); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.nav.menu-open { background: var(--bone); }

@media (max-width: 560px) { .nav-cta { display: none; } .nav-right { gap: 10px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --pad: 18px; }
  .nav { grid-template-columns: 1fr auto; height: 64px; }
  .nav-links, .avail { display: none; }
  .menu-toggle { display: inline-block; }
  .hero { padding-top: 40px; }
  .reel { margin-top: 40px; padding-bottom: 44px; }
  .reel-item { width: 230px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof div:nth-child(3) { border-left: 0; }
  .proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section, .contact { padding: 90px var(--pad); }
  .work-grid { grid-template-columns: 1fr; gap: 44px; }
  .work-card:nth-child(even) { margin-top: 0; }
  .wc-view { opacity: 1; transform: none; }
  .svc-grid, .plans { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 36px; padding: 0 0 0 36px; }
  .tl-line { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .tl-line i { width: 100% !important; height: var(--h, 0%); }
  .step::before { top: 4px; left: -36px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .row2 { grid-template-columns: 1fr; }
  .brief { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}
