/* ==========================================================================
   Reshma Sewsunker Attorneys — rsattorneys.co.za
   Design system
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand — sampled from the firm's letterhead */
  --ink:        #13110D;
  --ink-2:      #1C1913;
  --ink-3:      #2A251C;
  --gold:       #BB861C;
  --gold-deep:  #9A6D12;
  --gold-lt:    #D9BF8D;
  --champagne:  #EDE1C9;
  --ivory:      #FAF6EE;
  --ivory-2:    #F3ECE0;
  --paper:      #FFFFFF;
  --muted:      #6E665A;
  --muted-2:    #8C8477;

  --line:       rgba(19, 17, 13, 0.13);
  --line-soft:  rgba(19, 17, 13, 0.07);
  --line-dark:  rgba(217, 191, 141, 0.18);
  --line-dark-soft: rgba(217, 191, 141, 0.09);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.9rem, 1.4rem + 6.2vw, 6.5rem);
  --fs-h1:      clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
  --fs-h2:      clamp(2rem, 1.35rem + 2.7vw, 3.4rem);
  --fs-h3:      clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  --fs-lead:    clamp(1.075rem, 1rem + 0.5vw, 1.35rem);
  --fs-body:    clamp(1rem, 0.965rem + 0.16vw, 1.0625rem);
  --fs-label:   0.6875rem;

  --shell: 1280px;
  --gutter: clamp(1.375rem, 5vw, 5.5rem);
  --section-y: clamp(5rem, 9vw, 10rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 78px;
}

/* --- Base ----------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: 1.72;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* --- Layout helpers -------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: 1480px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }

.dark {
  background: var(--ink);
  color: var(--ivory);
  --line: var(--line-dark);
  --line-soft: var(--line-dark-soft);
  --muted: #9C9284;
  --muted-2: #7E7568;
}

/* --- Typographic atoms ----------------------------------------------------- */
.label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  line-height: 1;
}
.label::before {
  content: "";
  width: clamp(1.5rem, 3vw, 2.75rem);
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.label--plain::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.68;
  color: var(--muted);
  font-weight: 350;
}
.dark .lead { color: #B4AA9A; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.gold-rule {
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border: 0;
}

.serif-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 1rem + 3.4vw, 3.75rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.amp { font-style: italic; color: var(--gold); }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: transparent;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.075rem 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--ivory); }
.btn:hover::after { transform: scaleY(1); transform-origin: top; }

.btn .arw { transition: transform 0.45s var(--ease-out); flex: none; }
.btn:hover .arw { transform: translateX(5px); }

.btn--gold { --btn-fg: var(--ink); --btn-bd: var(--gold); --btn-bg: var(--gold); }
.btn--gold::after { background: var(--ink); }
.btn--gold:hover { color: var(--gold-lt); border-color: var(--ink); }

.btn--ghost-light { --btn-fg: var(--ivory); --btn-bd: rgba(217,191,141,0.4); }
.btn--ghost-light::after { background: var(--gold-lt); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--gold-lt); }

