:root {
  color-scheme: dark;
  --bg: #101416;
  --surface: #13191c;
  --panel: #171e21;
  --text: #edf2f2;
  --muted: #aebbbc;
  --border: #2d393c;
  --accent: #63e8d0;
  --accent-hover: #93f4e2;
  --ink: #08201e;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --width: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--sans); }
:where(h1, h2, h3, p, figure, blockquote, ul, ol) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { display: block; width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: .65rem; left: 1rem; padding: .65rem 1rem; border-radius: .3rem; background: var(--accent); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.55rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; flex: none; font-size: 1.12rem; font-weight: 750; letter-spacing: -.035em; }
.brand-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #396d65; border-radius: .36rem; background: #162b2a; color: var(--accent); }
.brand-icon .icon { width: 1.3rem; height: 1.3rem; stroke-width: 1.85; }
.brand-accent { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.65vw, 2.5rem); }
.site-nav > a:not(.button) { display: grid; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .925rem; font-weight: 600; }
.site-nav > a:not(.button):hover { color: var(--accent); }
.menu-toggle { display: none; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--border); border-radius: .4rem; background: var(--surface); color: var(--text); cursor: pointer; }
.menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

.button { display: inline-flex; width: fit-content; min-height: 3rem; align-items: center; justify-content: center; gap: .52rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .36rem; font-size: .94rem; font-weight: 700; line-height: 1.25; text-align: center; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button .icon, .text-link .icon { width: 1rem; height: 1rem; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: #425052; color: var(--text); }
.button-outline:hover { border-color: var(--accent); background: #19302e; color: var(--accent); }
.nav-contact { min-height: 2.75rem; padding-inline: 1rem; color: var(--accent); border-color: #396d65; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .45rem; color: var(--muted); font-size: .935rem; font-weight: 650; }
.text-link:hover { color: var(--accent); }

.section { padding-block: clamp(3.7rem, 7vw, 6rem); }
.section-lined { border-top: 1px solid var(--border); }
.surface-section { background: var(--surface); }
.hero { padding-block: clamp(3.25rem, 6.6vw, 5.65rem); }
.hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.6rem); }
.kicker { display: flex; align-items: center; gap: .65rem; color: var(--accent); font: 600 .83rem/1.45 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.kicker > span { width: 1rem; height: 1px; flex: none; background: currentColor; }
h1, h2, h3 { line-height: 1.12; }
h1 { margin-top: 1.05rem; font-size: clamp(3.15rem, 4.78vw, 4.35rem); font-weight: 750; letter-spacing: -.071em; text-wrap: balance; }
h1 strong { display: block; font-weight: inherit; color: var(--accent); }
.hero-intro { max-width: 31rem; margin-top: 1.55rem; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.hero-actions .button { min-height: 3.25rem; padding-inline: 1.12rem; }
.hero-visual { position: relative; aspect-ratio: 1.08; border: 1px solid #35514e; background: #061414; animation: reveal 600ms ease-out both; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
.frame-corner { position: absolute; width: 1.16rem; height: 1.16rem; border-color: var(--accent); border-style: solid; pointer-events: none; }
.top-left { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.top-right { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.bottom-right { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
@keyframes reveal { from { opacity: 0; transform: translateY(.55rem); } to { opacity: 1; transform: translateY(0); } }

.section-head { max-width: 43rem; margin-bottom: clamp(1.65rem, 4vw, 2.6rem); }
h2:not(.kicker) { margin-top: .65rem; font-size: clamp(2.35rem, 4.55vw, 4.05rem); font-weight: 740; letter-spacing: -.064em; }
.section-head > p:not(.kicker), .contact-copy > p:not(.kicker) { margin-top: .8rem; color: var(--muted); font-size: 1.075rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: .45rem; background: var(--border); }
.service-grid li { padding: clamp(1.3rem, 3vw, 2rem); background: var(--surface); }
.service-grid .icon, .process-grid .icon { color: var(--accent); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.023em; }
.service-grid h3 { margin-top: 1.05rem; }
.service-grid p, .process-grid p { margin-top: .5rem; color: var(--muted); }
.scope-note { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.05rem; padding: .85rem 1rem; border-left: 2px solid #477f76; background: #172322; color: var(--muted); }
.scope-note .icon { width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--accent); }
.scope-note strong { color: var(--text); }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.case-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: .48rem; overflow: hidden; background: var(--bg); }
.case-art { position: relative; display: grid; place-items: center; height: clamp(9rem, 17vw, 13rem); overflow: hidden; border-bottom: 1px solid var(--border); background-color: var(--art-bg); background-image: radial-gradient(ellipse at center, var(--art-glow), transparent 64%), linear-gradient(var(--art-grid) 1px, transparent 1px), linear-gradient(90deg, var(--art-grid) 1px, transparent 1px); background-size: auto, 1.5rem 1.5rem, 1.5rem 1.5rem; background-position: center; }
.chrono-art { --art-bg: #102225; --art-glow: #214a47; --art-grid: #365d583c; }
.dial { position: relative; display: grid; width: 6.25rem; aspect-ratio: 1; place-items: center; border: 1px solid #65ddc68a; border-radius: 50%; background: radial-gradient(circle, #102f2e 53%, transparent 54%), repeating-conic-gradient(#76e8d78a 0deg 1.5deg, transparent 1.5deg 30deg); box-shadow: 0 0 0 .62rem #83d2c12b, 0 0 0 1.25rem #70d3bc1a; }
.dial::before, .dial::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.1rem; height: 2px; border-radius: 2px; transform-origin: left center; background: #86f4dc; transform: rotate(-62deg); }
.dial::after { width: 1.4rem; transform: rotate(153deg); }
.dial i { z-index: 1; width: .43rem; aspect-ratio: 1; border-radius: 50%; background: #c8fff3; }
.hex-art { --art-bg: #211d2a; --art-glow: #4b3245; --art-grid: #70506b43; }
.hex-mark, .hex-mark i, .hex-mark i::after { display: grid; place-items: center; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.hex-mark { width: 9rem; aspect-ratio: 1.155; }
.hex-mark i { grid-area: 1 / 1; width: 100%; height: 100%; background: #d89fa3; }
.hex-mark i::after { content: ""; width: 97%; height: 97%; background: #372737; }
.hex-mark i:nth-child(2) { width: 78%; height: 78%; transform: rotate(30deg); background: #f4a990; }
.hex-mark i:nth-child(3) { width: 46%; height: 46%; transform: rotate(60deg); background: #f7bd9d; }
.hex-mark i:nth-child(3)::after { width: 91%; height: 91%; background: #4e3545; }
.case-content { display: flex; flex: 1; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); }
.case-meta { color: var(--accent); font: .82rem/1.5 var(--mono); }
.case-content h3 { margin-top: .55rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.detail-list { display: grid; gap: .28rem; padding-left: 1.15rem; list-style: disc; color: var(--muted); }
.detail-list li::marker { color: var(--accent); }
.case-results { margin-block: .8rem 1.35rem; }
.case-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: auto; }
.case-actions .button { min-height: 2.75rem; }

.testimonial { border-top: 1px solid var(--border); background: #142322; }
.testimonial-inner { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.testimonial h2 { margin-bottom: 1rem; }
.owner-intro p { max-width: 34rem; color: var(--muted); }
.quote { position: relative; padding-left: 1.6rem; border-left: 1px solid #4a847a; }
.quote-mark { position: absolute; top: -.1rem; left: -1px; color: var(--accent); font: 2.7rem/1 Georgia, serif; transform: translateX(-50%); background: #142322; height: 1.6rem; }
.quote blockquote { max-width: 50rem; font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.48; letter-spacing: -.023em; }
.quote figcaption { margin-top: 1.1rem; color: var(--muted); }
.quote figcaption strong { color: var(--text); }
.quote-context { display: block; margin-top: .2rem; font-size: .9rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.price-card { display: flex; flex-direction: column; padding: clamp(1.15rem, 2.5vw, 1.85rem); border: 1px solid var(--border); border-radius: .46rem; background: var(--surface); }
.price-card.featured { border-color: #559689; background: #182724; }
.price-card h3 { font-size: 1.25rem; }
.price { margin-top: .55rem; color: var(--text); font-size: clamp(2.9rem, 5.6vw, 4.2rem); font-weight: 730; font-variant-numeric: tabular-nums; letter-spacing: -.085em; line-height: 1.04; }
.featured .price { color: var(--accent); }
.price-card ul { display: grid; gap: .55rem; margin-block: 1.3rem 1.65rem; padding-top: 1.05rem; border-top: 1px solid var(--border); color: var(--muted); }
.price-card li { display: flex; gap: .55rem; }
.price-card li .icon { align-self: flex-start; margin-top: .28rem; width: 1rem; height: 1rem; color: var(--accent); stroke-width: 2; }
.price-card .button { width: 100%; margin-top: auto; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.process-grid li { position: relative; }
.process-grid li:not(:last-child)::after { content: ""; position: absolute; top: 1.28rem; left: 3.15rem; right: -.8rem; border-top: 1px dashed #47625e; }
.step-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border: 1px solid #406e67; border-radius: .45rem; background: #172b28; }
.step-icon .icon { width: 1.2rem; height: 1.2rem; }
.process-note { max-width: 50rem; margin-top: 1.5rem; color: var(--muted); }

.contact { border-top: 1px solid var(--border); }
.contact-panel { display: grid; grid-template-columns: 1.17fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.3rem, 5vw, 3.5rem); border: 1px solid #345450; border-radius: .5rem; background: #152321; }
.contact-copy > p:not(.kicker) { max-width: 33rem; }
.request-details { margin-top: .7rem; }
.contact-options { min-width: 0; }
.contact-method { display: flex; min-height: 4.1rem; gap: .7rem; align-items: center; padding: .58rem .8rem; border: 1px solid #3b5651; border-radius: .4rem; background: #14201f; }
.contact-method + .contact-method { margin-top: .55rem; }
.contact-method > .icon { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.contact-method > div { flex: 1; min-width: 0; }
.contact-method strong { display: block; font-size: .935rem; }
.contact-method :is(a, span) { display: inline-block; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.contact-method span { color: var(--muted); }
.contact-method a { min-height: 1.5rem; color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.contact-method a:hover { color: var(--accent-hover); }
.contact-notice, .selected-plan { color: var(--muted); font-size: .9rem; }
.contact-notice { margin-top: .75rem; }
.selected-plan:not(:empty) { margin-bottom: .55rem; color: var(--accent); }
.site-footer { padding-block: 1.35rem; border-top: 1px solid var(--border); }
.footer-inner p { color: var(--muted); font-size: .9rem; }

.not-found { min-height: min(32rem, 100svh); }
.not-found .section-head { margin-bottom: 1.65rem; }

@media (max-width: 58rem) {
  .hero-grid { gap: 1.8rem; }
  .hero h1 { font-size: clamp(2.85rem, 5.65vw, 3.4rem); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.55rem; }
  .process-grid li:nth-child(even)::after { content: none; }
}

@media (max-width: 46rem) {
  html { scroll-padding-top: 4.65rem; }
  .header-inner { position: relative; display: flex; flex-wrap: wrap; gap: .1rem 1rem; min-height: 3.85rem; }
  .menu-toggle { display: grid; }
  .site-header:has(.menu-toggle[hidden]) { position: static; }
  .site-nav { flex-wrap: wrap; gap: .1rem .9rem; padding-bottom: .5rem; }
  .menu-toggle:not([hidden]) + .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: .25rem; max-height: calc(100dvh - 4rem); overflow: auto; padding: .65rem; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 .45rem .45rem; background: var(--surface); box-shadow: 0 12px 25px #0006; }
  .menu-toggle:not([hidden]) + .site-nav > a { padding-inline: .65rem; }
  .menu-toggle:not([hidden]) + .site-nav .nav-contact { justify-content: start; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(2.75rem, 8.6vw, 4.1rem); }
  .hero-intro { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.45rem; }
  .hero-actions .button { min-height: 3rem; padding-inline: .76rem; }
  .hero-visual { justify-self: center; width: 100%; max-width: 32rem; aspect-ratio: 1.25; }
  .service-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-inner, .contact-panel { grid-template-columns: 1fr; }
  .quote { padding-left: 1.35rem; }
}

@media (max-width: 33rem) {
  .case-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: .4rem 1rem; }
}

@media (max-width: 25rem) {
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid li:not(:last-child)::after { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual { animation: none; }
  .button { transition: none; }
}
