:root {
  --plum: #3e2e3d;
  --plum-ink: #2a2029;
  --stone: #c8c0b3;
  --stone-bright: #ebe6dc;
  --ivory: #f5f2ec;
  --ink: #241c22;
  --muted: #5c534e;
  --line: rgba(36, 28, 34, 0.16);
  --stone-line: rgba(200, 192, 179, 0.38);
  --danger: #8c3d36;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Century Gothic", sans-serif;
  --pad: clamp(1.25rem, 4.2vw, 4.75rem);
  --nav-h: 4.6rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  scrollbar-color: var(--plum) var(--ivory);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 420;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--plum);
  color: var(--stone-bright);
}

.hero ::selection,
.close ::selection {
  background: var(--stone);
  color: var(--plum);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 0.8rem;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.85rem var(--pad);
  color: var(--stone-bright);
  background: transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  background: rgba(245, 242, 236, 0.92);
  color: var(--plum);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.mark {
  display: flex;
  flex-direction: column;
  font-weight: 560;
  font-size: 1.22rem;
  line-height: 0.76;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 72, "SOFT" 20, "WONK" 1;
}

.mark-c {
  display: flex;
  align-items: flex-start;
  gap: 0.06em;
}

.star {
  width: 0.58em;
  height: 0.58em;
  margin-top: 0.08em;
  display: block;
}

.brand-word {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.78;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--plum);
  color: var(--stone-bright);
  overflow: hidden;
}

.hero-star {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 680px);
  color: var(--stone);
  opacity: 0.1;
  z-index: 0;
  animation: drift 110s linear infinite;
}

@keyframes drift {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-grain,
.close-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("../assets/noise.png");
  background-size: 160px 160px;
}

.hero-center {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 var(--pad);
  min-width: 0;
}

.hero-center > div {
  max-width: 100%;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero .eyebrow {
  color: var(--stone);
  margin-bottom: 1.4rem;
}

.wordmark {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.42em;
  font-weight: 360;
  font-size: clamp(1.15rem, 2.55vw, 2.05rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  line-height: 1.25;
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}

.wordmark span + span::before {
  content: none;
}

.hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2rem;
  padding: 1.2rem var(--pad) 1.45rem;
  border-top: 1px solid var(--stone-line);
}

.tagline {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 460;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72, "SOFT" 30, "WONK" 1;
}

.down {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
  white-space: nowrap;
}

.down svg {
  width: 1rem;
  height: 1rem;
}

.practice {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: end;
  padding: clamp(4.5rem, 10vh, 7.5rem) var(--pad);
}

.display {
  margin: 0;
  max-width: 10.2ch;
  font-weight: 520;
  font-size: clamp(3.15rem, 6.5vw, 6.35rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 35, "WONK" 1;
}

.practice-copy p {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.12rem, 1.4vw, 1.28rem);
  line-height: 1.58;
}

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

.write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.25rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--stone-bright);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.write:hover {
  background: transparent;
  color: var(--plum);
}

.nav-links a.nav-write {
  border: 1px solid var(--stone-line);
  padding: 0.7rem 0.9rem;
  opacity: 1;
}

.nav.is-solid .nav-write {
  border-color: rgba(62, 46, 61, 0.28);
}

.plate {
  margin: 0;
}

.plate img {
  width: 100%;
  max-height: 92vh;
  object-fit: cover;
}

