:root {
  --paper: #f4f0e8;
  --paper-bright: #faf8f3;
  --ink: #171715;
  --muted: #57534d;
  --rust: #a63f1f;
  --rust-deep: #8e3218;
  --rule: rgba(23, 23, 21, 0.25);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 28px 0;
}
.site-nav {
  width: var(--content);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.nav-group { display: flex; align-items: center; gap: 26px; }
.nav-group-right { justify-content: flex-end; }
.site-nav a, .footer-nav a {
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
}
.site-nav a:not(.button):not(.wordmark), .footer-nav a {
  text-underline-offset: 6px;
}
.site-nav a:not(.button):not(.wordmark):hover,
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--rust); }

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 8px;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  line-height: 1;
}
.wordmark-main span:last-child { text-transform: lowercase !important; }
.wordmark-main i { width: 1px; height: 27px; background: var(--rust); }
.wordmark-sub { margin-top: 7px; font-size: 0.64rem; font-weight: 650; letter-spacing: 0.42em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--rust);
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { background: var(--rust-deep); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 4px;
}
.button-small { min-height: 44px; padding: 10px 17px; font-size: 0.78rem !important; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 920px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(166, 63, 31, 0.7);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-veil { position: absolute; inset: 0; background: rgba(244, 240, 232, 0.72); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-top: 64px;
  text-align: center;
}
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.03; }
h1 { margin: 0; font-size: clamp(4rem, 7.3vw, 7rem); letter-spacing: -0.045em; }
.hero-emphasis { margin: 28px 0 16px; color: var(--rust); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.72rem); }
.hero-description { max-width: 700px; margin: 0 auto 28px; font-size: clamp(1rem, 1.3vw, 1.16rem); }
.reassurance { margin: 20px 0 0; font-size: 0.84rem; }

