:root {
  --ink: #2a241c;
  --stone: #f3efe6;
  --paper: #ffffff;
  --ivory: #faf7f1;
  --brass: #a68b4b;
  --gold: #c4a35a;
  --mute: #6a635a;
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-phone: "Oswald", "Source Sans 3", sans-serif;
  --space: clamp(1.5rem, 4.5vw, 3rem);
  --max: 70rem;
  --header-h: 5.75rem;
  /* Keep full-bleed sections aligned with the centered header column */
  --align-pad: max(var(--space), calc((100vw - var(--max)) / 2 + var(--space)));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.94)),
    url("../img/bg-linen.jpg");
  background-size: auto, 420px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background: url("../img/bg-damask.jpg") center / 540px repeat;
}

body.disclaimer-locked {
  overflow: hidden;
  height: 100%;
}

html.consent-granted body {
  overflow-x: hidden;
  overflow-y: visible;
  height: auto;
}

html.consent-granted .disclaimer-gate,
html.consent-granted .disclaimer-gate[hidden],
.disclaimer-gate.is-hidden,
.disclaimer-gate[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brass);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

.rule {
  width: 3.5rem;
  height: 1px;
  background: var(--brass);
  margin: 0 0 1.5rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  padding-inline: 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

#top {
  scroll-margin-top: 0;
}

.section-paper {
  background: var(--paper);
}

.section-inner {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--space), env(safe-area-inset-left)) max(var(--space), env(safe-area-inset-right));
}

.section-lead {
  max-width: 38rem;
  color: var(--mute);
  margin: 0 0 1.75rem;
  text-align: justify;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink);
  text-align: justify;
  hyphens: auto;
}

.tel-number {
  font-family: var(--font-phone);
  font-weight: 500;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Header — chamber bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.45);
  box-shadow: 0 8px 24px rgba(42, 36, 28, 0.06);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  height: var(--header-h);
  min-height: var(--header-h);
  padding-inline: max(clamp(1.25rem, 3.5vw, 2.75rem), env(safe-area-inset-left))
    max(clamp(1.25rem, 3.5vw, 2.75rem), env(safe-area-inset-right));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
}

.brand img {
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 50%;
  object-fit: contain;
  padding: 0.18rem;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(196, 163, 90, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--gold);
}

.brand-sub {
  align-self: flex-end;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
  width: 100%;
  padding-left: 0.35rem;
}

.nav-call-mobile {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem 0.55rem;
  min-width: 0;
  padding-inline: 0.5rem 0.75rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(42, 36, 28, 0.68);
  padding: 0.55rem 0.55rem;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--brass);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font-phone);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  white-space: nowrap;
  border: 1px solid rgba(166, 139, 75, 0.65);
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-call::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 3.7c0-.6.4-1 1-1H7.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 3.7c0-.6.4-1 1-1H7.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-call:hover {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(42, 36, 28, 0.22);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  justify-self: end;
}

.nav-toggle-bars {
  width: 1rem;
  height: 0.7rem;
  display: inline-block;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
}

/* Hero — logo panel (compact height), brand-led copy */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: clamp(28rem, 68vh, 36rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.42) 100%),
    url("../img/bg-columns.jpg") right center / cover no-repeat;
  color: var(--ink);
}

.hero--logo {
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-block: clamp(2.25rem, 5.5vw, 4rem);
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
  padding-left: var(--align-pad);
}

.hero .eyebrow {
  color: var(--brass);
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.08;
}

.hero-name {
  color: var(--gold);
  display: block;
}

.hero-firm {
  color: var(--ink);
  display: block;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  color: var(--mute);
}

.hero-sub {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.6;
  color: var(--mute);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 241, 0.7) 48%, rgba(243, 239, 230, 0.55) 100%),
    var(--ivory);
  isolation: isolate;
  display: grid;
  place-items: center;
}

.hero-visual--logo {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transform-origin: 62% 18%;
  will-change: transform;
}

.hero-visual--logo img {
  width: min(78%, 22rem);
  height: auto;
  max-height: min(72%, 22rem);
  object-fit: contain;
  object-position: center;
  transform: none;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: #fff;
  box-shadow:
    0 0 0 10px rgba(196, 163, 90, 0.1),
    0 18px 40px rgba(42, 36, 28, 0.12);
  will-change: auto;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, transparent 32%);
  pointer-events: none;
  z-index: 1;
}

.hero-visual--logo::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%);
}

