:root {
  --ink: #171714;
  --ink-soft: #30302b;
  --paper: #f4f0e8;
  --paper-light: #fbfaf6;
  --accent: #d9ff5c;
  --accent-deep: #b9df37;
  --line: rgba(23, 23, 20, .14);
  --muted: #6d6b64;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(22, 19, 14, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 10px 14px; background: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 23, 20, .08);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; letter-spacing: -.055em; font-size: 24px; font-weight: 800; }
.brand i { color: var(--accent-deep); font-style: normal; font-size: 31px; line-height: .5; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 650; transition: color .2s; }
.desktop-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link { font-size: 14px; font-weight: 750; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .22s, background .22s, color .22s, border-color .22s;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-small { min-height: 42px; padding-inline: 19px; font-size: 14px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #2d2d29; }
.button-accent { background: var(--accent); color: var(--ink); box-shadow: 0 9px 26px rgba(185, 223, 55, .2); }
.button-accent:hover { background: #e4ff86; }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.34); }
.button-ghost:hover { border-color: rgba(23,23,20,.35); background: white; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 76px);
  padding: clamp(55px, 7vw, 90px) 0 54px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.5), transparent 56%),
    var(--paper);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-glow-one { width: 500px; height: 500px; top: -310px; left: 12%; background: rgba(217,255,92,.33); }
.hero-glow-two { width: 420px; height: 420px; right: -280px; bottom: -150px; background: rgba(159,121,77,.16); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .82fr; align-items: center; gap: clamp(46px, 7vw, 100px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #57574f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .process-title h2, .calculator-intro h2, .lead-copy h2 {
  margin: 22px 0;
  font-size: clamp(47px, 5.5vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 650;
}
h1 em, h2 em { display: inline; font-family: var(--serif); font-weight: 400; color: #62543e; }
.hero-lead { max-width: 670px; margin: 0; color: #55544e; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin: 13px 0 0 21px; color: #76736c; font-size: 12px; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(42px, 6vw, 66px); padding-top: 22px; border-top: 1px solid var(--line); }
.proof-row div { display: flex; flex-direction: column; gap: 6px; }
.proof-row strong { font-size: 14px; }
.proof-row span { color: #77746d; font-size: 12px; line-height: 1.35; }

.hero-visual { position: relative; min-height: min(680px, 72vh); }
.hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 51% 54%; border-radius: 240px 240px 26px 26px; box-shadow: var(--shadow); }
.prototype-badge { position: absolute; z-index: 3; right: -14px; top: 70px; padding: 10px 15px; background: var(--ink); color: white; border-radius: 999px; font-size: 11px; font-weight: 700; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.visual-caption { position: absolute; z-index: 2; inset: auto 18px 18px; display: flex; gap: 14px; align-items: center; padding: 15px 17px; color: white; background: rgba(20,20,18,.72); border: 1px solid rgba(255,255,255,.17); border-radius: 17px; backdrop-filter: blur(15px); }
.caption-index { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; font-size: 11px; }
.visual-caption div { display: flex; flex-direction: column; gap: 4px; }
.visual-caption strong { font-size: 13px; }
.visual-caption small { color: rgba(255,255,255,.72); font-size: 10px; }
.floating-call { position: absolute; z-index: 4; left: -55px; top: 54%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: white; border-radius: 16px; box-shadow: 0 16px 45px rgba(24,20,14,.2); }
.floating-call > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); }
.floating-call svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.floating-call div { display: flex; flex-direction: column; gap: 3px; }
.floating-call small { color: var(--muted); font-size: 10px; }
.floating-call strong { font-size: 12px; }

.showcase { padding: clamp(80px, 10vw, 140px) 0; color: white; background: var(--ink); }
.eyebrow-light { color: #a9a79e; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 50px; }
.section-heading h2, .process-title h2 { margin-bottom: 0; font-size: clamp(44px, 5vw, 67px); }
.section-heading h2 em, .process-title h2 em { color: #c4ad85; }
.section-heading > p { max-width: 430px; margin: 0 0 7px; color: #aaa89f; font-size: 16px; line-height: 1.65; }
.projects-grid { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: repeat(2, 300px); gap: 16px; }
.project-card { position: relative; overflow: hidden; min-height: 300px; padding: 0; border: 0; border-radius: var(--radius); background: #2a2a26; text-align: left; cursor: pointer; isolation: isolate; }
.project-tall { grid-row: 1 / span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.project-tall img { object-position: center 55%; }
.project-card:hover img { transform: scale(1.035); }
.project-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,10,8,.86), transparent 62%); }
.project-tag { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: white; background: rgba(15,15,13,.28); backdrop-filter: blur(10px); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.project-copy { position: absolute; z-index: 2; inset: auto 22px 22px; display: grid; gap: 5px; color: white; }
.project-copy small { color: rgba(255,255,255,.66); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.project-copy strong { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 500; }
.project-copy i { margin-top: 8px; color: var(--accent); font-style: normal; font-size: 12px; font-weight: 700; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: rgba(255,255,255,.14); border-block: 1px solid rgba(255,255,255,.14); }
.value-grid article { min-height: 225px; display: flex; gap: 22px; padding: 32px 28px; background: var(--ink); }
.value-grid article > span { color: var(--accent); font-family: var(--serif); font-size: 14px; }
.value-grid h3 { margin: 0 0 14px; font-size: 18px; line-height: 1.25; }
.value-grid p { margin: 0; color: #99978f; font-size: 14px; line-height: 1.65; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; margin-top: clamp(90px, 11vw, 150px); }
.process-title { position: sticky; top: 110px; align-self: start; }
.process-title h2 { font-size: clamp(41px, 4.5vw, 63px); }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.14); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.process-list > li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: var(--accent); font-size: 10px; }
.process-list h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.process-list p { max-width: 530px; margin: 0; color: #9f9d95; font-size: 14px; line-height: 1.65; }

.conversion { padding: clamp(78px, 10vw, 130px) 0 70px; background: var(--paper); }
.calculator-shell { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.calculator-intro { position: sticky; top: 120px; }
.calculator-intro h2, .lead-copy h2 { font-size: clamp(43px, 4.8vw, 66px); }
.calculator-intro > p, .lead-copy > p { max-width: 500px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.included-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.included-list div { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.36); color: #5c5a53; font-size: 12px; }
.included-list svg { width: 14px; fill: none; stroke: #758d19; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.calculator-card { padding: clamp(24px, 4vw, 42px); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.calc-step-label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #47463f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.calc-step-label:not(:first-child) { margin-top: 32px; }
.calc-step-label span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: white; font-size: 9px; }
.type-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.type-button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #faf9f5; color: #605e57; font-size: 13px; cursor: pointer; transition: .2s; }
.type-button:hover { border-color: #79776f; }
.type-button.active { border-color: var(--ink); background: var(--ink); color: white; }
.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.measure-grid label, .option-grid label, .lead-form label { display: grid; gap: 8px; }
.measure-grid label > span, .option-grid label > span, .lead-form label > span { color: #6e6c65; font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fbfaf7; transition: border-color .2s, box-shadow .2s; }
input, select { height: 48px; padding: 0 13px; }
textarea { padding: 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #8da526; box-shadow: 0 0 0 3px rgba(217,255,92,.35); }
.invalid { border-color: #b7473f !important; box-shadow: 0 0 0 3px rgba(183,71,63,.12) !important; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-row { display: flex !important; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.check-row > input { position: absolute; opacity: 0; pointer-events: none; }
.fake-check { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 1px solid #b5b2aa; border-radius: 7px; background: white; }
.fake-check svg { width: 15px; opacity: 0; fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; transform: scale(.7); transition: .2s; }
.check-row input:checked + .fake-check { border-color: var(--accent-deep); background: var(--accent); }
.check-row input:checked + .fake-check svg { opacity: 1; transform: scale(1); }
.check-row > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.check-row strong { font-size: 13px; }
.check-row small { color: var(--muted); font-size: 11px; }
.result-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px; border-radius: 18px; background: var(--ink); color: white; }
.result-box > div { display: flex; flex-direction: column; gap: 6px; }
.result-box small { color: #9f9d96; font-size: 11px; }
.result-box strong { color: var(--accent); font-family: var(--serif); font-size: clamp(27px, 3.2vw, 39px); font-weight: 500; line-height: 1; }
.result-box span { color: #aaa89f; font-size: 11px; }
.result-button { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; transition: transform .2s; }
.result-button:hover { transform: rotate(-8deg) scale(1.05); }
.result-button svg { width: 21px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.calc-disclaimer { margin: 13px 2px 0; color: #8b8981; font-size: 10px; line-height: 1.5; }

.lead-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(35px, 7vw, 88px); align-items: center; margin-top: 100px; padding: clamp(28px, 6vw, 68px); border-radius: 34px; background: #dfd7c9; }
.lead-copy h2 { margin-bottom: 18px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-links a { display: flex; flex-direction: column; gap: 4px; padding: 12px 15px; border: 1px solid rgba(23,23,20,.14); border-radius: 13px; background: rgba(255,255,255,.34); }
.contact-links small { color: var(--muted); font-size: 10px; }
.contact-links strong { font-size: 12px; }
.lead-form { position: relative; display: grid; gap: 17px; padding: clamp(23px, 4vw, 40px); border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(49,41,29,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-bottom { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.form-bottom small { max-width: 180px; color: #88857e; font-size: 9px; line-height: 1.45; }
.form-message { position: absolute; inset: 0; z-index: 3; align-items: center; justify-content: center; gap: 15px; padding: 30px; border-radius: inherit; background: white; }
.form-message[hidden] { display: none; }
.form-message:not([hidden]) { display: flex; }
.form-message > span { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); }
.form-message svg { width: 23px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form-message strong { font-family: var(--serif); font-size: 25px; font-weight: 500; }
.form-message p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

footer { padding: 44px 0 100px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr .9fr auto; align-items: center; gap: 35px; }
.brand-footer { font-size: 30px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-inner > div { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; }
.footer-inner > small { color: #88857d; font-size: 10px; }
.mobile-cta { display: none; }

.project-dialog { width: min(520px, calc(100% - 34px)); border: 0; border-radius: 24px; padding: 38px; color: var(--ink); background: var(--paper-light); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.project-dialog::backdrop { background: rgba(10,10,8,.72); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 15px; top: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #e9e5dc; font-size: 24px; cursor: pointer; }
.dialog-kicker { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.project-dialog h2 { margin: 16px 0 10px; font-family: var(--serif); font-size: 40px; font-weight: 500; letter-spacing: -.035em; }
.project-dialog p { margin: 0 0 26px; color: var(--muted); line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: .08s; }
.delay-two { transition-delay: .16s; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 38px; }
  .hero h1 { font-size: clamp(46px, 6vw, 62px); }
  .hero-visual { min-height: 580px; }
  .floating-call { left: -30px; }
  .calculator-shell, .lead-panel { grid-template-columns: 1fr; }
  .calculator-intro { position: static; }
  .lead-copy { max-width: 650px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), 600px); }
  .site-header { position: sticky; }
  .header-inner { height: 64px; }
  .brand { font-size: 21px; }
  .phone-link { display: none; }
  .header-actions .button { min-height: 38px; padding-inline: 15px; font-size: 12px; }
  .hero { min-height: auto; padding: 42px 0 55px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { margin: 17px 0; font-size: clamp(43px, 13.2vw, 61px); line-height: .98; }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 25px; }
  .hero-actions .button { width: 100%; }
  .hero-note { margin-inline: 0; text-align: center; }
  .proof-row { gap: 11px; margin-top: 36px; }
  .proof-row strong { font-size: 12px; }
  .proof-row span { font-size: 10px; }
  .hero-visual { min-height: 510px; }
  .hero-visual > img { border-radius: 180px 180px 22px 22px; object-position: center 57%; }
  .prototype-badge { right: 4px; top: 46px; }
  .floating-call { display: none; }
  .visual-caption { inset: auto 12px 12px; }

  .showcase { padding: 75px 0 90px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 34px; }
  .section-heading h2, .process-title h2 { font-size: 44px; }
  .section-heading > p { font-size: 14px; }
  .projects-grid { display: flex; overflow-x: auto; margin-inline: -14px; padding: 0 14px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .projects-grid::-webkit-scrollbar { display: none; }
  .project-card, .project-tall { flex: 0 0 83vw; min-height: 450px; grid-row: auto; scroll-snap-align: center; }
  .project-card:not(.project-tall) { min-height: 450px; }
  .project-card img { object-position: center; }
  .value-grid { grid-template-columns: 1fr; margin-top: 52px; }
  .value-grid article { min-height: auto; padding: 26px 10px; }
  .process { grid-template-columns: 1fr; gap: 30px; margin-top: 90px; }
  .process-title { position: static; }
  .process-list li { padding: 24px 0; }

  .conversion { padding: 72px 0 60px; }
  .calculator-intro h2, .lead-copy h2 { font-size: 44px; }
  .calculator-card { margin-inline: -4px; padding: 23px 18px; border-radius: 22px; }
  .type-switch { display: grid; grid-template-columns: repeat(2, 1fr); }
  .type-button:last-child { grid-column: 1 / -1; }
  .measure-grid { grid-template-columns: 1fr 1fr; }
  .measure-grid label:last-child { grid-column: 1 / -1; }
  .result-box { padding: 18px; }
  .result-box strong { font-size: 28px; }
  .lead-panel { margin-top: 72px; padding: 26px 18px; border-radius: 25px; }
  .form-row, .option-grid { grid-template-columns: 1fr; }
  .form-bottom { align-items: stretch; flex-direction: column; }
  .form-bottom .button { width: 100%; }
  .form-bottom small { max-width: none; text-align: center; }
  .contact-links a { flex: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer { padding-bottom: 102px; }
  .mobile-cta { position: fixed; z-index: 90; inset: auto 10px 10px; display: grid; grid-template-columns: .75fr 1.25fr; padding: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: white; background: rgba(23,23,20,.92); box-shadow: 0 12px 40px rgba(0,0,0,.26); backdrop-filter: blur(16px); }
  .mobile-cta a { min-height: 44px; display: grid; place-items: center; border-radius: 999px; font-size: 12px; font-weight: 750; }
  .mobile-cta a:last-child { color: var(--ink); background: var(--accent); }
  .project-dialog { padding: 34px 24px 26px; }
}

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