:root {
  --limestone: #e7dfd0;
  --paper: #f5f0e7;
  --ink: #1c1b1a;
  --muted: #68635d;
  --blue: #173f66;
  --blue-dark: #102f4b;
  --pink: #c98780;
  --line: rgba(28, 27, 26, 0.2);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(92vw, 1420px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--limestone);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 34%),
    var(--limestone);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

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

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

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

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

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

.site-header {
  width: var(--page);
  min-height: 104px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav ul,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.legal-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
}

main {
  overflow: clip;
}

.hero {
  width: var(--page);
  margin: 3.8rem auto 8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(290px, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7.5rem);
}

.hero-plate {
  margin: 0;
}

.plate-frame {
  padding: clamp(0.65rem, 1.15vw, 1.05rem);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(29, 26, 22, 0.11);
}

.hero-plate img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-plate figcaption {
  width: 88%;
  margin: 0.85rem 0 0 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.catalogue-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.catalogue-label::before,
.eyebrow::before {
  width: 0.56rem;
  height: 0.56rem;
  flex: 0 0 auto;
  background: var(--pink);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.3rem, 6.5vw, 7rem);
  line-height: 0.92;
}

.hero-copy {
  transform: translateY(-8%);
}

.hero-copy .dek {
  max-width: 34rem;
  margin: 0;
  padding-left: 1.15rem;
  border-left: 2px solid var(--blue);
  color: #403c38;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

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

.narrow {
  max-width: 720px;
  margin-bottom: 9rem;
  text-align: center;
}

.narrow .eyebrow {
  justify-content: center;
}

.narrow h2,
.editorial-heading h2,
.split-copy h2,
.checklist-intro h2,
.legal-page h1 {
  font-size: clamp(2.45rem, 4.8vw, 5.2rem);
  line-height: 1.02;
}

.narrow p {
  margin: 1.4rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  line-height: 1.55;
}

.composition-block {
  margin-bottom: 9rem;
  padding: clamp(3rem, 6vw, 6rem) max(4vw, calc((100vw - 1420px) / 2));
  background: var(--blue-dark);
  color: var(--paper);
}

.composition-inner {
  width: min(92vw, 1420px);
  margin: 0 auto;
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(300px, 1.25fr);
  gap: 5vw;
  align-items: end;
  margin-bottom: 4rem;
}

.editorial-heading h2 {
  max-width: 12ch;
  margin: 0;
}

.editorial-heading p {
  max-width: 46rem;
  margin: 0 0 0.4rem;
  color: #d7d9d6;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.principle {
  min-height: 300px;
  padding: 2.2rem clamp(1rem, 2.2vw, 2.2rem) 2.4rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.principle + .principle {
  padding-left: clamp(1rem, 2.2vw, 2.2rem);
}

.principle:last-child {
  border-right: 0;
}

.principle .number {
  display: block;
  margin-bottom: 3.6rem;
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.principle h3 {
  margin-bottom: 1.05rem;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1.1;
}

.principle p {
  max-width: 35ch;
  margin: 0;
  color: #d7d9d6;
  font-size: 0.94rem;
}

.split-section {
  margin-bottom: 9rem;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.split-copy h2 {
  max-width: 10ch;
}

.split-copy p {
  max-width: 36rem;
}

.plane-study {
  align-self: end;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.plane-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.plane-row span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plane-row p {
  margin: 0;
}

.height-section {
  width: min(84vw, 1080px);
  margin: 0 auto 9rem;
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.vertical-title {
  margin: 0;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.height-copy {
  max-width: 760px;
}

.height-copy h2 {
  max-width: 13ch;
  margin-bottom: 1.6rem;
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  line-height: 1.03;
}

.height-notes {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.height-notes p {
  margin: 0;
  padding-top: 0.8rem;
  border-top: 3px solid var(--pink);
  font-size: 0.9rem;
}

.checklist {
  margin-bottom: 8rem;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.checklist-intro {
  position: sticky;
  top: 2rem;
}

.checklist-intro h2 {
  max-width: 9ch;
}

.checklist-intro p {
  max-width: 28rem;
}

.checklist-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
  border-top: 1px solid var(--ink);
}

.checklist-list li {
  position: relative;
  min-height: 5.4rem;
  padding: 1.35rem 0 1.35rem 4.5rem;
  counter-increment: check;
  border-bottom: 1px solid var(--line);
}

.checklist-list li::before {
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--pink);
  color: var(--blue);
  content: counter(check, decimal-leading-zero);
  font-size: 0.67rem;
  font-weight: 800;
}

.closing-note {
  width: var(--page);
  margin: 0 auto 8rem;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid var(--ink);
}

.closing-note h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  line-height: 1.05;
}

.closing-note p {
  max-width: 42rem;
  margin: 0;
}

.page-hero {
  width: var(--page);
  margin: 5rem auto 6rem;
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 5vw;
}

.page-hero .eyebrow {
  align-self: start;
  margin-top: 0.9rem;
}

.legal-page h1 {
  max-width: 12ch;
  margin-bottom: 1.8rem;
}

.page-lead {
  max-width: 50rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.prose-grid {
  width: min(86vw, 1080px);
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 6vw;
}

.prose-index {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prose-content section {
  padding: 0 0 3rem;
  border-top: 1px solid var(--line);
}

.prose-content section + section {
  padding-top: 3rem;
}

.prose-content h2 {
  margin: 0 0 1rem;
  padding-top: 1.3rem;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.prose-content p,
.prose-content ul {
  max-width: 48rem;
}

.prose-content li + li {
  margin-top: 0.55rem;
}

.contact-block {
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border-top: 3px solid var(--pink);
}

.contact-block p {
  margin: 0.2rem 0;
}

.site-footer {
  padding: clamp(3.5rem, 7vw, 7rem) 0 2rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 4rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.footer-contact {
  align-self: end;
}

.footer-contact > a {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.legal-links a {
  color: #cdc9c1;
}

.footer-bottom {
  width: var(--page);
  margin: 5rem auto 0;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #aaa59d;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

  .hero {
    margin-top: 2.5rem;
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-copy {
    grid-row: 1;
    transform: none;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-plate {
    grid-row: 2;
  }

  .editorial-heading,
  .split-section,
  .checklist,
  .page-hero,
  .prose-grid {
    grid-template-columns: 1fr;
  }

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

  .principle {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .principle + .principle {
    padding-left: 0;
  }

  .principle .number {
    margin-bottom: 1.8rem;
  }

  .height-section {
    width: var(--page);
    grid-template-columns: 1fr;
  }

  .vertical-title {
    writing-mode: initial;
    transform: none;
  }

  .checklist-intro {
    position: static;
  }

  .page-hero {
    gap: 1rem;
  }

  .page-hero .eyebrow {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 0.97rem;
  }

  .site-header {
    padding: 1.2rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 0.4rem 1rem;
  }

  .hero {
    margin-bottom: 6rem;
  }

  .hero-plate figcaption {
    width: 100%;
  }

  .narrow,
  .composition-block,
  .split-section,
  .height-section,
  .checklist,
  .closing-note,
  .prose-grid {
    margin-bottom: 6rem;
  }

  .height-notes,
  .closing-note,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .height-notes {
    gap: 1rem;
  }

  .closing-note {
    gap: 1rem;
  }

  .checklist-list li {
    padding-left: 3.7rem;
  }

  .footer-inner {
    gap: 3rem;
  }

  .footer-bottom {
    margin-top: 3.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

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