:root {
  --ink: #142a23;
  --paper: #f5f1e8;
  --paper-deep: #e8dfd1;
  --accent: #a94325;
  --accent-on-dark: #ff9871;
  --muted: #586861;
  --muted-on-dark: #dfd8cb;
  --line: rgba(20, 42, 35, 0.22);
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

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

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

.skip-link:hover {
  color: var(--accent-on-dark);
}

.site-header,
footer {
  width: min(100% - 3rem, 78rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
}

nav a,
footer,
.eyebrow,
.section-number,
.principle-index,
.availability,
.legal-date {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

main > section,
.legal-page,
.not-found {
  width: min(100% - 3rem, 78rem);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  min-height: min(46rem, calc(100vh - 6.5rem));
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--accent);
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 8.5vw, 7.9rem);
}

h1 em {
  color: var(--accent);
  font-weight: inherit;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}

.hero-lede {
  max-width: 35rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.hero-mark svg {
  display: block;
  width: 100%;
  max-width: 27rem;
  margin-inline: auto;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 4;
}

.hero-mark .dot {
  fill: var(--accent);
  stroke: none;
}

.studio-section,
.contact-section {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(5rem, 10vw, 10rem);
  border-top: 1px solid var(--line);
}

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

.section-copy,
.contact-copy {
  align-self: end;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.principles {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(5rem, 10vw, 10rem);
  border-top: 1px solid var(--line);
}

.principles-intro .section-number {
  margin-bottom: 4rem;
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.principle-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-index {
  padding-top: 0.2rem;
  color: var(--accent);
}

.principle-list h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.principle-list p {
  max-width: 35rem;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 50vw 0 var(--ink), -50vw 0 var(--ink);
  border: 0;
}

.contact-section .section-number,
.contact-section .contact-copy {
  color: var(--muted-on-dark);
}

.contact-section .eyebrow,
.contact-section a:hover {
  color: var(--accent-on-dark);
}

.email-placeholder {
  color: inherit;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-section .email-placeholder {
  margin-bottom: 0.4rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
}

.availability {
  color: var(--muted-on-dark);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  padding-block: 2.5rem;
}

footer p {
  margin-bottom: 0;
}

footer p:last-child {
  text-align: right;
}

.legal-page {
  max-width: 54rem;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.legal-page h1 {
  font-size: clamp(3.3rem, 8vw, 6.5rem);
}

.legal-intro {
  max-width: 42rem;
  margin-bottom: 5rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.legal-page section {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 0.65fr);
  gap: 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.legal-page section:last-of-type {
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-page section p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-date {
  margin-top: 2rem;
  color: var(--muted);
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 100vh;
  max-width: 50rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.not-found .text-link {
  justify-self: start;
}

@media (max-width: 760px) {
  .site-header,
  footer,
  main > section,
  .legal-page,
  .not-found {
    width: min(100% - 2rem, 78rem);
  }

  .site-header {
    min-height: 5rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.68rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 4rem;
  }

  .hero-mark {
    order: -1;
    width: 58%;
    max-width: 15rem;
    justify-self: end;
  }

  .studio-section,
  .contact-section,
  .principles {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .studio-section .section-number,
  .contact-section .section-number,
  .principles-intro .section-number {
    margin-bottom: 1rem;
  }

  .legal-page section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  footer p:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    padding-block: 1rem;
  }

  .wordmark {
    flex-basis: 100%;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }
}

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