@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces/Fraunces-Variable.ttf") format("truetype");
}

:root {
  --paper: #f3f2e9;
  --paper-soft: #faf9f2;
  --leaf: #244b38;
  --leaf-deep: #173d2d;
  --sage: #3e7656;
  --ink-soft: #4b6656;
  --line: #d6dfd2;
  --gold: #b99650;
  --display: Georgia, "Times New Roman", serif;
  --brand: "Fraunces", Georgia, serif;
  --body: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper-soft); color: var(--leaf); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #3e7656; outline-offset: 5px; border-radius: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { background: #d7eacb; color: var(--leaf-deep); }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 1rem; padding: .7rem 1rem; background: #fff; color: var(--leaf-deep); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 10; width: 100%; min-height: 82px; padding: 0 clamp(24px, 4.7vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; color: var(--leaf-deep); font: 650 20px/1 var(--brand); font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1; letter-spacing: -.055em; }
.brand-link svg { flex: none; color: var(--sage); }
.site-header .brand-link { min-height: 44px; }
.amp { color: #609472; }
.site-header nav { display: flex; align-items: center; gap: clamp(17px, 2.2vw, 32px); font-size: 13px; font-weight: 700; }
.site-header nav a { text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
.site-header nav a:hover { color: #277746; }
.nav-studio { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; border: 1px solid rgba(36,75,56,.3); background: rgba(250,249,242,.88); border-radius: 100px; padding: 11px 16px; backdrop-filter: blur(8px); }
.nav-studio:hover { transform: translateY(-2px); background: white; }
.nav-demo { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 0 18px; border: 1px solid var(--leaf-deep); border-radius: 100px; background: var(--leaf-deep); color: #fff; }
.site-header nav .nav-demo:hover { color: #fff; background: #326f4d; transform: translateY(-2px); }

.hero { position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: max(680px, 100svh); width: 100%; overflow: hidden; background: var(--paper); }
.hero-copy { position: relative; z-index: 2; width: 59%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 118px 3.5vw 112px clamp(32px, 7vw, 112px); }
.eyebrow { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .22em; line-height: 1.5; color: var(--sage); }
.hero-eyebrow { margin-bottom: clamp(20px, 3vw, 34px); animation: rise-in .8s .08s both; }
.hero h1 { margin: 0; color: var(--leaf-deep); font: 650 clamp(3.4rem, 6.2vw, 7.1rem)/1.02 var(--brand); font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1; letter-spacing: -.065em; white-space: nowrap; animation: rise-in .85s .2s both; }
.hero h1 .amp { color: #609472; }
.hero-period { color: #9a762f; }
.hero-line { max-width: 710px; margin: clamp(30px, 4vw, 55px) 0 0; color: var(--leaf-deep); font: 400 clamp(2.3rem, 3.35vw, 3.55rem)/1.12 var(--display); letter-spacing: -.045em; animation: rise-in .85s .32s both; }
.hero-description { max-width: 510px; margin: 23px 0 0; color: var(--ink-soft); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.68; animation: rise-in .85s .42s both; }
.hero-description em { font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 33px; animation: rise-in .85s .52s both; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 56px; padding: 0 25px; border-radius: 100px; background: var(--leaf-deep); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .24s ease, transform .24s ease, box-shadow .24s ease; }
.primary-link span { font-size: 19px; font-weight: 400; transition: transform .24s ease; }
.primary-link:hover { background: #326f4d; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(21,66,41,.18); }
.primary-link:hover span { transform: translate(3px, -3px); }
.secondary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; min-height: 56px; padding: 0 24px; border: 1px solid #8ba18c; border-radius: 100px; color: var(--leaf-deep); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .24s ease, transform .24s ease; }
.secondary-link span { font-size: 19px; font-weight: 400; }
.secondary-link:hover { background: #e6eadc; transform: translateY(-3px); }
.text-link { text-decoration: none; border-bottom: 1px solid #7fa28a; padding-bottom: 5px; font-size: 14px; font-weight: 700; transition: color .2s, border-color .2s; }
.text-link:hover { color: #277746; border-color: currentColor; }
.text-link span { margin-left: 9px; }
.hero-art { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 43%; margin: 0; overflow: hidden; background: #d5debf; }
.hero-art::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(243,242,233,.12), transparent 22%); pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: art-in 1.3s both; }
.hero-art figcaption { position: absolute; z-index: 2; right: clamp(25px, 4vw, 64px); bottom: 34px; color: #234632; background: rgba(249,248,236,.91); font: italic 19px/1.2 var(--display); padding: 11px 14px; }
.hero-index { position: absolute; bottom: 29px; left: clamp(32px, 7vw, 112px); z-index: 2; color: var(--sage); font-size: 10px; font-weight: 800; letter-spacing: .2em; }

.writing-section { padding: clamp(84px, 10vw, 144px) clamp(25px, 7vw, 112px) clamp(90px, 11vw, 164px); background: var(--paper-soft); }
.section-heading { max-width: 1280px; margin: 0 auto; }
.section-heading h2 { max-width: 750px; margin: 17px 0 19px; color: var(--leaf-deep); font: 400 clamp(2.8rem, 5vw, 5.4rem)/1.04 var(--display); letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 585px; margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.writing-body { display: grid; grid-template-columns: minmax(340px, .93fr) minmax(420px, 1.07fr); align-items: center; gap: clamp(36px, 5vw, 90px); max-width: 1280px; margin: clamp(58px, 6.5vw, 93px) auto 0; }
.journey-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.journey-list li { display: grid; grid-template-columns: 46px 1fr; gap: 21px; padding: 26px 0 27px; border-bottom: 1px solid var(--line); }
.journey-number { color: var(--sage); font: 500 14px/1.6 var(--display); }
.journey-list h3 { margin: 0 0 6px; color: var(--leaf-deep); font: 400 clamp(1.55rem, 2.1vw, 2.1rem)/1.2 var(--display); letter-spacing: -.04em; }
.journey-list p { max-width: 345px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.story-art { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); align-items: start; }
.story-figure { margin: 0; min-width: 0; }
.story-figure-first { padding-top: 42px; }
.story-figure-second { padding-bottom: 42px; }
.story-figure-frame { position: relative; aspect-ratio: 4/5; border-radius: 9px; overflow: hidden; background: #e3e8d6; transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease; }
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-figure:hover .story-figure-frame { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(26,67,40,.13); }
.story-roll { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(36,75,56,.24); border-radius: 50%; background: rgba(250,249,242,.97); color: var(--leaf-deep); box-shadow: 0 3px 14px rgba(26,67,40,.12); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.story-roll:hover { background: #fff; transform: rotate(14deg); }
.story-roll:focus-visible { outline-offset: -5px; border-radius: 50%; }
.story-roll[aria-disabled="true"] { cursor: progress; }
.story-figure figcaption { display: flex; align-items: baseline; gap: 11px; margin-top: 15px; color: var(--leaf); font: italic clamp(1.05rem, 1.4vw, 1.35rem)/1.2 var(--display); }
.story-figure figcaption span { color: var(--sage); font: 700 10px/1 var(--body); letter-spacing: .1em; }

.classroom-section { padding: clamp(82px, 9vw, 132px) clamp(25px, 7vw, 112px) clamp(76px, 8vw, 114px); background: var(--leaf-deep); color: #edf4e9; }
.classroom-inner { max-width: 1280px; margin: 0 auto; }
.classroom-section .eyebrow { color: #bad3b5; }
.classroom-section h2 { max-width: 890px; margin: 16px 0 clamp(46px, 6vw, 85px); font: 400 clamp(2.8rem, 5.1vw, 5.5rem)/1.04 var(--display); letter-spacing: -.06em; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 9vw, 140px); }
.role { border-top: 1px solid rgba(223,239,213,.32); padding: 25px 0 0; }
.role-label { color: #c7dbbf; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.role h3 { max-width: 490px; margin: 28px 0 13px; font: 400 clamp(2rem, 3.1vw, 3.3rem)/1.12 var(--display); letter-spacing: -.05em; }
.role p { max-width: 420px; margin: 0; color: #d3e2d2; font-size: 16px; line-height: 1.7; }
.roadmap { display: grid; grid-template-columns: 140px 1fr auto; gap: 26px; align-items: baseline; margin-top: clamp(72px, 8vw, 118px); padding-top: 22px; border-top: 1px solid rgba(223,239,213,.3); }
.roadmap-label { color: #b3cba9; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.roadmap p { margin: 0; color: #edf4e9; font: 400 clamp(1.05rem, 1.5vw, 1.45rem)/1.5 var(--display); }
.roadmap p span { margin: 0 .35rem; color: #9ab793; }
.roadmap-note { color: #b3cba9; font-size: 12px; white-space: nowrap; }

.last-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(88px, 10vw, 150px) 25px; background: #e8efe3; }
.last-section h2 { max-width: 850px; margin: 18px 0 13px; color: var(--leaf-deep); font: 400 clamp(3rem, 5.5vw, 6rem)/1.03 var(--display); letter-spacing: -.06em; }
.last-section > p:not(.eyebrow) { margin: 0 0 32px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(25px, 7vw, 112px); background: var(--paper-soft); }
.site-footer .brand-link { font-size: 18px; }
.site-footer p { color: var(--sage); font: italic 18px var(--display); margin: 0; }

@keyframes rise-in { from { opacity: .82; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-in { from { opacity: .9; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes reveal-shift { from { transform: translateY(18px); } to { transform: translateY(0); } }
@supports (animation-timeline: view()) {
  .section-heading, .writing-body, .role-grid, .roadmap { animation: reveal-shift linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
}

@media (max-width: 1090px) {
  .hero-copy { width: 61%; padding-left: 5vw; }
  .hero-art { width: 40%; }
  .hero h1 { font-size: clamp(3.15rem, 5.8vw, 5.7rem); }
  .writing-body { grid-template-columns: minmax(300px, .95fr) minmax(330px, 1.05fr); gap: 38px; }
  .roadmap { grid-template-columns: 120px 1fr; }
  .roadmap-note { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; padding: 0 23px; }
  .site-header nav { gap: 12px; }
  .nav-about { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-copy { width: 100%; padding: 122px 25px 53px; }
  .hero h1 { font-size: clamp(2.75rem, 10vw, 4.7rem); }
  .hero-line { max-width: 600px; margin-top: 29px; font-size: clamp(2.2rem, 7.4vw, 3.6rem); }
  .hero-description { max-width: 560px; margin-top: 15px; }
  .hero-actions { margin-top: 24px; }
  .hero-art { position: relative; inset: auto; width: 100%; height: min(48svh, 440px); }
  .hero-art img { object-position: center 57%; }
  .hero-index { display: none; }
  .writing-section { padding: 81px 25px 100px; }
  .writing-body { grid-template-columns: 1fr; gap: 60px; margin-top: 48px; }
  .story-art { max-width: 620px; }
  .classroom-section { padding: 82px 25px 88px; }
  .role-grid { gap: 34px; }
  .roadmap { grid-template-columns: 1fr; gap: 10px; margin-top: 76px; }
  .roadmap-note { grid-column: 1; }
}

@media (max-width: 540px) {
  .site-header { gap: 12px; }
  .site-header nav { gap: 8px; }
  .brand-link { font-size: 17px; }
  .brand-link svg { width: 24px; height: 24px; }
  .nav-studio { padding: 10px 12px; gap: 7px; font-size: 12px; }
  .nav-studio-prefix { display: none; }
  .nav-demo { gap: 7px; padding: 0 12px; font-size: 12px; }
  .hero-copy { padding-top: 107px; padding-bottom: 39px; }
  .hero h1 { font-size: clamp(2.35rem, 9.7vw, 3.4rem); }
  .hero-eyebrow { margin-bottom: 17px; }
  .hero-line { font-size: clamp(2.1rem, 8.1vw, 2.75rem); }
  .hero-actions { gap: 16px 25px; }
  .primary-link, .secondary-link { min-height: 54px; }
  .hero-art { height: min(44svh, 360px); }
  .hero-art figcaption { bottom: 14px; right: 14px; font-size: 16px; }
  .section-heading h2, .classroom-section h2 { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .section-heading > p:last-child { font-size: 16px; }
  .journey-list li { grid-template-columns: 31px 1fr; gap: 13px; }
  .journey-list h3 { font-size: 1.62rem; }
  .story-art { gap: 12px; }
  .story-figure-first { padding-top: 25px; }
  .story-figure-second { padding-bottom: 25px; }
  .story-figure figcaption { font-size: 1rem; gap: 6px; }
  .story-roll { top: 8px; right: 8px; }
  .role-grid { grid-template-columns: 1fr; gap: 56px; }
  .role h3 { font-size: 2.4rem; }
  .roadmap p span { margin: 0 .13rem; }
  .last-section { padding: 93px 25px 104px; }
  .last-section h2 { font-size: clamp(3rem, 11vw, 4rem); }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 31px 25px; }
}

@media (max-width: 360px) {
  .site-header { padding: 0 17px; }
  .brand-link { font-size: 15px; }
  .nav-studio { gap: 5px; padding: 10px 9px; font-size: 11px; }
  .nav-demo { gap: 5px; padding: 0 9px; font-size: 11px; }
  .hero-copy { padding-left: 19px; padding-right: 19px; }
  .hero h1 { font-size: 9.55vw; }
  .hero-actions { display: grid; justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
