:root {
  --bg: #fbf6ee;
  --bg-alt: #f4ebdd;
  --surface: #fffdf9;
  --ink: #2a1a1a;
  --ink-soft: #5e4a46;
  --line: #e6d8c3;
  --accent: #6b1e2b;
  --accent-ink: #ffffff;
  --brass: #a27c36;
  --ph: #fff1c2;
  --error: #a3311f;
  --radius: 10px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1112;
    --bg-alt: #221619;
    --surface: #2a1c1f;
    --ink: #f1e8dc;
    --ink-soft: #c0aea6;
    --line: #422e32;
    --accent: #d4b06a;
    --accent-ink: #1a1112;
    --brass: #d4b06a;
    --ph: #4d3b1d;
    --error: #ef8a76;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Placeholder text still to be filled in. Remove the "ph" class once real details are added. */
.ph { background: var(--ph); padding: 0 .25em; border-radius: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .75em 1.4em;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  font: 500 .95rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s, background .15s;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { opacity: .9; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--bg-alt); }

/* Disclaimer */
.disclaimer {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(30, 10, 14, .72);
}
.disclaimer[hidden] { display: none; }
.disclaimer { animation: fade .35s ease; }
.disclaimer__box { animation: pop .45s cubic-bezier(.2,.8,.2,1); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.disclaimer__box {
  background: var(--surface);
  max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius);
  border-top: 4px solid var(--brass);
}
.disclaimer__box ul { padding-left: 1.2em; color: var(--ink-soft); font-size: .95rem; }
.disclaimer__box li { margin-bottom: .5em; }
.disclaimer__actions { display: flex; gap: 12px; margin-top: 20px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font: 600 1.35rem var(--serif); text-decoration: none; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: .93rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero: always dark navy, in both light and dark mode */
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--brass); margin: 0 0 8px; font-weight: 600; }
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  padding: 104px 0 120px;
  background: linear-gradient(160deg, #4a1520 0%, #6b1e2b 50%, #34090f 100%);
  color: #f3efe6;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,167,95,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,167,95,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero__glow--a { width: 460px; height: 460px; background: #c9a75f; opacity: .16; top: -120px; right: -80px; animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--b { width: 380px; height: 380px; background: #a33a4b; opacity: .3; bottom: -160px; left: -100px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero__emblem {
  position: absolute; right: 30%; top: 50%;
  width: min(42vw, 440px); height: min(42vw, 440px);
  transform: translateY(-50%);
  color: #c9a75f; opacity: .09; stroke-width: .6;
  animation: float 7s ease-in-out infinite;
}
.hero__content {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 1fr 340px; grid-template-areas: "text photo";
  align-items: center; gap: 56px;
}
.hero__text { grid-area: text; }
.hero__photo {
  grid-area: photo; position: relative; margin: 0;
  aspect-ratio: 4 / 5; border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,167,95,.4);
  box-shadow: 18px 18px 0 -1px rgba(201,167,95,.18), 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.hero__photo-empty { display: none; }
.hero__photo.is-empty .hero__photo-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(243,239,230,.45); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero__photo-empty svg { width: 56px; height: 56px; stroke-width: 1.2; }
.hero .eyebrow { color: #d9b970; }
.hero h1 { font-size: clamp(3rem, 9vw, 5.4rem); margin-bottom: .1em; letter-spacing: .01em; }
.hero__rule { display: block; height: 2px; width: 96px; background: linear-gradient(90deg, #c9a75f, transparent); margin: 6px 0 22px; transform-origin: left; }
.hero__sub { font: 500 1.45rem var(--serif); margin: 0 0 10px; color: #e9dfc8; }
.hero__meta { color: rgba(243,239,230,.72); margin: 0 0 34px; }
.hero .ph { color: #2a1a1a; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(201,167,95,.35);
  background: rgba(255,255,255,.04);
  font-size: .85rem; color: rgba(243,239,230,.85);
  backdrop-filter: blur(4px);
}
.hero__chips svg { width: 16px; height: 16px; color: #d9b970; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  color: rgba(243,239,230,.6); animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll svg { width: 28px; height: 28px; }

/* Hero entrance: each line fades up in turn (order set by --i) */
.hero__in { opacity: 0; animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .12s); }
.hero__rule.hero__in { animation-name: rule-grow; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rule-grow { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }
@keyframes float { 0%, 100% { transform: translateY(-50%) rotate(-2deg); } 50% { transform: translateY(-54%) rotate(2deg); } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.btn--gold { background: #c9a75f; border-color: #c9a75f; color: #3e0f17; font-weight: 600; position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn--gold:hover::after { left: 120%; }
.btn--light { background: transparent; border-color: rgba(243,239,230,.45); color: #f3efe6; }
.btn--light:hover { background: rgba(255,255,255,.08); border-color: #f3efe6; }
.btn { transition: transform .2s, box-shadow .2s, background .2s, opacity .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.45); }

/* Scroll reveal (only when JS is running, so content is never hidden without it) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Section headings get a short gold rule underneath */
.section h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--brass); margin-top: 14px; }
.section-head { margin-bottom: 8px; }

/* Header gains a shadow once the page scrolls */
.header { transition: box-shadow .3s, background .3s; }
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--brass); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:hover::after { transform: scaleX(1); }

/* Consultation steps */
.steps { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.steps li {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 18px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-soft);
}
.steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 14px; right: 16px; font: 600 1.4rem var(--serif); color: var(--line); }
.steps strong { color: var(--ink); font-size: .95rem; margin-top: 8px; }
.steps__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brass) 14%, transparent); color: var(--brass); }
.steps__icon svg { width: 20px; height: 20px; }

/* Map placeholder icon */
.map__placeholder svg { width: 28px; height: 28px; margin-right: 8px; color: var(--brass); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__in, .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.lead { color: var(--ink-soft); margin-top: -.2em; }

.details { margin: 0; }
.details > div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--ink-soft); font-size: .9rem; }
.details dd { margin: 0; }

