body:has(#public-view:not([style*="display: none"])) {
  --ink: #39362f;
  --paper: #f4efe5;
  --muted: #666055;
  --line: #c6bcaa;
  color-scheme: light;
}

body:has(#public-view:not([style*="display: none"])) > header {
  padding: 28px 20px 22px;
  border-bottom: 0;
}

body:has(#public-view:not([style*="display: none"])) > header .brand {
  font-size: 22px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

body:has(#public-view:not([style*="display: none"])) > header .divisions {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-indent: 0;
}

body:has(#public-view:not([style*="display: none"])) > header .tagline {
  color: var(--muted);
}

body:has(#public-view:not([style*="display: none"])) > main {
  max-width: 1200px;
  padding: 0 clamp(20px, 5vw, 64px);
}

body:has(#public-view:not([style*="display: none"])) > footer {
  border-color: var(--line);
  font-size: 11px;
}

body:has(#public-view:not([style*="display: none"])) > footer .s3 {
  display: none;
}

#public-view .editorial {
  font-family: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.75;
}

#public-view a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

#public-view a:hover {
  text-decoration-color: currentColor;
}

#public-view :is(a, button):focus-visible {
  outline: 2px solid #514a3d;
  outline-offset: 5px;
}

#public-view .editorial-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 clamp(15px, 4vw, 42px);
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

#public-view .editorial-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-color: transparent;
}

#public-view .sketch-plate {
  margin: clamp(26px, 4vw, 52px) auto 0;
  max-width: 960px;
}

#public-view .sketch-plate img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#public-view .sketch-plate figcaption {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

#public-view :is(h1, h2, blockquote, .chapter-closing, .what-if, .story-coda) {
  font-family: 'Libre Baskerville', Baskerville, 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
}

#public-view .editorial-welcome {
  text-align: center;
  max-width: 690px;
  margin: clamp(38px, 6vw, 68px) auto clamp(70px, 10vw, 120px);
}

#public-view h1 {
  font-size: clamp(29px, 4.7vw, 52px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

#public-view .editorial-welcome > p {
  margin: 24px auto;
  max-width: 570px;
  font-size: 20px;
}

#public-view .story-link {
  display: inline-block;
  padding: 10px 0;
  font-size: 16px;
}

#public-view .studio-story {
  max-width: 660px;
  margin: auto;
  scroll-margin-top: 32px;
}

#public-view .story-heading {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  margin-bottom: 60px;
  text-align: center;
}

#public-view h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

#public-view .story-heading > p {
  margin-top: 20px;
  color: var(--muted);
  font-style: italic;
}

#public-view .story-chapter {
  margin: 0 auto 64px;
  scroll-margin-top: 32px;
}

#public-view h3 {
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

#public-view .story-chapter > p + p {
  margin-top: 24px;
}

#public-view blockquote {
  margin: 40px 0;
  padding: 8px 0 8px 26px;
  border-left: 1px solid var(--line);
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.6;
}

#public-view blockquote cite {
  display: block;
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.12em;
  margin-top: 20px;
  color: var(--muted);
}

#public-view .chapter-closing {
  font-size: 24px;
  line-height: 1.6;
  padding: 12px 0;
}

#public-view .what-if {
  font-size: 42px;
  font-style: italic;
  padding: 10px 0;
}

#public-view .story-coda {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.9;
  padding-top: 20px;
}

#public-view .studio-invitation {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
  text-align: center;
  scroll-margin-top: 32px;
}

#public-view .studio-invitation > p:first-of-type {
  margin: 24px auto 16px;
  max-width: 460px;
}

#public-view .invitation-email {
  display: inline-block;
  padding: 10px 0;
  font-size: 22px;
}

#public-view .studio-entry {
  display: block;
  margin: 30px auto 64px;
  padding: 15px 24px;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  cursor: pointer;
}

#public-view .studio-entry:hover {
  background: var(--ink);
  color: var(--paper);
}

#public-view .studio-signature {
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  font-size: 28px;
  font-style: italic;
}

#public-view .studio-disciplines {
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-top: 12px;
}

#public-view .studio-address {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
}

@media (max-width: 640px) {
  #public-view .editorial {
    font-size: 18px;
    line-height: 1.75;
  }

  #public-view .editorial-nav {
    font-size: 11px;
    letter-spacing: 0.02em;
    gap: 0 18px;
  }

  #public-view .editorial-welcome > p {
    font-size: 18px;
  }

  #public-view .story-heading {
    padding-top: 36px;
    margin-bottom: 44px;
  }

  #public-view .studio-invitation {
    padding-top: 40px;
  }
}
