@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2010-2027, U+2030-205E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2010-2027, U+2030-205E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #3a3632;
  --ink-soft: #5e5854;
  --title: #7b7571;
  --blue: #205e80;
  --blue-deep: #163e58;
  --quiet: #8a847c;
  --line: #d5d0c8;
  --paper: #fff;
  --font: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  background: #fff;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-synthesis: none;
  font-size: 1.125rem;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
button,
input {
  font-weight: 300;
  font-synthesis: none;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  z-index: 5;
  min-height: 44px;
}

.skip:focus {
  transform: none;
}

/* Hidden until an SVG is placed inside. Hairline marks from Katie's symbols. */
.flourish {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 0.35rem auto;
  line-height: 0;
}

.flourish:has(svg) {
  display: flex;
}

.flourish svg {
  display: block;
  width: 1.15rem;
  height: auto;
  overflow: visible;
}

.flourish svg :is(circle, line, path):not(.dot) {
  fill: none;
  stroke: #111;
  stroke-width: 0.7px;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.flourish svg .dot {
  fill: #111;
  stroke: none;
}

.masthead .flourish {
  justify-content: flex-start;
  margin: 0.15rem 0 0;
}

.masthead .flourish svg {
  width: min(9.5rem, 68vw);
}

.studio .flourish,
.closing .flourish {
  margin-bottom: 0.9rem;
}

.hero,
.studio {
  background: #fff;
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(1.7rem, 3.2vw, 2.6rem) clamp(1.15rem, 4.2vw, 3.75rem) 0;
}

.masthead {
  text-align: left;
  margin: 0 0 clamp(1.85rem, 3.4vw, 2.85rem);
}

.site-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.55vw, 1.48rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--title);
}

.site-title a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.15rem 0;
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 31.5rem) minmax(18rem, 1fr);
  column-gap: clamp(1.6rem, 3vw, 3.15rem);
  align-items: start;
}

.chapter-col {
  min-width: 0;
  max-width: 31.5rem;
  padding-top: 0.15rem;
}

.invite {
  margin: 0 0 clamp(2rem, 3.2vw, 2.75rem);
  max-width: 12em;
  font-weight: 300;
  font-size: clamp(1.95rem, 2.85vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: 0.004em;
  color: #3c3834;
}

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

.toc li + li {
  margin-top: 1.5rem;
}

.toc a {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  padding: 0.12rem 0.2rem 0.2rem;
  margin-left: -0.2rem;
}

.toc .num {
  margin-top: 0.18rem;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #4e4945;
  border-bottom: 1px solid #c9c3bb;
  line-height: 1.15;
  padding-bottom: 0.18em;
  justify-self: start;
}

.toc .num:empty {
  border-bottom: 0;
}

.toc .name {
  display: block;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.toc .note {
  display: block;
  margin-top: 0.22rem;
  font-weight: 300;
  font-style: normal;
  font-size: 1.08rem;
  line-height: 1.28;
  color: var(--ink-soft);
}

.toc li.toc-quiet {
  margin-top: 2.7rem;
}

.toc-quiet .name,
.toc-quiet .note {
  color: var(--quiet);
}

.toc-quiet .name {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.toc-quiet .note {
  font-size: 0.98rem;
}

@media (hover: hover) and (pointer: fine) {
  .toc a:hover .name,
  .toc a:focus-visible .name {
    color: var(--blue-deep);
  }

  .toc-quiet a:hover .name,
  .toc-quiet a:focus-visible .name {
    color: #5c564f;
  }
}

.dawn {
  margin: 0.15rem 0 0;
  min-width: 0;
  justify-self: end;
  width: min(100%, 36rem);
}

.dawn-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.dawn-frame picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}

.dawn-slide,
.dawn-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.dawn-slide.is-on,
.dawn-preview.is-on {
  opacity: 1;
}

.dawn-caption {
  margin: 1.05rem auto 0;
  max-width: 18rem;
  text-align: center;
  color: #5c564f;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  transition: opacity 0.32s ease;
}

.dawn-caption.is-fading {
  opacity: 0;
}

.dawn-name {
  display: block;
}

.dawn-caption em {
  display: block;
  margin-top: 0.22rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.05rem;
  line-height: 1.35;
}

.studio {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3.6rem, 6.5vw, 5.25rem) clamp(1.15rem, 4.2vw, 3.75rem) 0;
}

.studio h2 {
  margin: 0 0 1.95rem;
  text-align: center;
  font-weight: 300;
  font-style: normal;
  font-size: 0.84rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6a645e;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 1.85rem);
  margin: 0;
  padding: 0;
}

