:root {
  --black: #1d1914;
  --black-2: #30271d;
  --ink: #382f26;
  --muted: #74695e;
  --gold: #bd9149;
  --gold-2: #a9792d;
  --gold-dark: #75521d;
  --gold-pale: #ead7b5;
  --paper: #faf6ee;
  --paper-2: #f2e8d8;
  --white: #fffdf9;
  --line: #e3d6c2;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

body.is-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 8px 12px;
  background: var(--white);
  color: var(--black);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 92px;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  border-bottom: 1px solid rgba(189, 145, 73, 0.26);
  box-shadow: 0 8px 30px rgba(78, 57, 29, 0.05);
  backdrop-filter: blur(14px);
  transition: min-height 240ms var(--ease), background 240ms var(--ease), box-shadow 240ms var(--ease);
}

.site-header.is-scrolled {
  min-height: 74px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 10px 34px rgba(78, 57, 29, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: var(--gold);
}

.brand-name strong,
.brand-name small {
  display: block;
  white-space: nowrap;
}

.brand-name strong {
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: 19px;
  letter-spacing: 0.03em;
}

.brand-name small {
  margin-top: -2px;
  color: rgba(117, 82, 29, 0.68);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

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

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: rgba(255, 253, 249, 0.72);
  font-weight: 700;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 42% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 246, 238, 0) 0%, rgba(250, 246, 238, 0) 34%, rgba(250, 246, 238, 0.72) 45%, var(--paper) 53%, var(--paper) 100%),
    linear-gradient(180deg, rgba(29, 25, 20, 0.08) 0%, rgba(29, 25, 20, 0) 46%, rgba(117, 82, 29, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--max), calc(100% - 56px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 100px 0 128px;
  color: var(--ink);
  align-items: flex-end;
  text-align: left;
}

.hero-content > * {
  width: min(610px, 45vw);
}

.hero-label {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-size: 15px;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  color: var(--gold-dark);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-statement {
  position: relative;
  margin-top: 30px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.hero-statement p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.65;
}

.hero-statement p + p {
  margin-top: 8px;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.outline-button,
.solid-button,
.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  font-weight: 700;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.outline-button {
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: rgba(255, 253, 249, 0.74);
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.hero-authority {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 56px));
  transform: translateX(-50%);
  padding: 20px 24px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(189, 145, 73, 0.28);
  box-shadow: 0 18px 46px rgba(67, 48, 24, 0.1);
  backdrop-filter: blur(12px);
}

.hero-authority div {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 0 30px 0 0;
  border-right: 1px solid var(--line);
  text-shadow: none;
}

.hero-authority div:last-child {
  border-right: 0;
}

.hero-authority strong {
  color: var(--gold);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  line-height: 1.1;
}

.hero-authority span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 128px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  color: var(--gold);
}

.scroll-cue span {
  width: 14px;
  height: 14px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.side-contact {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 70;
  transform: translateY(-50%);
  display: grid;
  background: var(--gold);
  border: 1px solid rgba(255, 253, 249, 0.58);
  box-shadow: 0 16px 36px rgba(82, 58, 22, 0.16);
}

.side-contact a {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.side-contact a:last-child {
  border-bottom: 0;
}

.side-contact a:hover,
.side-contact a:focus-visible {
  background: #a98242;
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.attorney-section {
  padding: clamp(74px, 9vw, 118px) 0;
  background: var(--white);
  overflow: hidden;
}

.attorney-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.attorney-photo {
  position: relative;
  min-height: 520px;
}

.attorney-photo img {
  position: relative;
  z-index: 2;
  width: min(390px, 70%);
  margin: 0 auto;
  object-fit: contain;
}

.watermark {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 24%;
  color: rgba(202, 168, 102, 0.36);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(128px, 18vw, 245px);
  font-weight: 900;
  line-height: 1;
}

.attorney-photo::before {
  content: "";
  position: absolute;
  left: -12vw;
  bottom: 14%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(202, 168, 102, 0.22);
  border-radius: 50%;
}

.title-block {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 28px;
  align-items: center;
}

.gold-line {
  display: block;
  width: 6px;
  height: 92px;
  background: var(--gold);
}

.title-block p,
.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.title-block h2,
.section-heading h2,
.about-grid h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.title-block h2 {
  margin-top: 4px;
  font-size: clamp(38px, 4.4vw, 62px);
}

.profile-rule {
  width: 100%;
  height: 1px;
  margin: 38px 0;
  background: var(--line);
}

.profile-list {
  margin: 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 24px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  width: 132px;
  min-height: 36px;
  padding: 6px 14px;
  background: var(--paper-2);
  color: var(--gold-dark);
  border: 1px solid var(--gold-pale);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.profile-list dd {
  margin: 0;
  color: var(--muted);
}

.profile-list dd.profile-facts {
  display: grid;
  gap: 4px;
}

.profile-facts span {
  display: block;
}

.credentials-section {
  padding: clamp(76px, 9vw, 124px) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 253, 249, 0.92), transparent 34%),
    linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credentials-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.credentials-copy .section-kicker {
  color: var(--gold-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.credentials-copy h2 {
  margin: 12px 0 0;
  color: var(--gold-dark);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.25;
}

.credentials-copy h2 span {
  display: block;
}

.credentials-copy p:last-child {
  margin: 26px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.credentials-image {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(189, 145, 73, 0.42);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 24px 56px rgba(88, 62, 24, 0.12);
}

.credentials-image::before {
  content: "";
  position: absolute;
  inset: -18px 22px 22px -18px;
  z-index: 0;
  border: 1px solid rgba(189, 145, 73, 0.28);
}

.credentials-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.about-section {
  padding: clamp(66px, 8vw, 100px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(32px, 6vw, 84px);
}

.about-grid h2,
.contact-copy h2 {
  margin-top: 8px;
  font-size: clamp(34px, 4.2vw, 58px);
}

.about-grid h2 span {
  display: block;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.about-copy p + p {
  margin-top: 18px;
}

.core-visual {
  position: relative;
  margin: 34px 0 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(189, 145, 73, 0.28);
  box-shadow: 0 22px 52px rgba(88, 62, 24, 0.12);
}

.core-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(117, 82, 29, 0.14) 100%),
    linear-gradient(90deg, rgba(189, 145, 73, 0.2), transparent 32%);
}

.core-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.standard-list {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.standard-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.standard-list dt {
  color: var(--gold-dark);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: 22px;
  font-weight: 900;
}

.standard-list dd {
  margin: 0;
  color: var(--muted);
}

.services-section {
  padding: clamp(72px, 9vw, 116px) 0;
  background:
    linear-gradient(90deg, rgba(202, 168, 102, 0.08), transparent 36%),
    var(--white);
  color: var(--ink);
}

.section-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-heading .section-kicker {
  color: var(--gold-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2 {
  color: inherit;
  font-size: clamp(38px, 4.4vw, 62px);
}

.section-heading p {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
}

.services-intro span {
  display: block;
}

.services-intro span + span {
  margin-top: 0.35em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--line);
}

.services-grid article {
  min-height: 292px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--white);
  text-align: left;
  transition: background 240ms var(--ease), color 240ms var(--ease);
}

.services-grid article.wide {
  grid-column: span 2;
}

.services-grid article:hover,
.services-grid article:focus-within {
  background: var(--paper-2);
  color: var(--ink);
}

.services-grid article:hover p,
.services-grid article:focus-within p {
  color: var(--muted);
}

.services-grid span {
  display: block;
  margin-bottom: clamp(34px, 4vw, 56px);
  color: var(--gold);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.services-grid h3,
.process-list h3 {
  margin: 0;
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.35;
}

.services-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  transition: color 240ms var(--ease);
}

.process-section {
  padding: clamp(72px, 9vw, 116px) 0;
  background: var(--white);
}

.section-heading.narrow {
  display: block;
  max-width: 780px;
}

.section-heading.narrow p {
  margin-top: 18px;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-list article {
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
}

.process-list strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: 18px;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  padding: clamp(72px, 9vw, 118px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.solid-button {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.line-button {
  border: 1px solid var(--gold);
  color: var(--gold-2);
  background: transparent;
}

.solid-button:hover,
.solid-button:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.line-button:hover,
.line-button:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 54px rgba(30, 27, 23, 0.08);
}

.contact-card dl {
  margin: 0;
}

.contact-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  color: var(--muted);
}

.contact-card dd {
  margin: 0;
  font-weight: 700;
}

.copy-email {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.copy-email.is-copied::after {
  content: " 已複製";
  color: var(--gold-2);
  font-size: 13px;
}

.line-qr {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: #fbfaf6;
}

.line-qr img {
  width: 138px;
  height: 138px;
  object-fit: contain;
}

.line-qr span {
  color: var(--muted);
  font-weight: 700;
}

.mobile-action-bar {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--gold-pale);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms var(--ease), transform 540ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .side-contact {
    display: none;
  }

  .site-nav {
    gap: 20px;
  }

  .nav-call {
    display: none;
  }

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

@media (max-width: 860px) {
  .attorney-wrap,
  .about-grid,
  .section-heading,
  .credentials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .attorney-photo {
    min-height: auto;
  }

  .attorney-photo img {
    width: min(390px, 82%);
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 66px;
  }

  .site-header {
    grid-template-columns: 64px 1fr;
    gap: 0;
    min-height: 88px;
    padding: 12px 14px;
  }

  .site-header.is-scrolled {
    min-height: 76px;
  }

  .brand {
    display: none;
  }

  .nav-toggle {
    display: grid;
    justify-items: start;
    align-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    background: transparent;
    color: var(--gold);
    padding: 0;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 2px;
    margin: 3px 0;
    background: var(--gold);
    transition: transform 220ms var(--ease), opacity 180ms var(--ease);
  }

  .nav-toggle small {
    margin-top: 2px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 88px;
    display: grid;
    gap: 0;
    padding: 12px 24px 22px;
    background: rgba(255, 253, 249, 0.98);
    border-top: 1px solid rgba(189, 145, 73, 0.28);
    box-shadow: 0 18px 34px rgba(78, 57, 29, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .site-header.is-scrolled .site-nav {
    top: 76px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: 19px;
  }

  .hero {
    min-height: 780px;
    background: var(--paper);
  }

  .hero-bg {
    width: 100%;
    height: 56%;
    object-position: 33% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(250, 246, 238, 0.04) 0%, rgba(250, 246, 238, 0.04) 38%, rgba(250, 246, 238, 0.76) 49%, var(--paper) 57%, var(--paper) 100%),
      linear-gradient(90deg, rgba(29, 25, 20, 0.08) 0%, rgba(29, 25, 20, 0.18) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    align-items: flex-start;
    width: calc(100% - 42px);
    min-height: 780px;
    padding: 108px 0 46px;
  }

  .hero-content > * {
    width: 100%;
  }

  .hero-label {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-statement {
    margin-top: 18px;
    padding-left: 18px;
  }

  .hero-statement p {
    font-size: 17px;
  }

  .hero-statement p + p {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .hero-actions .outline-button {
    width: 100%;
    min-width: 0;
    padding-inline: 4px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-authority,
  .scroll-cue {
    display: none;
  }

  .outline-button,
  .solid-button,
  .line-button {
    min-height: 44px;
    padding: 9px 14px;
  }

  .side-contact {
    display: none;
  }

  .section-inner,
  .attorney-wrap {
    width: calc(100% - 38px);
  }

  .attorney-section,
  .credentials-section,
  .about-section,
  .services-section,
  .process-section,
  .contact-section {
    padding: 58px 0;
  }

  .attorney-photo::before {
    display: none;
  }

  .watermark {
    right: -10px;
    top: 28%;
    font-size: 150px;
  }

  .title-block {
    gap: 18px;
  }

  .gold-line {
    width: 5px;
    height: 78px;
  }

  .title-block p,
  .section-kicker {
    font-size: 16px;
  }

  .title-block h2,
  .about-grid h2,
  .contact-copy h2,
  .section-heading h2 {
    font-size: clamp(31px, 8vw, 40px);
  }

  .profile-list div,
  .standard-list div,
  .contact-card dl div,
  .line-qr {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .credentials-copy h2 {
    font-size: clamp(31px, 8vw, 40px);
  }

  .credentials-copy p:last-child {
    font-size: 16px;
  }

  .credentials-image {
    padding: 8px;
  }

  .credentials-image::before {
    inset: -10px 12px 12px -10px;
  }

  .services-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .services-grid article.wide {
    grid-column: auto;
  }

  .services-grid article {
    min-height: auto;
  }

  .services-grid span {
    margin-bottom: 22px;
  }

  .contact-buttons {
    display: grid;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 66px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.12);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    border-right: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-action-bar a:last-child {
    border-right: 0;
  }

  .site-footer {
    display: grid;
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg {
    animation: hero-kenburns 18s var(--ease) both;
  }
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }
}
