:root {
  --paper: #F0ECE1;
  --paper-hi: #F6F3EB;
  --paper-2: #E8E2D3;
  --paper-3: #DCD3BF;
  --ox: #5A1912;
  --ox-2: #702619;
  --ox-deep: #3F100B;
  --ink: #2B1814;
  --text: #4A3A34;
  --muted: #7D6B63;
  --stone: #B8AC93;
  --gold: #C9A45C;
  --line: rgba(90, 25, 18, .14);
  --line-2: rgba(90, 25, 18, .24);
  --on-ox: #F0ECE1;
  --on-ox-2: rgba(240, 236, 225, .72);
  --on-ox-line: rgba(240, 236, 225, .18);

  --f-display: "EB Garamond", "Garamond", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; margin: 0; color: var(--ox); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.55rem; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ox); color: var(--on-ox); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Scroll progress */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 80; background: var(--ox); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }

/* Drafting rulers */
.rail { position: absolute; top: 0; bottom: 0; width: 38px; z-index: 5; pointer-events: none; display: none; overflow: hidden; }
.rail--l { left: 0; border-right: 1px solid var(--line); }
.rail--r { right: 0; border-left: 1px solid var(--line); }
.rail__track {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8.4px);
  background-size: 12px 100%, 7px 100%;
  background-repeat: repeat-y;
}
.rail--l .rail__track { background-position: right top, right top; }
.rail--r .rail__track { background-position: left top, left top; }
.rail::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16px; background: var(--nums) no-repeat 0 0; pointer-events: none; }
.rail--l::after { left: 2px; }
.rail--r::after { right: 2px; }
@media (min-width: 1260px) { .rail { display: block; } }

