:root {
  --forest: #10251f;
  --forest-2: #17352b;
  --forest-3: #0b1a16;
  --ivory: #f4efe5;
  --paper: #faf7f0;
  --ink: #14231f;
  --ink-soft: #53605b;
  --sage: #9aad91;
  --sage-light: #dce4d7;
  --coral: #ef8c73;
  --coral-dark: #a94737;
  --line: rgba(20, 35, 31, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
}

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

.shell { width: var(--shell); margin: 0 auto; }
.section-light { background: var(--ivory); color: var(--ink); }
.section-forest { background: var(--forest); color: var(--ivory); }
.section-dark { background: var(--forest-3); color: var(--ivory); }
.section-dark-subtle { background: #193229; color: var(--ivory); }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  width: var(--shell);
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--ivory);
}
.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 2rem; letter-spacing: -0.035em; }
.brand-sub { margin-top: 4px; font-size: .68rem; opacity: .72; letter-spacing: .02em; }
.primary-nav { display: flex; gap: 28px; align-items: center; font-size: .82rem; }
.primary-nav > a:not(.button) { text-decoration: none; opacity: .86; padding: 10px 0; }
.primary-nav > a:not(.button):hover { opacity: 1; }
.menu-button { display: none; background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 9px 14px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #17211e;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.03); }
.button-small { min-height: 40px; padding: 0 18px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link-light { color: var(--ivory); opacity: .9; }

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .69rem;
  font-weight: 600;
  opacity: .76;
}
.eyebrow.dark { color: var(--ink-soft); opacity: 1; }

.hero {
  position: relative;
  min-height: 770px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1.08fr);
  overflow: hidden;
}
.hero-copy { width: auto; margin: 0; padding-left: max(32px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; }
.hero-copy-inner { max-width: 520px; padding: 130px 56px 80px 0; }
.hero h1, .hero h2, .early-access h2, .idea h2, .products h2, .specialist h2, .connection h2, .principles h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(4rem, 7vw, 7.2rem); line-height: .86; margin: 0 0 30px; }
.hero h1 span { color: var(--sage); }
.hero-proposition { font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2.25rem); line-height: 1.13; margin: 0 0 18px; max-width: 480px; }
.hero-support { font-size: 1rem; color: rgba(244,239,229,.83); max-width: 520px; margin: 0; }
.hero-actions { margin-top: 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero-image { background: linear-gradient(90deg, rgba(11,26,22,.2), transparent 20%), url('/assets/hero-final.jpg') center 34% / cover no-repeat; min-height: 100%; }
.hero-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11,26,22,.72) 0, transparent 42%); }
.hero-note { position: absolute; right: max(30px, calc((100vw - 1180px) / 2)); top: 46%; margin: 0; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.05; color: rgba(244,239,229,.86); }

.idea { padding: 110px 0; }
.idea-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: start; }
.idea h2 { margin: 0 0 26px; font-size: clamp(3rem, 4.6vw, 5rem); line-height: .96; }
.idea-copy > p:not(.eyebrow) { max-width: 590px; color: var(--ink-soft); }
.approach-steps { list-style: none; padding: 0; margin: 6px 0 0; border-top: 1px solid var(--line); }
.approach-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-number { width: 44px; height: 44px; border: 1px solid rgba(20,35,31,.32); border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }
.approach-steps strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.approach-steps p { margin: 5px 0 0; color: var(--ink-soft); font-size: .92rem; }

.products { padding: 105px 0 115px; }
.split-heading { display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: end; margin-bottom: 44px; }
.split-heading h2 { font-size: clamp(3.1rem, 4.8vw, 5.2rem); line-height: .96; margin: 0; }
.split-heading > p { color: rgba(244,239,229,.72); max-width: 500px; margin: 0 0 8px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card { min-height: 430px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 24px; background: var(--paper); color: var(--ink); }
.product-copy { padding: 42px 34px; align-self: center; }
.product-overline { font-family: var(--serif); font-size: 2.7rem; margin: 0 0 18px; line-height: .95; color: #7f2f25; }
.cantara-card .product-overline { color: var(--forest); }
.product-overline span { display: block; font-family: var(--sans); font-size: .74rem; color: var(--ink-soft); margin-top: 7px; letter-spacing: .04em; }
.product-card h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.05; margin: 0 0 18px; }
.product-card p { color: var(--ink-soft); font-size: .92rem; }
.status { display: inline-flex; margin-top: 10px; padding: 10px 18px; border-radius: 999px; font-size: .77rem; font-weight: 600; }
.status-coral { background: #f3b09d; }
.status-sage { background: #b8c8ae; }
.product-image { min-height: 100%; }
.milo-image { background: url('/assets/milo-final.jpg') center / cover no-repeat; }
.cantara-image { background: url('/assets/cantara-final.jpg') center / cover no-repeat; }

.specialist { padding: 110px 0; }
.specialist-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: stretch; }
.specialist h2 { font-size: clamp(3.2rem, 5vw, 5.6rem); line-height: .96; margin: 0 0 28px; }
.specialist-copy p:not(.eyebrow) { color: var(--ink-soft); max-width: 560px; }
.landscape-card { min-height: 480px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(11,26,22,.08), rgba(11,26,22,.58)), url('/assets/landscape-final.jpg') center / cover no-repeat; display: flex; align-items: flex-end; padding: 44px; color: white; }
.landscape-card p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1.03; }