.hero-gold-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform: scaleY(0);
  transform-origin: top;
  z-index: 2;
  pointer-events: none;
}

.hero-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(212, 175, 55, 0.16) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  opacity: 0;
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(1.15rem);
}

.hero.is-animated .hero-visual img {
  animation: heroKenBurns 16s ease-out forwards;
}

.hero--logo.is-animated .hero-visual--logo img {
  animation: none;
  transform: none;
}

.hero.is-animated .hero-gold-line {
  animation: heroLine 1.15s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-animated .hero-sheen {
  animation: heroSheen 1.8s 0.55s ease-out forwards;
}

.hero.is-animated .hero-copy > *:nth-child(1) {
  animation: heroRise 0.85s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-animated .hero-copy > *:nth-child(2) {
  animation: heroRise 0.9s 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-animated .hero-copy > *:nth-child(3) {
  animation: heroRise 0.9s 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-animated .hero-copy > *:nth-child(4) {
  animation: heroRise 0.9s 0.54s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-animated .hero-copy > *:nth-child(5) {
  animation: heroRise 0.95s 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroLine {
  to {
    transform: scaleY(1);
  }
}

@keyframes heroSheen {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.btn-primary:hover {
  background: #b89a58;
  color: var(--ink);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.hero .btn-ghost {
  color: var(--ink);
  border-color: rgba(42, 36, 28, 0.28);
}

.hero .btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
  text-decoration: none;
}

.disclaimer-panel .btn-ghost {
  color: var(--ink);
  border-color: rgba(26, 35, 50, 0.25);
}

/* About Us — full-width mirror of hero, equal columns */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(78vh, 42rem);
  width: 100%;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.82) 48%, #fff 100%),
    url("../img/bg-books.jpg") center / cover no-repeat;
  color: var(--ink);
  scroll-margin-top: var(--header-h);
}

.about-visual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: var(--ivory);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, var(--paper) 100%);
  pointer-events: none;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding-block: clamp(2.25rem, 6vw, 4.25rem);
  padding-left: clamp(1.75rem, 4vw, 3rem);
  padding-right: clamp(1.75rem, 4vw, 3rem);
}

.about-copy .eyebrow {
  color: var(--brass);
}

.about-copy h2 {
  color: var(--ink);
}

.about-copy .rule {
  background: var(--brass);
}

.about-copy .prose {
  max-width: none;
}

.about-copy .prose p {
  color: var(--ink);
}

.about-copy .contact-inline {
  border-top-color: rgba(42, 36, 28, 0.12);
  color: var(--mute);
}

.contact-inline {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 35, 50, 0.1);
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.75rem;
}

.about-copy .contact-inline a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.about-copy .contact-inline a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Practice — editorial gallery */
.section-practice {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.92) 70%, #fff 100%),
    url("../img/bg-marble.jpg") center / cover no-repeat;
  color: var(--ink);
}

.section-practice .eyebrow {
  color: var(--gold);
}

.section-practice h2 {
  color: var(--ink);
}

.section-practice .rule {
  background: var(--gold);
}

.section-practice .section-lead {
  color: var(--mute);
  max-width: 34rem;
}

.practice-intro {
  margin-bottom: 2.25rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.practice-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 12px 28px rgba(42, 36, 28, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.practice-card:nth-child(1),
.practice-card:nth-child(2),
.practice-card:nth-child(9),
.practice-card:nth-child(10) {
  grid-column: span 3;
}

.practice-card:hover,
.practice-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 22px 40px rgba(42, 36, 28, 0.12);
}

.practice-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ivory);
}

.practice-card:nth-child(1) .practice-card-media,
.practice-card:nth-child(2) .practice-card-media,
.practice-card:nth-child(9) .practice-card-media,
.practice-card:nth-child(10) .practice-card-media {
  aspect-ratio: 16 / 9;
}

.practice-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}

.practice-card:hover .practice-card-media img,
.practice-card:focus-within .practice-card-media img {
  transform: scale(1.1);
}

.practice-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 22, 31, 0.45) 100%);
  pointer-events: none;
}

.practice-index {
  position: absolute;
  left: 0.9rem;
  bottom: 0.85rem;
  z-index: 1;
  font-family: var(--font-phone);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(16, 22, 31, 0.82);
  padding: 0.35rem 0.5rem 0.28rem;
  line-height: 1;
}

.practice-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem 1.3rem;
  border-top: 3px solid var(--gold);
  flex: 1;
}

