/* =========================================================
   Interwoven Arts — shared stylesheet (v2 rebuild, 2026-07-03)
   Warm paper · amber accent · founder-voice components
   ========================================================= */

:root {
  --paper:        #ffffff;
  --paper-soft:   #faf7f1;
  --paper-card:   #fffdf8;
  --ink:          #1f1a14;
  --ink-muted:    #5a5040;
  --ink-dim:      #8a8170;
  --rule:         #e6dcc7;
  --rule-soft:    #eee6d3;

  --accent:       #c08543;
  --accent-hi:    #d99f5e;
  --accent-soft:  #f3d9b3;

  --font-serif:   'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-sans:    'Mulish', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --page:         1180px;
  --prose:        62ch;

  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem;
  --s5: 2.5rem; --s6: 4rem;   --s7: 6rem; --s8: 9rem; --s9: 12rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
img, svg { max-width: 100%; display: block; }
::selection { background: var(--accent-soft); color: var(--ink); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 600; }

em { font-style: italic; color: var(--accent); }
strong { font-weight: 600; color: var(--ink); }

p {
  margin: 0 0 1em;
  max-width: var(--prose);
  text-wrap: pretty;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s5);
}
@media (max-width: 640px) { .wrap { padding: 0 var(--s4); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: var(--s3) var(--s5);
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--ink);
}
.nav__brand img { width: 52px; height: 52px; flex: none; }
.nav__brand__name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
}
.nav__links {
  display: flex; gap: var(--s5);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav__links a { color: var(--ink-muted); transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
.nav__links a[aria-current="page"] { color: var(--accent); }
@media (max-width: 720px) {
  .nav { padding: var(--s2) var(--s4); }
  .nav__links { display: none; }
  .nav__brand__name { font-size: 1.5rem; }
  .nav__brand img { width: 44px; height: 44px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 86vh;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--rule-soft);
  color: #fff;
}
.hero--short { min-height: 56vh; }
.hero__photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.4s ease;
}
.hero:hover .hero__photo { transform: scale(1.05); }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,8,2,0.62) 0%, rgba(15,8,2,0.35) 35%, rgba(15,8,2,0.72) 100%),
    radial-gradient(ellipse 900px 540px at var(--mx,50%) var(--my,50%),
      rgba(255, 210, 150, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.hero__particles {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--s8) var(--s5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
.hero__eyebrow,
.hero__sub,
.hero__meta,
.hero__title { margin: 0; }
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  opacity: .9;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero__title {
  max-width: 24ch;
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.014em;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  align-items: center;
}
.hero__title__main {
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.hero__title__tail {
  font-family: 'Mulish', var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-transform: none;
  max-width: 44ch;
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
}
.hero__sub {
  max-width: 58ch;
  font-family: 'Mulish', var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: #fff;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
}
.hero__meta {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ---------- Section ---------- */
.section {
  padding: var(--s8) 0;
  border-top: 1px solid var(--rule-soft);
}
.section--soft { background: var(--paper-soft); border-top-color: transparent; }
.section:first-of-type { border-top: 0; }

.section__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s7);
  align-items: start;
}
@media (max-width: 820px) {
  .section { padding: var(--s7) 0; }
  .section__inner { grid-template-columns: 1fr; gap: var(--s4); }
}

.section__head {
  position: sticky;
  top: 110px;
}
.section__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--s2);
  opacity: 0.85;
}
.section__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: 26ch;
  color: var(--ink);
}

.prose { max-width: 64ch; }
.prose p {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 1.1em;
  max-width: none;
  font-weight: 400;
}
.prose p:last-child { margin-bottom: 0; }

/* pull quote — the signature-line beats */
.prose p.pull .attrib {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.prose p.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  margin: var(--s4) 0;
  border-left: 2px solid var(--accent);
  padding-left: var(--s4);
}

/* founder portrait + signature row — closes the founder note */
.founder-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 22px rgba(31,26,20,0.12);
  background: var(--paper-soft);
}
.founder-sig-row {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s5);
}
.founder-sig-row .sig { margin: 0; }
@media (max-width: 640px) {
  .founder-photo { width: 180px; height: 180px; }
  .founder-sig-row { flex-wrap: wrap; }
}
.founder-photo-link { display: inline-block; border-radius: 50%; cursor: zoom-in; }
.founder-photo-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* lightbox — full-size photo view */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 14, 8, 0.92);
  cursor: zoom-out;
  padding: var(--s5);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(86vw, 720px);
  max-height: 86vh;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243, 217, 179, 0.35), 0 30px 80px rgba(0,0,0,0.5);
}

