:root {
  --ink: #1d2823;
  --ink-soft: #45514b;
  --paper: #f4efe7;
  --paper-deep: #e9dfd1;
  --white: #fffdf8;
  --sage: #859a86;
  --sage-dark: #566c5c;
  --peach: #d99068;
  --gold: #c5a45f;
  --line: rgba(29, 40, 35, 0.16);
  --shadow: 0 24px 70px rgba(48, 45, 37, 0.13);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: #cbd7c7; color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; background: var(--ink); color: white; padding: .75rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.is-scrolled { background: rgba(244, 239, 231, .9); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; letter-spacing: -.045em; }
.brand-mark { font-weight: 800; font-size: 1.28rem; color: var(--sage-dark); }
.brand-word { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -6px; background: currentColor; transition: right .2s ease; }
.site-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { border: 1px solid var(--ink); padding: .68rem 1rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--ink); color: var(--white); }
.menu-button { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 23px; height: 1px; background: var(--ink); margin: 7px 0; }

.hero { min-height: 860px; display: grid; align-items: center; padding: 130px 0 80px; overflow: hidden; position: relative; }
.hero::before { content: ""; width: 420px; height: 420px; background: rgba(217,144,104,.13); border-radius: 50%; filter: blur(1px); position: absolute; right: -150px; top: 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.eyebrow, .section-label { margin: 0 0 1.1rem; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 800; color: var(--sage-dark); }
.hero h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: .98; margin: 0; }
.hero h1 { font-size: clamp(4rem, 7vw, 7.5rem); max-width: 760px; }
.hero h1 em { font-weight: 400; color: var(--peach); }
.hero-text { max-width: 620px; font-size: 1.12rem; color: var(--ink-soft); margin: 2rem 0; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; border-radius: 999px; padding: .95rem 1.35rem; font-weight: 750; font-size: .9rem; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sage-dark); color: var(--white); box-shadow: 0 12px 24px rgba(86,108,92,.22); }
.button-dark { background: var(--ink); color: white; width: fit-content; }
.text-link { text-underline-offset: 5px; font-weight: 700; font-size: .93rem; }
.hero-note { margin-top: 2.4rem; display: flex; align-items: center; gap: .7rem; color: var(--ink-soft); font-size: .86rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 7px rgba(217,144,104,.14); }

