:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #615e59;
  --paper: #f6f2eb;
  --surface: #fffdf9;
  --line: #d9d1c5;
  --red: #c9241a;
  --red-dark: #98170f;
  --warm: #e9dfd0;
  --max: 1180px;
  --shadow: 0 24px 70px rgb(40 31 24 / 12%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}

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

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(23 23 23 / 9%);
  background: rgb(246 242 235 / 96%);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

.nav-contact {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--ink);
}

.hero {
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 57ch;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

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

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  top: -2.2rem;
  right: -2.2rem;
  width: 58%;
  aspect-ratio: 1;
  background: var(--red);
  content: "";
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.14 / 1;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: -1rem;
  bottom: -1.4rem;
  max-width: 240px;
  margin: 0;
  padding: 1rem 1.2rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

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

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: grid;
  align-items: end;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  margin-bottom: 3rem;
}

.section-head h2,
.split-copy h2,
.contact-copy h2,
.legal-hero h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
}

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

.service-card {
  min-height: 315px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--surface);
}

.service-number {
  display: block;
  margin-bottom: 4.4rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-band {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1fr);
}

.split-image {
  position: relative;
}

.split-image::after {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  width: 38%;
  height: 38%;
  border-right: 12px solid var(--red);
  border-bottom: 12px solid var(--red);
  content: "";
}

.split-image img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}

.split-copy h2 {
  margin-bottom: 1.5rem;
}

.split-copy > p:not(.eyebrow) {
  max-width: 60ch;
  color: var(--muted);
}

.signature {
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.signature strong,
.signature span {
  display: block;
}

.signature span {
  color: var(--muted);
  font-size: 0.9rem;
}

.values {
  display: grid;
  gap: 1px;
  margin-top: 3.5rem;
  border: 1px solid rgb(255 255 255 / 20%);
  background: rgb(255 255 255 / 20%);
  grid-template-columns: repeat(3, 1fr);
}

.value {
  min-height: 150px;
  padding: 1.8rem;
  background: var(--ink);
}

.value span {
  display: block;
  margin-bottom: 2.4rem;
  color: #e15349;
  font-size: 0.78rem;
  font-weight: 800;
}

.value h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.gallery figure {
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: var(--warm);
}

.gallery figure:first-child {
  grid-row: span 2;
}

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

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-copy h2 {
  margin-bottom: 1.3rem;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 46ch;
  color: rgb(255 255 255 / 68%);
}

.contact-copy .eyebrow {
  color: #ef6b62;
}

.contact-copy .button {
  border-color: rgb(255 255 255 / 55%);
  color: #fff;
}

.contact-copy .button-primary {
  border-color: var(--red);
}

.contact-details {
  border-top: 1px solid rgb(255 255 255 / 25%);
}

.detail-row {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
  grid-template-columns: 9rem 1fr;
}

.detail-row h3 {
  margin: 0;
  color: rgb(255 255 255 / 55%);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-row p,
.detail-row address {
  margin: 0;
  color: #fff;
  font-size: 1.03rem;
  font-style: normal;
}

.detail-row a {
  color: #fff;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 700;
}

.legal-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 2.5rem;
}

.legal-hero h1 {
  max-width: none;
}

.legal-layout {
  display: grid;
  align-items: start;
  gap: 4rem;
  grid-template-columns: 220px minmax(0, 760px);
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.legal-aside {
  padding-top: 0.7rem;
  border-top: 3px solid var(--red);
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-content {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--surface);
  box-shadow: 0 15px 50px rgb(40 31 24 / 7%);
}

.legal-content h2 {
  margin: 2.5rem 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.05rem;
}

.legal-content address {
  font-style: normal;
}

.legal-content li + li {
  margin-top: 0.4rem;
}

.alias-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.alias-card {
  width: min(100%, 620px);
  padding: clamp(2rem, 7vw, 4rem);
  border-top: 8px solid var(--red);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.alias-card h1 {
  max-width: none;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 76px;
  }

  .site-nav ul {
    gap: 0.85rem;
  }

  .site-nav li:nth-child(2),
  .site-nav li:nth-child(3) {
    display: none;
  }

  .hero-grid,
  .section-head,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3.5rem;
  }

  .hero-copy {
    max-width: 68ch;
  }

  .hero-media {
    width: min(100%, 760px);
  }

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

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 2.5rem;
  }

  .split-image {
    width: min(100%, 620px);
  }

  .legal-layout {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    padding: 0.7rem 0;
  }

  .brand img {
    width: 170px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav ul {
    width: max-content;
  }

  .site-nav li:nth-child(2),
  .site-nav li:nth-child(3) {
    display: block;
  }

  .nav-contact {
    padding: 0;
    border: 0;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-media::before {
    top: -0.9rem;
    right: -0.75rem;
  }

  .hero-note {
    right: -0.25rem;
    bottom: -1.1rem;
  }

  .values,
  .gallery {
    grid-template-columns: 1fr;
  }

  .value {
    min-height: auto;
  }

  .value span {
    margin-bottom: 1.5rem;
  }

  .gallery figure:first-child {
    grid-row: auto;
  }

  .gallery figure {
    min-height: 240px;
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .actions,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
  }

  .legal-content {
    padding: 0;
    box-shadow: none;
  }
}
