﻿:root {
  color-scheme: light;
  --ink: #141311;
  --ink-soft: #201e1b;
  --paper: #f6f3ec;
  --paper-deep: #efebe1;
  --white: #fffcf5;
  --accent: #ff7248;
  --muted: #5f5b54;
  --line: #d8d1c5;
  --dark-line: #3d3832;
  --ease: cubic-bezier(.2, .75, .25, 1);
  font-family: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
p { margin: 0; line-height: 1.6; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.06em; }
h2 { font-size: clamp(2.6rem, 5.5vw, 5.25rem); font-weight: 760; }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 740; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: .6rem; left: .6rem; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.dark, .header, .hero { color: var(--white); background: var(--ink); }

.header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--dark-line); }
.header-inner, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reading-progress { position: absolute; z-index: 1; inset: auto 0 -1px; height: 2px; transform: scaleX(var(--read, 0)); transform-origin: left; background: var(--accent); pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--white); font-size: 1.06rem; font-weight: 750; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.brand-tail { display: block; margin-top: .18rem; color: #c1b9ac; font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.mark { --mark-size: 36px; display: inline-block; position: relative; flex: none; width: var(--mark-size); aspect-ratio: 1; background: var(--accent); border-radius: calc(var(--mark-size) * .21); }
.mark::before, .mark::after { content: ""; position: absolute; top: 25%; width: 12%; height: 50%; border-radius: 100px; background: var(--ink); }
.mark::before { left: 36%; transform: skewX(26deg); }
.mark::after { right: 33%; transform: skewX(-26deg); }
nav { display: flex; gap: clamp(1rem, 2.8vw, 2.65rem); align-items: center; font-size: .94rem; font-weight: 600; }
nav a { transition: color .2s; }
nav a:hover, nav a[aria-current="location"] { color: var(--accent); }
.nav-contact { border: 1px solid #6c6259; border-radius: 100px; padding: .62rem 1rem; }

.hero { overflow: hidden; isolation: isolate; }
.hero-grid { min-height: clamp(580px, 77svh, 810px); position: relative; display: grid; align-items: center; }
.hero-copy { padding-block: clamp(4rem, 9vw, 8rem); z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; width: fit-content; margin-bottom: .95rem; font: 650 .875rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow > span { width: .52rem; height: .52rem; flex: none; background: currentColor; }
.hero .eyebrow, .dark .eyebrow { color: var(--accent); }
h1 { width: fit-content; font-size: clamp(4.1rem, 8.6vw, 9.75rem); line-height: .92; letter-spacing: -.088em; font-weight: 790; }
h1 > span { display: block; }
h1 > span + span { color: var(--accent); }
.hero-intro { max-width: 27rem; margin-top: 1.7rem; color: #d9d1c6; font-size: clamp(1.05rem, 1.65vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: 100px; font-size: .95rem; font-weight: 700; line-height: 1.25; text-align: center; transition: background-color .23s, color .23s, border-color .23s, transform .28s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #ff916e; }
.button-accent:focus-visible { outline-color: var(--white); }
.button-ghost { border-color: #766b60; color: var(--white); }
.button-ghost:hover { background: #2e2924; border-color: #a59787; }
.hero-art { --art-x: 0px; --art-y: 0px; --art-scroll: 0px; position: absolute; z-index: 0; inset: 4.5% -6% 4.5% 38%; pointer-events: none; }
.art-frame { position: absolute; inset: 0; mask-image: linear-gradient(90deg, transparent 2%, #000 32%, #000 90%, transparent); }
.art-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 54% center; transform: translate3d(var(--art-x), calc(var(--art-y) + var(--art-scroll)), 0) scale(1.035); }
.art-frame::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(180deg, var(--ink), transparent 11% 88%, var(--ink)), linear-gradient(90deg, var(--ink), transparent 30%); pointer-events: none; }
.cross { position: absolute; width: 18px; height: 18px; color: #9d7562; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { width: 18px; height: 1px; top: 8px; }
.cross::after { width: 1px; height: 18px; left: 8px; }
.cross-top { top: 11%; right: 15%; }
.cross-bottom { bottom: 9%; right: 9%; }

.section { padding-block: clamp(4rem, 8.4vw, 8rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr); align-items: end; gap: 1.6rem clamp(2rem, 4vw, 4rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head > p { color: var(--muted); max-width: 26rem; padding-bottom: .17rem; font-size: 1.1rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.service { min-width: 0; display: flex; flex-direction: column; align-items: start; border: 1px solid var(--line); background: var(--white); border-radius: 1rem; padding: clamp(1.2rem, 2.6vw, 2.35rem); transition: border-color .25s, box-shadow .3s var(--ease); }
.service:hover, .service:focus-within { border-color: #b66a51; box-shadow: 0 14px 34px #281b160e; }
.service-feature { background: var(--ink-soft); color: var(--white); border-color: var(--ink-soft); }
.service-icon { display: inline-grid; place-items: center; position: relative; width: 48px; aspect-ratio: 1; margin-bottom: 1.6rem; color: var(--ink); background: #ffd9ca; border-radius: .68rem; }
.service-feature .service-icon { background: var(--accent); }
.service-icon i, .service-icon::before, .service-icon::after { position: absolute; }
.icon-scan::before, .icon-scan::after, .icon-build::before, .icon-build::after { content: ""; }
.icon-scan i { width: 21px; height: 21px; border: 2px solid currentColor; border-radius: 50%; }
.icon-scan::before { width: 12px; height: 12px; border: 1px solid currentColor; border-radius: 50%; }
.icon-scan::after { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.icon-pilot i { width: 25px; height: 26px; background: currentColor; clip-path: polygon(58% 0, 18% 57%, 46% 57%, 39% 100%, 84% 39%, 53% 39%); }
.icon-build::before, .icon-build::after { width: 9px; height: 9px; border-width: 0 0 2px 2px; border-style: solid; transform: translateX(-7px) rotate(45deg); }
.icon-build::after { transform: translateX(7px) rotate(225deg); }
.icon-build i { width: 2px; height: 18px; background: currentColor; transform: rotate(22deg); }
.service h3 { margin-bottom: .62rem; overflow-wrap: anywhere; }
.service > p, .service li { color: var(--muted); }
.service-feature > p, .service-feature li { color: #d8cfc2; }
.service ul { width: 100%; display: grid; gap: .55rem; padding: 0; margin: 1.25rem 0 1.8rem; list-style: none; line-height: 1.45; }
.service li { position: relative; padding-left: 1.1rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: .42rem; height: .42rem; border-radius: 50%; background: #aa4a30; }
.service-feature li::before { background: var(--accent); }
.service-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .65rem; width: 100%; border-top: 1px solid var(--line); margin-top: auto; padding: .9rem 0 1rem; }
.service-feature .service-price { border-color: #62574d; }
.service-price span { font-size: .875rem; }
.service-price strong { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.07em; line-height: 1; }
.service .button { width: 100%; }
.button-card { border-color: #b3aa9b; }
.button-card:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button-card:focus-visible { outline-color: var(--ink); }
.rates-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem 1.5rem; margin-top: 1.4rem; }
.rates-note p { font-size: .9rem; color: var(--muted); }
.rates-note strong { margin-right: .4rem; color: var(--ink); }

.dark .section-head > p { color: #c9c0b4; }
.demo { padding: clamp(.85rem, 2.6vw, 1.65rem); border: 1px solid #4b4038; border-radius: 1.1rem; background: #1c1917; }
.demo-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.demo-switch button { cursor: pointer; border: 1px solid transparent; border-radius: 100px; padding: .7rem .95rem; background: transparent; color: #e2d9cc; font-size: .93rem; font-weight: 650; transition: background-color .23s, color .23s; }
.demo-switch button:hover { background: #37302a; }
.demo-switch button[aria-selected="true"] { color: var(--ink); background: var(--accent); }
.demo-switch button:focus-visible { outline-color: var(--white); }
.demo-panel { min-height: 18rem; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 4rem); padding: clamp(1rem, 4vw, 3.75rem); border: 1px solid #443933; border-radius: .75rem; background: radial-gradient(ellipse at 100% 0, #3f2b22, #201b18 65%); }
.demo-panel + .demo-panel { margin-top: .8rem; }
.demo[data-enhanced] .demo-panel { margin-top: 0; }
.demo-panel h3 { font-size: clamp(1.9rem, 3.8vw, 3.75rem); margin: .65rem 0 .85rem; }
.demo-panel p { color: #e0d6ca; max-width: 29rem; }
.demo-panel .demo-tag { color: #ff9c7c; font: 600 .875rem/1.4 ui-monospace, Consolas, monospace; }
.flow { display: grid; gap: .7rem; margin: 0; padding: 0 0 0 1.1rem; list-style: none; border-left: 1px solid #987362; }
.flow li { position: relative; border: 1px solid #55443a; border-radius: .55rem; background: #261f1b; padding: .72rem .85rem; }
.flow li::before { content: ""; position: absolute; left: calc(-1.1rem - 5px); top: calc(50% - 4px); width: 8px; height: 8px; border: 1px solid #eab29c; background: #372920; border-radius: 50%; }
.flow li:last-child { border-color: #b36f55; }
.flow li:last-child::before { background: #ff9878; }
.flow span, .flow strong { display: block; }
.flow span { color: #d6baa8; font-size: .875rem; }
.flow strong { font-weight: 650; }

.about { background: var(--paper-deep); }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.about-identity { min-height: 24rem; display: flex; position: relative; overflow: hidden; isolation: isolate; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 4vw, 3rem); border-radius: .95rem; background: var(--ink-soft); color: var(--white); }
.identity-art { position: absolute; z-index: -1; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 67% 26%, #552a1e, transparent 68%); }
.identity-art .mark { --mark-size: clamp(7rem, 14vw, 12rem); position: absolute; left: 55%; top: 10%; opacity: .20; transform: rotate(-12deg); }
.identity-copy .eyebrow { color: var(--accent); }
.identity-copy h2 { font-size: clamp(2.75rem, 5vw, 4.6rem); }
.identity-copy > p:last-child { color: #d3c7b9; margin-top: .65rem; }
.lead { font-size: clamp(1.35rem, 2.5vw, 2.1rem); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.bio { margin-top: .75rem; color: var(--muted); }
.steps { margin: 1.25rem 0; padding: 0 0 0 1.5rem; }
.steps li { padding: .8rem 0 .8rem .25rem; border-bottom: 1px solid #cec5b7; }
.steps li::marker { color: #914732; font-weight: 700; }
.steps h3 { font-size: 1.15rem; letter-spacing: -.025em; margin-bottom: .18rem; }
.steps p { color: var(--muted); }
.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .26em; font-weight: 650; }
.text-link:hover { text-decoration-thickness: 2px; }

.contact { background: var(--accent); padding-block: clamp(3.7rem, 8vw, 7rem); }
.contact-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.7rem 2rem; }
.contact-inner > div { flex: 1 1 34rem; }
.contact h2 { margin-bottom: .8rem; }
.contact p:last-child { max-width: 32rem; font-size: 1.1rem; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #39312a; }
.button-dark:focus-visible { outline-color: var(--ink); }
.footer-inner { min-height: 94px; }
footer .text-link:hover { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-rise .87s var(--ease) both; }
  .hero-copy h1 { animation-delay: 75ms; }
  .hero-copy .hero-intro { animation-delay: 150ms; }
  .hero-copy .actions { animation-delay: 215ms; }
  .art-frame { animation: art-enter 1.25s var(--ease) both; }
  .art-frame img { transition: transform .5s var(--ease); }
  .motion-ready [data-reveal]:not(.in-view):not(:focus-within) { opacity: 0; translate: 0 30px; }
  .motion-ready [data-reveal] { transition: opacity .7s var(--ease), translate .7s var(--ease), border-color .25s, box-shadow .3s; }
  .service:nth-child(2) { transition-delay: 70ms, 70ms, 0s, 0s; }
  .service:nth-child(3) { transition-delay: 140ms, 140ms, 0s, 0s; }
  .demo-panel.is-entering > * { animation: panel-enter .45s var(--ease) both; }
  .demo-panel.is-entering .flow { animation-delay: 60ms; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(19px); } to { opacity: 1; transform: none; } }
@keyframes art-enter { from { opacity: 0; scale: 1.07; } to { opacity: 1; scale: 1; } }
@keyframes panel-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (min-width: 1080px) {
  .header-inner { min-height: 82px; }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .hero-art { inset-inline-start: 32%; }
  .contact-inner > div { flex-basis: 29rem; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding-block: 3.4rem 0; }
  h1 { font-size: clamp(3.25rem, 12vw, 5.6rem); }
  .hero-intro { margin-top: 1.2rem; }
  .hero-art { position: relative; inset: auto; height: clamp(230px, 63vw, 420px); margin: 1.2rem -20px 0; }
  .art-frame { mask-image: linear-gradient(90deg, transparent, #000 13% 87%, transparent); }
  .art-frame img { object-position: 54% 48%; }
  .art-frame::after { background: linear-gradient(180deg, var(--ink), transparent 11% 88%, var(--ink)); }
  .cross-top { right: 14%; }
  .cross-bottom { right: 11%; }
  .section-head, .about-grid, .demo-panel { grid-template-columns: 1fr; }
  .section-head { gap: .9rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 1.45rem; }
  .service-icon { margin-bottom: 1.1rem; }
  .about-identity { min-height: 17rem; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 7.2rem; }
  .header-inner { min-height: 0; justify-content: start; flex-wrap: wrap; gap: .52rem; padding-block: .7rem .6rem; }
  nav { width: 100%; justify-content: space-between; gap: .4rem; font-size: .875rem; }
  .nav-contact { padding: .36rem .55rem; }
  .actions { gap: .6rem; margin-top: 1.4rem; }
  .actions .button { flex: 1 1 11.5rem; }
  .demo-switch { display: grid; grid-template-columns: 1fr; }
  .demo-switch button { text-align: left; }
  .contact-inner > div { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}
