@font-face {
  font-family: "Gantari";
  src: url("../fonts/gantari-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gantari";
  src: url("../fonts/gantari-semibold.woff2") format("woff2");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gantari";
  src: url("../fonts/gantari-bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171717;
  --muted: #5d626a;
  --paper: #fbfaf7;
  --soft: #f2f0ea;
  --line: #ded9cf;
  --brand: #922222;
  --brand-dark: #631717;
  --olive: #62745f;
  --gold: #c7a35d;
  --blue: #2f6f83;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(30, 27, 24, 0.14);
  --shadow-soft: 0 16px 44px rgba(30, 27, 24, 0.1);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Gantari", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

button,
a,
p,
h1,
h2,
h3,
summary {
  overflow-wrap: break-word;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(199, 163, 93, 0.75);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.15rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 5.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 12px 40px rgba(20, 18, 17, 0.08);
}

.brand img {
  width: 154px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #34302d;
}

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

.legal-nav {
  display: flex;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  font-size: 0;
}

.section {
  position: relative;
  padding: 112px 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px max(20px, calc((100vw - 1160px) / 2)) 72px;
  overflow: hidden;
  background: #161514;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.52;
  filter: saturate(0.8) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 10, 0.92), rgba(12, 11, 10, 0.54) 46%, rgba(12, 11, 10, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c56f;
}

.hero-copy {
  max-width: 740px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.button.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 52px 0 0;
}

.hero-facts article {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  padding-top: 16px;
}

.hero-facts strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.3;
}

.two-col,
.hub-layout,
.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.lead-copy {
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  text-wrap: pretty;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.18rem;
  text-wrap: pretty;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.services {
  background: var(--soft);
}

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

.service-card {
  min-height: 330px;
  padding: 30px;
  background: var(--paper);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.service-card span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--brand);
  font-weight: 800;
}

.service-card p,
.expertise-grid p,
.principle-list p,
.value-list p {
  margin-top: 14px;
  color: var(--muted);
}

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

.image-stack {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 14px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  transform: translateY(40px);
}

.hub p:not(.eyebrow) {
  color: var(--muted);
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.value-list article,
.principle-list article,
.expertise-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  padding: 24px;
}

.value-list article {
  min-height: 238px;
}

.value-list img,
.principle-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
}

.expertise {
  background: #1c1b19;
  color: var(--white);
}

.expertise .eyebrow,
.contact .eyebrow {
  color: #f0c56f;
}

.expertise .section-heading p:not(.eyebrow),
.expertise-grid p {
  color: rgba(255, 255, 255, 0.68);
}

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

.expertise-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.quote-band {
  margin-top: 18px;
  padding: clamp(28px, 6vw, 58px);
  border-radius: var(--radius);
  background: var(--brand);
}

.quote-band p {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.1;
}

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

.sticky-copy {
  position: sticky;
  top: 120px;
}

.sticky-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.18rem;
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0 20px;
  align-items: start;
}

.principle-list img {
  grid-row: span 2;
}

.clients {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

details[open] {
  border-color: rgba(146, 34, 34, 0.35);
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

details p {
  margin-top: 16px;
  color: var(--muted);
}

.contact {
  background: var(--brand);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.contact p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.22rem;
}

address {
  display: grid;
  gap: 14px;
  font-style: normal;
  justify-items: start;
}

address a:not(.button) {
  color: rgba(255, 255, 255, 0.86);
}

.contact .button.primary {
  width: fit-content;
  background: var(--white);
  border-color: var(--white);
  color: var(--brand);
}

.site-footer {
  padding: 40px 0;
  background: #171717;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  width: 160px;
}

.footer-grid nav {
  display: flex;
  gap: 18px;
  font-weight: 650;
}

.legal-page {
  padding-top: 82px;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-content h2 {
  margin-top: 40px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--brand);
  font-weight: 650;
}

@media (max-width: 980px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 5.8rem);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .site-nav a {
    border-radius: var(--radius);
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    min-height: 88vh;
    align-items: end;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(12, 11, 10, 0.72), rgba(12, 11, 10, 0.9));
  }

  .two-col,
  .hub-layout,
  .principles-layout,
  .section-heading.split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .image-stack,
  .sticky-copy {
    position: static;
  }

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

  .value-list article {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header.is-scrolled {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    min-height: auto;
    padding: 116px 14px 46px;
  }

  .hero-media img {
    object-position: 56% center;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .hero-facts,
  .service-grid,
  .value-list,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .legal-nav {
    gap: 2px;
    font-size: 0.84rem;
  }

  .legal-nav a {
    padding: 9px 8px;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .service-card span {
    margin-bottom: 32px;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child {
    transform: none;
  }

  .principle-list article {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    gap: 32px;
  }

  .contact .button.primary {
    width: 100%;
  }

  .footer-grid nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(2.55rem, 13vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .hero-facts strong {
    font-size: 2.35rem;
  }

  .section {
    padding: 70px 0;
  }
}

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