/* Text link with animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.45rem;
  position: relative;
  width: fit-content;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(0); }
.tlink .arw { transition: transform 0.45s var(--ease-out); }
.tlink:hover .arw { transform: translateX(5px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 238, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
              height 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.header.is-stuck,
.header.is-solid {
  background: rgba(250, 246, 238, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
}
.header.is-stuck { height: 66px; }

.header__inner {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex: none;
}
.brand__seal {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  flex: none;
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand__seal { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; gap: 0.28rem; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.header--light .brand__name { color: var(--ivory); }
.header--light.is-stuck .brand__name,
.header--light.is-solid .brand__name { color: var(--ink); }

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.nav__link {
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover { color: var(--gold-deep); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold-deep); }

.header--light .nav__link { color: rgba(250,246,238,0.82); }
.header--light .nav__link:hover,
.header--light .nav__link[aria-current="page"] { color: var(--gold-lt); }
.header--light.is-stuck .nav__link,
.header--light.is-solid .nav__link { color: var(--ink); }
.header--light.is-stuck .nav__link:hover,
.header--light.is-solid .nav__link:hover,
.header--light.is-stuck .nav__link[aria-current="page"],
.header--light.is-solid .nav__link[aria-current="page"] { color: var(--gold-deep); }

.header__cta { display: flex; align-items: center; gap: 1.25rem; }
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}
.header__tel:hover { color: var(--gold-deep); }
.header--light .header__tel { color: rgba(250,246,238,0.85); }
.header--light.is-stuck .header__tel,
.header--light.is-solid .header__tel { color: var(--ink); }
.header__tel svg { color: var(--gold); flex: none; }

.btn--sm { padding: 0.8rem 1.4rem; font-size: 0.64rem; letter-spacing: 0.18em; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  position: relative;
  z-index: 120;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), opacity 0.25s var(--ease), background 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.header--light .burger span { background: var(--ivory); }
.header--light.is-stuck .burger span,
.header--light.is-solid .burger span { background: var(--ink); }
body.menu-open .burger span { background: var(--ivory) !important; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-out);
  visibility: hidden;
  overflow-y: auto;
}
body.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; }

.drawer__nav { display: flex; flex-direction: column; }
.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 9vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-decoration: none;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line-dark-soft);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s var(--ease);
}
body.menu-open .drawer__link { opacity: 1; transform: none; }
body.menu-open .drawer__link:nth-child(1) { transition-delay: 0.18s; }
body.menu-open .drawer__link:nth-child(2) { transition-delay: 0.25s; }
body.menu-open .drawer__link:nth-child(3) { transition-delay: 0.32s; }
body.menu-open .drawer__link:nth-child(4) { transition-delay: 0.39s; }
.drawer__link:hover { color: var(--gold-lt); }
.drawer__link .n {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  flex: none;
}
.drawer__foot {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out) 0.46s, transform 0.6s var(--ease-out) 0.46s;
}
body.menu-open .drawer__foot { opacity: 1; transform: none; }
.drawer__foot a {
  text-decoration: none;
  color: var(--gold-lt);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.drawer__foot p { color: #8C8477; font-size: 0.82rem; line-height: 1.6; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  isolation: isolate;
}

/* Layered atmosphere */
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 78% 8%, rgba(187,134,28,0.20) 0%, transparent 58%),
    radial-gradient(90% 70% at 8% 100%, rgba(217,191,141,0.10) 0%, transparent 62%),
    linear-gradient(180deg, #17140F 0%, #13110D 55%, #0E0C09 100%);
}
/* Fine engraved hairlines — echoes the guilloche on the firm's letterhead */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(217,191,141,0.055) 0px,
    rgba(217,191,141,0.055) 1px,
    transparent 1px,
    transparent 9px
  );
  -webkit-mask-image: radial-gradient(78% 62% at 62% 42%, #000 0%, transparent 76%);
  mask-image: radial-gradient(78% 62% at 62% 42%, #000 0%, transparent 76%);
  opacity: 0.9;
}

.hero__wave {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: min(78vw, 900px);
  z-index: -2;
  opacity: 0.5;
  pointer-events: none;
}

.hero__seal {
  position: absolute;
  top: 50%;
  right: clamp(-140px, -6vw, -40px);
  transform: translateY(-50%);
  width: min(46vw, 560px);
  z-index: -2;
  opacity: 0.055;
  filter: grayscale(1) brightness(2.6) contrast(0.6);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.hero__inner { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex: none; }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.028em;
  max-width: 16ch;
  color: #FBF8F2;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-lt);
  font-weight: 300;
}

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.hero__lede {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: #ADA394;
  max-width: 46ch;
  font-weight: 350;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Right column: credential ledger */
.ledger { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-dark); }
.ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line-dark-soft);
}
.ledger__k {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7E7568;
}
.ledger__v {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  font-weight: 400;
  color: var(--gold-lt);
  letter-spacing: 0.01em;
  text-align: right;
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6E6558;
}
.hero__scroll i {
  display: block;
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: drop 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drop {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(34px); opacity: 0; }
}

