@font-face {
  font-family: Gelasio;
  src: url("fonts/gelasio-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Gelasio;
  src: url("fonts/gelasio-400i.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Gelasio;
  src: url("fonts/gelasio-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Gelasio;
  src: url("fonts/gelasio-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f1e7;
  --paper-deep: #ebe3d4;
  --ink: #1c1814;
  --ink-body: #3a3228;
  --brass: #6f5a2a;
  --brass-soft: #e6d5a6;
  --line: #d4c9b6;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --header: 4.5rem;
  --measure: 66ch;
  color-scheme: light;
  scrollbar-color: #c9b99a var(--paper);
  scrollbar-width: thin;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: Gelasio, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: 1.125rem;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #e4d3a4;
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: #c9b99a;
  border: 3px solid var(--paper);
  border-radius: 999px;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(72rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 14ch;
  hanging-punctuation: first;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

a {
  color: inherit;
}

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

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

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

.brand:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brass);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
  text-underline-offset: 0.28em;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brass);
}

.site-nav a[aria-current="true"] {
  font-weight: 600;
}

.hero {
  padding-block: clamp(3.25rem, 8vh, 6.25rem) clamp(2.5rem, 6vh, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

.hero-grid > *,
.split > *,
.trio > *,
.columns > *,
.values > * {
  min-width: 0;
}

.hero-copy p {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 36ch;
}

.portrait {
  display: block;
  width: 12.75rem;
  height: 12.75rem;
  max-width: 100%;
  margin-bottom: 1.35rem;
  object-fit: cover;
  object-position: 36% 34%;
}

.quiet-photo {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin-top: 1.35rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.quiet-photo-dojo {
  object-position: center 40%;
}

.quiet-photo-desk {
  object-position: center 62%;
}

.mark {
  display: block;
  width: 6.75rem;
  height: 1px;
  margin-top: 1.5rem;
  background: var(--brass);
}

.action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.35rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.28em;
}

.action:hover {
  text-decoration-color: var(--ink);
}

.block {
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

section[id] {
  scroll-margin-top: 6.25rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(10.5rem, 14rem) minmax(0, 1fr);
  column-gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: start;
}

.measure {
  max-width: var(--measure);
}

.measure p + p,
.steps p + p,
.columns p + p {
  margin-top: 1rem;
}

.trio,
.columns,
.values {
  display: grid;
  gap: 1.75rem 2.25rem;
}

.trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trio article {
  border-top: 1px solid var(--line);
  padding-top: 1.05rem;
}

.trio h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.columns h3,
.steps h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
}

.lead {
  max-width: var(--measure);
}

.steps {
  display: grid;
  gap: 2.35rem;
  max-width: var(--measure);
}

.steps h3 {
  font-size: 1.5rem;
}

.closing {
  max-width: 60ch;
  margin-top: 2.6rem;
  font-style: italic;
}

.band {
  background: var(--paper-deep);
}

.values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.contact {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 5.75rem) clamp(2rem, 4vw, 3rem);
}

.contact h2,
.contact .lead,
.contact .channel-value,
.contact .social a {
  color: var(--paper);
}

.channels {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.channels a,
.social {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-block: 0.95rem;
  border-top: 1px solid rgba(246, 241, 231, 0.22);
  text-decoration: none;
}

.channels li:last-child a,
.social {
  border-bottom: 1px solid rgba(246, 241, 231, 0.22);
}

.channel-name {
  color: var(--brass-soft);
  font-size: 1rem;
}

.channel-value {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.channels a:hover .channel-value,
.social a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brass-soft);
  text-underline-offset: 0.18em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.contact :focus-visible {
  outline-color: var(--brass-soft);
}

.colophon {
  margin-top: 2.4rem;
  color: var(--brass-soft);
  font-size: 1rem;
}

@media (max-width: 880px) {
  .hero-grid,
  .split,
  .trio,
  .columns,
  .values {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .header-bar {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-block: 0.7rem;
  }

  .site-nav {
    flex-basis: 100%;
    justify-content: flex-start;
    max-width: 100%;
    gap: 0;
  }

  section[id] {
    scroll-margin-top: 12.5rem;
  }

  .columns {
    margin-top: 1.75rem;
  }

  .trio article + article {
    margin-top: 0.35rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.45rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mark {
    animation: draw 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

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

@keyframes draw {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}
