@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #101820;
  --muted: #60696f;
  --teal: #004860;
  --teal-bright: #006f86;
  --teal-deep: #082b35;
  --khaki: #c3a26a;
  --khaki-dark: #9d7a3e;
  --paper: #f7f5ef;
  --soft: #eef5f4;
  --white: #ffffff;
  --line: rgba(16, 24, 32, 0.13);
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.16);
  --shadow-soft: 0 16px 42px rgba(0, 72, 96, 0.1);
  --sans: Inter, Lato, "Noto Sans", Arial, sans-serif;
  --display: Cinzel, "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.62), rgba(255, 255, 255, 0) 360px),
    var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--white);
  background: var(--teal);
}

main {
  overflow: clip;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 12px clamp(24px, 4vw, 58px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 1px 24px rgba(16, 24, 32, 0.06);
  backdrop-filter: blur(18px);
  transition:
    min-height 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

.site-header.is-scrolled {
  min-height: 74px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 38px rgba(16, 24, 32, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 158px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 108px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: none;
  gap: 2px;
}

.site-footer .brand-logo {
  width: 132px;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-copy span {
  color: var(--khaki);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.nav-links,
.language-switch,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.language-switch a,
.footer-links a {
  text-decoration: none;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    color 0.24s ease,
    background-color 0.24s ease;
}

.nav-links a::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 1px;
  background: var(--khaki);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  content: "";
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal);
  background: rgba(0, 72, 96, 0.06);
}

.language-switch {
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(16, 24, 32, 0.12);
}

.language-switch a {
  color: rgba(16, 24, 32, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
}

.language-switch a[aria-current="true"] {
  color: var(--teal);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions form {
  margin: 0;
}

.header-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.header-button::before {
  margin-right: 8px;
  content: "→";
}

button.header-button {
  cursor: pointer;
}

.header-button--teal {
  background: var(--teal);
}

.header-button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 54px;
  height: 54px;
  margin-left: auto;
  color: var(--ink);
  background: transparent;
  border: 2px solid rgba(25, 25, 25, 0.22);
  border-radius: 8px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  isolation: isolate;
  min-height: calc(94svh - 86px);
  padding: 104px clamp(28px, 5vw, 84px) 118px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 43, 53, 0.94), rgba(8, 43, 53, 0.7) 46%, rgba(16, 24, 32, 0.22)),
    image-set(
      url("/assets/images/hero-office.webp") type("image/webp"),
      url("/assets/images/hero-office.png") type("image/png")
    ) center / cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(195, 162, 106, 0.22) 0 1px, transparent 1px 100%) 0 0 / 78px 78px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%) 0 0 / 78px 78px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 43, 53, 0.48), rgba(8, 43, 53, 0));
  content: "";
}

.hero__copy,
.hero__image {
  position: relative;
  z-index: 1;
}

.hero__copy {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 4px;
  background: var(--khaki);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 900px;
  font-size: 4.1rem;
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  max-width: 920px;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.28;
}

.headline-mark {
  display: inline;
  padding: 0 4px 3px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(195, 162, 106, 0.52), rgba(195, 162, 106, 0.52)) 0 84% / 100% 0.24em no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 26px;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.button::before {
  margin-right: 10px;
  font-size: 1.25rem;
  line-height: 1;
  content: "→";
}

.button:hover {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
  box-shadow: 0 18px 36px rgba(0, 72, 96, 0.26);
  transform: translateY(-2px);
}

.button--secondary {
  color: var(--ink);
  background: var(--khaki);
  border-color: var(--khaki);
}

.button--secondary:hover {
  background: var(--khaki-dark);
  border-color: var(--khaki-dark);
  box-shadow: 0 14px 30px rgba(164, 164, 124, 0.28);
}

.button--dark {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.warning-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  max-width: 760px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.warning-line::before {
  display: grid;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--white);
  background: var(--khaki);
  border-radius: 50%;
  place-items: center;
  content: "✓";
}

.hero__image {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero__image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(16, 24, 32, 0.82), rgba(16, 24, 32, 0));
  content: "";
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 22px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--khaki);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
}

.hero-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.hero__image figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.trust-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--ink);
}

.trust-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.trust-item {
  display: grid;
  min-width: 218px;
  height: 68px;
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(195, 162, 106, 0.28);
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  place-items: center;
}

.signal-strip {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 5vw, 84px);
  background: var(--paper);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.signal-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  background: rgba(16, 24, 32, 0.08);
  border-right: 1px solid rgba(16, 24, 32, 0.08);
  border-left: 1px solid rgba(16, 24, 32, 0.08);
}