/* Kicker line (icon + short label) */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 400 1.05rem/1 var(--f-display); color: var(--ox); margin-bottom: 18px; }
.kicker svg { width: 22px; height: 22px; flex: none; }
.kicker svg circle { fill: var(--ox); }
.kicker svg path { fill: none; stroke: var(--paper); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hero .kicker { line-height: 1.3; }
.hero .kicker span { text-wrap: balance; }
.kicker--light { color: var(--on-ox); }
.kicker--light svg circle { fill: var(--on-ox); }
.kicker--light svg path { stroke: var(--ox); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.25em; border-radius: 10px;
  font: 500 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ox { background: var(--ox); color: var(--on-ox); box-shadow: 0 10px 24px -10px rgba(90,25,18,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--ox:hover { background: var(--ox-2); }
.btn--soft { background: var(--paper-2); color: var(--ox); }
.btn--soft:hover { background: var(--paper-3); }
.btn--paper { background: var(--paper); color: var(--ox); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.btn--paper:hover { background: #fff; }
.btn--outline-light { border-color: var(--on-ox-line); color: var(--on-ox); }
.btn--outline-light:hover { border-color: var(--on-ox); }
.btn--sm { padding: .6em 1em; font-size: .94rem; }
.btn--lg { padding: .95em 1.4em; font-size: 1.04rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(240, 236, 225, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ox); }
.brand img { width: 42px; filter: drop-shadow(0 1px 1px rgba(63,16,11,.25)); }
.brand span { font: 500 1.35rem/1 var(--f-display); letter-spacing: .01em; white-space: nowrap; }
.brand small { font-size: .7em; color: var(--muted); }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--text); font-size: .98rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ox); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.top__actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.lang { display: flex; background: var(--paper-2); border-radius: 9px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 .78rem/1 var(--f-body); padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--paper-hi); color: var(--ox); box-shadow: 0 1px 2px rgba(90,25,18,.15); }

/* Mobile menu */
.menu-btn { display: none; position: relative; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--paper-2); cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ox); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(63,16,11,.35); animation: menuIn .35s var(--ease); }
.mnav[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav__inner { display: grid; padding-top: 10px; padding-bottom: 22px; }
.mnav__inner > a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 1.45rem/1.2 var(--f-display); color: var(--ox); text-decoration: none; }
.mnav__ctas { display: grid; gap: 10px; margin-top: 20px; }
.mnav__ctas .btn { justify-content: center; }

/* ---------- Motion primitives ---------- */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes blurIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.load-blur { animation: blurIn 1s .1s var(--ease) both; }
.load { animation: up .9s calc(var(--d) * .11s + .15s) var(--ease) both; }

.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Word-by-word blur reveal */
.split .w { display: inline-block; white-space: pre; }
.js .split .w { opacity: 0; filter: blur(10px); transform: translateY(.18em); transition: opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--wi) * 45ms + var(--sd, 0ms)); }
.js .split.in .w { opacity: 1; filter: blur(0); transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 90px); }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.hero__sky::before {
  content: ""; position: absolute; inset: -4% -8%;
  background: url(assets/clouds.webp) center / cover no-repeat;
  opacity: .75;
  -webkit-mask-image: radial-gradient(75% 70% at 68% 45%, #000 30%, transparent 78%);
  mask-image: radial-gradient(75% 70% at 68% 45%, #000 30%, transparent 78%);
  animation: skyPan 70s ease-in-out infinite alternate;
}
@keyframes skyPan { from { transform: translate3d(-2%, 0, 0) scale(1.04); } to { transform: translate3d(2%, -1%, 0) scale(1.08); } }
.hero__sky i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,0)); filter: blur(10px); animation: drift 38s ease-in-out infinite alternate; }
.hero__sky i:nth-child(1) { width: 720px; height: 380px; right: -8%; top: 4%; }
.hero__sky i:nth-child(2) { width: 520px; height: 300px; right: 24%; top: 46%; animation-duration: 46s; animation-delay: -12s; opacity: .8; }
.hero__sky i:nth-child(3) { width: 460px; height: 260px; left: -10%; top: 10%; animation-duration: 52s; opacity: .6; }
@keyframes drift { from { transform: translate3d(-30px, 0, 0); } to { transform: translate3d(40px, -14px, 0); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; min-height: min(680px, calc(100vh - 140px)); }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.hero__lead { margin-top: 24px; max-width: 46ch; font-size: 1.12rem; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 560px; }
.hero__facts li { padding-top: 14px; border-top: 1px solid var(--line-2); display: grid; gap: 4px; }
.hero__facts b { font: 400 1.12rem/1.2 var(--f-display); color: var(--ox); }
.hero__facts span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.hero__mark { position: relative; display: grid; place-items: center; }
.hero__mark::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2%; height: 8%; background: radial-gradient(closest-side, rgba(63,16,11,.16), transparent); z-index: -1; }
.hero__eagle { width: 100%; max-width: 600px; filter: drop-shadow(0 24px 30px rgba(63,16,11,.14)); }
.halftone.is-done .hero__eagle { animation: float 9s ease-in-out infinite alternate; }

/* Halftone reveal: dots resolve into the sculpture */
.halftone { position: relative; width: 100%; max-width: 600px; }
.halftone canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .7s ease, filter .7s ease; }
.js .halftone img { opacity: 0; filter: blur(8px); transition: opacity 1s ease, filter 1s ease; }
.js .halftone.is-done img { opacity: 1; filter: drop-shadow(0 24px 30px rgba(63,16,11,.14)); }
.halftone.is-done canvas { opacity: 0; filter: blur(4px); }

/* ---------- Oxblood band ---------- */
.band { position: relative; overflow: hidden; background: var(--ox); color: var(--on-ox); padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 6vw, 80px); }
.band__glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 400px at 36% 12%, rgba(170, 78, 50, .45), transparent 70%),
    radial-gradient(900px 500px at 70% 110%, rgba(30, 6, 4, .55), transparent 70%);
  animation: glow 14s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate3d(6%, 3%, 0); } }
