/* Arrizurieta Law — one-page landing. Editorial grid (hairlines + mono labels), colors from the logo. */
:root {
  --bg: #f3f6fa;
  --bg-2: #e8eef6;
  --paper: #ffffff;
  --ink: #0d1a2b;
  --text: #2a3646;
  --muted: #5f6c7d;
  --line: #d3dce7;
  --blue: #2c67ae;
  --blue-deep: #1f4f8b;
  --sky: #55a9dd;
  --navy: #12345a;
  --navy-2: #0c2541;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --max: 1440px;
  --pad: clamp(16px, 2.6vw, 40px);
  --head-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id] { scroll-margin-top: var(--head-h); }

.frame { max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.cell { padding: var(--pad); }

.label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }

/* [ BRACKET → ] links */
.bracket { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.bracket span { padding: 6px 14px; transition: background .2s, color .2s; }
.bracket:hover span, .bracket.solid span { background: var(--blue); color: #fff; }
.bracket.solid:hover span { background: var(--blue-deep); }
.dark .bracket { color: #fff; }
.dark .bracket:hover span { background: #fff; color: var(--blue); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.brand .logo-white { display: none; }
/* header floating over the hero photo (until scrolled past it) */
.site-header.over:not(.solid) { background: linear-gradient(180deg, rgba(8,10,14,.55), rgba(8,10,14,0)); border-bottom-color: rgba(255,255,255,.18); }
.site-header.over:not(.solid) .frame { border-color: rgba(255,255,255,.18); }
.site-header.over:not(.solid) .logo-color { display: none; }
.site-header.over:not(.solid) .logo-white { display: block; }
.site-header.over:not(.solid) .nav a, .site-header.over:not(.solid) .lang > button { color: #fff; border-color: rgba(255,255,255,.18); }
.site-header.over:not(.solid) .lang { border-color: rgba(255,255,255,.18); }
.site-header.over:not(.solid) .nav a:hover, .site-header.over:not(.solid) .lang > button:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-header.over:not(.solid) .lang > button svg { color: rgba(255,255,255,.7); }
.nf-wrap { padding-top: var(--head-h); }
.site-header .frame { display: flex; align-items: stretch; height: var(--head-h); }
.brand { display: flex; align-items: center; padding: 0 var(--pad); margin-right: auto; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; }
.nav a { display: flex; align-items: center; padding: 0 26px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); transition: background .2s, color .2s; }
.nav a:hover { background: var(--bg-2); color: var(--blue); }
.book { display: flex; align-items: center; gap: 12px; padding: 0 28px; background: var(--blue); color: #fff; font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; transition: background .2s; }
.book:hover { background: var(--blue-deep); }

/* language switch */
.lang { position: relative; display: flex; border-left: 1px solid var(--line); }
.lang > button { display: flex; align-items: center; gap: 10px; padding: 0 24px; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink); transition: background .2s; }
.lang > button:hover { background: var(--bg-2); }
.lang > button svg { width: 12px; height: 12px; color: var(--muted); transition: transform .2s; }
.lang .short { display: none; }
.lang-menu { position: absolute; top: 100%; right: -1px; min-width: 190px; background: var(--paper); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 5; }
.lang:hover .lang-menu, .lang:focus-within .lang-menu, .lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang:hover > button svg, .lang.open > button svg { transform: rotate(180deg); }
.lang-menu a { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink); }
.lang-menu a:last-child { border-bottom: 0; }
.lang-menu a span { color: var(--muted); }
.lang-menu a:hover { background: var(--blue); color: #fff; }
.lang-menu a:hover span { color: rgba(255,255,255,.8); }
.lang-menu a[aria-current] { color: var(--blue); }

/* ---------- Full-screen hero (photo) ---------- */
.hero-full { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; background: #111; border-bottom: 1px solid var(--line); }
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: contrast(1.1) brightness(.92); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,12,.7) 0%, rgba(6,8,12,.42) 45%, rgba(6,8,12,.08) 80%); }
.hero-inner { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: var(--head-h); border-color: rgba(255,255,255,.14) !important; }
.hero-inner .hero-meta { display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--pad); border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-inner .meta { color: rgba(255,255,255,.82); }
.hero-main { align-self: center; padding: var(--pad); max-width: 860px; }
.hero-main h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-main h1 .ln > span { display: block; }
.hero-main h1 { color: #fff; font-size: clamp(50px, 7.4vw, 118px); text-transform: uppercase; letter-spacing: -0.045em; line-height: .93; }
.hero-main h1 .accent { color: var(--sky); }
.hero-main p { margin: 30px 0 34px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.86); max-width: 460px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.hero-links .bracket { color: #fff; }
.hero-links .bracket:not(.solid):hover span { background: #fff; color: var(--ink); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: var(--pad); }
.hero-card { display: flex; gap: 14px; align-items: flex-start; background: rgba(8,10,14,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); padding: 16px 20px; max-width: 340px; font-size: 15px; color: #fff; transition: background .2s; }
.hero-card:hover { background: var(--blue); }
.hero-card small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.hero-card:hover small { color: #fff; }
.hero-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-top: 5px; flex: none; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - var(--head-h)); }
.hero-left { display: grid; grid-template-rows: auto 1fr auto; border-right: 1px solid var(--line); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(46px, 6.2vw, 100px); text-transform: uppercase; align-self: center; padding: var(--pad); letter-spacing: -0.045em; line-height: .95; }
.hero h1 .accent { color: var(--blue); }
.hero-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.hero-foot .cell + .cell { border-left: 1px solid var(--line); }
.hero-foot p { font-size: 15.5px; max-width: 320px; }
.hero-foot .links { display: grid; align-content: center; justify-items: start; gap: 10px; }

/* drawn figures (navy + logo blues, no photos) */
.figure { position: relative; overflow: hidden; background: var(--navy); min-height: 320px; }
.figure svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.fig-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: var(--blue); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* real photos, full black & white */
.figure.photo { background: #1a1a1a; }
.figure.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06); }
.fig-tag { position: absolute; left: var(--pad); bottom: var(--pad); background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; padding: 8px 12px; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: calc(var(--pad) * 1.2) var(--pad); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font-size: clamp(52px, 5.6vw, 88px); color: var(--blue); letter-spacing: -0.05em; line-height: 1; margin-bottom: 18px; }

/* ---------- The Firm ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.about > * + * { border-left: 1px solid var(--line); }
.about .lead { font-size: clamp(22px, 2vw, 28px); color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.about .cell p:not(.lead) { margin-bottom: 26px; }
.list { list-style: none; }
.list li { display: flex; gap: 22px; align-items: baseline; padding: 22px var(--pad); border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.list li b { font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--blue); }
.quote-fig { display: grid; grid-template-rows: 1fr auto; }
.quote-fig .figure { min-height: 320px; }
.quote { background: var(--blue); color: #fff; padding: var(--pad); }
.quote p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 22px; }
.quote span { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- Values (blue) ---------- */
.on-blue { background: var(--blue); color: #fff; border-bottom: 1px solid var(--line); }
.on-blue .frame { border-color: rgba(255,255,255,.25); }
.on-blue h2 { color: #fff; }
.on-blue .label { color: rgba(255,255,255,.85); }
.values-top { padding: calc(var(--pad) * 1.6) var(--pad) var(--pad); }
.values-top h2 { font-size: clamp(44px, 6vw, 96px); max-width: 1000px; margin-top: 22px; }
.values-bot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.3); }
.values-bot > div { padding: var(--pad); font-size: 17px; max-width: 540px; color: rgba(255,255,255,.9); }
.values-bot ul { list-style: none; border-left: 1px solid rgba(255,255,255,.3); }
.values-bot li { display: flex; justify-content: space-between; padding: 20px var(--pad); border-bottom: 1px solid rgba(255,255,255,.3); font-family: var(--mono); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.values-bot li:last-child { border-bottom: 0; }
.band .figure { min-height: 0; aspect-ratio: 16 / 6.5; }

/* ---------- Stories (only shown with real reviews) ---------- */
.stories { display: grid; grid-template-columns: 1fr 1fr; }
.story { padding: var(--pad); border-bottom: 1px solid var(--line); }
.story:nth-child(odd) { border-right: 1px solid var(--line); }
.story blockquote { font-size: clamp(20px, 1.8vw, 26px); color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 22px; }
.story figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.story figcaption span { color: var(--ink); }

/* ---------- Section head ---------- */
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: calc(var(--pad) * 1.6) var(--pad) var(--pad); }
.head .label { display: block; margin-bottom: 22px; }
.head h2 { font-size: clamp(44px, 5.6vw, 88px); }
.head .note { max-width: 340px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Practice ---------- */
.practice { display: grid; grid-template-columns: repeat(3, 1fr); }
.practice .p-card:nth-child(n+4) { border-top: 1px solid var(--line); }
.practice .p-card:nth-child(4) { border-left: 0; }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.p-top .tagline { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.p-card .bracket { margin-top: auto; padding-top: 8px; }
.p-card { display: flex; flex-direction: column; padding: var(--pad); min-height: 380px; transition: background .25s; }
.p-card + .p-card { border-left: 1px solid var(--line); }
.p-card .num { font-size: clamp(56px, 5vw, 80px); color: #a7b4c4; letter-spacing: -0.05em; line-height: 1; transition: color .25s; }
.p-card h3 { font-size: clamp(26px, 2.4vw, 36px); margin: 52px 0 14px; }
.p-card p { color: var(--muted); font-size: 15px; max-width: 380px; margin-bottom: 22px; }
.p-card ul { list-style: none; border-top: 1px solid var(--line); margin-bottom: 28px; }
.p-card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.p-card ul { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.p-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.p-card:hover { background: var(--paper); }
.p-card:hover .num { color: var(--blue); }

/* ---------- Process (dark) ---------- */
.dark { background: var(--navy); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .label { color: var(--sky); }
.dark .frame, .dark .row { border-color: rgba(255,255,255,.16); }
.process-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: calc(var(--pad) * 1.6) var(--pad) var(--pad); border-bottom: 1px solid rgba(255,255,255,.16); }
.process-top h2 { font-size: clamp(44px, 5.6vw, 88px); margin-top: 22px; max-width: 900px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: var(--pad); min-height: 250px; display: flex; flex-direction: column; }
.step + .step { border-left: 1px solid rgba(255,255,255,.16); }
.step .n { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; color: var(--sky); }
.step h3 { font-size: clamp(24px, 2.2vw, 32px); margin: auto 0 12px; padding-top: 56px; }
.step p { color: rgba(255,255,255,.75); font-size: 15px; max-width: 360px; }

/* ---------- Inquiry ---------- */
.inquiry { display: grid; grid-template-columns: 1.45fr 1fr; }
.inquiry form { padding: var(--pad); border-right: 1px solid var(--line); background: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { border-bottom: 1px solid var(--line); padding: 18px 0 10px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; outline: none; font-size: 18px; color: var(--ink); padding: 4px 0; }
.field select { cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }
.field:focus-within { border-color: var(--blue); }
.field:focus-within label { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.send { margin-top: 26px; display: flex; align-items: stretch; }
.send button { border: 1px solid var(--blue); background: var(--blue); color: #fff; padding: 14px 30px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.send button:hover { background: var(--blue-deep); }
.send button:disabled { opacity: .6; cursor: wait; }
.send .arrow { display: grid; place-items: center; padding: 0 16px; border: 1px solid var(--blue); border-left: 0; color: var(--blue); font-family: var(--mono); }
.inquiry form.is-sent > :not(.thanks-panel) { display: none; }
.thanks-panel { min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: var(--pad) 0; outline: none; }
.thanks-h { font-size: clamp(48px, 6vw, 88px); color: var(--blue); letter-spacing: -0.045em; line-height: 1; }
.thanks-p { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); max-width: 520px; letter-spacing: -0.01em; }
.thanks-again { margin-top: 10px; background: none; border: 1px solid var(--ink); padding: 12px 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.thanks-again:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); font-size: 15px; }
.form-status.ok { display: block; border-color: var(--blue); color: var(--ink); background: var(--bg-2); }
.form-status.err { display: block; border-color: #b4232c; color: #8a1a21; background: #fdf1f1; }
.info { display: grid; grid-template-rows: auto auto auto 1fr; }
.info > div { padding: 22px var(--pad); border-bottom: 1px solid var(--line); }
.info small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info > div > a, .info > div > span { font-size: 20px; color: var(--ink); letter-spacing: -0.01em; word-break: break-word; }
.info > div > a:hover { color: var(--blue); }
.info > .figure { padding: 0; border-bottom: 0; min-height: 260px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; }
.site-footer .frame { border-color: rgba(255,255,255,.25); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: var(--pad); border-bottom: 1px solid rgba(255,255,255,.25); }
.f-top img { height: 46px; width: auto; }
.f-top nav { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.f-top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-big { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: calc(var(--pad) * 1.3) var(--pad) var(--pad); border-bottom: 1px solid rgba(255,255,255,.25); overflow: hidden; }
.f-big .word { font-size: clamp(56px, 13.6vw, 206px); letter-spacing: -0.06em; line-height: .8; text-transform: uppercase; white-space: nowrap; }
.f-big .tag { font-size: clamp(18px, 1.8vw, 26px); text-align: right; line-height: 1.1; letter-spacing: -0.02em; flex: none; padding-bottom: 6px; }
.f-legal { padding: 20px var(--pad); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(255,255,255,.25); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--pad); font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* footer columns */
.f-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; border-bottom: 1px solid rgba(255,255,255,.25); }
.f-cols > div { padding: var(--pad); }
.f-cols > div + div { border-left: 1px solid rgba(255,255,255,.25); }
.f-cols h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 20px; }
.f-cols ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.f-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-cols p { font-size: 15px; color: rgba(255,255,255,.9); max-width: 300px; }
.f-cols .f-logo { height: 40px; width: auto; margin-bottom: 20px; }
.f-cols .f-lang { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }

/* 404 */
.nf { min-height: 70vh; display: grid; grid-template-columns: 1fr 1fr; }
.nf .cell { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.nf .nf-code { border-right: 1px solid var(--line); }
.nf-title { font-size: clamp(32px, 4vw, 56px); }
.cf-turnstile { margin-top: 22px; min-height: 65px; }
.nf .code { font-size: clamp(120px, 18vw, 260px); color: var(--blue); letter-spacing: -0.07em; line-height: .85; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr 1fr; }
  .about .quote-fig { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .f-cols > div:nth-child(3) { border-left: 0; }
  .f-cols > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .stats, .about, .values-bot, .stories { grid-template-columns: 1fr; }
  .stat + .stat, .about > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .practice { grid-template-columns: 1fr; }
  .practice .p-card + .p-card { border-left: 0; border-top: 1px solid var(--line); }
  .values-bot ul { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .story:nth-child(odd) { border-right: 0; }
  .band .figure { aspect-ratio: 4 / 3; }
  .hero, .inquiry, .nf { grid-template-columns: 1fr; }
  .nf .nf-code { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; }
  .hero-left { border-right: 0; }
  .hero .figure { min-height: 380px; border-top: 1px solid var(--line); }
  .step + .step { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .p-card, .step { min-height: 0; }
  .p-card h3 { margin-top: 32px; }
  .step h3 { padding-top: 32px; }
  .inquiry form { border-right: 0; border-bottom: 1px solid var(--line); }
  .head, .process-top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --head-h: 60px; }
  .hero-inner .hero-meta { flex-direction: column; gap: 2px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,8,12,.35), rgba(6,8,12,.7)); }
  .practice { grid-template-columns: 1fr; }
  .practice .p-card + .p-card { border-left: 0; border-top: 1px solid var(--line); }
  .f-cols { grid-template-columns: 1fr; }
  .f-cols > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .brand img { height: 30px; }
  .book { padding: 0 16px; font-size: 11.5px; }
  .book .arr { display: none; }
  .lang > button { padding: 0 14px; }
  .lang .full { display: none; }
  .lang .short { display: inline; }
  .hero-foot, .form-row { grid-template-columns: 1fr; }
  .hero-foot .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .hero-meta { flex-direction: column; gap: 4px; }
  .f-big { flex-direction: column; align-items: flex-start; }
  .f-big .tag { text-align: left; }
  .fig-bar { flex-direction: column; gap: 2px; }
}

/* ---------- depth & motion ---------- */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
.arw { display: inline-block; font-style: normal; transition: transform .3s var(--ease); }
a:hover .arw, button:hover .arw { transform: translateX(4px); }

/* primary buttons: lift, shadow, light sheen */
.book, .send button, .thanks-again, .bracket.solid span { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; }
.book::after, .send button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.book:hover::after, .send button:hover::after { transform: translateX(120%); }
.send button:hover, .thanks-again:hover, .bracket.solid:hover span { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(18, 52, 90, .55); }
.send button:active, .thanks-again:active, .bracket.solid:active span, .book:active { transform: translateY(0); box-shadow: none; }

/* [ bracket ] links open up slightly */
.bracket { transition: gap .3s var(--ease); }
.bracket:hover { gap: 18px; }
.bracket:not(.solid) span { transition: background .2s, color .2s, box-shadow .25s; }
.bracket:not(.solid):hover span { box-shadow: 0 8px 18px -12px rgba(18, 52, 90, .6); }

/* nav underline draws from the center */
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 18px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.lang-menu a { transition: background .2s, color .2s, padding .25s var(--ease); }
.lang-menu a:hover { padding-left: 24px; }

/* hero card */
.hero-card { transition: background .25s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.hero-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7); }
.hero-card .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); } 50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, .05); } }

/* practice cards: blue bar slides in, title nudges */
.p-card { position: relative; }
.p-card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.p-card:hover::before { transform: scaleX(1); }
.p-card h3 { transition: transform .35s var(--ease); }
.p-card:hover h3 { transform: translateX(6px); }
.p-card li { transition: padding .3s var(--ease), color .2s; }
.p-card li:hover { padding-left: 8px; color: var(--blue); }

/* list rows and values rows */
.list li { transition: background .25s, padding .3s var(--ease); }
.list li:hover { background: var(--paper); padding-left: calc(var(--pad) + 6px); }
.values-bot li { transition: background .25s, padding .3s var(--ease); }
.values-bot li:hover { background: rgba(255, 255, 255, .08); padding-left: calc(var(--pad) + 6px); }

/* photos: slow zoom on hover */
.figure.photo img { transition: transform 1.2s var(--ease); }
.figure.photo:hover img { transform: scale(1.04); }

/* form fields: underline grows in blue */
.field { position: relative; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }

/* keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* hero entrance: photo settles, headline lines rise one by one */
.hero-full > img { animation: settle 2.4s var(--ease) both; }
.hero-main h1 .ln > span { animation: rise 1s var(--ease) both; }
.hero-main h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero-main h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.hero-main p { animation: fadeup .9s var(--ease) .45s both; }
.hero-links { animation: fadeup .9s var(--ease) .6s both; }
.hero-bottom { animation: fadeup .9s var(--ease) .8s both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* scroll reveals: a touch slower and smoother */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .figure.photo:hover img { transform: none; }
}

/* ---------- depth: raised surfaces, gradients, soft shadows ---------- */
:root {
  --shadow-1: 0 1px 2px rgba(13, 26, 43, .06), 0 2px 6px rgba(13, 26, 43, .04);
  --shadow-2: 0 1px 2px rgba(13, 26, 43, .06), 0 14px 32px -16px rgba(13, 26, 43, .28);
  --shadow-3: 0 2px 4px rgba(13, 26, 43, .06), 0 26px 50px -22px rgba(13, 26, 43, .38);
}
body { background: radial-gradient(1200px 600px at 85% -10%, #e4ecf6 0%, transparent 60%), var(--bg); }

/* header: soft shadow once solid */
.site-header.solid, .site-header:not(.over) { box-shadow: 0 6px 24px -14px rgba(13, 26, 43, .35); }

/* numbers row: raised tiles */
.stats { gap: 14px; padding: var(--pad); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats .stat { background: linear-gradient(180deg, #fff, #f8fafd); border: 1px solid var(--line); box-shadow: var(--shadow-2); border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; }
.stat .n { background: linear-gradient(160deg, var(--sky) 0%, var(--blue) 45%, var(--navy) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* practice: raised cards with gaps */
.practice { gap: 16px; padding: var(--pad); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.practice .p-card { background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); border: 1px solid var(--line) !important; box-shadow: var(--shadow-2); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; }
.practice .p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); background: #fff; }
.p-card .num { background: linear-gradient(160deg, #c3cfdc, #8d9aab); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-card:hover .num { background-image: linear-gradient(160deg, var(--sky), var(--blue) 50%, var(--navy)); }

/* the firm: lifted list panel + quote with depth */
.about .list { background: linear-gradient(180deg, #fff, #f7f9fc); }
.quote-fig { box-shadow: var(--shadow-3); position: relative; z-index: 1; }
.quote { background: radial-gradient(500px 220px at 0% 0%, rgba(85, 169, 221, .35), transparent 60%), linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%); }

/* blue values block: glow + diagonal light instead of flat color */
.on-blue { background:
  radial-gradient(900px 420px at 12% 0%, rgba(85, 169, 221, .35), transparent 60%),
  radial-gradient(700px 400px at 100% 100%, rgba(18, 52, 90, .55), transparent 60%),
  linear-gradient(135deg, #2f6db6 0%, var(--blue) 45%, var(--blue-deep) 100%); }
.values-bot ul { background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }

/* buttons: gradient + top highlight */
.book, .send button, .bracket.solid span { background: linear-gradient(180deg, #3574bf 0%, var(--blue) 55%, var(--blue-deep) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 14px -8px rgba(18, 52, 90, .6); }
.book:hover, .send button:hover, .bracket.solid:hover span { background: linear-gradient(180deg, #3a7ccb 0%, #2f6db6 55%, var(--blue-deep) 100%); }
.send .arrow { background: #fff; box-shadow: var(--shadow-1); }

/* contact: form on a raised panel */
.inquiry { padding: var(--pad); gap: 16px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.inquiry form { border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.info { background: linear-gradient(180deg, #fff, #f7f9fc); border: 1px solid var(--line); box-shadow: var(--shadow-2); }

/* photos: gentle edge vignette */
.figure.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(0, 0, 0, .35); }
.figure.photo .fig-bar, .figure.photo .fig-tag { z-index: 2; }

/* footer: deeper blue with a soft glow */
.site-footer { background:
  radial-gradient(800px 400px at 90% 0%, rgba(85, 169, 221, .28), transparent 60%),
  linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 70%, var(--navy) 100%); }
.f-big .word { text-shadow: 0 18px 40px rgba(12, 37, 65, .35); }

@media (max-width: 960px) {
  .inquiry { padding: 12px; }
  .inquiry form { border-bottom: 1px solid var(--line); }
}
