:root {
  --cream: #f2ecdf;
  --paper: #f8f4eb;
  --ink: #171513;
  --muted: #6f685f;
  --rust: #ad4f29;
  --line: rgba(23, 21, 19, 0.28);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(242, 236, 223, 0.94);
  border-bottom: 1px solid rgba(23, 21, 19, 0.12);
  backdrop-filter: blur(14px);
}
.brand img { width: 112px; height: 64px; object-fit: contain; object-position: left center; }
nav { display: flex; gap: clamp(16px, 3vw, 34px); }
nav a { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; }
nav a:hover { color: var(--rust); }

.hero {
  min-height: 80vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: 5px minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-rule { align-self: stretch; background: var(--rust); }
.eyebrow { margin: 0 0 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1.05; }
h1 { max-width: 820px; font-size: clamp(3rem, 7vw, 6.8rem); text-transform: uppercase; letter-spacing: -0.035em; }
h1 span { color: var(--rust); font-family: "Libre Baskerville", Georgia, serif; font-weight: 700; letter-spacing: -0.045em; }
.hero-intro { max-width: 650px; margin: 30px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; cursor: pointer; font: inherit; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; transition: transform 160ms ease, opacity 160ms ease; }
.button-dark { color: var(--cream); background: var(--ink); }
.button-rust { color: white; background: var(--rust); }
.button-text { min-height: auto; padding: 0; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.hero-mark img { width: 100%; max-height: 560px; object-fit: contain; }

.story { border-top: 1px solid var(--line); padding: clamp(70px, 9vw, 130px) clamp(22px, 5vw, 72px); max-width: var(--max); margin: 0 auto; }
.section-label { margin-bottom: 50px; color: var(--rust); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(40px, 8vw, 120px); }
.story h2 { font-size: clamp(3.2rem, 7vw, 6rem); text-transform: uppercase; }
.story h2 span { color: var(--rust); }
.story-copy { max-width: 720px; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.story-copy p { margin: 0 0 24px; }
.accent { color: var(--rust); }
.closing-line { font-weight: 700; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(65px, 10vw, 120px); }
.timeline-line { position: absolute; top: 5px; left: 2%; right: 2%; height: 1px; background: var(--rust); }
.timeline-item { position: relative; text-align: center; }
.timeline-item span { position: relative; z-index: 1; display: block; width: 11px; height: 11px; margin: 0 auto 14px; border: 1px solid var(--rust); border-radius: 50%; background: var(--cream); }
.timeline-item small { color: var(--muted); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.timeline-item.current span { background: var(--rust); }
.timeline-item.current small { color: var(--rust); font-weight: 700; }

.manifesto { display: grid; grid-template-columns: minmax(260px, 0.7fr) 1.3fr; align-items: center; gap: clamp(40px, 8vw, 100px); padding: clamp(70px, 9vw, 130px) max(22px, calc((100vw - var(--max)) / 2 + 72px)); color: var(--cream); background: var(--ink); }
.manifesto-mark img { max-width: 390px; filter: invert(1); }
blockquote { margin: 0; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(2rem, 4.4vw, 4.5rem); line-height: 1.22; }

.liquid-labs {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(75px, 10vw, 140px) clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: 5px minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: stretch;
}
.liquid-labs-rule { background: var(--rust); }
.liquid-labs-copy h2 { max-width: 760px; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(2.6rem, 5.5vw, 5.2rem); }
.liquid-labs-copy > p:not(.eyebrow) { max-width: 760px; margin: 30px 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.liquid-labs-steps {
  min-height: 330px;
  padding: clamp(30px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
}
.liquid-labs-steps span { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.8rem, 4vw, 3.8rem); font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; }
.liquid-labs-steps span:last-child { color: var(--rust); border-bottom: 0; }

.contact { max-width: var(--max); margin: 0 auto; padding: clamp(75px, 10vw, 140px) clamp(22px, 5vw, 72px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(45px, 9vw, 130px); border-top: 1px solid var(--line); }
.contact h2 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(2.7rem, 5vw, 5rem); }
.contact-intro > p:not(.eyebrow) { max-width: 520px; font-size: 1.1rem; }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.contact-links a { color: var(--rust); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-form { position: relative; display: grid; gap: 10px; }
.contact-form label { margin-top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: none; color: var(--ink); background: transparent; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--rust); }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; margin-top: 20px; }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; white-space: nowrap !important; }
.form-status { min-height: 1.45em; margin: 5px 0 0; font-weight: 700; }
.form-status.success { color: #3f642c; }
.form-status.error { color: #8d2f22; }
.form-note { margin: 0; color: var(--muted); font-size: 0.78rem; }

footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 38px clamp(22px, 5vw, 72px); color: var(--cream); background: var(--ink); font-size: 0.78rem; }
footer div { display: flex; flex-direction: column; }
footer span, footer p { color: #b8afa4; }
footer p { margin: 0; }
.footer-links { gap: 5px; }
.footer-links a { color: var(--cream); text-decoration: none; }
.footer-links a:hover { color: #d76a3f; }

@media (max-width: 900px) {
  .nav-story { display: none; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 4px 1fr; }
  .hero-mark { grid-column: 2; max-width: 350px; }
  .story-grid, .manifesto, .contact { grid-template-columns: 1fr; }
  .manifesto-mark img { max-width: 280px; }
  .timeline-item small { font-size: 0.52rem; }
  .liquid-labs { grid-template-columns: 4px 1fr; }
  .liquid-labs-steps { grid-column: 2; min-height: auto; }
}

@media (max-width: 620px) {
  .nav-instagram { display: none; }
}

@media (max-width: 540px) {
  .site-header { padding: 10px 16px; }
  .brand img { width: 82px; height: 52px; }
  nav { gap: 14px; }
  nav a { font-size: 0.64rem; }
  h1 { font-size: clamp(2.6rem, 15vw, 4.3rem); }
  .hero { padding-top: 55px; }
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline-line { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .timeline-item { display: flex; align-items: center; gap: 14px; text-align: left; }
  .timeline-item span { margin: 0; flex: 0 0 auto; }
  .liquid-labs-steps span { font-size: clamp(1.55rem, 10vw, 2.4rem); }
  footer { flex-direction: column; }
}