.connection { padding: 82px 0; }
.connection-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.connection h2 { font-size: clamp(2.6rem, 4vw, 4.5rem); line-height: .98; margin: 0; }
.connection-example { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.mini-card { min-height: 160px; border-radius: 18px; padding: 26px; background: rgba(244,239,229,.96); color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.mini-card-milo { background: #f6e5dc; }
.mini-label { text-transform: uppercase; letter-spacing: .15em; font-size: .65rem; color: var(--ink-soft); margin-bottom: 12px; }
.mini-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.05; margin-bottom: 6px; }
.mini-card span:last-child { color: var(--ink-soft); font-size: .85rem; }
.connection-arrow { font-size: 2rem; opacity: .72; }

.principles { padding: 105px 0; }
.principles-heading { display: grid; grid-template-columns: .5fr 1.5fr; gap: 30px; align-items: baseline; margin-bottom: 46px; }
.principles h2 { font-size: clamp(2.8rem, 4vw, 4.6rem); line-height: 1; margin: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.principle-grid article { padding: 32px 26px 10px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.principle-grid article:last-child { border-right: 0; margin-right: 0; }
.icon { width: 46px; height: 46px; border: 1px solid rgba(20,35,31,.3); border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; font-size: 1.25rem; }
.principle-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 0 0 8px; }
.principle-grid p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.early-access { padding: 90px 0; }
.early-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.early-access h2 { font-size: clamp(3rem, 4.6vw, 5rem); line-height: .98; margin: 0 0 18px; }
.early-access p:not(.eyebrow):not(.form-note):not(.form-status) { color: rgba(244,239,229,.72); }
.signup-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.signup-form input { width: 100%; min-height: 50px; border-radius: 999px; border: 1px solid rgba(244,239,229,.42); background: transparent; color: var(--ivory); padding: 0 20px; outline: none; }
.signup-form input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(154,173,145,.15); }
.signup-form input::placeholder { color: rgba(244,239,229,.55); }
.form-note, .form-status { margin: 10px 0 0; font-size: .74rem; color: rgba(244,239,229,.56); }
.form-status { color: var(--sage-light); }

.site-footer { padding: 45px 0 55px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: end; }
.brand-dark { color: var(--ink); }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { text-decoration: none; font-size: .78rem; }
.footer-meta { display: flex; gap: 18px; font-size: .7rem; color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-header { width: var(--shell); }
  .primary-nav { display: none; position: absolute; top: 82px; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; width: min(280px, calc(100vw - 40px)); background: rgba(16,37,31,.98); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
  .primary-nav.open { display: flex; }
  .menu-button { display: inline-flex; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 0; }
  .hero-copy { order: 2; padding: 0; width: var(--shell); margin: 0 auto; }
  .hero-copy-inner { max-width: none; padding: 55px 0 72px; }
  .hero-image { order: 1; min-height: 520px; background-position: center 28%; }
  .hero-image::after { background: linear-gradient(180deg, rgba(11,26,22,.48) 0, transparent 34%, rgba(11,26,22,.18) 100%); }
  .hero-note { top: 410px; right: 32px; }
  .hero h1 { font-size: clamp(4.2rem, 14vw, 6.2rem); }
  .idea-grid, .specialist-grid, .connection-grid, .early-access-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 390px; }
  .principles-heading { grid-template-columns: 1fr; gap: 10px; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle-grid article:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { padding: 20px 0; align-items: center; }
  .brand-name { font-size: 1.65rem; }
  .brand-sub { font-size: .62rem; }
  .hero-image { min-height: 420px; }
  .hero-note { display: none; }
  .hero-copy-inner { padding: 42px 0 58px; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 5.1rem); margin-bottom: 24px; }
  .hero-proposition { font-size: 1.55rem; }
  .hero-support { font-size: .95rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .text-link-light { justify-content: center; padding: 10px; }
  .idea, .products, .specialist, .principles { padding: 72px 0; }
  .idea h2, .split-heading h2, .specialist h2, .principles h2, .early-access h2 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .approach-steps li { grid-template-columns: 46px 1fr; gap: 14px; }
  .step-number { width: 38px; height: 38px; }
  .product-card { min-height: 0; grid-template-columns: 1fr; }
  .product-copy { padding: 30px 26px; }
  .product-image { min-height: 310px; order: -1; }
  .product-overline { font-size: 2.3rem; }
  .product-card h3 { font-size: 1.8rem; }
  .landscape-card { min-height: 350px; padding: 28px; }
  .landscape-card p { font-size: 1.8rem; }
  .connection { padding: 68px 0; }
  .connection-example { grid-template-columns: 1fr; }
  .connection-arrow { transform: rotate(90deg); justify-self: center; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article:nth-child(2) { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .principle-grid article:last-child { border-bottom: 0; }
  .early-access { padding: 72px 0; }
  .signup-row { grid-template-columns: 1fr; }
  .signup-row .button { width: 100%; }
  .footer-nav { flex-wrap: wrap; gap: 18px 24px; }
}

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