.practice-card-body h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.practice-card:nth-child(1) .practice-card-body h3,
.practice-card:nth-child(2) .practice-card-body h3 {
  font-size: 1.55rem;
}

.practice-card-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.practice-card-body li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
}

.practice-card-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

/* Approach */
.section-approach {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.94) 100%),
    url("../img/bg-books.jpg") center / cover no-repeat;
  color: var(--ink);
}

.section-approach .eyebrow {
  color: var(--gold);
}

.section-approach h2 {
  color: var(--ink);
}

.section-approach .rule {
  background: var(--gold);
}

.approach-cards {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.approach-cards > li {
  background: var(--paper);
  border: 1px solid rgba(196, 163, 90, 0.28);
  overflow: hidden;
  display: grid;
  grid-template-rows: 10.5rem 1fr;
  box-shadow: 0 10px 24px rgba(42, 36, 28, 0.06);
}

.approach-card-photo {
  position: relative;
  overflow: hidden;
}

.approach-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-card-photo .step-num {
  position: absolute;
  left: 0.75rem;
  bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold);
  line-height: 1;
  background: rgba(16, 22, 31, 0.78);
  padding: 0.28rem 0.5rem 0.2rem;
}

.approach-card-copy {
  padding: 1.1rem 1.2rem 1.25rem;
}

.approach-card-copy h3 {
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

.approach-card-copy p {
  margin: 0;
  color: var(--mute);
  text-align: justify;
}

.benefits-block {
  margin: 0 0 2rem;
  padding: 1.6rem 1.6rem 1.7rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(196, 163, 90, 0.35);
}

.benefits-block h3 {
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-size: 1.55rem;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.benefits-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-weight: 500;
}

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(26, 35, 50, 0.12);
}

.approach-list > li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 35, 50, 0.12);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brass);
  line-height: 1.2;
}

.approach-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.approach-list p {
  margin: 0;
  color: var(--mute);
  max-width: 40rem;
}

.mission-block {
  position: relative;
  isolation: isolate;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(196, 163, 90, 0.4);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(42, 36, 28, 0.06);
}

.mission-media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
}

.mission-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mission-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 35%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(180deg, rgba(42, 36, 28, 0.08), transparent 40%);
}

.mission-content {
  position: relative;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-content .eyebrow {
  color: var(--brass);
}

.mission-block h3 {
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.mission-content .rule {
  background: var(--gold);
  margin-bottom: 1rem;
}

.mission-lead {
  margin: 0 0 0.85rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-align: left !important;
}

.mission-block p {
  margin: 0;
  max-width: 40rem;
  text-align: justify;
}

.mission-pillars {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.mission-pillars li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border-left: 2px solid var(--gold);
}

.mission-pillar-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.15rem;
}

.mission-pillars li > span:last-child {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Social Responsibility */
.csr-section {
  position: relative;
  isolation: isolate;
  min-height: 22rem;
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  padding-inline: 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  color: var(--ink);
}

.csr-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.csr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.csr-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0.28) 100%);
}

.csr-inner {
  max-width: 42rem;
}

.csr-section h2 {
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.csr-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.csr-section .rule {
  background: var(--gold);
}

.csr-text {
  margin: 0;
  font-size: clamp(1.12rem, 1.7vw, 1.28rem);
  line-height: 1.8;
  text-align: justify;
  color: var(--ink);
  max-width: 40rem;
}

.chambers-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
}

.address-block {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.address-block h3 {
  margin-bottom: 0.35rem;
}

.address-block p {
  margin: 0;
  color: var(--mute);
}

.contact-details {
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 35, 50, 0.1);
  display: grid;
  gap: 0.45rem;
}

.contact-details p {
  margin: 0;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.contact-details span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.map-frame {
  min-height: 20rem;
  border: 1px solid rgba(196, 163, 90, 0.35);
  background: var(--ivory);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  filter: grayscale(0.2) contrast(1.02);
}

/* Contact — chambers desk */
.section-contact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.95) 100%),
    url("../img/bg-columns.jpg") center / cover no-repeat;
  color: var(--ink);
}

.section-contact .eyebrow {
  color: var(--gold);
}

.section-contact h2 {
  color: var(--ink);
}

.section-contact .rule {
  background: var(--gold);
}

.section-contact .section-lead {
  color: var(--mute);
  max-width: 38rem;
}

