/* WALKAWAY STUDIO — single-page studio site. Visual-hierarchy pass.
   Same copy; structure, graphic anchors, section separation, big typographic
   contrast. Palette only: field #0E1114 · ink #F3F1EA · accent #12D98A
   (+ neutral greys #14171A alt-bg, #2A2F36 dividers). */

@font-face { font-family: 'Inter'; src: url('/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --field: #0e1114;
  --alt: #14171a;
  --ink: #f3f1ea;
  --dim: #aab0b6;
  --muted: #71787f;
  --faint: #4a5158;
  --div: #2a2f36;
  --div-soft: #1c2127;
  --green: #12d98a;
  --green-ink: #04231a;
  --maxw: 1120px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--field);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: var(--green-ink); }
svg { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

/* section label */
.label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.85em;
}
.label::before { content: ''; width: 26px; height: 2px; background: var(--green); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: rgba(14, 17, 20, 0.82); border-bottom: 1px solid transparent; transition: border-color 0.15s ease, background 0.15s ease; }
@supports (backdrop-filter: blur(12px)) { .nav { background: rgba(14, 17, 20, 0.6); backdrop-filter: blur(14px); } }
.nav.scrolled { border-bottom-color: var(--div-soft); background: rgba(14, 17, 20, 0.9); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .word { font-weight: 800; letter-spacing: 0.16em; font-size: 0.92rem; }
.brand .word span { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.86rem; font-weight: 600; color: var(--dim); transition: color 0.12s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); min-height: calc(100dvh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding: 70px 0 60px; overflow: hidden; }
.hero-persp { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; pointer-events: none; }
.hero-bar { position: absolute; top: 0; bottom: 0; right: 0; width: 8px; background: var(--green); opacity: 0.9; }
.hero-bar::before { content: ''; position: absolute; inset: 0 8px 0 auto; width: 46vw; max-width: 620px; background: linear-gradient(90deg, transparent, rgba(18, 217, 138, 0.05)); }
.hero .wrap { position: relative; z-index: 2; }
.hero .mark-lg { margin-bottom: clamp(28px, 4vw, 48px); }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em;
  max-width: 15ch;
}
.hero .sub { margin-top: clamp(24px, 3vw, 34px); color: var(--dim); font-size: clamp(1rem, 1.8vw, 1.18rem); max-width: 42ch; }
.scroll-cue { position: absolute; bottom: 34px; left: 30px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.scroll-cue .bar { width: 1px; height: 30px; background: var(--div); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ''; position: absolute; top: -12px; left: 0; width: 1px; height: 12px; background: var(--green); animation: cue 1.7s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes cue { 0% { transform: translateY(0); } 60%, 100% { transform: translateY(42px); } }

/* ---------- sections: alternating bg + dividers + generous padding ---------- */
.section { padding: clamp(88px, 13vw, 168px) 0; border-top: 1px solid var(--div); position: relative; }
.section.alt { background: var(--alt); }
.section-head { display: flex; flex-direction: column; gap: 22px; }
.section-lead { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; max-width: 18ch; }

/* ---------- philosophy ---------- */
.philosophy .blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--div); }
.philosophy .blk { padding: 34px 30px 10px 0; border-right: 1px solid var(--div); }
.philosophy .blk:last-child { border-right: 0; padding-right: 0; }
.philosophy .blk .tick { width: 22px; height: 2px; background: var(--green); margin-bottom: 20px; }
.philosophy p { color: var(--dim); font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.72; }
.pull-quote { margin: clamp(64px, 9vw, 110px) 0; padding-left: clamp(20px, 4vw, 40px); border-left: 3px solid var(--green); max-width: 24ch; }
.pull-quote p { font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); }
.closing { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--dim); max-width: 30ch; }

/* ---------- how we work ---------- */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(44px, 6vw, 72px); }
.method .m { border: 1px solid var(--div); padding: 34px 30px 40px; display: flex; flex-direction: column; min-height: 320px; transition: border-color 0.15s ease; position: relative; }
.method .m::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--div-soft); }
.method .m:hover { border-color: var(--faint); }
.method .no { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--green); line-height: 1; margin: 8px 0 26px; font-variant-numeric: tabular-nums; }
.method h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.method p { color: var(--muted); font-size: 0.98rem; line-height: 1.62; }

/* ---------- the work ---------- */
.work-item { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 68px); align-items: center; margin-top: clamp(40px, 5vw, 60px); }
.work-visual { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--div); background: #0b0e11; overflow: hidden; }
.work-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-meta .kind { color: var(--muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.work-meta .name { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 0; }
.work-meta p { color: var(--dim); font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.62; margin: 20px 0 30px; max-width: 36ch; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem;
  background: var(--green); color: var(--green-ink); border: 1px solid var(--green); padding: 0.9em 1.5em; cursor: pointer;
  transition: opacity 0.12s ease, transform 0.1s ease; font-family: inherit;
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: translateY(1px); }
.btn .arw { transition: transform 0.12s ease; }
.btn:hover .arw { transform: translate(2px, -2px); }

/* ---------- contact ---------- */
.contact .cols { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 56px); align-items: start; }
.contact .invite { color: var(--dim); font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.5; letter-spacing: -0.01em; }
.contact .email { display: inline-block; margin-top: 26px; font-size: clamp(1.2rem, 2.8vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); border-bottom: 1px solid var(--div); padding-bottom: 4px; transition: color 0.12s ease, border-color 0.12s ease; }
.contact .email:hover { color: var(--green); border-color: var(--green); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { background: #0b0e11; border: 1px solid var(--div); color: var(--ink); padding: 0.95em 1.05em; font-family: inherit; font-size: 0.98rem; outline: none; transition: border-color 0.12s ease; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { resize: vertical; min-height: 128px; }
.contact .btn { justify-content: center; }
.form-msg { font-size: 0.9rem; margin-top: 14px; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #d85a30; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--div); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; }
.footer .badge { border: 1px solid var(--div); padding: 3px 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- reveal (snappy) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .philosophy .blocks { grid-template-columns: 1fr; border-top: 0; }
  .philosophy .blk { border-right: 0; border-top: 1px solid var(--div); padding: 30px 0 6px; }
  .method { grid-template-columns: 1fr; }
  .method .m { min-height: 0; }
  .work-item, .contact .cols { grid-template-columns: 1fr; gap: 32px; }
  .work-visual { max-width: 520px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--alt); border-bottom: 1px solid var(--div); padding: 6px 30px 18px; }
  .nav.open .nav-links a { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--div-soft); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .bar::after { animation: none; }
}
