:root {
  color-scheme: dark;
  --bg: #080b10;
  --bg-deep: #05070a;
  --panel: #10151d;
  --text: #edebff;
  --muted: #b8bad1;
  --cyan: #00e5ff;
  --green: #00d978;
  --lavender: #d4d8ff;
  --pink: #ffd4f6;
  --line: rgba(0, 229, 255, .24);
  --cta-a: #005f7a;
  --cta-b: #00734b;
  --cta-hover: #006f91;
  --shadow: 0 28px 90px rgba(0, 0, 0, .36);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 2%, rgba(0, 229, 255, .12), transparent 35rem),
    radial-gradient(circle at 8% 33%, rgba(0, 217, 120, .07), transparent 28rem),
    linear-gradient(135deg, transparent 0 48.5%, rgba(255, 255, 255, .018) 48.5% 49.2%, transparent 49.2% 100%),
    var(--bg);
  background-size: auto, auto, 230px 230px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; transform: translateY(-180%); border-radius: .5rem; color: #001016; background: var(--cyan); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.site-header, main, footer { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 92px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; width: min(190px, 38vw); }
.brand img { width: 100%; height: 70px; object-fit: contain; object-position: left center; }
.site-header nav, .service-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2.5vw, 1.6rem); }
.site-header nav a, .service-links a { color: var(--muted); font-size: .86rem; font-weight: 750; letter-spacing: .035em; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible, .service-links a:hover, .service-links a:focus-visible { color: var(--cyan); }
.site-header .nav-contact { padding: .55rem .95rem; border: 1px solid var(--cyan); border-radius: 999px; color: var(--text); }

.eyebrow { margin: 0 0 .75rem; color: var(--cyan); font-size: .76rem; font-weight: 850; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h1, h2 { overflow: visible; padding-bottom: .2em; margin-bottom: -.2em; color: var(--text); background: linear-gradient(105deg, #0077ff 0%, #00b9ff 42%, #00e5d1 62%, #20f343 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
h3 { line-height: 1.02; }
h1 { max-width: 860px; font-size: clamp(3.5rem, 9.8vw, 8.4rem); }
h2 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h3 { font-size: clamp(2rem, 4.3vw, 3.55rem); }
p { text-wrap: pretty; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .36fr); align-items: center; min-height: min(850px, calc(100svh - 92px)); padding: clamp(4.5rem, 10vw, 8rem) 0; }
.hero-copy { position: relative; z-index: 1; }
.hero-lede { max-width: 790px; margin: 1.8rem 0 0; color: var(--text); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 650; }
.hero-detail { max-width: 760px; margin: .85rem 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.19rem); }
.hero-mark { display: grid; align-content: center; justify-items: center; opacity: .2; color: transparent; font-size: clamp(6rem, 16vw, 13rem); font-weight: 900; line-height: .62; -webkit-text-stroke: 1px var(--cyan); filter: drop-shadow(0 0 35px rgba(0, 229, 255, .22)); }
.production-line { display: flex; align-items: center; flex-wrap: wrap; gap: .58rem; margin: 1.8rem 0 0; color: var(--cyan); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.production-line i { width: 18px; height: 1px; background: rgba(0, 229, 255, .55); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .78rem 1.3rem; border: 2px solid var(--cyan); border-radius: 999px; color: var(--text); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, filter 160ms ease; }
.button::after { content: "→"; margin-left: .75rem; font-size: 1.2em; line-height: 1; }
.button.primary { background: linear-gradient(115deg, var(--cta-a), var(--cta-b)); box-shadow: 0 14px 38px rgba(0, 95, 122, .24); }
.button.secondary { background: rgba(0, 95, 122, .24); }
.button:hover { transform: translateY(-2px); background-color: var(--cta-hover); filter: brightness(1.12); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.text-link { color: var(--cyan); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .28em; }

.section-shell { display: grid; grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.section-index { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.section-code { margin: 0; color: rgba(184, 186, 209, .55); font: 700 .78rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.section-copy > p:not(.eyebrow) { max-width: 780px; margin: 1.6rem 0 2rem; color: var(--muted); font-size: clamp(1.12rem, 2.1vw, 1.45rem); }

.feature-panel { display: grid; grid-template-columns: minmax(0, .86fr) minmax(400px, 1.14fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); margin: 0 calc(50% - 50vw); padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2)); border-block: 1px solid var(--line); background: linear-gradient(120deg, rgba(16, 21, 29, .98), rgba(7, 13, 18, .96)); box-shadow: var(--shadow); }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.16rem); }
.feature-copy .button { margin-top: 1rem; }
.kindroid-frame { display: block; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-deep); box-shadow: var(--shadow); }

.proof-grid { display: grid; gap: 1px; margin: 0 calc(50% - 50vw); background: var(--line); border-bottom: 1px solid var(--line); }
.proof-card { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); align-items: stretch; min-height: 540px; background: var(--bg); }
.proof-card:nth-child(even) .proof-media { order: 2; }
.proof-media { position: relative; overflow: hidden; min-height: 420px; background: var(--bg-deep); }
.proof-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255, 255, 255, .04); }
.proof-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease, filter 500ms ease; }
.proof-media.wide img { object-position: center; }
.proof-media:hover img { transform: scale(1.025); filter: brightness(1.08); }
.proof-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2.5rem, 6vw, 6.5rem); }
.proof-copy p:not(.eyebrow) { max-width: 690px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); }
.proof-copy .button, .proof-copy .text-link { margin-top: 1rem; }
.supporting-links a { color: var(--cyan); }
.service-links { margin-top: 1.5rem; }