.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}

.tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #fff;
}

.tile-kicker {
  display: block;
  margin: 0.9rem 0 0;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink);
}

.tile-line {
  display: block;
  margin: 0.32rem 0 0;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.32;
  color: var(--ink-soft);
}

.tile-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
  min-height: 44px;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-more,
  .tile:focus-visible .tile-more {
    color: var(--blue-deep);
  }
}

.closing {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(3.15rem, 6vw, 4.4rem) clamp(1.15rem, 4vw, 2rem) 0;
  text-align: center;
  background: #fff;
}

.closing-line {
  margin: 0 0 1.65rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}

.newsletter h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.newsletter-intro,
.privacy,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.05rem;
}

.newsletter-intro {
  margin-bottom: 0.95rem;
}

.newsletter-row {
  display: flex;
  justify-content: center;
  max-width: 26rem;
  margin: 0 auto;
}

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

.newsletter input,
.newsletter button {
  font-family: inherit;
  font-weight: 300;
  min-height: 48px;
}

.newsletter input {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-right: 0;
  background: #fff;
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  font-size: 1.05rem;
}

.newsletter button {
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.4rem 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
  min-width: 7.25rem;
  height: 48px;
}

.newsletter button:hover {
  background: var(--blue-deep);
}

.privacy {
  margin-top: 0.7rem;
  font-style: italic;
  font-size: 0.98rem;
}

.form-status {
  min-height: 1.35em;
  margin-top: 0.4rem;
}

.range {
  max-width: 40rem;
  margin: clamp(2.15rem, 4.2vw, 3rem) auto 0;
  padding: 0 clamp(1.15rem, 4vw, 2rem) clamp(1.15rem, 3vw, 1.75rem);
  background: #fff;
}

.range picture {
  display: block;
}

.range img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.range .dawn-caption {
  margin-top: 0.95rem;
}

.site-footer {
  text-align: center;
  background: #fff;
  padding: 0 1rem 1.85rem;
}

.site-footer a {
  color: var(--quiet);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.8rem;
}

@media (max-width: 1000px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 40rem;
    margin-inline: auto;
  }
}

@media (max-width: 1000px) {
  .hero {
    padding-top: clamp(1.25rem, 4.5vw, 1.7rem);
  }

  .masthead {
    margin-bottom: 1.45rem;
  }

  .site-title {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
    letter-spacing: 0.18em;
  }

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

  .chapter-col {
    max-width: none;
  }

  .invite {
    max-width: 12em;
    margin-bottom: 1.55rem;
    font-size: clamp(1.85rem, 7.4vw, 2.35rem);
  }

  .toc li + li {
    margin-top: 1.05rem;
  }

  .dawn {
    width: min(70vw, 26rem);
    margin: 2.15rem auto 0;
    justify-self: center;
  }

  .studio {
    padding-top: clamp(2.85rem, 8vw, 3.6rem);
  }
}

@media (max-width: 380px) {
  .tiles {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

@media (max-width: 420px) {
  .site-title {
    letter-spacing: 0.12em;
    font-size: 1.02rem;
  }

  .invite {
    font-size: clamp(1.65rem, 7.6vw, 1.9rem);
  }

  .toc .name {
    letter-spacing: 0.14em;
    font-size: 0.84rem;
  }

  .toc .note {
    font-size: 1.02rem;
  }

  .newsletter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    max-width: none;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
    height: 48px;
  }

  .newsletter input {
    border-right: 1px solid var(--line);
  }

  .tile-kicker {
    letter-spacing: 0.12em;
    font-size: 0.7rem;
  }

  .tile-line {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dawn-slide,
  .dawn-preview,
  .dawn-caption {
    transition: none;
  }
}