.quals { list-style: none; margin: 0; padding: 0; }
.quals li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.quals__deg { font: 600 1.25rem var(--serif); }
.quals__inst { color: var(--ink-soft); font-size: .93rem; }

.areas {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.area {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 18px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.area::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brass), transparent);
  transform: scaleX(.25); transform-origin: left; transition: transform .45s;
}
.area:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -22px rgba(74,21,32,.4); border-color: color-mix(in srgb, var(--brass) 45%, var(--line)); }
.area:hover::before { transform: scaleX(1); }
.area__icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brass) 13%, transparent); color: var(--brass);
  transition: transform .35s, background .35s, color .35s;
}
.area__icon svg { width: 22px; height: 22px; }
.area:hover .area__icon { transform: rotate(-6deg) scale(1.08); background: var(--brass); color: var(--surface); }
.area h3 { font-size: 1.4rem; margin-bottom: .5em; }
.area ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .93rem; }
.area li { margin-bottom: .3em; }
.area li::marker { color: var(--brass); }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink-soft); }
.form .check input { width: auto; margin-top: 4px; }
.form__error { color: var(--error); margin: 0; font-size: .92rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__note { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* Map */
.map { min-height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }
.map__placeholder { height: 100%; min-height: 280px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); background: var(--surface); font-size: .9rem; }

/* Footer */
.footer { background: #3e0f17; color: #f3efe6; padding: 56px 0 40px; font-size: .88rem; }
.footer .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer h3 { font-size: 1.4rem; }
.footer p { opacity: .85; }
.signature { margin-top: 20px; }
.footer .ph { color: var(--ink); }
.copy { opacity: .6 !important; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer { background: #140a0b; color: var(--ink); }
  :root:not([data-theme="light"]) .footer .ph { color: var(--ink); }
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .hero { padding: 72px 0 96px; min-height: auto; }
  .hero__emblem { right: -18%; width: 80vw; height: 80vw; opacity: .07; }
  .hero__content { grid-template-columns: 1fr; grid-template-areas: "photo" "text"; gap: 28px; }
  .hero__photo { width: 150px; box-shadow: 10px 10px 0 -1px rgba(201,167,95,.18); }
  .hero__photo-empty svg { width: 36px; height: 36px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .grid-2, .footer .container, .form__row { grid-template-columns: 1fr; gap: 32px; }
  .form__row { gap: 16px; }
  .details > div { grid-template-columns: 1fr; gap: 2px; }
  .form__actions .btn, .hero__actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Legal articles */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.article-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -22px rgba(74,21,32,.4); border-color: color-mix(in srgb, var(--brass) 45%, var(--line)); }
.article-card__tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); background: color-mix(in srgb, var(--brass) 12%, transparent); padding: 4px 10px; border-radius: 999px; }
.article-card h3 { font-size: 1.4rem; margin: 6px 0 0; }
.article-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; flex: 1; }
.article-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--accent); margin-top: 8px; }
.article-card__more svg { width: 16px; height: 16px; transition: transform .25s; }
.article-card:hover .article-card__more svg { transform: translateX(4px); }

/* Offices and court chambers */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px 0 40px; }
.office { padding: 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.office h3 { font-size: 1.3rem; margin: 12px 0 4px; }
.office p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.office__icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brass) 13%, transparent); color: var(--brass); }
.office__icon svg { width: 21px; height: 21px; }
.contact-grid { align-items: start; }

/* Floating WhatsApp and call buttons */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-contact__btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .25s;
  animation: pop-in .5s cubic-bezier(.2,.8,.2,1) 1.2s both;
}
.float-contact__btn:hover { transform: scale(1.08); }
.float-contact__btn svg { width: 26px; height: 26px; }
.float-contact__btn--wa { background: #25d366; position: relative; }
.float-contact__btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out 2s infinite; }
.float-contact__btn--call { background: var(--accent); color: var(--accent-ink); animation-delay: 1.35s; }
@keyframes pop-in { from { opacity: 0; transform: scale(.4); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 760px) {
  .float-contact { right: 14px; bottom: 14px; }
  .float-contact__btn { width: 50px; height: 50px; }
  .offices { margin-bottom: 28px; }
}

/* About paragraph */
.about-text p { margin: 0 0 1em; color: var(--ink-soft); font-size: 1.02rem; }
.about-text p:first-child { color: var(--ink); font-size: 1.1rem; }

/* Checklists */
.sub-head { font-size: 1.6rem; margin: 48px 0 16px; }
.checklists { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.checklist-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.checklist-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brass) 45%, var(--line)); box-shadow: 0 14px 28px -20px rgba(74,21,32,.4); }
.checklist-card strong { display: block; font-weight: 600; font-size: .95rem; }
.checklist-card small { color: var(--ink-soft); font-size: .8rem; }
.checklist-card > span:nth-child(2) { flex: 1; }
.checklist-card__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brass) 13%, transparent); color: var(--brass); }
.checklist-card__icon svg { width: 20px; height: 20px; }
.checklist-card__dl { width: 18px; height: 18px; color: var(--ink-soft); transition: transform .25s, color .25s; }
.checklist-card:hover .checklist-card__dl { transform: translateY(2px); color: var(--brass); }

/* FAQ accordion */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font-weight: 500; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
  color: var(--brass); border: 1px solid color-mix(in srgb, var(--brass) 40%, transparent);
  transition: transform .3s, background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brass); color: var(--surface); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); animation: rise .35s ease; }