.plate figcaption {
  padding: 0.9rem var(--pad) 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ways {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(5rem, 12vh, 8.5rem) var(--pad);
}

.section-title {
  margin: 0 0 2rem;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variation-settings: "opsz" 96, "SOFT" 20, "WONK" 1;
}

.way {
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

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

.way-num {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.way h3 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  font-weight: 520;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72, "SOFT" 25, "WONK" 0;
}

.way p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.ways-photo img {
  width: 100%;
}

.founder {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: 0 var(--pad) clamp(5.5rem, 12vh, 8rem);
}

.founder img {
  width: 100%;
  max-height: 820px;
  object-fit: cover;
  object-position: center top;
}

.founder h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-variation-settings: "opsz" 120, "SOFT" 30, "WONK" 1;
}

.founder-copy p {
  margin: 0;
  max-width: 38rem;
  font-size: 1.12rem;
}

.founder-copy p + p {
  margin-top: 1.1rem;
}

.close {
  position: relative;
  background: var(--plum);
  color: var(--stone-bright);
  text-align: center;
  padding: clamp(5.5rem, 14vh, 9.5rem) var(--pad) 4.5rem;
  overflow: hidden;
}

.close > :not(.close-grain) {
  position: relative;
  z-index: 1;
}

.close .eyebrow {
  color: var(--stone);
}

.close h2 {
  margin: 0 auto 1.1rem;
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}

.close-mail {
  display: inline-block;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  font-weight: 450;
  color: var(--stone-bright);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size 0.45s var(--ease);
}

.close-mail:hover {
  background-size: 100% 1px;
}

.close-address {
  margin: 1.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--stone);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.4rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--stone-line);
  color: var(--stone-bright);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.text-button:hover {
  background: var(--stone-bright);
  color: var(--plum);
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem var(--pad) 1.4rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-foot.on-plum {
  background: var(--plum);
  color: var(--stone);
  border-top: 1px solid var(--stone-line);
}

.site-foot.on-ivory {
  background: var(--ivory);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.contact-main {
  padding: var(--nav-h) 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(180px, calc(var(--contact-photo-width, 80) * 0.46%)) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: calc(100svh - var(--nav-h));
}

.contact-photo {
  margin: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 5vh, 3rem);
}

.contact-photo img {
  position: static;
  width: 100%;
  height: calc((100svh - var(--nav-h)) * var(--contact-photo-height, 80) / 100);
  max-height: calc((100svh - var(--nav-h)) * var(--contact-photo-height, 80) / 100);
  object-fit: cover;
  object-position: center 22%;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.75rem, 4vh, 2.75rem);
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.5rem, 4.5vw, 4.25rem);
}

.contact-intro {
  position: static;
}

.contact-intro h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: 520;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 22rem;
  font-size: 1.25rem;
  line-height: 1.45;
}

.contact-intro address {
  margin: 2.2rem 0 0;
  font-style: normal;
}

.contact-intro address a {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  font-style: italic;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
}

.contact-intro address p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.75;
  color: var(--muted);
}

.inquiry {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-top: 0.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.optional {
  margin-left: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0 0.75rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--plum);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: var(--danger);
}

.field-error {
  margin: 0;
  min-height: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.form-note {
  margin: 0;
  max-width: 18rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.submit {
  appearance: none;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--stone-bright);
  padding: 0.95rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.submit:hover {
  background: transparent;
  color: var(--plum);
}

.submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-success {
  padding-top: 0.6rem;
}

.form-success h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.form-success p {
  max-width: 28rem;
}

.form-status {
  margin: 0;
  font-size: 1.05rem;
}

.form-status a {
  color: var(--plum);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .way.reveal:nth-child(2) { transition-delay: 0.08s; }
.js .way.reveal:nth-child(3) { transition-delay: 0.16s; }

:focus-visible {
  outline: 1px solid var(--plum);
  outline-offset: 4px;
}

.hero :focus-visible,
.close :focus-visible,
.nav:not(.is-solid) :focus-visible {
  outline-color: var(--stone);
}

@media (max-width: 900px) {
  .brand-word {
    display: none;
  }

  .practice,
  .ways,
  .founder,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-photo,
  .contact-photo img {
    position: static;
    width: 100%;
    height: calc(68vh * var(--contact-photo-height, 80) / 100);
    max-height: calc(68vh * var(--contact-photo-height, 80) / 100);
    min-height: 0;
  }

  .contact-photo {
    padding: 1.25rem 1.25rem 0;
  }

  .contact-intro {
    position: static;
  }

  .display,
  .close h2 {
    max-width: 12ch;
  }

  .ways-photo {
    max-width: 26rem;
  }

  .founder img {
    max-height: 78vh;
  }
}

.br-sm { display: none; }

@media (max-width: 640px) {
  .br-sm { display: initial; }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    padding-inline: 1.1rem;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    letter-spacing: 0.14em;
  }

  .wordmark {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.22rem;
    letter-spacing: 0.28em;
    line-height: 1.35;
  }

  .nav-links a.nav-write {
    padding: 0.55rem 0.65rem;
    letter-spacing: 0.1em;
    font-size: 0.62rem;
  }

  .form-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .submit,
  .write {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-star { animation: none; }
  .js .reveal,
  .js .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav,
  .submit,
  .text-button,
  .close-mail {
    transition: none;
  }
}