.signal-item {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.signal-item strong {
  color: var(--teal);
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
}

.signal-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 118px clamp(28px, 5vw, 84px);
}

.section--dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(195, 162, 106, 0.1), transparent 28%),
    var(--teal-deep);
}

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

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

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
  margin-bottom: 56px;
}

.section__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.section--dark .section__intro p,
.section--dark .muted,
.section--dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.section--dark .eyebrow {
  color: var(--white);
}

.muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}

.prose {
  max-width: 820px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 400;
}

.section--dark .prose p,
.section--dark .prose li {
  color: rgba(255, 255, 255, 0.82);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.proof-item {
  padding: 24px;
  color: var(--white);
  background: var(--teal);
  border-radius: 6px;
}

.proof-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.proof-item span {
  font-weight: 400;
}

.practice-grid,
.insight-grid,
.legal-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(195, 162, 106, 0.24);
  border-radius: 8px;
}

.feature-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--khaki));
  content: "";
}

.feature-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p {
  margin: 0;
}

.quiet-panel {
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, var(--white), rgba(247, 245, 239, 0.72));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.quiet-panel h3 {
  margin-bottom: 14px;
}

.quiet-panel p {
  margin: 0;
  color: var(--muted);
}

.practice-card,
.insight-card,
.legal-card,
.detail-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 250px;
  overflow: hidden;
  padding: 30px;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.practice-card::before,
.insight-card::before,
.legal-card::before,
.detail-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--khaki));
  transform: scaleX(0.24);
  transform-origin: left;
  transition: transform 0.3s ease;
  content: "";
}

.practice-card:hover,
.insight-card:hover,
.detail-card:hover {
  border-color: rgba(0, 72, 96, 0.28);
  box-shadow: 0 24px 56px rgba(0, 72, 96, 0.12);
  transform: translateY(-4px);
}

.practice-card:hover::before,
.insight-card:hover::before,
.detail-card:hover::before {
  transform: scaleX(1);
}

.section--dark .practice-card,
.section--dark .insight-card,
.section--dark .detail-card {
  color: var(--ink);
  background: var(--white);
}

.practice-card h3,
.insight-card h3,
.legal-card h3,
.detail-card h3 {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.25;
}

.card-index {
  color: var(--khaki-dark);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.practice-card p,
.insight-card p,
.legal-card p,
.detail-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
}

.card-link::after {
  content: "→";
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process__item {
  position: relative;
  min-height: 250px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.process__item::before {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(195, 162, 106, 0.55);
  border-radius: 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  counter-increment: process;
  content: "0" counter(process);
  place-items: center;
}

.process__item p {
  color: var(--muted);
  font-weight: 400;
}

.urgent-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 5vw, 74px);
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(195, 162, 106, 0.14), transparent 35%),
    var(--teal-deep);
  border: 1px solid rgba(195, 162, 106, 0.22);
  border-radius: 8px;
}

.urgent-band__copy {
  padding: clamp(44px, 6vw, 78px);
}

.urgent-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.urgent-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.practice-card .urgent-list,
.detail-card .urgent-list {
  margin-bottom: 0;
}

.practice-card .urgent-list li,
.detail-card .urgent-list li {
  color: var(--muted);
}

.section--paper .urgent-list li,
.section--beige .urgent-list li {
  color: var(--muted);
}

.urgent-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: var(--khaki);
  border-radius: 6px;
  font-size: 0.86rem;
  place-items: center;
  content: "✓";
}

.media-panel {
  overflow: hidden;
  min-height: 420px;
  background: var(--teal-deep);
  border-radius: 8px;
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(32px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field span,
.checkbox span {
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(247, 245, 239, 0.78);
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 6px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 72, 96, 0.1);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  color: var(--white);
  background: var(--teal);
  border-radius: 6px;
}

.form-status[hidden] {
  display: none;
}

.email-studio .section__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.studio-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.studio-sidebar,
.studio-form,
.preview-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.studio-sidebar {
  position: sticky;
  top: 104px;
  overflow: hidden;
}

.studio-toolbar {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.template-list {
  display: grid;
  max-height: 660px;
  overflow: auto;
}

.template-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.template-card:hover,
.template-card.is-active {
  color: var(--white);
  background: var(--teal);
}

.template-card strong {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.template-card span,
.template-card small {
  color: inherit;
  opacity: 0.82;
}

.template-card small {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.preview-panel {
  overflow: hidden;
}

.preview-panel__head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 32px);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
}

.preview-panel__head h3 {
  margin: 0;
  color: var(--white);
}

.risk-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--khaki);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-preview {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
}

.email-preview p {
  margin: 0;
}

.email-preview pre {
  min-height: 360px;
  max-height: 620px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  padding: 20px;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.62;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 43, 53, 0.94), rgba(8, 43, 53, 0.7) 54%, rgba(16, 24, 32, 0.28)),
    image-set(
      url("/assets/images/urgent-review.webp") type("image/webp"),
      url("/assets/images/urgent-review.png") type("image/png")
    ) center / cover;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(195, 162, 106, 0.2) 0 1px, transparent 1px 100%) 0 0 / 86px 86px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%) 0 0 / 86px 86px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 122px clamp(28px, 5vw, 84px);
}