.experiences { padding: clamp(5rem, 10vw, 9rem) 0; }
.experiences-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 2.5rem; }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.experience-card { display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; min-height: 500px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(0, 229, 255, .055), transparent 45%), var(--panel); box-shadow: var(--shadow); }
.experience-card:nth-child(2) { background: linear-gradient(145deg, rgba(0, 217, 120, .055), transparent 45%), var(--panel); }
.experience-card h3 { max-width: 550px; }
.experience-card p:not(.eyebrow):not(.card-number) { color: var(--muted); }
.experience-card .button { justify-self: start; }
.card-number { margin: 0; color: rgba(0, 229, 255, .7); font: 800 1rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }

.contact { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(2.5rem, 7vw, 7rem); margin: 0 calc(50% - 50vw); padding: clamp(5rem, 10vw, 9rem) max(1rem, calc((100vw - var(--max)) / 2)); border-block: 1px solid var(--line); background: radial-gradient(circle at 10% 80%, rgba(0, 217, 120, .08), transparent 26rem), var(--bg-deep); }
.contact-intro > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.contact-form { align-self: start; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .45rem; color: var(--text); font-size: .9rem; font-weight: 800; }
input, textarea { width: 100%; min-height: 52px; padding: .82rem .9rem; border: 1px solid rgba(0, 229, 255, .42); border-radius: 9px; color: var(--text); background: #090e14; caret-color: var(--cyan); }
textarea { min-height: 170px; resize: vertical; }
input:hover, textarea:hover { border-color: rgba(0, 229, 255, .72); }
input:focus-visible, textarea:focus-visible { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 229, 255, .12); }
.form-note { margin: 0 0 1rem; color: var(--muted); font-size: .82rem; }
.submit { width: 100%; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.closing-art { margin: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.closing-art img { width: 100%; height: auto; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; }
.footer-brand { display: inline-block; color: var(--text); background: linear-gradient(105deg, #0077ff 0%, #00b9ff 42%, #00e5d1 62%, #20f343 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.thanks-page { min-height: 100svh; }
.thanks-page .hero { min-height: 100svh; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-mark { position: absolute; right: -2rem; bottom: 3rem; z-index: 0; }
  .section-shell, .feature-panel, .proof-card, .contact { grid-template-columns: 1fr; }
  .section-index { min-height: auto; }
  .section-code { display: none; }
  .proof-card:nth-child(even) .proof-media { order: initial; }
  .experience-grid { grid-template-columns: 1fr; }
  .experiences-heading { grid-template-columns: 1fr; gap: .5rem; }
  .contact-form { width: 100%; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; padding: .85rem 0; }
  .brand { width: 132px; }
  .brand img { height: 56px; }
  .site-header nav { justify-content: flex-end; max-width: 190px; gap: .35rem .85rem; }
  .site-header nav a { font-size: .78rem; }
  .site-header .nav-contact { padding: 0; border: 0; color: var(--cyan); }
  h1 { font-size: clamp(3.35rem, 18vw, 5.2rem); }
  h2 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero-mark { display: none; }
  .production-line { gap: .42rem; font-size: .62rem; }
  .production-line i { width: 9px; }
  .button { width: 100%; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .text-link { align-self: flex-start; }
  .feature-panel { padding-block: 4rem; }
  .kindroid-frame { aspect-ratio: 4 / 5; }
  .proof-media { min-height: 320px; }
  .proof-copy { padding: 2.4rem 1rem 3.5rem; }
  .experience-card { min-height: 450px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.25rem; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