/* Share buttons on article and checklist pages */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.share__label { font-size: .85rem; color: var(--ink-soft); margin-right: 4px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 500 .85rem var(--sans); color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.share a:hover, .share button:hover { border-color: var(--brass); transform: translateY(-1px); }
.share svg { width: 16px; height: 16px; }

/* Article and checklist pages */
.page { max-width: 720px; margin: 0 auto; padding: 56px 16px 80px; }
.page__back { display: flex; width: fit-content; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-soft); text-decoration: none; margin-bottom: 28px; }
.page__back:hover { color: var(--ink); }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.page__meta { color: var(--ink-soft); font-size: .9rem; margin: -6px 0 32px; }
.page h2 { font-size: 1.7rem; margin-top: 1.6em; }
.page p, .page li { font-size: 1.04rem; }
.page__note { margin-top: 40px; padding: 18px 20px; border-left: 3px solid var(--brass); background: var(--bg-alt); border-radius: 0 8px 8px 0; font-size: .92rem; color: var(--ink-soft); }
.page__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.page__top .page__back { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 18px; height: 18px; border: 1.5px solid var(--brass); border-radius: 4px; }
.page__brand { display: none; }

@media print {
  .header, .footer, .share, .page__top, .float-contact { display: none !important; }
  body { background: #fff; color: #000; }
  .page { padding: 0; max-width: none; }
  .page__brand { display: block; font: 600 1.1rem var(--serif); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #999; }
  .ph { background: none; }
}

/* Simple top links on inner pages */
.subnav { display: flex; gap: 22px; }
.subnav a { text-decoration: none; font-size: .9rem; color: var(--ink-soft); }
.subnav a:hover { color: var(--ink); }
@media (max-width: 480px) { .subnav a:first-child { display: none; } }

/* Practice-area pages */
.practice-hero {
  position: relative; overflow: hidden;
  padding: 48px 0 56px;
  background: linear-gradient(160deg, #4a1520 0%, #6b1e2b 55%, #34090f 100%);
  color: #f3efe6;
}
.practice-hero .eyebrow { color: #d9b970; }
.practice-hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.practice-hero__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin: 28px 0 18px;
  background: rgba(201,167,95,.16); color: #d9b970; border: 1px solid rgba(201,167,95,.35);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.practice-hero__icon svg { width: 28px; height: 28px; }
.page__back--light { color: rgba(243,239,230,.75); margin: 0; }
.page__back--light:hover { color: #f3efe6; }
.practice-body { display: grid; grid-template-columns: 1fr 280px; gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.practice-intro { font-size: 1.15rem; line-height: 1.7; margin-top: 0; }
.practice-body h2 { font-size: 1.8rem; margin-top: 1.4em; }
.checklist--ticks li::before { border: 0; border-radius: 50%; background: color-mix(in srgb, var(--brass) 18%, transparent); }
.checklist--ticks li::after { content: ""; position: absolute; left: 6px; top: 20px; width: 6px; height: 3px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.practice-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 36px; padding: 22px 24px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
}
.practice-cta strong { display: block; font-size: 1.05rem; }
.practice-cta span { color: var(--ink-soft); font-size: .92rem; }
.practice-side h3 { font-size: 1.25rem; margin: 0 0 10px; }
.practice-side h3 + .side-links { margin-bottom: 28px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links a { display: block; padding: 9px 0; font-size: .92rem; color: var(--ink-soft); text-decoration: none; transition: color .2s, padding-left .2s; }
.side-links a:hover { color: var(--accent); padding-left: 6px; }
@media (max-width: 760px) {
  .practice-body { grid-template-columns: 1fr; gap: 40px; }
}

/* "View details" link on homepage practice cards */
.area__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.area__more svg { width: 15px; height: 15px; transition: transform .25s; }
.area:hover .area__more svg { transform: translateX(4px); }

/* Practice Areas dropdown in the main menu (desktop only) */
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 270px;
  padding: 8px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(74,21,32,.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav__menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .88rem; }
.nav .nav__menu a::after { display: none; }
.nav .nav__menu a:hover { background: var(--bg-alt); color: var(--accent); }
@media (max-width: 760px) { .nav__menu { display: none; } .nav__drop { display: contents; } }

/* Footer links */
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.footer__links a { color: inherit; opacity: .8; font-size: .85rem; }
.footer__links a:hover { opacity: 1; }
.footer--slim { padding: 28px 0; }
.footer--slim .container { display: flex !important; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer--slim .copy, .footer--slim .footer__links { margin: 0; }

/* Agency credit in the footer */
.credit { opacity: .75; white-space: nowrap; }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(243,239,230,.4); }
.credit a:hover { text-decoration-color: currentColor; }

/* What to Expect */
.expect { margin-top: 64px; }
.section-head--center { text-align: center; }
.section-head--center h2::after { margin-left: auto; margin-right: auto; }
.expect__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.expect__item {
  padding: 26px 22px; border-radius: 14px; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.expect__item:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -22px rgba(74,21,32,.4); }
.expect__icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent);
}
.expect__icon svg { width: 24px; height: 24px; }
.expect__item h3 { font-size: 1.3rem; margin-bottom: .4em; }
.expect__item p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 960px) { .expect__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .expect__grid { grid-template-columns: 1fr; } }

/* Confidentiality note beside the form buttons */
.form__note--trust { display: flex; gap: 8px; align-items: flex-start; }
.form__note--trust svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--brass); }

/* Office location card linking to Google Maps */
.map__card {
  height: 100%; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 28px; text-align: center; text-decoration: none;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--brass) 14%, transparent), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 27px, color-mix(in srgb, var(--line) 70%, transparent) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, color-mix(in srgb, var(--line) 70%, transparent) 27px 28px),
    var(--surface);
}
.map__card strong { font: 600 1.4rem var(--serif); color: var(--ink); }
.map__card > span:not(.map__pin):not(.map__btn) { color: var(--ink-soft); font-size: .92rem; }
.map__pin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 8px; animation: bob-pin 2.4s ease-in-out infinite; }
.map__pin svg { width: 26px; height: 26px; }
.map__btn { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; }
.map__btn svg { width: 16px; height: 16px; }
@keyframes bob-pin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Embedded office map with a directions bar */
.map { display: flex; flex-direction: column; background: var(--surface); }
.map .map__frame { flex: 1; width: 100%; min-height: 300px; border: 0; display: block; }
.map__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--line); background: var(--surface);
  transition: background .2s;
}
.map__bar:hover { background: var(--bg-alt); }
.map__bar span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.map__bar strong { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .92rem; }
.map__bar svg { width: 16px; height: 16px; }
.map__bar span svg { color: var(--brass); }