.page-hero h1 {
  font-size: 3.32rem;
  font-weight: 500;
}

.page-hero__copy > p {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 400;
}

.page-hero__panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(195, 162, 106, 0.32);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.page-hero__panel div {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: rgba(16, 24, 32, 0.5);
}

.page-hero__panel span {
  color: var(--khaki);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero__panel strong {
  font-family: var(--display);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer {
  padding: 64px clamp(24px, 5vw, 84px) 30px;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid rgba(195, 162, 106, 0.38);
}

.site-footer .brand {
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(16, 24, 32, 0.68);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-note {
  max-width: 780px;
  margin: 26px auto 0;
  color: rgba(16, 24, 32, 0.58);
  font-size: 0.83rem;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(560px, calc(100vw - 36px));
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 400;
}

.cookie-banner[hidden] {
  display: none;
}

.root-choice {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 72, 96, 0.28), transparent 38%),
    linear-gradient(135deg, #020506, #071f27 52%, #101820);
}

.root-choice__panel {
  display: grid;
  justify-items: center;
  width: min(900px, 100%);
  text-align: center;
}

.root-logo {
  width: min(690px, 88vw);
  height: auto;
  max-height: 46svh;
  margin: 0 auto clamp(24px, 5vw, 42px);
  object-fit: contain;
}

.root-choice h1 {
  max-width: 620px;
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2.1vw, 1.78rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.root-choice p {
  max-width: 620px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.root-choice .eyebrow {
  margin-bottom: 12px;
  color: var(--khaki);
}

.root-choice .actions {
  justify-content: center;
  margin-top: 28px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .page-hero h1 {
    font-size: 2.22rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid rgba(16, 24, 32, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .nav-links,
  .language-switch,
  .header-actions {
    display: grid;
    gap: 12px;
  }

  .language-switch {
    grid-template-columns: repeat(3, max-content);
    padding: 14px 0 0;
    border-top: 1px solid rgba(16, 24, 32, 0.12);
    border-left: 0;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero__inner,
  .split,
  .section__intro,
  .urgent-band,
  .contact-layout,
  .studio-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .studio-sidebar {
    position: static;
  }

  .hero__image {
    min-height: 320px;
  }

  .page-hero__panel {
    max-width: 520px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 1500px) and (min-width: 1121px) {
  .header-button--teal {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
  }
}

@media (max-width: 1320px) and (min-width: 1121px) {
  .header-actions {
    display: none;
  }

  .site-nav {
    gap: 12px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    padding-inline: 16px;
  }

  .brand-logo {
    width: 76px;
  }

  .brand {
    min-width: auto;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 20px 60px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2,
  .page-hero h1 {
    font-size: 1.82rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero__image {
    display: none;
  }

  .section,
  .page-hero__inner {
    padding: 64px 20px;
  }

  .practice-grid,
  .insight-grid,
  .legal-grid,
  .detail-grid,
  .feature-grid,
  .signal-strip__inner,
  .process,
  .proof-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    padding: 0 20px;
  }

  .signal-strip__inner {
    border-right: 0;
    border-left: 0;
  }

  .signal-item {
    padding: 22px;
  }

  .page-hero__panel {
    display: none;
  }

  .field--full {
    grid-column: auto;
  }

  .process__item {
    min-height: auto;
  }

  .media-panel {
    min-height: 280px;
  }

  .actions .button {
    width: 100%;
  }

  .studio-actions .button {
    width: 100%;
  }

  .template-list {
    max-height: 360px;
  }

  .root-choice {
    padding: 26px 18px;
  }

  .root-logo {
    width: min(460px, 96vw);
    max-height: 38svh;
  }

  .root-choice h1 {
    font-size: 1.18rem;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2rem;
  }

  .root-choice h1 {
    font-size: 1.08rem;
  }

  .root-logo {
    width: min(370px, 96vw);
  }

  .brand-logo {
    width: 68px;
  }
}