.contact-intro {
  margin-bottom: 1.75rem;
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(196, 163, 90, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-channel:hover {
  border-color: var(--gold);
  background: #fff;
  color: var(--ink);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.contact-channel-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.contact-channel-copy span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-channel-copy strong {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.contact-channel-copy strong.tel-number {
  font-family: var(--font-phone);
  font-size: 1.45rem;
  font-weight: 500;
}

.contact-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.35rem;
  align-items: stretch;
  margin-bottom: 1.35rem;
}

.contact-offices {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.office-card {
  padding: 1.25rem 1.3rem 1.3rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(196, 163, 90, 0.28);
  border-left: 3px solid var(--gold);
}

.office-card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.office-card p {
  margin: 0 0 0.85rem;
  color: var(--mute);
  font-size: 0.95rem;
}

.office-map-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.office-map-link:hover {
  color: var(--ink);
}

.contact-panel {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-top: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.contact-panel-title {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.contact-panel-note {
  margin: 0 0 1.35rem;
  color: var(--mute);
  font-size: 0.95rem;
}

.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  max-width: none;
}

.appointment-form label {
  display: grid;
  gap: 0.4rem;
}

.appointment-form label.full,
.appointment-form .full {
  grid-column: 1 / -1;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form-hint {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}

.appointment-form span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 35, 50, 0.16);
  background: #f3f0ea;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 0;
}

.appointment-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
  outline: none;
}

.form-foot .btn {
  min-width: 11rem;
}

.contact-map {
  margin-top: 0.25rem;
}

.map-caption {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-status {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  max-width: none;
}

.form-status-ok {
  background: rgba(166, 139, 75, 0.12);
  border-left: 2px solid var(--brass);
}

.form-status-err {
  background: rgba(120, 40, 40, 0.08);
  border-left: 2px solid #8a3a3a;
  color: #5a2424;
}

/* Footer */
/* Footer */
.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 247, 241, 0.94)),
    url("../img/bg-linen.jpg") center / 420px repeat;
  color: var(--mute);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  border-top: 1px solid rgba(196, 163, 90, 0.35);
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass);
}

.footer-top {
  padding: 3.25rem 0 2.5rem;
  border-top: 1px solid rgba(166, 139, 75, 0.35);
}

/* Match navbar: full-bleed footer content, no centered max-width gutters */
.site-footer .section-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(clamp(1.25rem, 3.5vw, 2.75rem), env(safe-area-inset-left))
    max(clamp(1.25rem, 3.5vw, 2.75rem), env(safe-area-inset-right));
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.2fr 0.9fr;
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}

.footer-brand-block {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.footer-brand-block img {
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 50%;
  object-fit: contain;
  padding: 0.2rem;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: #fff;
}

.footer-brand-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.footer-brand-block p {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
}

.footer-tag {
  color: var(--brass) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  margin-top: 0.45rem !important;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col li a {
  font-size: 0.95rem;
}

.footer-address {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mute);
}

.footer-address strong {
  color: var(--ink);
  font-weight: 600;
}

.footer-col > p {
  margin: 0 0 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(196, 163, 90, 0.22);
  padding: 1.35rem 0 1.6rem;
  background: rgba(255, 255, 255, 0.55);
}

.footer-declaration {
  max-width: none;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0 0 0.85rem;
  color: var(--mute);
}

.footer-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* Disclaimer gate */
.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--space);
  background: rgba(42, 36, 28, 0.55);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.disclaimer-gate.is-hidden,
.disclaimer-gate[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.disclaimer-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.04);
  pointer-events: none;
  user-select: none;
  text-align: center;
  padding: 2rem;
}

