:root {
  --ink: #16191F;
  --paper: #F7F6F3;
  --white: #FFFFFF;
  --muted: #5B626D;
  --line: #E1E0DC;
  --steel: #B4B9C0;
  --red: #B5232A;
  --red-dark: #8F1A20;
  --rose: #F0B3B6;
  --wa: #1A9E4E;
  --display: "Frank Ruhl Libre", "David", serif;
  --body: "Heebo", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
.in { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.skip { position: absolute; top: -60px; right: 12px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 4px; font-size: 1rem; border: 0; cursor: pointer; font-family: var(--body); transition: background .2s; }
.btn:hover { background: var(--red-dark); }
.btn[disabled] { opacity: .6; cursor: wait; }
.label { font-size: .82rem; letter-spacing: .12em; color: var(--red); font-weight: 700; }

/* header */
header.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.top .in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.brand small { display: block; font-size: .78rem; color: var(--muted); font-family: var(--body); font-weight: 400; letter-spacing: .04em; }
nav.main { display: flex; gap: 26px; margin-inline-start: auto; font-size: .97rem; font-weight: 500; }
nav.main a:hover { color: var(--red); }
.call { font-weight: 700; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: .95rem; direction: ltr; }
.call:hover { background: var(--ink); color: #fff; }
@media (max-width: 960px) { nav.main { display: none; } .call { margin-inline-start: auto; } }
@media (max-width: 420px) { .brand small { display: none; } .call { padding: 8px 12px; } }

/* hero */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero .in { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; }
.hero .copy { padding-block: 72px; display: grid; gap: 22px; align-content: center; }
.hero .label { color: var(--rose); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero p.sub { font-size: 1.2rem; color: #C9CDD3; max-width: 36ch; }
.hero .creds { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--steel); list-style: none; padding: 0; margin: 0; }
.hero .creds li::before { content: "✓"; color: var(--rose); margin-inline-end: 6px; }
.hero .photo { position: relative; margin-inline-end: -24px; }
.hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.55) contrast(1.05); }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(22,25,31,0) 40%, var(--ink) 100%), linear-gradient(to top, rgba(22,25,31,.6), rgba(22,25,31,0) 40%); }
.hero .tag { position: absolute; bottom: 26px; left: 26px; z-index: 2; background: rgba(22,25,31,.78); padding: 12px 16px; border-inline-start: 3px solid var(--red); font-size: .9rem; }
.hero .tag b { display: block; font-family: var(--display); font-size: 1.1rem; }
form.quick { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 18px; display: grid; gap: 12px; max-width: 560px; }
form.quick .title { font-weight: 700; font-size: 1.02rem; }
.qrow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.qrow input { font: inherit; padding: 13px 14px; border: 0; border-radius: 4px; background: #fff; color: var(--ink); min-width: 0; width: 100%; }
@media (max-width: 860px) {
  .hero .in { grid-template-columns: 1fr; }
  .hero .photo { order: -1; height: 360px; margin-inline: -24px; }
  .hero .photo::after { background: linear-gradient(to top, var(--ink) 0%, rgba(22,25,31,0) 55%); }
  .hero .copy { padding-block: 10px 56px; }
}
@media (max-width: 560px) { .qrow { grid-template-columns: 1fr; } }

/* form states (both forms) */
.form-msg { display: none; }
form.sent > :not(.form-msg) { display: none; }
form.sent .form-msg.ok { display: grid; gap: 6px; }
form.failed .form-msg.err { display: block; color: var(--red); font-weight: 500; }
form.quick .form-msg.err { color: var(--rose); }
.hp { display: none; }

/* press */
.press { background: var(--white); border-bottom: 1px solid var(--line); }
.press .in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 48px; padding-block: 26px; }
.press .lbl { font-size: .85rem; color: var(--muted); }
.press .outlet { font-family: var(--display); font-weight: 900; font-size: 1.55rem; color: #7E838B; }

section.block { padding-block: 96px; }
@media (max-width: 700px) { section.block { padding-block: 64px; } }
.head { display: grid; gap: 10px; margin-bottom: 44px; max-width: 640px; }
.head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; }
.head p { color: var(--muted); font-size: 1.08rem; }

/* practice areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.area { background: var(--white); padding: 32px 30px; display: grid; gap: 10px; align-content: start; }
.area svg { width: 44px; height: 44px; color: var(--red); }
.area h3 { font-size: 1.4rem; }
.area p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* about */
.about { background: var(--white); }
.about .in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about .pic { aspect-ratio: 4/5; overflow: hidden; max-width: 100%; }
.about .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about .txt { display: grid; gap: 20px; }
.about h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.about p { color: #3C424C; max-width: 58ch; }
.about blockquote { margin: 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.4; padding-inline-start: 20px; border-inline-start: 3px solid var(--red); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.facts b { display: block; font-family: var(--display); font-size: 1.15rem; }
.facts span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .about .in { grid-template-columns: 1fr; gap: 36px; } .facts { grid-template-columns: 1fr; } }

/* stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story { background: var(--white); border: 1px solid var(--line); padding: 30px; display: grid; gap: 12px; align-content: start; }
.story .kind { font-size: .8rem; letter-spacing: .1em; color: var(--red); font-weight: 700; }
.story h3 { font-size: 1.35rem; }
.story p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }

/* reels */
.reels-sec { background: var(--ink); color: #fff; }
.reels-sec .head p { color: #B9BEC6; }
.reels-sec .label { color: var(--rose); }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.reel { position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 6px; background: #000; max-width: 100%; border: 0; padding: 0; cursor: pointer; width: 100%; color: #fff; font: inherit; text-align: right; }
.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 45%); pointer-events: none; }
.reel .play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; pointer-events: none; }
.reel .play::before { content: ""; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); margin-left: 4px; }
.reel .t { position: absolute; bottom: 16px; inset-inline: 16px; font-weight: 700; font-size: 1.02rem; line-height: 1.35; pointer-events: none; }
video.reel { object-fit: cover; cursor: auto; }
@media (max-width: 900px) { .reels { grid-template-columns: repeat(2, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; gap: 10px; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 3.4rem; font-weight: 900; color: var(--red); line-height: 1; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact .in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact .info { display: grid; gap: 18px; }
.contact .info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.contact .info p { color: var(--muted); }
.channels { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.channels a, .channels span { display: inline-flex; gap: 12px; align-items: center; font-weight: 500; }
.channels a:hover { color: var(--red); }
.channels i { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-style: normal; }
form.lead { background: var(--paper); border: 1px solid var(--line); padding: 36px; display: grid; gap: 16px; }
form.lead label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
form.lead input, form.lead select, form.lead textarea { font: inherit; padding: 13px 14px; border: 1px solid #BDBBB6; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.lead .btn { padding-block: 16px; font-size: 1.08rem; }
form.lead small { color: var(--muted); font-size: .85rem; text-align: center; }
form.lead small a { text-decoration: underline; }
form.lead .form-msg.ok { text-align: center; padding: 30px 10px; }
form.lead .form-msg.ok h3 { font-size: 1.8rem; }
@media (max-width: 860px) { .contact .in { grid-template-columns: 1fr; gap: 36px; } form.lead .row { grid-template-columns: 1fr; } form.lead { padding: 24px; } }

footer { background: var(--ink); color: #A9AFB8; font-size: .9rem; }
footer .in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 34px; }
footer a:hover { color: #fff; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 30; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; padding: 12px 18px 12px 14px; border-radius: 40px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* legal pages */
.legal { padding-block: 64px 96px; }
.legal .in { max-width: 820px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 18px; }
.legal p, .legal li { color: #3C424C; }
.legal ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