/* Footer now has a single column of legal text */
.footer__legal { grid-column: 1 / -1; max-width: 780px; }

/* ===== Premium touches ===== */

/* Reading-progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #a27c36, #e8cf8f, #a27c36); transform-origin: left; transform: scaleX(0); }

/* Header turns to frosted glass once scrolled */
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

/* Hero: fine film grain, pointer spotlight, gold shimmer across the name */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(232,207,143,.13), transparent 70%);
  transition: background .2s;
}
.hero h1.hero__in {
  background: linear-gradient(100deg, #f3efe6 0%, #f3efe6 42%, #ecd59a 50%, #f3efe6 58%, #f3efe6 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards, shimmer 7s ease-in-out 1.6s infinite;
  animation-delay: calc(.15s + var(--i) * .12s), 1.6s;
}
@keyframes shimmer { 0%, 60% { background-position: 100% 0; } 100% { background-position: -60% 0; } }

/* Photo frame: slow gold glow */
.hero__photo { animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards, frame-glow 5s ease-in-out 1.5s infinite; animation-delay: calc(.15s + var(--i) * .12s), 1.5s; }
@keyframes frame-glow {
  0%, 100% { box-shadow: 18px 18px 0 -1px rgba(201,167,95,.18), 0 30px 60px -30px rgba(0,0,0,.6); }
  50% { box-shadow: 18px 18px 0 -1px rgba(201,167,95,.32), 0 30px 70px -26px rgba(201,167,95,.35); }
}

/* Practice-area ticker */
.ticker { overflow: hidden; background: #34090f; border-top: 1px solid rgba(201,167,95,.25); border-bottom: 1px solid rgba(201,167,95,.25); }
.ticker__track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker__track span { padding: 14px 22px; font: 500 1.05rem var(--serif); letter-spacing: .04em; color: #e9dfc8; white-space: nowrap; }
.ticker__track i { align-self: center; font-style: normal; color: #c9a75f; font-size: .7rem; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Legal maxim band */
.maxim {
  position: relative; overflow: hidden; text-align: center; padding: 72px 0;
  background: linear-gradient(160deg, #4a1520 0%, #6b1e2b 55%, #34090f 100%); color: #f3efe6;
}
.maxim::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(232,207,143,.12), transparent 65%); }
.maxim .container { position: relative; }
.maxim__mark { display: block; font: 600 5rem/0.6 var(--serif); color: #c9a75f; opacity: .7; }
.maxim__text { font: italic 600 clamp(2rem, 5vw, 3.2rem)/1.2 var(--serif); margin: 18px 0 10px; letter-spacing: .02em; }
.maxim__sub { margin: 0 auto; max-width: 520px; color: rgba(243,239,230,.72); font-size: .95rem; }

/* Section headings: the gold rule draws in when the heading appears */
.js .section h2::after { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1) .25s; }
.js .section-head--center h2::after { transform-origin: center; }
.js .seen h2::after, .js h2.seen::after { transform: scaleX(1); }

/* Cards: thin gold edge glow on hover */
.area:hover, .article-card:hover, .expect__item:hover, .office:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 35%, transparent), 0 22px 40px -24px rgba(74,21,32,.45);
}
.office { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.office:hover { transform: translateY(-4px); }

/* What to Expect icons: dashed gold ring turns on hover */
.expect__icon { position: relative; }
.expect__icon::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--brass) 70%, transparent);
  opacity: 0; transition: opacity .3s;
}
.expect__item:hover .expect__icon::after { opacity: 1; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none !important; }
  .hero h1.hero__in { color: #f3efe6; background: none; }
}

/* Hero without the photo frame */
.hero__content--text { grid-template-columns: 1fr; grid-template-areas: "text"; }
.hero:has(.hero__content--text) .hero__emblem { right: 6%; }

/* ===== Richer design ===== */

/* Gold jali (Indian lattice) pattern, used on dark and light backgrounds */
:root {
  --jali-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23c9a75f' stroke-width='1'%3E%3Ccircle cx='32' cy='32' r='22'/%3E%3Ccircle cx='0' cy='0' r='22'/%3E%3Ccircle cx='64' cy='0' r='22'/%3E%3Ccircle cx='0' cy='64' r='22'/%3E%3Ccircle cx='64' cy='64' r='22'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__bg::before {
  background-image: var(--jali-gold);
  background-size: 64px 64px;
  opacity: .13;
  mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 72%);
}
.maxim::after, .practice-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--jali-gold); background-size: 64px 64px; opacity: .08;
}
#practice { position: relative; }
#practice::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--jali-gold); background-size: 64px 64px; opacity: .07;
  mask-image: linear-gradient(180deg, #000, transparent 45%, transparent 70%, #000);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%, transparent 70%, #000);
}
#practice .container { position: relative; }
.practice-hero .container { position: relative; z-index: 1; }

