:root {
  --paper: #f3efe7;
  --paper-deep: #e9e2d6;
  --ink: #1c211c;
  --muted: #62685f;
  --forest: #15241a;
  --forest-soft: #233327;
  --wood: #78563c;
  --wood-light: #b48a66;
  --cream: #fffaf0;
  --line: rgba(37, 44, 37, 0.14);
  --line-light: rgba(255, 250, 240, 0.17);
  --shadow: 0 30px 80px rgba(41, 32, 22, 0.12);
  --radius: 22px;
  --shell: min(1280px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }

.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;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--forest);
  font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(243, 239, 231, .9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand img { width: 34px; height: 34px; }
.site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 630;
  opacity: .86;
}
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  height: min(900px, 100svh);
  overflow: hidden;
  color: var(--cream);
  background: #17130f;
}
.hero-art {
  position: absolute;
  inset: 0;
  background: url("assets/workshop-hero.svg") center 45% / cover no-repeat;
  transform: scale(1.015);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 14, 10, .9) 0%, rgba(17, 14, 10, .7) 34%, rgba(17, 14, 10, .15) 68%, rgba(17, 14, 10, .36) 100%),
    linear-gradient(0deg, rgba(12, 10, 8, .74) 0%, transparent 38%, rgba(12, 10, 8, .22) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 66px;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin-bottom: 18px;
  color: #5d6d5f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow.light { color: rgba(255, 250, 240, .72); }
.hero h1 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 8.2vw, 8.6rem);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.055em;
}
.hero-subtitle {
  max-width: 690px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.12;
}
.hero-lead {
  max-width: 650px;
  color: rgba(255, 250, 240, .78);
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--forest); background: var(--cream); }
.button-light:hover { background: #fff; }
.button-ghost { color: var(--cream); border-color: rgba(255, 250, 240, .45); background: rgba(20, 18, 14, .16); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--cream); }
.hero-truth { margin: 20px 0 0; color: rgba(255, 250, 240, .56); font-size: .8rem; }

.value-rail {
  position: relative;
  z-index: 5;
  margin-top: -44px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 16px;
  border: 1px solid rgba(50, 44, 34, .09);
  border-radius: 18px;
  background: rgba(255, 252, 246, .96);
  box-shadow: var(--shadow);
}
.value-item {
  min-height: 150px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.value-item:last-child { border-right: 0; }
.value-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--wood);
  background: #eee5d7;
  font-size: 1.15rem;
}
.value-item h2 {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}
.value-item p { margin: 0; color: var(--muted); font-size: .84rem; }

.page-section { padding: clamp(86px, 10vw, 142px) 0; }
.intro-section { padding-top: 112px; }
.editorial-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; }
.editorial-card {
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 252, 247, .82);
  box-shadow: 0 12px 50px rgba(46, 37, 28, .05);
}
.text-card { padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.editorial-card h2,
.section-head h2,
.status-copy h2,
.contact-card h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.9rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.04em;
}
.editorial-card p, .section-head p, .status-copy p { color: var(--muted); font-size: 1.02rem; }
.quiet-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quiet-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: #4c554d; }
.atlas-preview { display: grid; grid-template-rows: 1.1fr .9fr; }
.card-image { overflow: hidden; background: var(--forest); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.map-image img { opacity: .96; transform: scale(1.05); }
.card-body { padding: 32px 34px 38px; }
.card-body h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); }
.status-chip {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.35);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .05em;
}

.work-section { padding-top: 40px; }
.section-head { max-width: 860px; margin-bottom: 52px; }
.section-head h2 { max-width: 780px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.process-card { min-height: 320px; padding: 34px 30px; border-right: 1px solid var(--line); }
.process-card:last-child { border-right: 0; }
.process-card > span { display: block; margin-bottom: 110px; color: var(--wood); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.process-card h3 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 500; }
.process-card p { color: var(--muted); }

.rooms-section { padding-top: 34px; }
.room-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.room-card { min-height: 560px; position: relative; overflow: hidden; border-radius: var(--radius); }
.room-lab { color: var(--cream); background: var(--forest); }
.room-art { position: absolute; inset: 0; }
.lab-art {
  background:
    radial-gradient(circle at 65% 28%, rgba(245, 217, 170, .27), transparent 24%),
    linear-gradient(145deg, rgba(15, 24, 18, .1), rgba(7, 12, 9, .72)),
    url("assets/workshop-hero.svg") center / cover;
  filter: saturate(.72);
}
.lab-window { position: absolute; inset: 8% 8% 18% 48%; border: 2px solid rgba(255,255,255,.15); border-radius: 55% 55% 0 0; }
.lab-table { position: absolute; left: 30%; right: 6%; bottom: 13%; height: 10%; transform: skewX(-12deg); background: rgba(99, 65, 43, .86); }
.lab-note { position: absolute; width: 52px; height: 38px; background: #dbc9a8; box-shadow: 0 7px 18px rgba(0,0,0,.24); }
.lab-note.n1 { left: 52%; bottom: 19%; transform: rotate(-7deg); }
.lab-note.n2 { left: 67%; bottom: 17%; transform: rotate(5deg); }
.lab-note.n3 { left: 80%; bottom: 20%; transform: rotate(-2deg); }
.room-copy { position: relative; z-index: 2; max-width: 610px; padding: clamp(34px, 5vw, 66px); }
.room-copy h2 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: .98; font-weight: 500; letter-spacing: -.045em; }
.room-copy p { color: rgba(255,250,240,.76); }
.dark-chip { color: rgba(255,250,240,.72); border-color: var(--line-light); background: rgba(255,255,255,.04); }
.room-journal { border: 1px solid var(--line); background: #efe9de; }
.journal-lines { position: absolute; inset: 0; padding: 56px 42px; opacity: .5; }
.journal-lines i { display: block; height: 1px; margin: 54px 0; background: rgba(89,72,51,.22); transform: rotate(-3deg); }
.dark-copy { color: var(--ink); }
.dark-copy p { color: var(--muted); }
.dark-copy h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); }

