:root {
  color-scheme: light;
  --bg: #f3f1ec;
  --surface: #faf9f6;
  --surface-strong: #e8e5de;
  --ink: #242322;
  --muted: #68635d;
  --line: #d8d3cc;
  --accent: #a81b10;
  --accent-deep: #82140d;
  --container: 1240px;
  --header-height: 76px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  width: 146px;
  flex: 0 0 auto;
  align-items: center;
  background: #f3f1ec;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.15rem);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.site-nav a,
.footer-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after,
.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.38rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.8rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
}

.menu-icon {
  display: grid;
  width: 1.25rem;
  gap: 0.25rem;
}

.menu-icon i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(4.5rem, 10vw, 9rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.hero-copy {
  max-width: 38rem;
}

.hero h1,
.page-hero h1,
h2 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 11vw, 8.7rem);
}

.hero-name {
  max-width: 31rem;
  margin: 1.6rem 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.lede {
  max-width: 30rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.text-link span {
  font-size: 1.05em;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(0.16rem, -0.16rem);
}

.hero-mark {
  position: relative;
  display: grid;
  min-height: 19rem;
  align-content: center;
  padding: clamp(1.4rem, 4vw, 3.25rem);
  overflow: hidden;
  background: #f3f1ec;
  color: #242322;
}

.hero-mark-line {
  width: 4.5rem;
  height: 0.28rem;
  margin-bottom: 2rem;
  background: var(--accent);
}

.hero-mark img {
  width: 100%;
}

.hero-mark-caption {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(36, 35, 34, 0.22);
  padding-top: 0.7rem;
  color: #68635d;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 8vw, 9rem);
}

.section-kicker {
  margin: 0 0 1.35rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  max-width: 10ch;
  font-size: clamp(2.35rem, 5.4vw, 5.2rem);
}

.section-copy {
  max-width: 43rem;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  letter-spacing: -0.018em;
}

.section-copy p {
  max-width: 38rem;
  margin: 0;
}

.section-copy p + p {
  margin-top: 1.25rem;
}

.section-copy .text-link {
  font-size: 0.92rem;
}

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

.contact-copy {
  display: grid;
  align-content: start;
}

.contact-email {
  width: fit-content;
  margin: 0.4rem 0 2.5rem;
  color: var(--accent);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

address {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.7;
}

.detail-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer {
  padding: 3.25rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 2rem;
}

.footer-brand {
  margin: 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-grid p:last-child {
  max-width: 25rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.3rem 2rem;
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 9vw, 8rem);
}

.page-intro {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.error-page {
  min-height: 52vh;
  border-bottom: 1px solid var(--line);
  padding: clamp(5rem, 12vw, 10rem) 0;
}

.error-content {
  max-width: 48rem;
}

.error-code {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 750;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.error-page h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.error-page p:not(.error-code) {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.legal-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

.legal-block {
  border-top: 1px solid var(--line);
  padding: 2.1rem 0 2.7rem;
}

.legal-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-block h2 {
  max-width: none;
  margin-bottom: 1.35rem;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  letter-spacing: -0.045em;
}

.legal-block p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.legal-block p + p {
  margin-top: 1rem;
}

.legal-block a {
  color: var(--accent);
  font-weight: 650;
}

.legal-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.legal-facts > div {
  display: grid;
  grid-template-columns: minmax(11rem, 0.65fr) minmax(0, 1.35fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.legal-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-facts dd {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
}

.legal-note {
  margin-top: 1.7rem !important;
  border-left: 3px solid var(--accent);
  padding: 0.1rem 0 0.1rem 1rem;
  color: var(--ink) !important;
  font-size: 0.9rem !important;
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand {
    width: 124px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    padding: 0.5rem 1rem 0.8rem;
  }

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

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 0.95rem 0;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

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

  .hero {
    padding-top: 4.25rem;
  }

  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 23vw, 7rem);
  }

  .hero-mark {
    min-height: 0;
  }

  .section-kicker {
    margin-bottom: 0.85rem;
  }

  h2 {
    max-width: 12ch;
  }

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

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

  .footer-bottom {
    display: grid;
    margin-top: 2.8rem;
  }

  .legal-facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

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

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