.hero-visual { min-width: 0; }
.visual-stage { aspect-ratio: .86; min-height: 590px; border-radius: 220px 220px 20px 20px; background: #dad5c7; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.wall { position: absolute; background: #dfd7c8; }
.wall-back { inset: 0; }
.sun-disc { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(244, 200, 132, .8); top: -86px; right: -94px; z-index: 1; }
.window { position: absolute; width: 38%; height: 43%; left: 14%; top: 18%; border: 10px solid #f1ece2; background: #9ab2ad; display: grid; grid-template-columns: 1fr 1fr; z-index: 2; box-shadow: 0 14px 30px rgba(44,55,51,.14); }
.window span { border: 1px solid rgba(255,255,255,.48); }
.shelf { position: absolute; right: 11%; width: 31%; height: 10px; background: #6e796f; z-index: 3; box-shadow: 0 13px 22px rgba(32,41,36,.18); }
.shelf::before, .shelf::after { content: ""; position: absolute; bottom: 10px; background: #b77d5f; }
.shelf-a { top: 35%; }
.shelf-a::before { width: 38px; height: 48px; left: 14px; border-radius: 4px 4px 0 0; }
.shelf-a::after { width: 64px; height: 32px; right: 10px; border-radius: 32px 32px 0 0; background: #d3b577; }
.shelf-b { top: 49%; width: 26%; }
.shelf-b::before { width: 30px; height: 34px; left: 25px; background: #677d6d; }
.shelf-b::after { width: 36px; height: 45px; right: 18px; background: #e8e2d7; }
.table-top { position: absolute; left: 13%; right: 11%; bottom: 25%; height: 28px; border-radius: 20px; background: #b97856; z-index: 5; transform: perspective(500px) rotateX(5deg); }
.table-leg { position: absolute; bottom: 7%; width: 18px; height: 19%; background: #815b47; z-index: 4; }
.leg-left { left: 24%; transform: rotate(4deg); }
.leg-right { right: 22%; transform: rotate(-4deg); }
.stool { position: absolute; width: 84px; height: 70px; bottom: 6%; background: #6d806f; z-index: 6; border-radius: 40px 40px 12px 12px; box-shadow: inset 0 -12px rgba(0,0,0,.06); }
.stool-one { left: 6%; }
.stool-two { right: 4%; background: #c7a15c; }
.plant { position: absolute; left: 52%; bottom: 26%; z-index: 7; width: 92px; height: 170px; }
.pot { position: absolute; bottom: 0; left: 26px; width: 54px; height: 57px; background: #aa765e; border-radius: 4px 4px 20px 20px; }
.leaf { position: absolute; width: 36px; height: 76px; border-radius: 100% 0 100% 0; background: #526b58; transform-origin: bottom center; bottom: 46px; left: 42px; }
.leaf-a { transform: rotate(-37deg); }
.leaf-b { transform: rotate(18deg); height: 96px; }
.leaf-c { transform: rotate(55deg); left: 28px; height: 70px; background: #71856f; }
.object { position: absolute; bottom: 29%; z-index: 8; }
.cube { width: 42px; height: 42px; left: 26%; background: #d3b46d; transform: rotate(9deg); }
.arch { width: 54px; height: 61px; right: 28%; background: #eee7da; border-radius: 28px 28px 4px 4px; }
.visual-caption { position: absolute; bottom: 18px; left: 24px; color: rgba(29,40,35,.75); z-index: 9; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }

.manifesto { border-block: 1px solid var(--line); padding: 3.8rem 0; background: rgba(255,255,255,.22); }
.manifesto-grid { display: grid; grid-template-columns: .33fr 1.67fr; gap: 3rem; }
.manifesto blockquote { margin: 0; max-width: 920px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.6vw, 4.3rem); letter-spacing: -.035em; line-height: 1.08; }
.manifesto blockquote em { color: var(--peach); }

.section { padding: 8rem 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2, .study-header h2, .process-intro h2, .story-copy h2, .contact-grid h2 { font-size: clamp(3rem, 5vw, 5.6rem); }
.section-heading > p { max-width: 470px; color: var(--ink-soft); margin: 0 0 .5rem; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.theme-card { min-height: 430px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; background: rgba(255,253,248,.44); transition: transform .25s, box-shadow .25s, background .25s; }
.theme-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(42,51,45,.1); background: var(--white); }
.theme-card-featured { background: var(--sage-dark); color: var(--white); }
.theme-card-featured:hover { background: #4a5f50; }
.card-index { font-size: .72rem; letter-spacing: .12em; font-weight: 800; opacity: .65; }
.theme-icon { margin: 3rem 0 auto; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: rgba(137,157,138,.15); }
.theme-card-featured .theme-icon { background: rgba(255,255,255,.12); }
.theme-icon svg { width: 48px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; margin: 1.5rem 0 .6rem; letter-spacing: -.03em; }
.theme-card p { margin: 0 0 1.5rem; color: var(--ink-soft); }
.theme-card-featured p { color: rgba(255,255,255,.72); }
.theme-card a { margin-top: auto; font-size: .86rem; font-weight: 800; text-underline-offset: 5px; }

.study-section { background: #d8d7ca; }
.study-header { max-width: 960px; margin-bottom: 4rem; }
.study-header > p:last-child { max-width: 720px; color: var(--ink-soft); font-size: 1.05rem; }
.study-layout { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--white); min-height: 650px; box-shadow: var(--shadow); }
.study-image { position: relative; overflow: hidden; background: #c9cbbf; min-height: 650px; }
.study-image img { width: 100%; height: 100%; object-fit: cover; }
.image-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,253,248,.9); padding: .65rem .9rem; border-radius: 999px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.study-content { padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; }
.study-number { color: var(--peach); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.study-content h3 { font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; margin: 1rem 0; }
.question-list { list-style: none; padding: 0; margin: .5rem 0 2rem; }
.question-list li { display: grid; grid-template-columns: 36px 1fr; gap: .75rem; padding: 1rem 0; border-top: 1px solid var(--line); font-size: .94rem; color: var(--ink-soft); }
.question-list li:last-child { border-bottom: 1px solid var(--line); }
.question-list span { color: var(--peach); font-size: .72rem; font-weight: 800; }
.study-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.study-meta div { display: grid; gap: .2rem; }
.study-meta span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.study-meta strong { font-size: .88rem; }

.journal-section { background: var(--white); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.journal-card { border: 1px solid var(--line); background: var(--paper); }
.journal-art { height: 280px; position: relative; overflow: hidden; }
.art-one { background: #d8dfd4; }
.grid-line { position: absolute; background: rgba(60,79,65,.18); }
.g1 { width: 1px; height: 100%; left: 33%; }
.g2 { width: 1px; height: 100%; left: 66%; }
.g3 { height: 1px; width: 100%; top: 55%; }
.mini-desk { position: absolute; width: 56%; height: 13px; left: 15%; top: 49%; background: #9d6751; }
.mini-desk::before, .mini-desk::after { content:""; position:absolute; top:13px; width:8px; height:96px; background:#785445; }
.mini-desk::before { left:8%; }.mini-desk::after { right:8%; }
.mini-chair { position: absolute; width: 72px; height: 95px; right: 13%; bottom: 13%; border-radius: 35px 35px 8px 8px; background: #647d69; }
.mini-lamp { position: absolute; width: 56px; height: 56px; border: 8px solid #cfaa64; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; left: 27%; top: 20%; transform: rotate(-30deg); }
.art-two { background: #eadfce; }
.soft-square { position: absolute; border-radius: 28px; }
.s1 { width: 160px; height: 160px; background: #76907b; left: 13%; top: 20%; transform: rotate(12deg); }
.s2 { width: 140px; height: 140px; background: #d68d68; right: 12%; bottom: 8%; transform: rotate(-12deg); }
.s3 { width: 88px; height: 88px; border-radius: 50%; background: #d1b46e; left: 48%; top: 9%; }
.art-three { background: #c6cbc6; }
.focus-circle { position: absolute; width: 185px; height: 185px; border: 24px solid #f3eee4; border-radius: 50%; top: 42px; left: calc(50% - 92px); }
.focus-line { position: absolute; width: 55%; height: 12px; left: 23%; background: #607268; border-radius: 9px; }
.f1 { top: 38%; transform: rotate(45deg); }.f2 { top: 51%; transform: rotate(-45deg); }.f3 { top: 63%; background: #d08a67; }
.journal-copy { padding: 1.6rem; }
.article-meta { text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 800; color: var(--sage-dark); margin: 0 0 1rem; }
.journal-copy h3 { font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.13; font-weight: 400; letter-spacing: -.025em; margin: 0 0 1rem; }
.journal-copy > p:not(.article-meta) { color: var(--ink-soft); font-size: .9rem; }
.journal-copy a { display: inline-flex; gap: 1rem; margin-top: .75rem; font-size: .82rem; font-weight: 800; }

.process-section { background: var(--ink); color: var(--white); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; }
.process-intro p:last-child { color: rgba(255,255,255,.6); max-width: 480px; margin-top: 2rem; }
.process-section .section-label { color: #b7c7b8; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); padding: 1.45rem 0; }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list > li > span { color: var(--peach); font-size: .72rem; font-weight: 800; }
.process-list h3 { margin: -.3rem 0 .25rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.process-list p { margin: 0; color: rgba(255,255,255,.58); }

.story-section { background: #e8dfd4; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; align-items: center; }
.story-visual img { box-shadow: var(--shadow); }
.story-visual p { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; margin: 1rem 0 0; color: var(--ink-soft); }
.story-copy .lead { font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.45; color: var(--ink); }
.story-copy p { color: var(--ink-soft); }
.signature { margin-top: 2rem; font-family: Georgia, serif; font-style: italic; }

.contact-section { padding: 7rem 0; background: var(--peach); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6rem; align-items: center; }
.contact-grid > div > p:last-child { max-width: 560px; }
.contact-grid .section-label { color: #5f3f30; }
.signup-form label { display: block; font-weight: 800; margin-bottom: .7rem; }
.input-row { display: grid; grid-template-columns: 1fr auto; background: var(--white); border-radius: 999px; padding: .4rem; }
.input-row input { border: 0; background: transparent; padding: .8rem 1rem; min-width: 0; outline: none; }
.input-row button { border: 0; border-radius: 999px; padding: .9rem 1.3rem; background: var(--ink); color: white; font-weight: 800; cursor: pointer; }
.form-note { font-size: .74rem; color: rgba(29,40,35,.72); margin: .7rem .8rem 0; }

.site-footer { background: #15201b; color: white; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem; }
.brand-footer .brand-mark { color: #9eb29f; }
.footer-grid > p { color: rgba(255,255,255,.55); margin: 0; font-size: .85rem; }
.footer-links { display: flex; gap: 1.2rem; font-size: .78rem; color: rgba(255,255,255,.7); }
.footer-links a { text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid, .study-layout, .process-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 4rem; }
  .hero h1 { font-size: clamp(3.7rem, 11vw, 6rem); }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .manifesto-grid, .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .theme-grid, .journal-grid { grid-template-columns: 1fr; }
  .theme-card { min-height: 350px; }
  .study-image { min-height: 540px; }
  .process-grid, .story-grid, .contact-grid { gap: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 720px) {
  .nav-wrap { min-height: 70px; }
  .menu-button { display: block; position: relative; z-index: 22; }
  .site-nav { position: fixed; inset: 0; background: var(--paper); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; gap: 1.8rem; transform: translateY(-105%); transition: transform .3s ease; z-index: 21; }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { font-family: Georgia, serif; font-size: 2.1rem; font-weight: 400; }
  .site-nav .nav-cta { font-family: inherit; font-size: 1rem; }
  .hero { padding-top: 105px; }
  .hero-text { font-size: 1rem; }
  .visual-stage { min-height: 460px; }
  .section { padding: 5.5rem 0; }
  .manifesto { padding: 3rem 0; }
  .manifesto blockquote { font-size: 2.25rem; }
  .study-header h2, .section-heading h2, .process-intro h2, .story-copy h2, .contact-grid h2 { font-size: 3.3rem; }
  .study-content { padding: 2rem 1.4rem; }
  .study-image { min-height: 430px; }
  .study-meta { grid-template-columns: 1fr; }
  .input-row { grid-template-columns: 1fr; border-radius: 20px; }
  .input-row button { border-radius: 16px; }
  .footer-links { flex-direction: column; }
}

@media (max-width: 430px) {
  :root { --shell: calc(100% - 24px); }
  .hero h1 { font-size: 3.35rem; }
  .visual-stage { min-height: 420px; }
  .window { width: 42%; left: 9%; }
  .section-heading h2, .study-header h2, .process-intro h2, .story-copy h2, .contact-grid h2 { font-size: 2.8rem; }
}


/* Production contact and error-page additions */
.contact-action { display: grid; justify-items: start; align-content: center; gap: 1.1rem; max-width: 470px; }
.contact-action p { margin: 0; color: var(--ink-soft); }
.contact-action span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--ink-soft); }
.not-found { min-height: 78vh; display: grid; place-items: center; padding: 8rem 0 4rem; }
.not-found-card { max-width: 760px; text-align: center; }
.not-found-code { font-family: Georgia, serif; font-size: clamp(6rem, 20vw, 13rem); line-height: .8; color: var(--peach); margin-bottom: 2rem; }
.not-found-card p { max-width: 560px; margin: 1.2rem auto 2rem; color: var(--ink-soft); }
@media (max-width: 760px) { .contact-action { margin-top: 1rem; } }