/* Hero: text on the left, consultation panel on the right */
.hero__content--panel { grid-template-columns: 1fr 380px; grid-template-areas: "text panel"; }
.hero:has(.hero__content--panel) .hero__emblem { right: 34%; opacity: .06; }
.hero__panel {
  grid-area: panel; position: relative;
  padding: 26px 26px 24px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(201,167,95,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero__panel::before {
  content: ""; position: absolute; inset: 7px; border-radius: 13px; pointer-events: none;
  border: 1px solid rgba(201,167,95,.18);
}
.hero__panel-title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 600 .78rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #d9b970;
}
.hero__panel-title span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,167,95,.6), transparent); }
.hero__panel-list { list-style: none; margin: 0; padding: 0; }
.hero__panel-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(243,239,230,.1); }
.hero__panel-list li:last-child { border-bottom: 0; }
.hero__panel-list svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; color: #e8cf8f; background: rgba(201,167,95,.14); }
.hero__panel-list strong { display: block; font: 600 1.08rem var(--serif); color: #f3efe6; }
.hero__panel-list span { font-size: .86rem; color: rgba(243,239,230,.72); }
.hero__panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hero__panel-actions .btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: .7em 1em; }
.hero__panel-actions svg { width: 16px; height: 16px; }

/* About: text beside a brass nameplate */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.nameplate {
  position: relative; padding: 14px; border-radius: 20px;
  background: linear-gradient(145deg, #c9a75f, #8a6a2c 45%, #e3c886 70%, #a27c36);
  box-shadow: 0 40px 70px -40px rgba(74,21,32,.7);
  transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.nameplate:hover { transform: rotate(0deg) translateY(-4px); }
.nameplate__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: 44px 28px 40px; border-radius: 12px;
  background: linear-gradient(160deg, #5a1823, #3e0f17);
  color: #f3efe6;
  box-shadow: inset 0 0 0 1px rgba(232,207,143,.45), inset 0 0 0 6px #3e0f17, inset 0 0 0 7px rgba(232,207,143,.25);
}
.nameplate__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--jali-gold); background-size: 48px 48px; opacity: .1;
}
.nameplate__inner > * { position: relative; }
.nameplate__icon { width: 40px; height: 40px; color: #e8cf8f; stroke-width: 1.4; }
.nameplate__role { margin: 14px 0 4px; font: 600 .74rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #d9b970; }
.nameplate__name {
  margin: 0; font: 600 clamp(2rem, 4vw, 2.6rem)/1.1 var(--serif);
  background: linear-gradient(180deg, #fbf1d6, #d9b970); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nameplate__rule { display: flex; align-items: center; gap: 10px; width: 160px; margin: 16px auto; color: #c9a75f; font-size: .7rem; }
.nameplate__rule::before, .nameplate__rule::after { content: ""; flex: 1; height: 1px; background: rgba(201,167,95,.6); }
.nameplate__rule i { font-style: normal; }
.nameplate__deg { margin: 0 0 4px; font: 500 1.15rem var(--serif); color: #f3efe6; }
.nameplate__court { margin: 0; font-size: .86rem; color: rgba(243,239,230,.7); letter-spacing: .03em; }

@media (max-width: 960px) {
  .hero__content--panel { grid-template-columns: 1fr; grid-template-areas: "text" "panel"; gap: 36px; }
  .hero__panel { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .nameplate { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 960px) { .hero:has(.hero__content--panel) .hero__emblem { right: -18%; } }

/* Tablet and phone: no tall empty hero, panel uses the full width */
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 64px 0 56px; }
  .hero__scroll { display: none; }
  .hero__panel { max-width: none; padding: 22px; }
  .hero__panel-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .hero__panel-list li:nth-last-child(2) { border-bottom: 0; }
  .hero__panel-title { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .hero__panel-list { grid-template-columns: 1fr; }
  .hero__panel-list li { padding: 10px 0; }
  .hero__panel-list li:nth-last-child(2) { border-bottom: 1px solid rgba(243,239,230,.1); }
  .hero__panel-list svg { width: 30px; height: 30px; padding: 7px; }
  .hero__panel-actions { margin-top: 14px; }
  .hero__chips { margin-top: 28px; }
}

/* ===== Photographic backgrounds (free-licence images from Unsplash) =====
   Library: photo-1505664194779-8beaceb93744 (Giammarco Boscaro)
   Lady Justice: photo-1589829545856-d10d557cf95f (Tingey Injury Law Firm) */
.hero, .practice-hero {
  background:
    linear-gradient(100deg, rgba(52,9,15,.96) 0%, rgba(74,21,32,.9) 40%, rgba(107,30,43,.72) 70%, rgba(52,9,15,.82) 100%),
    url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920&q=70&auto=format&fit=crop") center 35% / cover no-repeat,
    #4a1520;
}
.hero__emblem { display: none; }
.hero__bg::before { opacity: .07; }

.maxim {
  text-align: left; padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(52,9,15,.97) 0%, rgba(52,9,15,.9) 38%, rgba(74,21,32,.45) 75%, rgba(52,9,15,.55) 100%),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=70&auto=format&fit=crop") 70% center / cover no-repeat,
    #4a1520;
}
.maxim .container { max-width: 1080px; }
.maxim__mark, .maxim__text, .maxim__sub { max-width: 520px; margin-left: 0; }
.maxim__mark { margin-bottom: -6px; }
@media (max-width: 760px) {
  .maxim { padding: 72px 0; background-position: center, 78% center, center; }
  .maxim .container { text-align: center; }
  .maxim__mark, .maxim__text, .maxim__sub { margin-left: auto; margin-right: auto; }
}

/* Preamble band with the line-art Lady Justice (replaces the photo) */
.maxim {
  text-align: left; padding: 88px 0;
  background: linear-gradient(160deg, #4a1520 0%, #6b1e2b 55%, #34090f 100%);
}
.maxim__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; max-width: 1080px; }
.maxim__eyebrow { margin: 0 0 12px; font: 600 .78rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #d9b970; }
.maxim .maxim__text { max-width: none; margin: 0 0 18px; font: italic 600 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--serif); }
.maxim__preamble { margin: 0 0 22px; max-width: 560px; font: 400 1.2rem/1.75 var(--serif); color: rgba(243,239,230,.85); }
.maxim__preamble em { font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .95em; color: #e8cf8f; }
.maxim .maxim__sub { margin: 0; max-width: none; font-size: .85rem; letter-spacing: .04em; color: rgba(243,239,230,.6); }
.maxim .maxim__sub::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 10px; vertical-align: middle; background: #c9a75f; }
.maxim__figure { width: 100%; max-width: 300px; height: auto; justify-self: center; overflow: visible; }

/* The figure draws itself in gold when it scrolls into view */
.js .maxim__figure .lj-lines > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.45,.1,.2,1); }
.js .maxim__figure .lj-book, .js .maxim__figure .lj-dot { opacity: 0; transition: opacity .8s ease 2s; }
.js .maxim__figure.seen .lj-lines > * { stroke-dashoffset: 0; }
.js .maxim__figure.seen .lj-book, .js .maxim__figure.seen .lj-dot { opacity: 1; }

@media (max-width: 760px) {
  .maxim { padding: 64px 0; }
  .maxim__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .maxim__preamble { margin-left: auto; margin-right: auto; font-size: 1.08rem; }
  .maxim__figure { max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .maxim__figure .lj-lines > * { stroke-dashoffset: 0 !important; }
  .js .maxim__figure .lj-book, .js .maxim__figure .lj-dot { opacity: 1 !important; }
}

/* Preamble as a framed parchment on maroon */
.maxim { text-align: center; padding: 88px 0; }
.parchment {
  position: relative; max-width: 920px; margin: 0 auto;
  padding: 56px 56px 44px; border-radius: 6px;
  background:
    radial-gradient(ellipse at center, #fffaf0 0%, #f7eedc 70%, #efe2c6 100%);
  color: #3e0f17;
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.65), inset 0 0 0 1px rgba(162,124,54,.5), inset 0 0 0 8px #f7eedc, inset 0 0 0 9px rgba(162,124,54,.6);
}
.parchment__corner { position: absolute; width: 34px; height: 34px; border: 2px solid #a27c36; }
.parchment__corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.parchment__corner--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.parchment__corner--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.parchment__corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.parchment__eyebrow { margin: 0 0 10px; font: 600 .76rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #a27c36; }
.parchment__title { margin: 0; font: italic 600 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--serif); color: #5a1823; }
.parchment__rule { display: flex; align-items: center; gap: 12px; width: 200px; margin: 18px auto; color: #a27c36; font-size: .75rem; }
.parchment__rule::before, .parchment__rule::after { content: ""; flex: 1; height: 1px; background: #a27c36; opacity: .7; }
.parchment__rule i { font-style: normal; }
.parchment__text { max-width: 620px; margin: 0 auto 34px; font: 400 1.25rem/1.7 var(--serif); color: #4a2a2a; }
.ideals { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(162,124,54,.4); border-bottom: 1px solid rgba(162,124,54,.4); }
.ideal { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 14px; }
.ideal + .ideal { border-left: 1px solid rgba(162,124,54,.3); }
.ideal svg { width: 26px; height: 26px; color: #6b1e2b; stroke-width: 1.6; margin-bottom: 4px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.ideal:hover svg { transform: translateY(-3px) scale(1.08); }
.ideal strong { font: 600 .9rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #6b1e2b; }
.ideal span { font: italic 400 .98rem/1.45 var(--serif); color: #5e4a46; }
.parchment__source { margin: 22px 0 0; font-size: .8rem; letter-spacing: .06em; color: #8a6f5a; }
@media (max-width: 760px) {
  .maxim { padding: 56px 0; }
  .parchment { padding: 44px 22px 32px; }
  .parchment__corner { width: 22px; height: 22px; }
  .parchment__corner--tl, .parchment__corner--tr { top: 12px; } .parchment__corner--bl, .parchment__corner--br { bottom: 12px; }
  .parchment__corner--tl, .parchment__corner--bl { left: 12px; } .parchment__corner--tr, .parchment__corner--br { right: 12px; }
  .parchment__text { font-size: 1.1rem; }
  .ideals { grid-template-columns: 1fr 1fr; }
  .ideal:nth-child(3) { border-left: 0; }
  .ideal:nth-child(n+3) { border-top: 1px solid rgba(162,124,54,.3); }
}
.maxim .container { position: relative; z-index: 1; }

/* Photo band before the appointment form */
.photo-band {
  position: relative; overflow: hidden; padding: 120px 0; color: #f3efe6;
  background:
    linear-gradient(90deg, rgba(20,8,10,.94) 0%, rgba(40,10,16,.82) 38%, rgba(40,10,16,.25) 72%, rgba(20,8,10,.35) 100%),
    url("https://images.unsplash.com/photo-1767972463877-b64ba4283cd0?w=1920&q=70&auto=format&fit=crop") 70% center / cover no-repeat,
    #1a0b0e;
}
.photo-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #a27c36, #e8cf8f, #a27c36); }
.photo-band__content { max-width: 520px; }
.photo-band__eyebrow { margin: 0 0 12px; font: 600 .78rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #d9b970; }
.photo-band__eyebrow::before { content: ""; display: inline-block; width: 32px; height: 1px; margin-right: 12px; vertical-align: middle; background: #c9a75f; }
.photo-band__title { margin: 0 0 16px; font: 600 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--serif); }
.photo-band__text { margin: 0 0 30px; font-size: 1.05rem; color: rgba(243,239,230,.78); }
.photo-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-band__actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.photo-band__actions svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .photo-band { padding: 80px 0; background-position: center, 78% center, center;
    background-image: linear-gradient(180deg, rgba(20,8,10,.6), rgba(20,8,10,.9)), url("https://images.unsplash.com/photo-1767972463877-b64ba4283cd0?w=1000&q=70&auto=format&fit=crop"); }
}

/* ===== More photography ===== */
/* Article card thumbnails */
.article-card { padding-top: 0; overflow: hidden; }
.article-card__img { display: block; margin: 0 -24px 14px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.article-card:hover .article-card__img img { transform: scale(1.06); }

/* What to Expect: photo beside a 2 x 2 grid of cards */
.expect__layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; margin-top: 28px; align-items: stretch; }
.expect__layout .expect__grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
.expect__photo, .faq__photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; min-height: 320px; box-shadow: 0 30px 60px -36px rgba(74,21,32,.55); }
.expect__photo img, .faq__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.expect__photo::after, .faq__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(62,15,23,.45)), linear-gradient(0deg, rgba(107,30,43,.12), rgba(107,30,43,.12));
  box-shadow: inset 0 0 0 1px rgba(201,167,95,.35);
  border-radius: inherit;
}

/* FAQ: photo beside the questions */
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.faq__photo { position: sticky; top: 96px; min-height: 520px; }

@media (max-width: 960px) {
  .expect__layout { grid-template-columns: 1fr; }
  .expect__photo { min-height: 240px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq__photo { position: relative; top: 0; min-height: 240px; }
}
@media (max-width: 520px) { .expect__layout .expect__grid { grid-template-columns: 1fr; } }

/* Monogram in the header */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 36px; height: 36px; flex: none; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }

/* Each practice page has its own header photo (set per page in --hero-img) */
.practice-hero {
  padding: 64px 0 72px;
  background:
    linear-gradient(100deg, rgba(52,9,15,.95) 0%, rgba(74,21,32,.86) 45%, rgba(107,30,43,.6) 75%, rgba(52,9,15,.75) 100%),
    var(--hero-img, url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920&q=70&auto=format&fit=crop")) center / cover no-repeat,
    #4a1520;
}

/* Page not found */
.notfound {
  min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; color: #f3efe6;
  background:
    linear-gradient(160deg, rgba(52,9,15,.94), rgba(74,21,32,.88)),
    url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1600&q=60&auto=format&fit=crop") center / cover, #4a1520;
}
.notfound__box { max-width: 520px; }
.notfound__code { margin: 18px 0 0; font: 600 5rem/1 var(--serif); color: #d9b970; }
.notfound h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 8px 0 10px; }
.notfound p { color: rgba(243,239,230,.75); }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Clear keyboard focus for links, buttons and form fields */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid #c9a75f; outline-offset: 3px; border-radius: 6px;
}
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Practice cards with a photo header; the icon sits on the photo as a badge */
.area--photo { padding-top: 0; }
.area__img { position: relative; display: block; margin: 0 -22px 30px; aspect-ratio: 16 / 9; overflow: visible; }
.area__img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 11px 11px 0 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; filter: saturate(.85); }
.area__img::after { content: ""; position: absolute; inset: 0; border-radius: 11px 11px 0 0; background: linear-gradient(180deg, rgba(62,15,23,0) 40%, rgba(62,15,23,.55)); pointer-events: none; }
.area--photo { overflow: hidden; }
.area--photo:hover .area__img img { transform: scale(1.06); filter: saturate(1); }
.area__img .area__icon {
  position: absolute; left: 22px; bottom: -22px; z-index: 2; margin: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 4px var(--surface), 0 10px 20px -10px rgba(74,21,32,.6);
}
.area--photo:hover .area__img .area__icon { background: var(--brass); color: var(--surface); }
.area--photo::before { z-index: 3; }

/* ===== Practice card animations ===== */
/* 1. Entrance: photo wipes up into view, icon badge pops in, list items cascade (staggered per card via --d) */
.area--photo .area__img img { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.65,0,.25,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; transition-delay: calc(var(--d, 0) * 90ms), 0s, 0s; }
.js .area--photo:not(.seen) .area__img img { clip-path: inset(100% 0 0 0); }
.area--photo .area__img .area__icon { transition: transform .6s cubic-bezier(.34,1.56,.64,1), background .35s, color .35s; transition-delay: calc(var(--d, 0) * 90ms + .7s), 0s, 0s; }
.js .area--photo:not(.seen) .area__img .area__icon { transform: scale(0) rotate(-30deg); }
.area--photo li, .area--photo .area__more { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.js .area--photo:not(.seen) li, .js .area--photo:not(.seen) .area__more { opacity: 0; transform: translateX(-10px); }
.area--photo li:nth-child(1) { transition-delay: calc(var(--d, 0) * 90ms + .8s); }
.area--photo li:nth-child(2) { transition-delay: calc(var(--d, 0) * 90ms + .9s); }
.area--photo li:nth-child(3) { transition-delay: calc(var(--d, 0) * 90ms + 1s); }
.area--photo li:nth-child(4) { transition-delay: calc(var(--d, 0) * 90ms + 1.1s); }
.area--photo li:nth-child(5) { transition-delay: calc(var(--d, 0) * 90ms + 1.2s); }
.area--photo .area__more { transition-delay: calc(var(--d, 0) * 90ms + 1.3s), calc(var(--d, 0) * 90ms + 1.3s); }

/* 2. Light sweep across the photo on hover */
.area__img::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,240,210,.35), transparent);
  transform: skewX(-18deg); transition: left .9s ease;
}
.area--photo:hover .area__img::before { left: 130%; }

/* 3. Gentle 3D tilt that follows the pointer (desktop) */
@media (hover: hover) {
  .area--photo { transform-style: preserve-3d; will-change: transform; }
  .area--photo:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
  .area--photo .area__more svg { transition: transform .3s; }
}

/* ===== Office help assistant ===== */
.float-contact { bottom: 88px; }
.assistant { position: fixed; right: 20px; bottom: 20px; z-index: 65; font-family: var(--sans); }
.assistant__launcher {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #3e0f17;
  background: linear-gradient(145deg, #e8cf8f, #c9a75f 55%, #a27c36);
  box-shadow: 0 12px 26px -10px rgba(74,21,32,.7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .25s;
  animation: pop-in .5s cubic-bezier(.2,.8,.2,1) 1.5s both;
}
.assistant__launcher:hover { transform: scale(1.06); }
.assistant__launcher svg { width: 27px; height: 27px; grid-area: 1 / 1; transition: transform .3s, opacity .3s; }
.assistant__ico-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.assistant.is-open .assistant__ico-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.assistant.is-open .assistant__ico-close { opacity: 1; transform: none; }
.assistant__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #c9a75f; animation: ping 2.6s ease-out 3s infinite; }
.assistant.is-open .assistant__pulse { display: none; }

.assistant__panel {
  position: absolute; right: 0; bottom: 74px; width: 370px; max-height: min(600px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -24px rgba(30,8,12,.55);
  opacity: 0; transform: translateY(16px) scale(.96); transform-origin: bottom right;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.assistant.is-open .assistant__panel { opacity: 1; transform: none; }
.assistant__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #f3efe6;
  background: linear-gradient(150deg, #5a1823, #3e0f17);
  border-bottom: 2px solid #c9a75f;
}
.assistant__head > div:nth-child(2) { flex: 1; min-width: 0; }
.assistant__title { margin: 0; font: 600 1.15rem/1.2 var(--serif); }
.assistant__note { margin: 2px 0 0; font-size: .72rem; color: rgba(243,239,230,.7); }
.assistant__lang { display: flex; border: 1px solid rgba(201,167,95,.5); border-radius: 999px; overflow: hidden; }
.assistant__lang button { border: 0; padding: 5px 10px; font: 600 .75rem var(--sans); cursor: pointer; background: transparent; color: #e9dfc8; }
.assistant__lang button[aria-pressed="true"] { background: #c9a75f; color: #3e0f17; }

.assistant__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; min-height: 180px;
  background-image: var(--jali-gold); background-size: 64px 64px; background-blend-mode: normal; }
.assistant__msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.5; animation: rise .35s ease both; }
.assistant__msg p { margin: 0; }
.assistant__msg--bot { align-self: flex-start; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.assistant__msg--user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.assistant__typing { display: flex; gap: 4px; padding: 13px 14px; }
.assistant__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); animation: typing 1s ease-in-out infinite; }
.assistant__typing span:nth-child(2) { animation-delay: .15s; } .assistant__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.assistant__actions, .assistant__areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.assistant__actions a, .assistant__areas a {
  font-size: .78rem; font-weight: 500; text-decoration: none; padding: 6px 11px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); background: transparent;
  transition: background .2s, color .2s;
}
.assistant__actions a:hover, .assistant__areas a:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.assistant__actions a.is-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.assistant__quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px; border-top: 1px solid var(--line); scrollbar-width: none; }
.assistant__quick::-webkit-scrollbar { display: none; }
.assistant__quick button {
  flex: none; padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 500 .78rem var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, color .2s;
}
.assistant__quick button:hover { border-color: var(--brass); color: var(--accent); }
.assistant__form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); border-top: 1px solid var(--line); }
.assistant__form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 .9rem var(--sans); }
.assistant__form input:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: transparent; }
.assistant__form button { width: 42px; border: 0; border-radius: 10px; cursor: pointer; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.assistant__form button svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .assistant { right: 14px; bottom: 14px; }
  .float-contact { bottom: 80px; }
  .assistant__launcher { width: 54px; height: 54px; }
  .assistant__panel { position: fixed; left: 10px; right: 10px; bottom: 80px; width: auto; max-height: calc(100vh - 110px); }
}
.assistant__log { background-image: linear-gradient(color-mix(in srgb, var(--bg) 93%, transparent), color-mix(in srgb, var(--bg) 93%, transparent)), var(--jali-gold); background-size: auto, 64px 64px; }

/* Choice of how to send the request by email */
.email-options {
  padding: 18px 20px; border-radius: 12px; background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--brass) 45%, var(--line)); animation: rise .35s ease both;
}
.email-options[hidden] { display: none; }
.email-options__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.email-options__head strong { font: 600 1.2rem var(--serif); }
.email-options__close { border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.email-options p { margin: 0 0 14px; font-size: .9rem; color: var(--ink-soft); }
.email-options__to { color: var(--ink); font-weight: 500; }
.email-options__row { display: flex; flex-wrap: wrap; gap: 10px; }
.email-options__row .btn { padding: .6em 1.1em; font-size: .88rem; }

/* A closed assistant window must not cover the page or catch clicks */
.assistant__panel[hidden] { display: none !important; }
.assistant:not(.is-open) .assistant__panel { pointer-events: none; }
body.is-typing .float-contact, body.is-typing .assistant { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.float-contact, .assistant { transition: opacity .2s, transform .2s; }

/* Compact consultation steps: one slim row, joined by a gold line */
.steps { position: relative; grid-template-columns: repeat(3, 1fr) !important; gap: 10px; margin: 22px 0 6px; }
.steps li { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; }
.steps li::before { top: 8px; right: 10px; font-size: 1rem; }
.steps__icon { flex: none; width: 34px; height: 34px; }
.steps__icon svg { width: 17px; height: 17px; }
.steps strong { margin: 0; font-size: .88rem; line-height: 1.25; }
.steps li > span:last-child { display: none; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; width: 12px; height: 1px; background: var(--brass);
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr !important; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .steps li { border: 0; border-radius: 0; background: none; padding: 10px 14px; }
  .steps li + li { border-top: 1px dashed var(--line); }
  .steps li:not(:last-child)::after { display: none; }
}
