:root {
  --sage: #768372;
  --sage-light: #8c9888;
  --sage-deep: #5f6a5c;
  --char: #323431;
  --char-2: #424741;
  --ink: #f3f4f2;
  --ink-dim: rgba(243, 244, 242, 0.72);
  --rule: rgba(243, 244, 242, 0.22);
  --accent: #c9876f;
  --serif-display: "Instrument Serif", "Times New Roman", serif;
  --serif-body: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sage);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- page transition veil ---------- */
.veil {
  position: fixed; inset: 0; z-index: 100;
  background: var(--char);
  transform: translateY(0);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
body.is-ready .veil { transform: translateY(-100%); }
body.is-leaving .veil { transform: translateY(0); transition-duration: .5s; }

/* ---------- hero with animated facets ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--char);
}
.hero.compact { min-height: 62vh; }
.hero canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero::after { /* soft vignette like the reference */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 30% 10%, rgba(140,152,136,.25), transparent 60%),
              linear-gradient(to bottom, rgba(50,52,49,.1), rgba(50,52,49,.35));
}

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 36px 4vw 26px;
  border-bottom: 1.5px solid rgba(20, 22, 20, .75);
}
.socials { display: flex; gap: 22px; }
.socials a { width: 18px; height: 18px; opacity: .85; transition: opacity .3s, transform .3s var(--ease); }
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials svg { width: 100%; height: 100%; fill: currentColor; }
.brand { text-align: center; }
.brand .name { font-family: var(--serif-display); font-size: 26px; letter-spacing: .01em; }
.nav { display: flex; gap: 38px; justify-content: center; margin-top: 18px; font-size: 14px; }
.nav a { position: relative; padding-bottom: 3px; opacity: .85; transition: opacity .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-right { display: flex; justify-content: flex-end; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }

/* ---------- hero content ---------- */
.hero-body {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column;
  padding: 5vh 18.75vw 9vh;
}
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 18px;
}
.hero-title {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(30px, 3.3vw, 52px); line-height: 1.12;
  max-width: 22ch;
}
.hero.compact .hero-title { font-size: clamp(44px, 6vw, 92px); max-width: none; }
.hero-cta { margin-top: auto; align-self: center; padding-top: 6vh; }

.btn-outline, .btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 250px; height: 50px; padding: 0 34px;
  border-radius: 999px; font-size: 13px; letter-spacing: .04em;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--char); }
.btn-solid { background: var(--ink); color: var(--char); min-width: 330px; }
.btn-solid:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.pause-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: rgba(243,244,242,.9); color: var(--char); cursor: pointer;
  display: grid; place-items: center; font-size: 9px;
}

/* ---------- sections ---------- */
.section { padding: 15vh 6vw; text-align: center; }
.section.left { text-align: left; }
.section h2 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 66px); line-height: 1.05;
}
.lede {
  max-width: 560px; margin: 48px auto 56px;
  font-size: 15px; color: var(--ink-dim);
}
.wrap { max-width: 1040px; margin: 0 auto; }
.letter { max-width: 640px; margin: 0 auto; text-align: left; font-size: 18px; }
.letter p + p { margin-top: 1.1em; }
.letter .signoff { font-family: var(--serif-display); font-size: 28px; margin-top: 1.4em; }
.divider { border: 0; border-top: 1px dashed rgba(201, 135, 111, .7); margin: 0; }

/* project / writing lists */
.items { margin-top: 64px; display: grid; gap: 0; text-align: left; }
.item {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: baseline;
  padding: 30px 0; border-top: 1px solid var(--rule);
  transition: padding .45s var(--ease), background .45s;
}
.items .item:last-child { border-bottom: 1px solid var(--rule); }
.item .tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); }
.item h3 { font-family: var(--serif-display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.item p { font-size: 15px; color: var(--ink-dim); margin-top: 8px; max-width: 58ch; }
.item .arrow { font-family: var(--serif-display); font-size: 30px; transition: transform .45s var(--ease); }
a.item:hover { padding-left: 14px; }
a.item:hover .arrow { transform: translateX(8px); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.pill { border: 1px solid var(--rule); border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--ink-dim); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; text-align: left; margin-top: 64px; }
.grid-2 h3 { font-family: var(--serif-display); font-weight: 400; font-size: 30px; margin-bottom: 12px; }
.grid-2 p { font-size: 15px; color: var(--ink-dim); }
.grid-2 ul { list-style: none; font-size: 15px; color: var(--ink-dim); }
.grid-2 li { padding: 10px 0; border-top: 1px solid var(--rule); }

.band-dark { background: var(--char); }

/* contact form */
.form { max-width: 560px; margin: 56px auto 0; display: grid; gap: 18px; text-align: left; }
.form label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); }
.form input, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  color: var(--ink); font: inherit; padding: 10px 0; outline: none; transition: border-color .3s;
}
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn-solid { justify-self: center; margin-top: 18px; border: 0; cursor: pointer; font-family: inherit; }

/* ---------- footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6vw;
  padding: 80px 6vw 90px;
}
.site-footer .f-name { font-family: var(--serif-display); font-size: clamp(28px, 2.4vw, 38px); justify-self: end; }
.site-footer .orb {
  width: 68px; height: 68px; border-radius: 50%; background: var(--ink);
  animation: breathe 6s ease-in-out infinite;
}
.site-footer .f-right { justify-self: start; }
.site-footer .f-mail { font-family: var(--serif-display); font-size: clamp(28px, 2.4vw, 38px); display: block; }
.f-icons { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; }
.f-icons a {
  width: 22px; height: 22px; border-radius: 4px; background: var(--ink); color: var(--sage-deep);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.f-icons a:hover { transform: translateY(-2px); }
.f-icons svg { width: 12px; height: 12px; fill: currentColor; }
.copyright { text-align: center; font-size: 12px; color: var(--ink-dim); padding-bottom: 28px; letter-spacing: .05em; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.split.in .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .split .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .site-footer .orb { animation: none; }
  .veil { display: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header { grid-template-columns: auto 1fr auto; padding: 22px 16px; }
  .brand { text-align: left; grid-column: 1; grid-row: 1; }
  .socials { display: none; }
  .header-right { grid-column: 3; }
  .menu-btn { display: block; }
  .nav {
    display: none; grid-column: 1 / -1; flex-direction: column; gap: 14px;
    margin-top: 18px; font-size: 18px; align-items: flex-start;
  }
  .site-header.open .nav { display: flex; }
  .hero-body { padding: 6vh 16px 8vh; }
  .section { padding: 11vh 16px; }
  .item { grid-template-columns: 1fr; gap: 6px; }
  .item .arrow { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .btn-solid, .btn-outline { min-width: 0; width: 100%; max-width: 330px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .site-footer .f-name, .site-footer .f-right { justify-self: center; }
  .site-footer .orb { margin: 0 auto; }
  .f-icons { justify-content: center; }
}
/* ---------- holding screen ---------- */
body.holding footer { display: none; }
.hero.hold { min-height: 100vh; }
.hold-body { align-items: center; justify-content: center; text-align: center; padding: 0 16px 12vh; }
.hold-title { font-family: var(--serif-display); font-weight: 400; font-style: italic; font-size: clamp(48px, 8vw, 128px); line-height: 1; letter-spacing: .01em; }