/* founder note — first-person passages from Dan */
.founder-note p {
  font-size: 1.155rem;
  line-height: 1.75;
}
.founder-note .sig {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin-top: var(--s4);
}
.founder-note .sig strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* quiet list — plain, low-density feature list */
.quiet-list { list-style: none; padding: 0; margin: 0 0 1.1em; max-width: 64ch; }
.quiet-list li {
  padding: var(--s3) 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.quiet-list li:first-child { border-top: 0; }
.quiet-list li strong { display: block; font-weight: 600; }

/* roadmap strip — three-year plan */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin: var(--s4) 0;
}
@media (max-width: 720px) { .roadmap { grid-template-columns: 1fr; } }
.roadmap__step {
  background: var(--paper-card);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: var(--s4);
}
.roadmap__step .yr {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s1);
}
.roadmap__step p { font-size: .98rem; line-height: 1.6; margin: 0; color: var(--ink-muted); }
.roadmap__step p strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* how-it-works diagram */
.diagram {
  margin: var(--s5) 0 var(--s4);
  max-width: 64ch;
}
.diagram svg { width: 100%; height: auto; }
.diagram figcaption {
  font-size: .85rem;
  color: var(--ink-dim);
  letter-spacing: .04em;
  margin-top: var(--s2);
}

/* CTA row */
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-size: .95rem;
  letter-spacing: .04em;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background .2s, color .2s;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-hi); color: #fff; }
.btn--ghost { color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--ink); }

/* ---------- Footer ---------- */
.foot {
  background: var(--paper-soft);
  padding: var(--s7) 0 var(--s4);
  font-size: 13px;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule-soft);
}
.foot__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}
@media (max-width: 720px) { .foot__row { grid-template-columns: 1fr; } }
.foot__brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: var(--s2);
}
.foot__contact { font-size: 14px; font-style: normal; }
.foot__contact a { color: var(--accent); }
.foot h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 var(--s2);
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 4px; }
.foot li a { color: var(--ink-muted); }
.foot li a:hover { color: var(--accent); }
.foot__legal {
  border-top: 1px solid var(--rule);
  padding-top: var(--s3);
  margin-top: var(--s5);
  font-size: 11.5px;
  color: var(--ink-dim);
  max-width: 80ch;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Two doors — full-width band (v3.1, 2026-07-16) ---------- */
.doors-band { max-width: 1020px; margin: 0 auto; }
.doors-head { text-align: center; max-width: 640px; margin: 0 auto var(--s5); }
.doors-head .section__num { margin-bottom: var(--s1); }
.doors-head .section__title { max-width: none; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.doors-head p { max-width: none; margin: var(--s2) 0 0; color: var(--ink-muted); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }
.door {
  display: block; padding: var(--s5) var(--s4) var(--s4);
  background: var(--paper-card); border: 1px solid var(--rule);
  border-radius: 16px; color: var(--ink);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.door:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(31,26,20,.08); }
.door h3 { margin: var(--s2) 0 var(--s2); font-size: clamp(1.45rem, 2vw, 1.8rem); }
.door p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-muted); margin: 0 0 var(--s3); max-width: none; }
.door__badge { display: inline-block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.door__cta { display: inline-block; color: var(--accent); font-weight: 600; }
.door:hover .door__cta { color: var(--ink); }
.doors__aside { text-align: center; max-width: 62ch; margin: var(--s5) auto 0; font-size: .98rem; color: var(--ink-muted); }

/* ---------- Nav: seven links need room (v3.1) ---------- */
.nav__brand__name { white-space: nowrap; }
.nav__links { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
.nav__links a { white-space: nowrap; }
@media (max-width: 1280px) { .nav__links { gap: var(--s4); font-size: 12px; letter-spacing: 0.09em; } }
@media (max-width: 1060px) { .nav__links { gap: var(--s3); font-size: 11.5px; letter-spacing: 0.06em; } .nav__brand__name { font-size: 1.55rem; } }

/* ---------- Doors inside the hero (gateway home, v3.2 2026-07-16) ---------- */
.hero-doors { width: min(100%, 1000px); margin-top: var(--s4); text-align: left; }
.hero .door { background: rgba(255, 253, 248, 0.96); }
.hero .door:hover { background: #fffdf8; }
.hero-doors__aside {
  max-width: 62ch; margin: var(--s4) 0 0;
  font-size: .98rem; color: rgba(255,255,255,.88);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-doors__aside strong { color: #fff; }
.hero-doors__aside a { color: var(--accent-hi); }
.hero-doors__aside a:hover { color: #fff; }
.hero__scroll {
  display: inline-block; margin-top: var(--s3);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.hero__scroll:hover { color: #fff; }
@media (max-width: 820px) { .hero__inner { padding: var(--s6) var(--s4); } }