.band__inner { position: relative; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.band__title { color: var(--on-ox); font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; max-width: 26ch; }

.orbit { position: relative; width: min(900px, 100%); margin-top: clamp(40px, 6vw, 64px); display: grid; justify-items: center; }
.orbit__slides { display: grid; width: min(460px, 100%); min-height: 96px; }
.orbit__slide { grid-area: 1 / 1; opacity: 0; filter: blur(8px); transform: translateY(8px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.orbit__slide.is-active { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.orbit__slide h3 { color: var(--on-ox); font-size: 1.45rem; }
.orbit__slide p { margin-top: 8px; color: var(--on-ox-2); font-size: .98rem; }
.orbit__ring { --R: 440px; position: relative; width: 100%; height: 150px; margin-top: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.orbit__ring::before { content: ""; position: absolute; left: 50%; top: 30px; width: calc(var(--R) * 2); height: calc(var(--R) * 2); transform: translateX(-50%); border-radius: 50%; border: 1px dashed var(--on-ox-line); }
.orbit__arm { position: absolute; left: 50%; top: 30px; width: 0; height: calc(var(--R) * 2); transform: rotate(var(--a, 0deg)); transform-origin: 50% 50%; transition: transform 1.1s cubic-bezier(.5, 0, .2, 1); }
.orbit__arm.is-jump { transition: none; }
.orbit__icon { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--on-ox); box-shadow: 0 0 0 6px rgba(240,236,225,.12), 0 8px 20px rgba(0,0,0,.3); display: grid; place-items: center; }
.orbit__icon svg { grid-area: 1 / 1; width: 22px; height: 22px; fill: none; stroke: var(--ox); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease); }
.orbit__icon svg.is-active { opacity: 1; transform: none; }
.orbit__sat { position: absolute; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--on-ox); }
.orbit__sat:first-child { left: -44px; }
.orbit__sat:last-child { left: 38px; }
.orbit__dots { display: flex; gap: 8px; margin-top: -62px; position: relative; }
.orbit__dots button { width: 22px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: var(--on-ox-line); cursor: pointer; transition: background-color .3s, width .3s var(--ease); }
.orbit__dots button[aria-selected="true"] { width: 36px; background: var(--on-ox); }

.marquee { width: 100%; min-width: 0; margin-top: 80px; }
.marquee__label { font-size: .85rem; color: var(--on-ox-2); margin-bottom: 18px; }
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track li { font: 400 1.35rem/1 var(--f-display); color: rgba(240,236,225,.5); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track li::after { content: "✦"; font-size: .7rem; color: var(--gold); opacity: .7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services + Lady Justice ---------- */
.services { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.services__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.services__lead { margin: 18px 0 34px; color: var(--text); max-width: 46ch; font-size: 1.1rem; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { border-bottom: 1px solid var(--line); }
.svc__head { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; cursor: pointer; }
.svc__head:focus-visible { outline: 2px solid var(--ox); outline-offset: 2px; }
.svc__head h3 { font-size: 1.4rem; color: var(--muted); transition: color .35s, transform .35s var(--ease); }
.svc__head[aria-expanded="true"] h3, .svc__head:hover h3 { color: var(--ox); }
.svc__head:hover h3 { transform: translateX(6px); }
.svc__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: background-color .3s, border-color .3s; }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ox); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background-color .3s; }
.svc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc__head[aria-expanded="true"] .svc__icon { background: var(--ox); border-color: var(--ox); }
.svc__head[aria-expanded="true"] .svc__icon::before, .svc__head[aria-expanded="true"] .svc__icon::after { background: var(--on-ox); }
.svc__head[aria-expanded="true"] .svc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc__body > div { overflow: hidden; }
.svc__head[aria-expanded="true"] + .svc__body { grid-template-rows: 1fr; }
.svc__body p { color: var(--text); max-width: 56ch; padding: 0 2px; }
.tags { list-style: none; padding: 0 2px 24px; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .86rem; padding: 6px 12px; border-radius: 8px; background: var(--paper-2); color: var(--ox); }
.services__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.services__cta > span { font: 400 1.1rem/1.2 var(--f-display); color: var(--ox); }

.justice { position: sticky; top: 90px; margin: 0; padding-top: 12px; display: grid; justify-items: center;
  background: radial-gradient(55% 50% at 45% 40%, rgba(255,255,255,.8), transparent 72%); }
.halftone--justice { max-width: 470px; }
.halftone--justice img { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%); mask-image: linear-gradient(180deg, #000 72%, transparent 97%); }
.js .halftone--justice.is-done img { filter: none; }
.halftone--justice.is-done img { animation: float 10s ease-in-out infinite alternate; }

/* ---------- Lawyer ---------- */
.lawyer { padding: clamp(80px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.lawyer[hidden] { display: none; }
.lawyer__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lawyer__photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.lawyer__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) sepia(.12); }
.lawyer__role { margin-top: 14px; font: 400 1.2rem/1.35 var(--f-display); color: var(--ox); }
.lawyer__bio { margin-top: 16px; max-width: 54ch; font-size: 1.08rem; }
.lawyer__facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lawyer__facts div { padding: 16px 18px; background: var(--paper-hi); }
.lawyer__facts dt { font-size: .84rem; color: var(--muted); }
.lawyer__facts dd { margin: 4px 0 0; font: 400 1.1rem/1.3 var(--f-display); color: var(--ox); }

/* ---------- Process ---------- */
.how { padding: clamp(80px, 10vw, 120px) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--paper-hi) 60%, var(--paper)); }
.how__head { text-align: center; display: grid; justify-items: center; }
.how__lead { margin-top: 14px; color: var(--text); font-size: 1.1rem; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--paper-hi); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 26px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(63,16,11,.45); border-color: var(--line-2); }
.step__art { border-radius: 12px; background: radial-gradient(circle at 50% 50%, var(--paper) 0 30%, var(--paper-2) 100%); border: 1px solid var(--line); aspect-ratio: 200 / 140; display: grid; place-items: center; overflow: hidden; transition: background-color .45s; }
.art { width: 100%; height: 100%; }
.step__n { display: inline-block; margin: 20px 16px 0; font: 400 1rem/1 var(--f-display); color: var(--muted); }
.step__n::after { content: "."; }
.step h3 { margin: 6px 16px 0; font-size: 1.35rem; }
.step p { margin: 10px 16px 0; color: var(--text); font-size: .96rem; }

.art__ring { fill: none; stroke: var(--stone); stroke-width: 1; opacity: .7; }
.art__fill { fill: var(--ox); transition: fill .4s; }
.step:hover .art__fill { fill: var(--ox-2); }
.art__cut { fill: var(--paper-hi); }
.art__tag { fill: var(--paper-3); }
.art__tag--ox { fill: var(--ox); }
.art__dot { fill: var(--on-ox); }
.art__rule { stroke: var(--stone); stroke-width: 2; stroke-linecap: round; }
.art__rule--light { stroke: rgba(240,236,225,.6); }
.art__line { fill: none; stroke: var(--ox); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.art__label { font: 600 10px var(--f-body); fill: var(--muted); letter-spacing: .08em; }
.art__paper { fill: var(--paper-hi); stroke: var(--line-2); }
.art__seal { fill: var(--ox); }
.art__sealin { fill: none; stroke: var(--on-ox); stroke-width: 1; stroke-dasharray: 2 2; }
.art__tick { fill: none; stroke: var(--on-ox); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art__pulse, .art__stamp, .art__row, .art__bubble .art__dot { transform-box: fill-box; transform-origin: center; }

.step.in .art__pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.art__bubble .art__dot { opacity: .35; }
.step.in .art__bubble .art__dot { animation: typing 1.4s ease-in-out infinite; }
.step.in .art__bubble .art__dot:nth-child(3) { animation-delay: .2s; }
.step.in .art__bubble .art__dot:nth-child(4) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.step.in .art--wave .art__line { animation: draw 1.8s .3s ease-out forwards; }
.step.in .art__sign { animation: draw 1.2s .3s ease-out forwards; }
.art__stamp { opacity: 0; transform: scale(1.8) rotate(-18deg); }
.step.in .art__stamp { animation: stamp .45s 1.4s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { to { opacity: 1; transform: scale(1) rotate(0); } }
.art__row { opacity: 0; transform: translateY(8px); }
.step.in .art__row { animation: up .6s calc(.4s + var(--i) * .35s) var(--ease) forwards; }

/* ---------- Comparison ---------- */
.diff { padding: clamp(80px, 10vw, 120px) 0; }
.diff__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.diff__intro h2 { max-width: 14ch; }
.diff__ghost { width: 82%; margin-top: 26px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 95%); mask-image: linear-gradient(180deg, #000 55%, transparent 95%); }
.js .diff__ghost.in { opacity: .45; }
.faq__ghost { width: 70%; margin-top: 30px; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.js .faq__ghost.in { opacity: .6; }
.diff__cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.dcard { padding: 32px 30px; border-radius: 18px; }
.dcard:first-child { background: var(--paper-2); border: 1px solid var(--line); margin-right: -24px; padding-right: 54px; }
.dcard--ox { position: relative; background: var(--ox); color: var(--on-ox); padding: 40px 32px; box-shadow: 0 30px 60px -30px rgba(63,16,11,.8); }
.dcard h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.dcard--ox h3 { color: var(--on-ox); }
.dcard h3 img { width: 30px; }
.dcard ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.dcard li { position: relative; padding-left: 26px; font-size: .98rem; line-height: 1.45; }
.dcard li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 1.5px; background: var(--stone); }
.dcard--ox li::before { width: 14px; height: 8px; top: .35em; background: none; border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold); transform: rotate(-45deg); }
.diff__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.diff__foot p { font: 400 1.2rem/1.3 var(--f-display); color: var(--ox); max-width: 32ch; }

/* ---------- Offices + map ---------- */
.offices { padding: clamp(80px, 10vw, 120px) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--paper-hi)); }
.offices__head { text-align: center; display: grid; justify-items: center; }
.offices__head h2 { max-width: 20ch; }
.map { position: relative; width: 100%; margin-top: clamp(36px, 5vw, 56px); aspect-ratio: 1200 / 420; }
.map__dots, .map__arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__dots {
  background: var(--ox); opacity: .2;
  -webkit-mask: url(assets/atlantic-dots.svg) center / 100% 100% no-repeat;
  mask: url(assets/atlantic-dots.svg) center / 100% 100% no-repeat;
}
.map__route { fill: none; stroke: var(--ox); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.map.in .map__route { animation: draw 2.6s .3s cubic-bezier(.6,.05,.3,1) forwards; }
.map__pin { fill: var(--ox); stroke: var(--paper-hi); stroke-width: 3; vector-effect: non-scaling-stroke; }
.map__pin--al { fill: #D51F2B; }
.map__halo { fill: none; stroke: var(--ox); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; vector-effect: non-scaling-stroke; }
.map.in .map__halo { animation: ping 2.8s 1s ease-out infinite; }
.map.in .map__halo--al { animation-delay: 2.4s; }
@keyframes ping { 0% { opacity: .7; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
.map__traveler { fill: var(--gold); stroke: var(--ox); stroke-width: 1; opacity: 0; }
.map.in .map__traveler { opacity: 1; transition: opacity .6s 2.8s; }
.map__diff { position: absolute; left: 52.6%; top: 17%; transform: translate(-50%, -50%); background: var(--paper-hi); color: var(--ox); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; white-space: nowrap; }
.clock { position: absolute; display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r); background: rgba(246,243,235,.9); border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(63,16,11,.5); backdrop-filter: blur(6px); }
.clock--us { left: 13.8%; top: 62.6%; transform: translate(-14%, 24px); }
.clock--al { right: 8.3%; top: 58.2%; transform: translate(14%, 24px); text-align: right; justify-items: end; }
.clock__city { font-size: .88rem; color: var(--muted); }
.clock__time { font: 400 clamp(2rem, 3.6vw, 3rem)/1.05 var(--f-display); color: var(--ox); font-variant-numeric: tabular-nums; }
.clock__note, .clock__status { font-size: .88rem; color: var(--text); }
.clock__status { display: inline-flex; align-items: flex-start; gap: 8px; line-height: 1.35; }
.clock__status b { font-weight: 500; }
.clock__status i { width: 8px; height: 8px; margin-top: .4em; border-radius: 50%; background: #9c8f88; flex: none; }
.clock__status.is-open i { background: #2E9E6A; box-shadow: 0 0 0 4px rgba(46,158,106,.18); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(46,158,106,0); } }

.offices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(60px, 7vw, 90px); }
.office { position: relative; padding: 32px; border-radius: 18px; background: var(--paper-2); }
.office--us { background: transparent; border: 1px dashed var(--line-2); }
.office__badge { display: inline-block; margin-bottom: 16px; font-size: .82rem; font-weight: 600; color: var(--ox); background: var(--paper-2); padding: 5px 11px; border-radius: 7px; }
.office p { margin-top: 10px; color: var(--text); }
.office .office__addr { color: var(--ink); font-weight: 600; margin-top: 20px; }
.office .office__hours { margin-top: 2px; color: var(--muted); }
.consult { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(32px, 4vw, 48px); margin-top: 18px; border-radius: 22px; background: var(--paper-hi); border: 1px solid var(--line); }
.consult p { margin-top: 14px; color: var(--text); font-size: 1.08rem; max-width: 44ch; }
.consult__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.consult__facts div { padding: 18px 20px; background: var(--paper-hi); }
.consult__facts dt { font-size: .84rem; color: var(--muted); }
.consult__facts dd { margin: 4px 0 0; font: 400 1.12rem/1.3 var(--f-display); color: var(--ox); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 400 1.3rem/1.3 var(--f-display); color: var(--ox); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ox); border-bottom: 1.5px solid var(--ox); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 24px; color: var(--text); max-width: 60ch; }
.faq details[open] p { animation: blurIn .6s var(--ease); }

/* ---------- Final CTA ---------- */
.cta { padding: 0 0 clamp(60px, 8vw, 100px); }
.cta__card { position: relative; overflow: hidden; border-radius: 24px; background: var(--ox); color: var(--on-ox); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; min-height: 400px; }
.cta__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 320px at 20% 20%, rgba(170,78,50,.4), transparent 70%); pointer-events: none; }
.cta__text { position: relative; z-index: 1; }
.cta__card h2 { color: var(--on-ox); max-width: 16ch; }
.cta__card p { margin-top: 16px; color: var(--on-ox-2); max-width: 40ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta__statue { position: absolute; right: 4%; top: 6%; height: 125%; width: auto; max-width: none; opacity: .3; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 80%); mask-image: linear-gradient(180deg, #000 45%, transparent 80%); }
.cta__card.in .cta__statue { animation: float 10s ease-in-out infinite alternate; }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; padding: clamp(50px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.foot__inner { position: relative; z-index: 1; padding-bottom: clamp(150px, 19vw, 280px); }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot__tag { font: 400 clamp(1.8rem, 3.4vw, 2.8rem)/1.08 var(--f-display); color: var(--ox); max-width: 18ch; text-align: right; }
.foot__cols { display: grid; grid-template-columns: 180px 220px 1fr; gap: 30px; margin-top: 50px; }
.foot__cols h4 { font: 500 .88rem/1 var(--f-body); color: var(--muted); margin-bottom: 14px; }
.foot__cols a { display: block; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-size: 1.08rem; margin-bottom: 6px; }
.foot__cols a:hover { color: var(--ox); }
.foot__legal { font-size: .84rem; color: var(--muted); line-height: 1.6; max-width: 62ch; justify-self: end; }
.foot__copy { margin-top: 40px; font-size: .84rem; color: var(--muted); }
.foot__land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(170px, 22vw, 320px); object-fit: cover; object-position: center 70%; opacity: .95; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: opacity .3s, transform .3s var(--ease); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float.is-hidden { opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .top__row { grid-template-columns: 1fr auto; }
  .lawyer__grid { grid-template-columns: 1fr; }
  .lawyer__photo { max-width: 380px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__mark { order: -1; max-width: 420px; margin: 0 auto -20px; }
  .services__grid, .faq__grid, .diff__grid, .consult { grid-template-columns: 1fr; }
  .justice { position: relative; top: 0; order: -1; justify-self: center; width: 100%; }
  .halftone--justice { max-width: 320px; }
  .diff__ghost, .faq__ghost { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__legal { grid-column: 1 / -1; justify-self: start; }
  .map { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .map__dots, .map__arc { position: relative; grid-column: 1 / -1; grid-row: 1; aspect-ratio: 1200 / 420; height: auto; }
  .map__diff { top: 9%; }
  .clock, .clock--us, .clock--al { position: static; transform: none; grid-row: 2; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top__row { height: 60px; }
  .top .top__cta { display: none; }
  .hero { padding-top: 14px; }
  .hero__mark { max-width: 150px; margin: 0 auto -4px; }
  .hero .kicker { margin-bottom: 12px; font-size: .98rem; }
  .hero h1 { font-size: 2.3rem; line-height: 1.04; max-width: none; }
  .hero__lead { margin-top: 14px; font-size: 1rem; line-height: 1.55; }
  .hero__ctas { margin-top: 20px; gap: 10px; }
  .lawyer__facts { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__facts { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .hero__facts li { gap: 2px; padding: 12px 0; }
  .map__dots { opacity: .32; }
  .band__title { font-size: 1.7rem; }
  .orbit__ring { --R: 300px; height: 120px; }
  .orbit__dots { margin-top: -48px; }
  .marquee { margin-top: 60px; }
  .marquee__track li { font-size: 1.1rem; padding: 0 18px; gap: 36px; }
  .clock { padding: 12px 14px; }
  .clock__status { font-size: .8rem; }
  .steps { grid-template-columns: 1fr; }
  .diff__cards { grid-template-columns: 1fr; }
  .dcard:first-child { margin: 0 0 -20px; padding: 28px 24px 44px; }
  .consult__facts { grid-template-columns: 1fr; }
  .offices__grid { grid-template-columns: 1fr; }
  .office { padding: 26px; }
  .cta__card { grid-template-columns: 1fr; padding: 36px 24px 220px; }
  .cta__statue { top: auto; bottom: -40%; right: 50%; height: 105%; transform: translateX(50%); }
  .cta__card.in .cta__statue { animation: none; }
  .cta__btns .btn { width: 100%; justify-content: center; }
  .foot__tag { text-align: left; }
  .foot__cols { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .split .w { opacity: 1; transform: none; filter: none; }
  .js .halftone img { opacity: 1; filter: none; }
  .halftone canvas { display: none; }
  .map__route, .art__line { stroke-dashoffset: 0; }
  .art__stamp, .art__row { opacity: 1; transform: none; }
}

/* Narrowest phones: smaller brand so it never touches the language switch */
@media (max-width: 360px) {
  .brand { gap: 7px; }
  .brand img { width: 34px; }
  .brand span { font-size: 1.15rem; }
  .top__actions { gap: 8px; }
  .lang button { padding: 7px 8px; }
  .menu-btn { width: 38px; height: 38px; }
  .menu-btn span { left: 10px; right: 10px; }
  .menu-btn span:first-child { top: 14px; }
  .menu-btn span:last-child { top: 22px; }
  .menu-btn[aria-expanded="true"] span { top: 18px; }
}

/* Tablets: compact hero so both contact buttons sit comfortably on the first screen */
@media (min-width: 641px) and (max-width: 1020px) {
  .hero { padding-top: 24px; }
  .hero__mark { max-width: 260px; margin-bottom: 0; }
  .hero h1 { max-width: 18ch; }
}

/* Short phones (iPhone SE and smaller): keep the main button on the first screen */
@media (max-width: 640px) and (max-height: 760px) {
  .hero__mark { max-width: 84px; }
  .hero h1 { font-size: 2.05rem; }
  .hero__lead { font-size: .96rem; }
}
@media (max-width: 640px) and (max-height: 600px) {
  .hero__mark { display: none; }
  .hero h1 { font-size: 1.9rem; }
}
