:root {
  --ink: #0B0F08;
  --ink-2: #121710;
  --paper: #F7F8F2;
  --chartreuse: #E4FF4D;
  --lime: #C2D82E;
  --emerald: #2FBF71;
  --pine: #0E3B2E;
  --moss: #5C690F;
  --stone: #9BA48E;
  --slate: #666B5C;
  --line-dark: #1E2419;
  --line-light: #E2E4D8;
  --grad-boost: linear-gradient(105deg, #E4FF4D 0%, #C2D82E 45%, #2FBF71 100%);
  --grad-glow: radial-gradient(ellipse 85% 70% at 72% 0%, rgba(194, 216, 46, 0.26), transparent 65%);
  --meadow: #F1F5DF;
  --grad-meadow: linear-gradient(180deg, #FFFFFF 0%, #F1F5DF 100%);
  --font-head: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "Spline Sans Mono", monospace;
  --container: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: #FFFFFF; font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--lime); color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 18ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.kicker { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.25rem; }
.kicker::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--lime); margin-right: 12px; vertical-align: 6%; }
section { padding: clamp(4.5rem, 10vw, 8rem) 0; }

.btn { display: inline-block; background: transparent; font-family: var(--font-head); font-weight: 600; font-size: 1rem; padding: 0.9rem 1.8rem; border-radius: 6px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-lime { background: var(--grad-boost); color: var(--ink); }
.btn-lime:hover { background: var(--chartreuse); }
.btn-ghost { border-color: var(--line-dark); color: #FFFFFF; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 8, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { width: 140px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: #FFFFFF; text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--lime); }
.nav-links .nav-cta { padding: 0.55rem 1.2rem; color: var(--ink); }
.nav-links .nav-cta:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #FFFFFF; margin: 5px auto; transition: transform 0.2s ease; }

.hero { padding: clamp(5rem, 14vw, 10rem) 0; background-image: var(--grad-glow), radial-gradient(var(--line-dark) 1px, transparent 1px); background-size: auto, 34px 34px; }
h1 em, h2 em { font-style: normal; background: var(--grad-boost); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-light h2 em { background: linear-gradient(var(--lime), var(--lime)) 0 78% / 100% 52% no-repeat; color: var(--ink); padding: 0 0.08em; }
.hero-sub { max-width: 46ch; margin: 1.75rem 0 2.5rem; color: var(--stone); font-size: 1.15rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--stone); margin-top: 1.25rem; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hero .kicker, .hero h1, .hero-sub, .hero-actions, .hero-note { opacity: 0; animation: rise 0.7s ease-out forwards; }
  .hero h1 { animation-delay: 0.12s; }
  .hero-sub { animation-delay: 0.26s; }
  .hero-actions { animation-delay: 0.4s; }
  .hero-note { animation-delay: 0.52s; }
}

.glow-section { position: relative; overflow: hidden; }
.glow-section > .container { position: relative; }
.cursor-glow { position: absolute; top: 0; left: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 216, 46, 0.12), transparent 60%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; will-change: transform, opacity; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-lime { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, color 0.15s ease; }
  .card-grid.reveal-group > *.in { transition: opacity 0.65s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease; }
}

.ticker { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 0.9rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 42s linear infinite; }
.ticker-track span { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--stone); white-space: nowrap; }
.ticker-track em { font-style: normal; color: var(--lime); margin: 0 2.75rem; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.section-cta { margin-top: clamp(2.5rem, 6vw, 4rem); display: flex; align-items: center; gap: 1.25rem 1.75rem; flex-wrap: wrap; }
.section-cta p { color: var(--stone); }
.section-light .section-cta p { color: var(--slate); }

.section-dark { background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { border: 1px solid var(--line-dark); border-radius: 10px; padding: 1.75rem; transition: border-color 0.2s ease; cursor: pointer; }
.card:hover { border-color: var(--emerald); }

@keyframes cta-flash {
  0% { box-shadow: 0 0 0 0 rgba(194, 216, 46, 0.75); }
  70% { box-shadow: 0 0 0 20px rgba(194, 216, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 216, 46, 0); }
}
.btn.flash { animation: cta-flash 0.9s ease-out 2; }
.card .icon { width: 28px; height: 28px; color: var(--lime); margin-bottom: 1.25rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--stone); font-size: 0.95rem; }

.section-light { background: var(--paper); color: var(--ink); }
.section-light .kicker { color: var(--moss); }
.section-light .kicker::before { background: var(--lime); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
.work-card { text-decoration: none; color: inherit; display: block; }
.work-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-light); background: var(--grad-meadow); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .work-shot img { transition: object-position 0.9s ease; }
  .work-card:hover .work-shot img { object-position: bottom; transition: object-position 7s cubic-bezier(0.33, 0, 0.2, 1); }
}
.badge { position: absolute; z-index: 1; top: 12px; left: 12px; background: var(--ink); color: var(--lime); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 4px; }
.work-meta { padding: 1rem 0.25rem 0; }
.work-meta h3::after { content: " ↗"; color: var(--moss); opacity: 0; transition: opacity 0.2s ease; }
.work-card:hover .work-meta h3::after { opacity: 1; }
.work-meta p { color: var(--slate); font-size: 0.92rem; }

.skyline { height: 160px; background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 160'%3E%3Cg fill='%23F1F5DF'%3E%3Crect x='2' y='30' width='16' height='16' opacity='0.45'/%3E%3Crect x='161' y='70' width='16' height='16' opacity='0.5'/%3E%3Crect x='353' y='44' width='16' height='16' opacity='0.45'/%3E%3Crect x='128' y='128' width='16' height='16' opacity='0.7'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 160'%3E%3Cpath d='M0 144 H16 V112 H32 V128 H48 V80 H64 V112 H80 V96 H96 V128 H112 V112 H128 V160 H0 Z' fill='%23F1F5DF'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat-x; background-position: left bottom, left bottom; background-size: 384px 160px, 128px 160px; }
.process.section-light { background: linear-gradient(180deg, var(--meadow) 55%, #FFFFFF 100%); }
.section-sub { color: var(--slate); max-width: 52ch; margin: -1.5rem 0 2.5rem; }
.section-dark .section-sub { color: var(--stone); }
.timeline { position: relative; margin-top: 1rem; }
.timeline-spine { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line-light); }
.timeline-fill { width: 100%; height: 0%; background: var(--grad-boost); }
.timeline-steps { list-style: none; display: flex; flex-direction: column; gap: clamp(4rem, 10vw, 7rem); padding: 2rem 0 3rem; }
.timeline-steps li { position: relative; width: calc(50% - 3.5rem); min-height: 260px; }
.timeline-steps li:nth-child(odd) { margin-right: auto; text-align: right; }
.timeline-steps li:nth-child(even) { margin-left: auto; }
.timeline-steps li::before { content: ""; position: absolute; top: 0.3rem; width: 13px; height: 13px; background: var(--lime); }
.timeline-steps li:nth-child(odd)::before { right: calc(-3.5rem - 6.5px); }
.timeline-steps li:nth-child(even)::before { left: calc(-3.5rem - 6.5px); }
.timeline-steps .ghost-num { position: absolute; top: -0.08em; font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 13vw, 11rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 2px #E7EDD2; pointer-events: none; user-select: none; opacity: 0; transform: translateY(70px); transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1); }
.timeline-steps li.in .ghost-num { opacity: 1; transform: none; }
.timeline-steps li:nth-child(odd) .ghost-num { left: calc(100% + 6rem); }
.timeline-steps li:nth-child(even) .ghost-num { right: calc(100% + 6rem); }
.timeline-steps .ghost-num .gn { display: block; will-change: transform; }
.timeline-steps h3 { margin-bottom: 0.5rem; }
.timeline-steps p { color: var(--slate); max-width: 44ch; }
.timeline-steps li:nth-child(odd) p { margin-left: auto; }
.step-num { font-family: var(--font-mono); font-weight: 500; color: var(--moss); display: block; margin-bottom: 0.75rem; }

.faq .container { max-width: 860px; }
.faq-list { display: grid; gap: 0.9rem; }
.faq-list details { border: 1px solid var(--line-dark); border-radius: 10px; transition: border-color 0.2s ease; }
.faq-list details:hover { border-color: var(--stone); }
.faq-list details[open] { border-color: var(--emerald); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--lime); font-size: 1.4rem; line-height: 1; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 1.4rem 1.2rem; color: var(--stone); font-size: 0.95rem; max-width: 65ch; }

.contact { background-image: var(--grad-glow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.call-list-title { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); margin-top: 2rem; margin-bottom: 0.9rem; }
.call-list { list-style: none; display: grid; gap: 0.75rem; }
.call-list li { position: relative; padding-left: 1.6rem; color: var(--stone); font-size: 0.95rem; }
.call-list li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-family: var(--font-head); font-weight: 600; }
.form-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 1.75rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.form-steps li { color: var(--stone); opacity: 0.45; }
.form-steps li.active { color: var(--lime); opacity: 1; }
.form-steps li.done { opacity: 0.8; }
fieldset.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-nav { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.form-nav .btn-next, .form-nav .btn-submit { flex: 1; border: 0; }
.form-nav .btn-back { flex: 0 0 auto; }
.field .opt { color: var(--stone); opacity: 0.7; text-transform: none; letter-spacing: 0.02em; }
.field-label { display: block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); margin-bottom: 0.6rem; }
.radio-group { display: grid; gap: 0.5rem; }
.radio { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: 6px; padding: 0.7rem 1rem; font-size: 0.95rem; color: #FFFFFF; cursor: pointer; transition: border-color 0.15s ease; }
.radio:hover { border-color: var(--stone); }
.field .radio input[type="radio"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; padding: 0; border: 1.5px solid var(--stone); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color 0.15s ease, border-width 0.15s ease; }
.field .radio input[type="radio"]:checked { border: 5px solid var(--lime); }
.field .radio input[type="radio"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.radio:has(input:checked) { border-color: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-copy p:last-child { color: var(--stone); max-width: 40ch; }
.contact h2 { margin-bottom: 1.25rem; }
.hp { position: absolute; left: -9999px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 6px; color: #FFFFFF; font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime); outline-offset: 0; border-color: transparent; }
.field input.invalid, .field textarea.invalid { border-color: #E24B4A; }
.form-error { color: #F09595; font-size: 0.9rem; margin-bottom: 1rem; }
.btn-submit { width: 100%; border: 0; }
.form-success { border: 1px solid var(--lime); border-radius: 10px; padding: 2.5rem; }
.form-success h3 { color: var(--lime); margin-bottom: 0.5rem; }

.footer { border-top: 0; padding: 0 0 2.5rem; }
.footer::before { content: ""; display: block; height: 2px; background: var(--grad-boost); margin-bottom: 2.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { color: var(--stone); font-family: var(--font-mono); font-size: 0.78rem; }
.footer img { width: 110px; height: auto; }

.reveal-group > * { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.card-grid.reveal-group > * { transform: translateY(32px) scale(0.96); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-group > *.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-group > *, .card-grid.reveal-group > * { opacity: 1; transform: none; transition: none; }
  .timeline-steps .ghost-num { opacity: 1; transform: none; transition: none; }
  .btn.flash { animation: none; }
  .btn, .work-shot img { transition: none; }
  .ticker-track { animation: none; }
  .cursor-glow { display: none; }
}

@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: flex-start; padding: 1.5rem 24px 2rem; gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .skyline { height: 120px; background-size: 288px 120px, 96px 120px; }
  .timeline-spine { left: 16px; margin-left: 0; }
  .timeline-steps li { width: auto; min-height: 0; margin: 0 0 0 48px; }
  .timeline-steps li:nth-child(odd) { margin-right: 0; margin-left: 48px; text-align: left; }
  .timeline-steps li:nth-child(odd) p { margin-left: 0; }
  .timeline-steps li:nth-child(odd)::before, .timeline-steps li:nth-child(even)::before { right: auto; left: -37.5px; }
  .timeline-steps .ghost-num { display: none; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
