/* Maplewood Renovations — shared styles */
:root {
  --stone: #EDE7DD;
  --paper: #F7F3EC;
  --line: #D9CFC1;
  --ink: #2B2520;
  --ink-soft: #5F554C;
  --dark: #221D19;
  --dark-2: #2E2723;
  --sage: #6E8465;
  --sage-deep: #4B5E45;
  --sage-pale: #DCE3D4;
  --brass: #B8955A;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Karla", system-ui, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em.acc { font-style: italic; color: var(--sage-deep); }
.dark em.acc { color: #A9BC9F; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.paper { background: var(--paper); }
.dark { background: var(--dark); color: #EFE8DD; }
.dark .muted { color: #B5AA9C; }
.muted { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  color: var(--sage-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.dark .eyebrow { color: #A9BC9F; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.dark .lede { color: #C9BFB1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage-deep); color: #fff; }
.btn-primary:hover { background: #3E4F39; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--stone); }
.dark .btn-ghost { border-color: #EFE8DD; color: #EFE8DD; }
.dark .btn-ghost:hover { background: #EFE8DD; color: var(--dark); }
.btn-light { background: var(--stone); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--sage-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.dark .link-arrow { color: #A9BC9F; }

/* Header */
.topbar { background: var(--dark); color: #CFC5B7; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; color: #EFE8DD; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(237, 231, 221, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-text { font-family: var(--serif); font-size: 1.2rem; line-height: 1; }
.logo-text small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--sage-deep); transition: right .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--sage-deep); }
.nav .btn { padding: 11px 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Home hero */
.hero-home { position: relative; overflow: hidden; padding: 70px 0 40px; }
.hero-home .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero-home h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; font-size: .92rem; color: var(--ink-soft); }
.hero-proof strong { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; font-weight: 400; display: block; }
.board { position: relative; aspect-ratio: 1 / 1; max-height: 620px; width: 100%; }
.board canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: pan-y; }
.board-bg { position: absolute; inset: 6% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,243,236,.75) 0%, rgba(247,243,236,0) 100%); }
.board-fallback { position: absolute; inset: 8%; object-fit: cover; width: 84%; height: 84%; border-radius: var(--radius); display: none; }
.board.no-webgl .board-fallback { display: block; }
.board-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .9rem; color: var(--ink-soft); min-height: 1.6em; }
.board-caption b { font-family: var(--serif); font-weight: 400; color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 40px; background: var(--paper); font: 500 .86rem var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch:hover, .swatch[aria-pressed="true"] { border-color: var(--sage-deep); background: #fff; }
.swatch:focus-visible, .btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

/* Stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--ink-soft); }

/* Service split cards */
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 54px; }
.split-head .lede { margin: 0; }
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 22, 19, .86) 0%, rgba(26, 22, 19, .1) 55%); }
.svc-card .svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; z-index: 1; }
.svc-card h3 { font-size: 2rem; margin-bottom: 8px; }
.svc-card p { color: #E4DCCF; max-width: 40ch; margin-bottom: 16px; }
.svc-card .from { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #C7D4BF; }

/* Why / numbered list */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why-img { position: sticky; top: 110px; }
.why-img img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.numbered { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); font-size: 1.1rem; color: var(--sage-deep); padding-top: 2px; }
.numbered h3 { margin-bottom: 6px; }
.numbered p { margin: 0; color: var(--ink-soft); }
.dark .numbered li { border-color: #3D3530; }
.dark .numbered p { color: #B5AA9C; }
.dark .numbered li::before { color: #A9BC9F; }

/* Project cards */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj { text-decoration: none; display: block; }
.proj figure { margin: 0 0 16px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--line); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.proj:hover img { transform: scale(1.04); }
.proj .meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; }
.proj h3 { margin: 6px 0 4px; font-size: 1.25rem; }
.proj p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.proj.wide { grid-column: span 2; }
.proj.wide figure { aspect-ratio: 16 / 9.2; }
.proj.hidden { display: none; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter { padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; background: transparent; font: 500 .92rem var(--sans); color: var(--ink); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--stone); border-color: var(--ink); }

/* Process steps (horizontal) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; counter-reset: s; }
.step { padding: 0 28px 0 0; position: relative; counter-increment: s; }
.step::before { content: "Step " counter(s); display: block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #A9BC9F; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #3D3530; }
.step h3 { font-size: 1.25rem; }
.step p { color: #B5AA9C; font-size: .96rem; margin: 0; }
.steps.light .step::before { color: var(--sage-deep); border-color: var(--line); }
.steps.light .step p { color: var(--ink-soft); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; flex: 1; }
.quote:first-child { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.quote:first-child blockquote { font-size: 1.35rem; }
.quote cite { font-style: normal; font-weight: 700; font-size: .95rem; }
.quote cite span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.quote:first-child cite span { color: #D5DFCF; }
.stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 16px; font-size: .9rem; }
.quote:first-child .stars { color: #E8D3A6; }

/* CTA band */
.cta-band { background: var(--sage-deep); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.cta-band h2 { margin: 0 0 8px; max-width: 20ch; }
.cta-band p { margin: 0; color: #D5DFCF; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--sage-deep); }

/* Page hero (inner pages) */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 22, 19, .82) 0%, rgba(26, 22, 19, .15) 60%); }
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: 64px; width: 100%; }
.page-hero .eyebrow { color: #C7D4BF; }
.page-hero p { color: #E4DCCF; font-size: 1.15rem; max-width: 56ch; }
.page-hero.plain { min-height: 0; color: var(--ink); padding: 90px 0 30px; }
.page-hero.plain::after { display: none; }
.page-hero.plain .eyebrow { color: var(--sage-deep); }
.page-hero.plain p { color: var(--ink-soft); }
.crumbs { font-size: .85rem; margin-bottom: 18px; opacity: .85; }
.crumbs a { text-decoration: none; }

/* Two column content */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.top { align-items: start; }
.two-col img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* Style tiles */
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.style-tile { background: var(--paper); padding: 34px 28px; }
.style-tile .chip { display: flex; gap: 6px; margin-bottom: 22px; }
.style-tile .chip i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.style-tile p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .a { grid-column: span 4; grid-row: span 2; }
.mosaic .b { grid-column: span 2; grid-row: span 2; }
.mosaic .c { grid-column: span 2; grid-row: span 2; }
.mosaic .d { grid-column: span 2; grid-row: span 2; }
.mosaic .e { grid-column: span 2; grid-row: span 2; }

/* Pricing guide */
.price-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.price-table th, .price-table td { text-align: left; padding: 22px 16px 22px 0; border-top: 1px solid var(--line); vertical-align: top; }
.price-table th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; width: 30%; }
.price-table td.amt { font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; color: var(--sage-deep); }
.price-table td { color: var(--ink-soft); }
.fine { font-size: .86rem; color: var(--ink-soft); margin-top: 18px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: var(--serif); font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 1.6rem; color: var(--sage-deep); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; max-width: 68ch; }

/* About: team + credentials */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member .mono { aspect-ratio: 1; border-radius: var(--radius); background: var(--sage-pale); display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: var(--sage-deep); margin-bottom: 16px; }
.member:nth-child(2) .mono { background: #E8DCCB; color: #8A6A3E; }
.member:nth-child(3) .mono { background: #D9D3CB; color: var(--ink); }
.member:nth-child(4) .mono { background: #E3E6DC; color: #56664F; }
.member h3 { font-size: 1.15rem; margin-bottom: 2px; }
.member p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cred { border-top: 2px solid var(--sage); padding-top: 18px; }
.cred b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin-bottom: 4px; }
.cred span { color: var(--ink-soft); font-size: .93rem; }
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.45; max-width: 30ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--paper); border: 1px solid var(--line); padding: 40px; border-radius: var(--radius); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 7px; }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
.form textarea { min-height: 140px; resize: vertical; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 40px; padding: 9px 16px; font-weight: 500; margin: 0; cursor: pointer; }
.radio-row input { width: auto; accent-color: var(--sage-deep); }
.form-note { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; display: none; background: var(--sage-pale); border-left: 3px solid var(--sage-deep); padding: 14px 16px; margin: 0; }
.form-status.show { display: block; }
.info-block { padding: 26px 0; border-top: 1px solid var(--line); }
.info-block:first-child { border-top: 0; padding-top: 0; }
.info-block h3 { font-size: 1.1rem; margin-bottom: 8px; }
.info-block p, .info-block li { color: var(--ink-soft); margin: 0; }
.info-block a { font-weight: 700; color: var(--ink); text-decoration: none; }
.suburbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs li { font-size: .88rem; border: 1px solid var(--line); border-radius: 40px; padding: 5px 12px; }
.dark .suburbs li { border-color: #3D3530; color: #CFC5B7; }

/* Footer */
.site-footer { background: var(--dark); color: #B5AA9C; padding: 80px 0 34px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid #3D3530; }
.site-footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: #EFE8DD; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #CFC5B7; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-text { color: #EFE8DD; }
.site-footer .logo-text small { color: #8F8577; }
.footer-blurb { margin-top: 20px; max-width: 34ch; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: .84rem; color: #8F8577; }
.concept-note { color: #A9BC9F; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card img, .proj img { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-home .wrap { grid-template-columns: 1fr; }
  .board { max-width: 560px; margin: 0 auto; }
  .why, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-img { position: static; }
  .why-img img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .quotes { grid-template-columns: 1fr; }
  .styles-grid, .team, .creds { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--stone); border-bottom: 1px solid var(--line); padding: 10px 24px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
  body.menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar .hide-sm { display: none; }
  .section { padding: 80px 0; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 0 24px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split-head { flex-direction: column; align-items: start; gap: 18px; }
  .svc-pair, .proj-grid { grid-template-columns: 1fr; }
  .proj.wide { grid-column: auto; }
  .proj.wide figure { aspect-ratio: 4 / 3; }
  .svc-card { aspect-ratio: 4 / 4.4; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .mosaic .a { grid-column: span 2; }
  .mosaic .b, .mosaic .c, .mosaic .d, .mosaic .e { grid-column: span 1; }
  .form { grid-template-columns: 1fr; padding: 26px; }
  .price-table th { width: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-home { padding-top: 44px; }
  .steps, .styles-grid, .team, .creds, .footer-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table th { padding-bottom: 4px; }
  .price-table td { border-top: 0; padding: 4px 0; }
  .price-table td:last-child { padding-bottom: 22px; }
  .page-hero { min-height: 56vh; }
  .svc-card .svc-body { padding: 24px; }
}
@media (max-width: 640px) {
  .topbar .hide-xs { display: none; }
  .topbar .wrap { justify-content: flex-end; }
}