.disclaimer-panel {
  position: relative;
  width: min(34rem, 100%);
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 2px solid var(--brass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.disclaimer-panel-long {
  width: min(40rem, 100%);
  max-height: min(90vh, 44rem);
  display: flex;
  flex-direction: column;
}

.disclaimer-lead {
  margin: 0 0 0.85rem !important;
  color: var(--ink) !important;
  font-weight: 500;
}

.disclaimer-scroll {
  overflow: auto;
  padding-right: 0.35rem;
  margin-bottom: 1.15rem;
  flex: 1 1 auto;
}

.disclaimer-panel p {
  margin: 0 0 0.85rem;
  color: var(--mute);
}

.disclaimer-scroll ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  color: var(--mute);
}

.disclaimer-scroll li {
  margin: 0.4rem 0;
}

.disclaimer-note {
  font-size: 0.92rem;
  font-style: italic;
}

.disclaimer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .disclaimer-gate {
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .hero-copy > *,
  .hero.is-animated .hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-visual img,
  .hero.is-animated .hero-visual img,
  .hero.is-animated .hero-gold-line,
  .hero.is-animated .hero-sheen {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .practice-card,
  .practice-card:hover,
  .practice-card:focus-within {
    transform: none;
  }

  .practice-card-media img,
  .practice-card:hover .practice-card-media img,
  .practice-card:focus-within .practice-card-media img {
    transform: none;
  }
}

@media (max-width: 1280px) {
  .footer-columns {
    grid-template-columns: 1.2fr 1fr;
    gap: 1.75rem 2rem;
  }

  .header-inner {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    height: var(--header-h);
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 2.75rem;
    flex-shrink: 0;
  }

  .header-call {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid rgba(196, 163, 90, 0.35);
    box-shadow: 0 12px 24px rgba(42, 36, 28, 0.08);
    padding: 0.5rem 0 1rem;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 50;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem var(--space);
    min-height: 2.75rem;
    white-space: normal;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-call-mobile {
    display: block;
    margin: 0.35rem var(--space) 0;
    text-align: center;
    background: var(--brass);
    color: var(--ink) !important;
    font-weight: 500;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: clamp(1.75rem, 6vw, 3rem) var(--space) clamp(2.25rem, 7vw, 3.5rem);
  }

  .about-copy {
    padding: clamp(1.75rem, 6vw, 3rem) var(--space);
  }

  .hero-visual {
    min-height: min(52vw, 18rem);
    max-height: 20rem;
    order: -1;
  }

  .hero-visual--logo {
    min-height: min(48vw, 16rem);
    max-height: 18rem;
  }

  .hero-visual::after {
    background: linear-gradient(0deg, var(--paper) 0%, transparent 42%);
  }

  .mission-block {
    grid-template-columns: 1fr;
  }

  .mission-media {
    min-height: 12rem;
    max-height: 14rem;
  }

  .mission-media::after {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0%, transparent 55%),
      linear-gradient(180deg, rgba(42, 36, 28, 0.08), transparent 40%);
  }

  .mission-pillars li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .chambers-grid,
  .about-hero,
  .values-list,
  .contact-board,
  .contact-channels,
  .approach-cards,
  .benefits-list {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: auto;
  }

  .about-visual {
    min-height: min(62vw, 24rem);
    max-height: 26rem;
    order: -1;
  }

  .about-visual::after {
    background: linear-gradient(0deg, var(--paper) 0%, transparent 42%);
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-card,
  .practice-card:nth-child(1),
  .practice-card:nth-child(2),
  .practice-card:nth-child(9),
  .practice-card:nth-child(10) {
    grid-column: auto;
  }

  .practice-card-media,
  .practice-card:nth-child(1) .practice-card-media,
  .practice-card:nth-child(2) .practice-card-media,
  .practice-card:nth-child(9) .practice-card-media,
  .practice-card:nth-child(10) .practice-card-media {
    aspect-ratio: 16 / 10;
  }

  .approach-cards > li {
    grid-template-rows: 11rem 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 16rem;
  }

  .contact-channel-copy strong {
    font-size: 1.2rem;
  }

}

@media (max-width: 720px) {
  .brand-name {
    font-size: 1.28rem;
    white-space: nowrap;
  }

  .brand-sub {
    letter-spacing: 0.14em;
    font-size: 0.64rem;
  }

  .appointment-form,
  .footer-columns,
  .benefits-list {
    grid-template-columns: 1fr;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card,
  .practice-card:nth-child(1),
  .practice-card:nth-child(2),
  .practice-card:nth-child(9),
  .practice-card:nth-child(10) {
    grid-column: 1 / -1;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 8.5rem;
  }

  .approach-list > li {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.75rem;
  }

  .disclaimer-gate {
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    align-items: end;
  }

  .disclaimer-panel-long {
    width: 100%;
    max-height: min(92dvh, 40rem);
  }

  .footer-top {
    padding-bottom: 2rem;
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  :root {
    --header-h: 4.65rem;
  }

  .header-inner {
    gap: 0.85rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img {
    width: 3.15rem;
    height: 3.15rem;
  }

  .brand-name {
    font-size: 1.24rem;
  }

  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    padding: 0.55rem 0.6rem;
    margin-left: 0.15rem;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .contact-panel {
    padding: 1.15rem 1rem 1.35rem;
  }

  .contact-details p {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .brand-sub {
    letter-spacing: 0.1em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