/* Page hero (interior pages) */
.phero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding-top: calc(var(--header-h) + clamp(4.5rem, 9vw, 8rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(100% 90% at 88% 0%, rgba(187,134,28,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #17140F 0%, #12100C 100%);
}
.phero::after {
  content: "";
  position: absolute; inset: -20%; z-index: -1;
  background-image: repeating-linear-gradient(-58deg, rgba(217,191,141,0.05) 0 1px, transparent 1px 9px);
  -webkit-mask-image: radial-gradient(70% 70% at 75% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 75% 30%, #000, transparent 75%);
}
.phero__title {
  font-size: var(--fs-h1);
  max-width: 18ch;
  margin-top: 1.5rem;
  color: #FBF8F2;
}
.phero__title em { font-style: italic; color: var(--gold-lt); }
.phero__lede { margin-top: 1.6rem; max-width: 58ch; color: #ADA394; font-size: var(--fs-lead); line-height: 1.7; }

.crumbs {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #7E7568;
}
.crumbs a { text-decoration: none; color: var(--gold); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Credential strip
   ========================================================================== */
.creds {
  background: var(--ink-2);
  color: var(--ivory);
  border-top: 1px solid var(--line-dark-soft);
  border-bottom: 1px solid var(--line-dark-soft);
}
.creds__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.creds__item {
  padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1rem, 2.4vw, 2.25rem);
  border-right: 1px solid var(--line-dark-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.creds__item:first-child { padding-left: 0; }
.creds__item:last-child { border-right: 0; padding-right: 0; }
.creds__n {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 300;
  color: var(--gold-lt);
  line-height: 1;
  letter-spacing: -0.02em;
}
.creds__t {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C8477;
  line-height: 1.5;
}

/* ==========================================================================
   Split intro
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.split__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.split__body > * + * { margin-top: 1.5rem; }

.bigtext {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 0.95rem + 2.1vw, 2.55rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 24ch;
}
.dark .bigtext { color: #F2EDE3; }

/* ==========================================================================
   Practice areas — editorial ledger
   ========================================================================== */
.areas { border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4rem); }

.area {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.05fr) 3rem;
  gap: clamp(1rem, 3vw, 2.75rem);
  align-items: start;
  padding-block: clamp(1.85rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding-inline 0.6s var(--ease-out);
}
.area::before {
  content: "";
  position: absolute;
  inset: 0 -1.5rem;
  background: linear-gradient(90deg, rgba(237,225,201,0.5), rgba(237,225,201,0.12));
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  z-index: -1;
}
.dark .area::before { background: linear-gradient(90deg, rgba(187,134,28,0.13), transparent); }
.area:hover::before { opacity: 1; }
.area:hover { padding-inline: 1.5rem; }

.area__n {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.16em;
  padding-top: 0.45rem;
  transition: transform 0.6s var(--ease-out);
}
.area:hover .area__n { transform: translateY(-3px); }

.area__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  transition: color 0.4s var(--ease);
}
.area:hover .area__title { color: var(--gold-deep); }
.dark .area:hover .area__title { color: var(--gold-lt); }

.area__desc { color: var(--muted); font-size: 0.965rem; line-height: 1.72; max-width: 52ch; }

.area__arw {
  justify-self: end;
  align-self: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
              color 0.5s var(--ease), transform 0.5s var(--ease-out);
  flex: none;
}
.area:hover .area__arw {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: rotate(-45deg);
}

/* Detail blocks (practice-areas page) */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-block: clamp(3rem, 5.5vw, 5rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 2rem);
}
.detail:last-of-type { border-bottom: 0; }
.detail__n {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  margin-bottom: 1rem;
  display: block;
}
.detail__title { font-size: var(--fs-h2); max-width: 14ch; }
.detail__body > * + * { margin-top: 1.3rem; }
.detail__body p { color: var(--muted); }

.ticks { list-style: none; display: grid; gap: 0.85rem; margin-top: 1.75rem; }
.ticks.two { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 2.5rem; }
.ticks li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}
.dark .ticks li { color: #E4DCCE; }
.ticks li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.55rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* ==========================================================================
   Pillars
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.pillar {
  background: var(--ivory);
  padding: clamp(1.9rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.5s var(--ease);
}
.dark .pillar { background: var(--ink); }
.pillar:hover { background: var(--paper); }
.dark .pillar:hover { background: var(--ink-2); }
.pillar__ico {
  width: 34px; height: 34px;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.pillar__t {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.pillar__d { font-size: 0.92rem; line-height: 1.68; color: var(--muted); }

/* ==========================================================================
   Quote band
   ========================================================================== */
.quote-band { position: relative; overflow: hidden; isolation: isolate; }
.quote-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(80% 100% at 20% 0%, rgba(187,134,28,0.16), transparent 62%);
}
.quote-band__mark {
  font-family: var(--font-display);
  font-size: clamp(9rem, 22vw, 18rem);
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.16;
  position: absolute;
  top: clamp(1rem, 3vw, 2.5rem);
  left: var(--gutter);
  z-index: -1;
  user-select: none;
}
.quote-band blockquote { max-width: 22ch; position: relative; }
.quote-band figcaption {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.quote-band figcaption .who {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  line-height: 1.7;
}
.quote-band figcaption .who span { display: block; color: #7E7568; letter-spacing: 0.16em; }

/* ==========================================================================
   Profile / about
   ========================================================================== */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.profile__card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
}
.profile__card::before,
.profile__card::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
}
.profile__card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.profile__card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.profile__seal { width: min(58%, 230px); margin-inline: auto; }
.profile__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 400;
  text-align: center;
  margin-top: 1.5rem;
  letter-spacing: 0.01em;
}
.profile__qual {
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.6rem;
}
.profile__meta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
}
.profile__meta div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; }
.profile__meta dt { color: var(--muted-2); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.62rem; padding-top: 0.2rem; }
.profile__meta dd { text-align: right; color: var(--ink); font-weight: 450; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2.25rem, 6vw, 5.5rem);
  align-items: start;
}

.cdetails { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cdetail {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.5s var(--ease-out);
}
a.cdetail:hover { padding-left: 0.75rem; }
.cdetail__ico { color: var(--gold); padding-top: 0.15rem; }
.cdetail__k {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.35rem;
}
.cdetail__v {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.005em;
  transition: color 0.35s var(--ease);
}
a.cdetail:hover .cdetail__v { color: var(--gold-deep); }
.dark a.cdetail:hover .cdetail__v { color: var(--gold-lt); }

/* Form */
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.dark .form { background: var(--ink-2); border-color: var(--line-dark); }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  font-family: var(--font-sans);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.dark .field input, .dark .field select, .dark .field textarea { color: var(--ivory); }
.field textarea { resize: vertical; min-height: 108px; line-height: 1.65; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field input::placeholder, .field textarea::placeholder { color: #B5AC9E; }
.field select { cursor: pointer; }
.turnstile-wrap { margin-top: 1.75rem; min-height: 65px; }
.turnstile-wrap .cf-turnstile { display: inline-block; max-width: 100%; }
.turnstile-wrap iframe { max-width: 100%; }

.form__submit { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.form__note { font-size: 0.76rem; color: var(--muted-2); line-height: 1.6; max-width: 34ch; }
.form__status { font-size: 0.85rem; margin-top: 1.15rem; display: none; }
.form__status.show { display: block; }
.form__status.ok { color: var(--gold-deep); }
.form__status.err { color: #B0332A; }

.map-frame {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(0.92);
  transition: filter 0.6s var(--ease);
  line-height: 0;
}
.map-frame:hover { filter: grayscale(0.15) contrast(1); }
.map-frame iframe { width: 100%; height: clamp(280px, 42vw, 460px); border: 0; display: block; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(187,134,28,0.28), transparent 62%),
    linear-gradient(180deg, #16130E, #100E0A);
}
.cta::after {
  content: "";
  position: absolute; inset: -30%; z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(217,191,141,0.05) 0 1px, transparent 1px 11px);
  -webkit-mask-image: radial-gradient(55% 65% at 50% 55%, #000, transparent 72%);
  mask-image: radial-gradient(55% 65% at 50% 55%, #000, transparent 72%);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.cta .label { justify-content: center; }
.cta h2 { font-size: var(--fs-h2); max-width: 17ch; color: #FBF8F2; }
.cta h2 em { font-style: italic; color: var(--gold-lt); }
.cta p { max-width: 52ch; color: #A79D8E; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0E0C09;
  color: var(--ivory);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid rgba(217,191,141,0.14);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}
.footer__brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer__brand img { width: 62px; height: 62px; object-fit: contain; flex: none; }
.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #F5F0E6;
}
.footer__tag {
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.45rem;
}
.footer__blurb { color: #8C8376; font-size: 0.9rem; line-height: 1.75; max-width: 42ch; }

.footer__h {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}
.footer__list { list-style: none; display: grid; gap: 0.75rem; }
.footer__list a, .footer__list span {
  text-decoration: none;
  color: #A79D8E;
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 0.35s var(--ease);
  display: inline-block;
}
.footer__list a:hover { color: var(--gold-lt); }
.footer__list address { font-style: normal; color: #A79D8E; font-size: 0.9rem; line-height: 1.7; }

.footer__bottom {
  border-top: 1px solid rgba(217,191,141,0.11);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6E6558;
}
.footer__bottom a { color: #6E6558; text-decoration: none; transition: color 0.35s var(--ease); }
.footer__bottom a:hover { color: var(--gold-lt); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 0.09s; }
.rv[data-d="2"] { transition-delay: 0.18s; }
.rv[data-d="3"] { transition-delay: 0.27s; }
.rv[data-d="4"] { transition-delay: 0.36s; }
.rv[data-d="5"] { transition-delay: 0.45s; }
.rv[data-d="6"] { transition-delay: 0.54s; }

/* Masked line-rise for display headings */
.rise { display: block; overflow: hidden; }
.rise > * {
  display: block;
  transform: translateY(105%);
  transition: transform 1.15s var(--ease-out);
}
.rise.in > * { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__body { grid-template-columns: 1fr; align-items: start; }
  .ledger { margin-top: 1rem; }
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .profile { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .creds__inner { grid-template-columns: 1fr 1fr; }
  .creds__item:nth-child(2) { border-right: 0; padding-right: 0; }
  .creds__item:nth-child(3) { padding-left: 0; }
  .creds__item:nth-child(1), .creds__item:nth-child(2) { border-bottom: 1px solid var(--line-dark-soft); }
  .area { grid-template-columns: 3rem minmax(0, 1fr); grid-template-areas: "n t" ". d"; }
  .area__n { grid-area: n; }
  .area__title { grid-area: t; }
  .area__desc { grid-area: d; margin-top: 0.75rem; }
  .area__arw { display: none; }
  .hero__seal { opacity: 0.04; right: -25%; width: 90vw; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand__seal { width: 36px; height: 36px; }
  .brand__name { font-size: 1.1rem; }
  .brand__sub { font-size: 0.45rem; letter-spacing: 0.24em; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn, .cta__actions .btn { width: auto; }
}

@media (max-width: 420px) {
  .hero__actions .btn, .cta__actions .btn { width: 100%; justify-content: space-between; }
}

/* --- Motion / print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .rise > * { transform: none; }
}

@media print {
  .header, .drawer, .hero__scroll, .cta, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  .dark, .hero, .phero, .footer { background: #fff !important; color: #000 !important; }
}
