/* Layout: one 1360px column, hairline-ruled sections on a deep green-black ground; rings carry the motion. */
:root {
  --bg: #0d1715;
  --bg-raised: #12221d;
  --bg-panel: #0f1b18;
  --line: #1e2f29;
  --line-strong: #2f4a3f;
  --fg: #e8efe9;
  --fg-soft: #c9d6cf;
  --muted: #b3c3bb;
  --faint: #8fa39a;
  --accent: #9fd36b;
  --accent-ink: #0d1715;
  --font-display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1360px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; font-weight: 300; margin: 0; }
p { margin: 0; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; padding-top: 22px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.brand-name { font-size: 20px; letter-spacing: 0.42em; margin-right: -0.42em; font-weight: 400; }
.brand-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.5em; margin-right: -0.5em; color: var(--accent); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.status { color: var(--faint); font-size: 13px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 400; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-solid { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.btn-solid:hover { background: #b5e386; color: var(--accent-ink); }
.link-line { border-bottom: 1px solid var(--line-strong); padding: 10px 2px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg); width: 46px; height: 46px; border-radius: 999px; cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { display: none; }

.announce { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(159,211,107,.07), rgba(13,23,21,0) 35%, rgba(13,23,21,0) 65%, rgba(159,211,107,.07)); padding: 16px 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 2; }
.announce b { color: var(--accent); font-weight: 500; }
.announce .tracks { color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.announce:hover { border-color: var(--line-strong); color: var(--fg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero canvas, .band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero canvas { touch-action: pan-y; }
.hero-inner { position: relative; z-index: 1; min-height: clamp(560px, 78vh, 780px); display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-main { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-block: 72px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.03; letter-spacing: -0.022em; max-width: 640px; }
.hero-side { max-width: 350px; display: flex; flex-direction: column; gap: 24px; }
.hero-side p { font-size: 19px; line-height: 1.5; color: var(--muted); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 26px; border-top: 1px solid var(--line); }
.hero-foot > span { font-size: 14px; color: var(--faint); }
.caps { display: flex; flex-wrap: wrap; gap: 10px 34px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--fg-soft); }
.hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }

.page-hero .hero-inner { min-height: clamp(380px, 52vh, 520px); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 860px; }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; line-height: 1.55; }
.page-hero .hero-main { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 22px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(88px, 11vw, 140px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head h2, .h2 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -0.015em; line-height: 1.08; max-width: 680px; }
.section-head p { max-width: 400px; color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 20px; }
.split > div { background: var(--bg-panel); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split h3 { font-size: clamp(26px, 2.4vw, 32px); }
.split p { color: var(--muted); font-size: 17px; max-width: 480px; }
.split .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }

.practice-list { border-top: 1px solid var(--line); }
.practice-row { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.3fr) 32px; gap: 24px; align-items: baseline; padding-block: 30px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.practice-row:hover { color: var(--fg); background: linear-gradient(90deg, rgba(159,211,107,.05), transparent 70%); }
.practice-row .num { font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.practice-row .name { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.practice-row .desc { color: var(--muted); font-size: 16px; line-height: 1.55; }
.practice-row .arrow { color: var(--accent); font-size: 20px; transition: transform .25s; }
.practice-row:hover .arrow { transform: translateX(4px); }

.band { position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-raised); }
.band-inner { position: relative; z-index: 1; padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px; pointer-events: none; }
.band-inner a { pointer-events: auto; }
.band-copy { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.band h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.band p { color: var(--muted); font-size: 17px; }
.band-action { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 48px; margin-top: 20px; }
.pillars > div { border-top: 1px solid var(--line-strong); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pillars > div:first-child { border-top-color: var(--accent); }
.pillars h3 { font-size: 24px; font-weight: 400; }
.pillars p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--line-strong); padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--fg-soft); }

.closing { padding-block: clamp(110px, 13vw, 170px) clamp(90px, 10vw, 130px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.closing h2 { font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.025em; max-width: 900px; }
.closing p { color: var(--muted); max-width: 540px; font-size: 18px; }

/* services detail */
.practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.practice:last-child { border-bottom: 1px solid var(--line); }
.practice .head { display: flex; flex-direction: column; gap: 16px; }
.practice h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.012em; line-height: 1.12; }
.practice .head p { color: var(--muted); font-size: 17px; max-width: 520px; }
.cover-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.cover { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cover li { padding-block: 13px; border-bottom: 1px solid var(--line); display: flex; gap: 16px; color: var(--fg-soft); }
.cover li::before { content: "—"; color: var(--accent); flex: none; }

/* about */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 22px; font-size: 18px; color: var(--fg-soft); }
.prose p:first-child { font-size: clamp(21px, 2vw, 26px); line-height: 1.45; color: var(--fg); font-weight: 300; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.creds { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.creds div { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.creds dt, .creds .k { color: var(--faint); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-aside .phone { font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
form.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea, .field select { font: inherit; font-weight: 300; color: var(--fg); background: var(--bg-panel); border: 1px solid var(--line-strong); border-radius: 4px; padding: 14px 16px; min-height: 50px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(159,211,107,.15); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { color: var(--faint); font-size: 13px; }
.form-foot button { border: 0; cursor: pointer; font-family: inherit; }
.hidden-field { position: absolute; left: -9999px; }
.form-note { grid-column: 1 / -1; border: 1px solid var(--line-strong); padding: 14px 16px; color: var(--fg-soft); font-size: 15px; }

/* privacy */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: var(--fg-soft); }
.legal h2 { font-size: 22px; font-weight: 400; color: var(--fg); margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 17px; font-weight: 500; color: var(--fg); margin-top: 8px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--accent); }
.legal .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.footer-inner { padding-block: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: 13px; color: var(--faint); }
.footer-inner nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-inner a { color: var(--faint); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .status { display: none; }
  .practice-row { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .practice-row .desc { grid-column: 2 / 3; }
  .practice-row .arrow { grid-row: 1; grid-column: 3; }
  .practice, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-right .btn { display: none; }
  .brand { align-items: flex-start; grid-column: 1; grid-row: 1; }
  .nav-right { grid-column: 2; }
  .menu-btn { display: inline-flex; }
  .mobile-menu[data-open="true"] { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 8px; }
  .mobile-menu a { padding-block: 12px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .announce { padding: 14px 16px; }
  .announce .tracks { display: none; }
  .hero-main { padding-block: 48px; }
  form.enquiry { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