.change-intro {
  padding: 92px 24px 98px;
  text-align: center;
  border-bottom: 1px solid rgba(166, 63, 31, 0.7);
  background-color: var(--paper-bright);
  background-image: radial-gradient(rgba(80, 60, 40, 0.045) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
}
.change-intro h2, .section-heading h2 { margin: 0 auto 24px; font-size: clamp(2.55rem, 4.5vw, 4.65rem); letter-spacing: -0.035em; }
.change-intro p { max-width: 720px; margin: auto; font-size: 1.04rem; }

.studios { padding: 88px 0 110px; }
.section-heading { width: var(--content); margin: 0 auto 46px; text-align: center; }
.section-heading h2 { font-size: clamp(2.4rem, 4.2vw, 4rem); }
.studio-grid { width: var(--content); margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(42px, 7vw, 90px); }
.studio { display: flex; flex-direction: column; align-items: flex-start; }
.audience-label { align-self: center; margin: 0 0 5px; color: var(--rust); text-transform: uppercase; font-size: 0.73rem; font-weight: 750; letter-spacing: 0.22em; }
.audience-label .brand-case { text-transform: none; }
.notebook-link { display: block; width: min(100%, 460px); align-self: center; text-align: center; text-decoration: none; perspective: 1200px; }
.notebook-wrap { position: relative; display: block; transform-origin: left center; transition: transform 360ms cubic-bezier(.2,.75,.25,1), filter 360ms ease; }
.notebook-wrap img { width: 100%; }
.notebook-title {
  position: absolute;
  left: 31%;
  top: 32%;
  color: rgba(255,255,255,0.87);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.notebook-title-dark { color: rgba(80, 55, 40, 0.78); }
.notebook-link:hover .notebook-wrap,
.notebook-link:focus-visible .notebook-wrap { transform: rotateY(-7deg) translateY(-9px); filter: drop-shadow(16px 18px 16px rgba(38,24,16,0.15)); }
.enter-studio { display: inline-block; margin-top: 8px; color: var(--rust); font-family: var(--serif); font-size: 1.2rem; text-underline-offset: 6px; }
.notebook-link:hover .enter-studio, .notebook-link:focus-visible .enter-studio { text-decoration: underline; }

.facilitator { padding: 110px 0; border-top: 1px solid rgba(166, 63, 31, 0.7); background: var(--paper-bright); }
.facilitator-inner { width: var(--content); margin: auto; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(52px, 7vw, 100px); align-items: center; }
.facilitator-image-wrap { margin: 0; }
.facilitator-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facilitator-copy h2 { margin: 0 0 30px; font-size: clamp(2.8rem, 5vw, 5rem); }
.facilitator-copy h1 { margin: 0 0 30px; font-size: clamp(3.4rem, 6vw, 6rem); }
.facilitator-copy p { margin: 0 0 18px; }
.facilitator-copy > p:not(.audience-label):first-of-type { color: var(--rust); font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; }
.facilitator-copy p:last-child { margin-bottom: 0; }
.facilitator-copy .audience-label { margin-bottom: 20px; text-align: left; }
.facilitator-copy .button { margin-top: 14px; }
.facilitator-page { min-height: 720px; border-top: 0; }

.studio-page .site-header { position: relative; background: var(--paper-bright); border-bottom: 1px solid rgba(166, 63, 31, 0.35); }
.studio-page-main { background: var(--paper-bright); }
.studio-page-hero { width: var(--content); margin: auto; padding: 100px 0 78px; text-align: center; }
.studio-page-hero .audience-label { margin-bottom: 20px; }
.studio-page-hero h1 { max-width: 900px; margin: 0 auto 28px; }
.studio-page-hero > p:not(.audience-label) { max-width: 760px; margin: auto; font-size: 1.15rem; }
.studio-page-sections { width: var(--content); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(166, 63, 31, 0.35); border: 1px solid rgba(166, 63, 31, 0.35); }
.studio-page-section { padding: clamp(28px, 4vw, 54px); background: var(--paper); }
.studio-page-section h2 { margin: 0 0 22px; font-size: clamp(2rem, 3vw, 3rem); }
.studio-page-section p { margin: 0 0 18px; }
.studio-page-next { padding: 80px 24px; text-align: center; background: var(--rust-deep); color: white; }
.studio-page-next h2 { margin: 0 0 20px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.studio-page-next p { max-width: 720px; margin: 0 auto 30px; }
.studio-page-next .button { border-color: white; }

.signup { padding: 76px 24px; background: var(--rust-deep); color: white; }
.signup-inner { width: var(--content); margin: auto; }
.signup-copy h2 { margin: 0 0 12px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.signup-copy p { max-width: 800px; margin: 0 0 32px; }
.signup-form { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: 18px; align-items: end; }
.signup-form label { display: grid; gap: 8px; font-size: 0.82rem; font-weight: 650; }
.signup-form input { min-width: 0; height: 52px; border: 1px solid white; border-radius: 0; padding: 0 13px; background: var(--paper-bright); color: var(--ink); }
.button-light { height: 52px; border-color: white; background: transparent; white-space: nowrap; }
.button-light:hover { background: white; color: var(--rust-deep); }
.consent, .form-status { grid-column: 1 / -1; margin: 0; font-size: 0.78rem; }
.consent a { color: inherit; text-underline-offset: 4px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; font-weight: 700; }

.contact-page { min-height: 70vh; padding: 88px 24px 110px; background: var(--paper-bright); }
.contact-intro { width: min(760px, 100%); margin: 0 auto 54px; text-align: center; }
.contact-intro .audience-label { margin-bottom: 18px; }
.contact-intro h1 { margin-bottom: 24px; }
.contact-intro > p:last-child { max-width: 650px; margin: auto; font-size: 1.08rem; }
.contact-form-section { width: min(760px, 100%); margin: auto; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(166, 63, 31, 0.35); background: var(--paper); }
.contact-form { display: grid; gap: 22px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 8px; font-size: 0.86rem; font-weight: 650; }
.contact-form label span { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--ink); border-radius: 0; padding: 13px; background: var(--paper-bright); color: var(--ink); }
.contact-form input, .contact-form select { min-height: 52px; }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.contact-form .consent { color: var(--muted); }

.site-footer { padding: 0 24px 36px; text-align: center; background: var(--paper-bright); }
.footer-wordmark .wordmark-main { font-size: clamp(1.2rem, 2.3vw, 1.9rem); padding: 15px 24px 13px; }
.footer-nav { width: min(920px, 100%); margin: 36px auto; padding: 20px 0; display: flex; justify-content: space-around; gap: 20px; border-top: 1px solid var(--rust); border-bottom: 1px solid var(--rust); }
.footer-closing { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.7vw, 2.25rem); line-height: 1.45; }
.footer-closing strong { color: var(--rust); font-weight: 400; }
.footer-email { margin: 22px 0 0; font-size: 0.88rem; }
.footer-email a { text-underline-offset: 5px; }
.footer-legal { margin: 8px 0 0; font-size: 0.76rem; }
.footer-legal a { text-underline-offset: 4px; }
.copyright { margin: 26px 0 0; color: var(--muted); font-size: 0.72rem; }

.legal-page { min-height: 70vh; padding: 90px 24px 110px; background: var(--paper-bright); }
.legal-content { width: min(760px, 100%); margin: auto; }
.legal-content h1 { margin-bottom: 18px; }
.legal-updated { color: var(--muted); font-size: 0.85rem; }
.legal-content h2 { margin: 46px 0 14px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.legal-content p { margin: 0 0 18px; }
.thanks-page { min-height: 70vh; display: grid; place-items: center; padding: 90px 24px; text-align: center; background: var(--paper-bright); }
.thanks-inner { width: min(680px, 100%); }
.thanks-inner h1 { margin-bottom: 24px; }
.thanks-inner p { margin: 0 auto 30px; font-size: 1.1rem; }

@media (max-width: 900px) {
  :root { --content: min(100% - 32px, 680px); }
  .site-header { padding: 16px 0; }
  .menu-button { display: block; position: absolute; right: 16px; top: 28px; z-index: 20; border: 0; background: transparent; font-weight: 700; }
  .site-nav { display: flex; justify-content: center; }
  .nav-group { display: none; }
  .site-nav.open .nav-group {
    display: flex;
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: var(--paper-bright);
    border: 1px solid var(--ink);
  }
  .site-nav.open .nav-group-right { top: 212px; }
  .site-nav.open .nav-group a { width: 100%; padding: 12px; text-align: center; }
  .wordmark-main { font-size: 1rem; padding-inline: 12px; }
  .hero { min-height: 810px; }
  .hero-image { object-position: 55% center; }
  .hero-veil { background: rgba(244, 240, 232, 0.78); }
  .hero-content { margin-top: 42px; }
  .studio-grid { grid-template-columns: 1fr; gap: 94px; }
  .facilitator-inner { grid-template-columns: 1fr; max-width: 680px; }
  .facilitator-image-wrap { width: min(100%, 560px); }
  .studio-page-sections { grid-template-columns: 1fr; }
  .signup-form { grid-template-columns: 1fr 1fr; }
  .signup-form label:nth-of-type(3), .signup-form .button { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 760px; align-items: start; padding-top: 180px; }
  .hero-image { object-position: 53% center; }
  .hero-veil { background: linear-gradient(to bottom, rgba(244,240,232,.94) 0 63%, rgba(244,240,232,.55)); }
  h1 { font-size: clamp(3.35rem, 17vw, 4.7rem); }
  .hero-emphasis { margin-top: 20px; }
  .change-intro { padding-inline: 18px; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form label, .signup-form label:nth-of-type(3), .signup-form .button { grid-column: auto; }
  .footer-nav { flex-direction: column; }
  .notebook-title { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .enter-studio { font-size: 1.1rem; }
  .facilitator { padding: 76px 0; }
  .facilitator-inner { gap: 42px; }
  .facilitator-copy h2 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .facilitator-copy h1 { font-size: clamp(3.15rem, 15vw, 4.5rem); }
  .studio-page-hero { padding: 70px 0 58px; }
  .contact-page { padding: 68px 18px 82px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .notebook-link:hover .notebook-wrap, .notebook-link:focus-visible .notebook-wrap { transform: none; filter: none; }
  .notebook-link:hover, .notebook-link:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
}