.principle-section { padding: clamp(90px, 10vw, 140px) 0; color: var(--cream); background: var(--forest); }
.principle-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.principle-quote blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5.8vw, 6.7rem); line-height: .98; letter-spacing: -.05em; }
.principle-list { border-top: 1px solid var(--line-light); }
.principle-list article { padding: 24px 0; display: grid; grid-template-columns: 80px 1fr; gap: 20px; border-bottom: 1px solid var(--line-light); }
.principle-list span { color: #b9c2b6; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.principle-list h3 { margin-bottom: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; }
.principle-list p { margin: 0; color: rgba(255,250,240,.62); }

.pilot-section { background: #1c1712; }
.pilot-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  padding: clamp(36px, 6vw, 80px);
  border: 1px solid rgba(255,250,240,.13);
  border-radius: 28px;
  color: var(--cream);
  background:
    linear-gradient(105deg, rgba(20,25,19,.96), rgba(20,25,19,.74)),
    url("assets/city-map.svg") 100% 50% / 58% auto no-repeat;
}
.pilot-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 90% 15%, rgba(213,178,130,.16), transparent 30%); }
.pilot-copy, .pilot-steps { position: relative; z-index: 2; }
.pilot-copy h2 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 5vw, 5.8rem); line-height: .98; font-weight: 500; letter-spacing: -.05em; }
.pilot-copy > p { color: rgba(255,250,240,.7); }
.pilot-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pilot-facts span { padding: 8px 11px; border: 1px solid var(--line-light); border-radius: 999px; color: rgba(255,250,240,.72); font-size: .75rem; }
.pilot-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.pilot-steps li { padding: 18px 0; display: grid; grid-template-columns: 34px 1fr; gap: 16px; border-bottom: 1px solid var(--line-light); }
.pilot-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,250,240,.25); border-radius: 50%; color: #c9b292; font-size: .75rem; }
.pilot-steps h3 { margin-bottom: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 500; }
.pilot-steps p { margin: 0; color: rgba(255,250,240,.58); font-size: .88rem; }

.status-section { background: var(--paper-deep); }
.status-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); }
.status-list { margin: 0; border-top: 1px solid var(--line); }
.status-list div { padding: 19px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.status-list dt { color: var(--muted); }
.status-list dd { margin: 0; text-align: right; color: var(--forest); font-weight: 750; }

.contact-section { padding: 34px 0 110px; background: var(--paper-deep); }
.contact-card {
  padding: clamp(34px, 5vw, 70px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  border-radius: 24px;
  color: var(--cream);
  background: #e7dccd;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: clamp(2.8rem, 4.5vw, 5rem); }
.contact-card p { color: var(--muted); }
.contact-address { padding: 24px; display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.28); }
.contact-address span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-address strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.8vw, 2.3rem); font-weight: 500; }
.contact-address small { color: var(--muted); }

.site-footer { padding: 48px 0 58px; color: rgba(255,250,240,.78); background: #17140f; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px 50px; align-items: start; }
.footer-brand { color: var(--cream); }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-grid p { color: rgba(255,250,240,.46); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; font-size: .86rem; }
.footer-status { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,250,240,.12); font-size: .76rem; }

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

.legal-page { min-height: 100vh; padding: 120px 0 80px; background: var(--paper); }
.legal-card { max-width: 860px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.45); }
.legal-card h1 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; }
.legal-card h2 { margin-top: 40px; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 500; }
.legal-card p { color: var(--muted); }
.draft-warning { padding: 14px 16px; border: 1px solid rgba(120,86,60,.25); border-radius: 12px; color: var(--wood); background: rgba(180,138,102,.09); }

:focus-visible { outline: 3px solid #8ea48e; outline-offset: 4px; }

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .editorial-grid, .room-grid, .principle-grid, .pilot-card, .status-layout, .contact-card { grid-template-columns: 1fr; }
  .editorial-card { min-height: auto; }
  .atlas-preview { grid-template-rows: 420px auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pilot-card { background-size: 90% auto; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 1280px); }
  body::before { display: none; }
  .nav-shell { min-height: 68px; }
  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-content: center;
    gap: 6px;
    color: inherit;
  }
  .nav-toggle span:not(.sr-only) { width: 17px; height: 1px; background: currentColor; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--ink);
    background: rgba(243,239,231,.98);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .nav-cta { border-color: var(--line); }
  .hero { min-height: 760px; height: 92svh; }
  .hero-art { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(17,14,10,.9), rgba(17,14,10,.48)), linear-gradient(0deg, rgba(12,10,8,.78), transparent 42%); }
  .hero h1 { font-size: clamp(4rem, 20vw, 6.4rem); }
  .hero-subtitle { font-size: clamp(1.55rem, 7vw, 2.35rem); }
  .value-rail { margin-top: -28px; }
  .value-grid { grid-template-columns: 1fr; padding: 0; }
  .value-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }
  .atlas-preview { grid-template-rows: 310px auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-card:last-child { border-bottom: 0; }
  .process-card > span { margin-bottom: 48px; }
  .room-card { min-height: 520px; }
  .room-copy h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .principle-list article { grid-template-columns: 66px 1fr; }
  .pilot-card { padding: 30px 24px; background-size: 145% auto; }
  .status-list div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .status-list dd { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-status { grid-column: auto; }
}

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