@import url("https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500;1,600&display=swap");

:root {
  --sage: #ccd5ae;
  --sage-light: #e9edc9;
  --cream: #fefae0;
  --sand: #faedcd;
  --tan: #d4a373;
  --ink: #1b2017;
  --muted: #646856;
  --line: rgba(27, 32, 23, 0.22);
  --font: "Epilogue", Arial, sans-serif;
  --page: min(1440px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { background: var(--tan); color: var(--ink); }

.site-shell { min-height: 100vh; overflow: hidden; background: var(--cream); }
.site-header { width: var(--page); height: 88px; margin: auto; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 50; }
.wordmark { font-size: 1.02rem; font-weight: 800; letter-spacing: -.045em; }
.wordmark img { width: auto; max-width: min(220px, 38vw); height: 42px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); }
.site-header nav a { font-size: .78rem; font-weight: 600; letter-spacing: .02em; position: relative; padding: .75rem 0; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 .35rem; height: 2px; background: var(--tan); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }
.menu-button, .mobile-menu { display: none; }

.eyebrow, .section-kicker { margin: 0; font-size: .68rem; line-height: 1.2; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 1.25rem; border: 1px solid var(--ink); font-size: .76rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { background: var(--ink); color: var(--cream); }
.button-quiet { border-color: transparent; border-bottom-color: var(--ink); padding-inline: 0; }
.button-paper { background: var(--cream); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 1.5rem; padding-bottom: .45rem; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; }

/* Home */
.hero { width: var(--page); margin: auto; padding: clamp(3rem, 7vw, 7rem) 0 4rem; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); grid-template-areas: "title panel" "title portrait"; gap: 2rem clamp(2rem, 5vw, 6rem); align-items: start; }
.hero-title-wrap { grid-area: title; align-self: center; }
.hero-title-wrap .eyebrow { margin-bottom: 2.3rem; }
.hero h1 { margin: 0; max-width: 960px; font-size: clamp(4rem, 8.8vw, 9rem); line-height: .88; letter-spacing: -.075em; font-weight: 700; }
.hero-line { display: block; overflow: hidden; padding: .06em 0; }
.hero-line > span { display: block; }
.accent-line { color: #79603e; }
.hero-panel { grid-area: panel; padding: 1.4rem 0 2rem; border-top: 1px solid var(--ink); }
.hero-panel > p { margin: 0; max-width: 430px; font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.72; }
.hero-actions { margin-top: 2rem; display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.hero-portrait { grid-area: portrait; background: var(--sage); padding: .75rem; }
.hero-portrait img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 18%; filter: saturate(.78) contrast(1.02); }
.hero-portrait span { display: block; padding: .8rem .2rem .1rem; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.identity-grid { width: var(--page); margin: 0 auto clamp(7rem, 11vw, 12rem); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.identity-grid article { min-height: 250px; padding: 1.6rem; display: flex; flex-direction: column; border-right: 1px solid var(--ink); }
.identity-grid article:last-child { border-right: 0; }
.identity-grid article:nth-child(1) { background: var(--sage); }
.identity-grid article:nth-child(2) { background: var(--sand); }
.identity-grid article:nth-child(3) { background: var(--tan); }
.identity-grid span { font-size: .68rem; font-weight: 700; }
.identity-grid h2 { margin: auto 0 .65rem; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.06em; }
.identity-grid p { margin: 0; max-width: 300px; font-size: .82rem; line-height: 1.65; }

.manifesto-section { background: var(--ink); color: var(--cream); padding: clamp(6rem, 10vw, 11rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); display: grid; grid-template-columns: .45fr 1.3fr .65fr; gap: 4vw; }
.manifesto-copy h2 { margin: 0; max-width: 900px; font-size: clamp(3.4rem, 7vw, 7rem); line-height: .94; letter-spacing: -.07em; font-weight: 600; }
.manifesto-copy > p { margin: 1.4rem 0 0; color: var(--sage); font-size: clamp(1.5rem, 2.5vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; }
.manifesto-note { align-self: end; border-top: 1px solid rgba(254,250,224,.35); padding-top: 1.3rem; }
.manifesto-note span, .manifesto-note strong { display: block; font-size: .8rem; line-height: 1.8; }
.manifesto-note strong { color: var(--tan); }
.manifesto-note p { margin: 1.5rem 0 0; color: rgba(254,250,224,.7); font-size: .76rem; line-height: 1.7; }

.work-section, .ventures-section, .writing-section, .notes-section { width: var(--page); margin: auto; padding: clamp(7rem, 11vw, 12rem) 0; }
.section-heading { display: grid; grid-template-columns: .45fr 1.15fr .55fr; gap: 3vw; align-items: start; margin-bottom: 4rem; }
.section-heading h2 { margin: -.16em 0 0; font-size: clamp(2.8rem, 5.4vw, 5.7rem); line-height: .98; letter-spacing: -.065em; font-weight: 600; }
.section-heading > p:last-child { margin: 0; font-size: .88rem; line-height: 1.7; }
.work-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 4vw, 5rem) 1.4rem; }
.work-card { grid-column: span 6; display: grid; grid-template-columns: 42px 1fr; gap: 1.2rem; }
.work-card-2 { margin-top: 8rem; }
.work-card-3 { grid-column: 4 / span 6; }
.work-image { grid-column: 1 / 3; position: relative; overflow: hidden; background: var(--sage-light); }
.work-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: filter .3s ease; }
.work-image > span { position: absolute; right: .8rem; bottom: .8rem; background: var(--cream); padding: .8rem 1rem; font-size: .68rem; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.work-card:hover .work-image > span { opacity: 1; transform: none; }
.work-number { font-size: .68rem; font-weight: 700; padding-top: .4rem; }
.work-copy > p:first-child { margin: 0 0 .8rem; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.work-copy h3 { margin: 0; font-size: clamp(1.6rem, 2.7vw, 2.7rem); line-height: 1.08; letter-spacing: -.055em; }
.work-copy > p:last-child { margin: 1rem 0 0; max-width: 580px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.work-section > .text-link, .writing-section > .text-link { margin-top: 5rem; }

.about-section { background: var(--sage); padding: clamp(6rem, 10vw, 10rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); display: grid; grid-template-columns: .55fr 1.45fr; gap: 5vw; }
.about-label { display: flex; flex-direction: column; justify-content: space-between; }
.about-label > span { font-size: .7rem; font-weight: 700; }
.about-copy h2 { margin: 0; font-size: clamp(3.2rem, 6.3vw, 6.7rem); line-height: .96; letter-spacing: -.07em; font-weight: 600; }
.about-copy > p { max-width: 760px; margin: 2.2rem 0; font-size: clamp(.95rem, 1.25vw, 1.12rem); line-height: 1.8; }

.ventures-section { background: var(--cream); }
.venture-list { border-top: 1px solid var(--ink); }
.venture-row { display: grid; grid-template-columns: 55px .7fr 1.1fr 30px; gap: 2rem; padding: 2.3rem 0; align-items: center; border-bottom: 1px solid var(--ink); transition: padding .25s ease, background .25s ease; }
.venture-row:hover { padding-inline: 1.4rem; background: var(--sand); }
.venture-row > span, .venture-row > b { font-size: .7rem; }
.venture-row h3 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -.06em; }
.venture-row p { margin: 0; max-width: 520px; font-size: .84rem; line-height: 1.6; }

.book-section, .book-feature { background: var(--sand); padding: clamp(6rem, 10vw, 10rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 10rem); align-items: center; }
.book-object { min-height: 610px; background: var(--tan); border: 1px solid var(--ink); box-shadow: 18px 18px 0 var(--sage); padding: 2rem; display: flex; flex-direction: column; }
.book-object > span { font-size: .63rem; font-weight: 800; letter-spacing: .16em; }
.book-object h2 { margin: auto 0 2rem; font-size: clamp(4rem, 7vw, 7rem); line-height: .79; letter-spacing: -.08em; }
.book-object h2 i { color: var(--cream); font-style: normal; }
.book-object > p { margin: 0; max-width: 280px; font-size: .72rem; line-height: 1.55; font-weight: 600; }
.book-cover { width: min(520px, 100%); margin: 0; background: var(--tan); border: 1px solid var(--ink); box-shadow: 18px 18px 0 var(--sage); overflow: hidden; }
.book-cover img { width: 100%; height: auto; }
.book-story h2, .book-feature > div:last-child h2 { margin: 1.6rem 0 2rem; max-width: 850px; font-size: clamp(2.7rem, 5.4vw, 5.5rem); line-height: .98; letter-spacing: -.065em; font-weight: 600; }
.book-story > p:not(.section-kicker), .book-feature > div:last-child > p:not(.section-kicker) { max-width: 650px; font-size: .94rem; line-height: 1.8; }
.book-story .button { margin-top: 1.5rem; }

.writing-section { background: var(--cream); }
.writing-grid, .notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.writing-card, .note-card { min-height: 420px; padding: 1.6rem; border: 1px solid var(--ink); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.writing-card:nth-child(1), .note-card:nth-child(1) { background: var(--sage-light); }
.writing-card:nth-child(2), .note-card:nth-child(2) { background: var(--sand); }
.writing-card:nth-child(3), .note-card:nth-child(3) { background: var(--sage); }
.writing-card:hover, .note-card:hover { transform: translate(-5px, -5px); box-shadow: 8px 8px 0 var(--ink); }
.writing-card > span, .note-card > span { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.writing-card h3, .note-card h2 { margin: auto 0 1.2rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -.06em; }
.writing-card > p, .note-card > p { margin: 0 0 2rem; font-size: .8rem; line-height: 1.65; }
.writing-card b, .note-card b { margin-top: auto; font-size: .7rem; }
.note-card > div { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .66rem; }

/* Shared inner pages */
.inner-hero { width: var(--page); margin: auto; padding: clamp(6rem, 10vw, 11rem) 0 clamp(5rem, 8vw, 8rem); display: grid; grid-template-columns: .45fr 1.45fr; gap: 3vw; }
.inner-hero h1 { margin: -.15em 0 0; max-width: 1100px; font-size: clamp(4rem, 8vw, 8.7rem); line-height: .9; letter-spacing: -.075em; font-weight: 600; }
.inner-hero > p:last-child { grid-column: 2; max-width: 580px; margin: 2rem 0 0; font-size: .95rem; line-height: 1.75; }
.inner-hero .hero-highlight { max-width: 1000px; color: #79603e; font-size: clamp(1.8rem, 3.4vw, 3.5rem); line-height: 1.2; letter-spacing: -.05em; font-weight: 500; }

/* Work index */
.project-grid { width: var(--page); margin: 0 auto; padding-bottom: clamp(7rem, 11vw, 12rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: 6rem 1.4rem; }
.project-card:nth-child(even) { margin-top: 8rem; }
.project-thumb { position: relative; overflow: hidden; background: var(--sage-light); }
.project-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.project-thumb span { position: absolute; right: .8rem; bottom: .8rem; padding: .8rem 1rem; background: var(--cream); font-size: .67rem; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.project-card:hover .project-thumb img { transform: scale(1.025); }
.project-card:hover .project-thumb span { opacity: 1; transform: none; }
.project-card-head { display: flex; justify-content: space-between; padding: 1.3rem 0 1rem; border-bottom: 1px solid var(--line); }
.project-card-head span, .project-card-head p { margin: 0; font-size: .64rem; text-transform: uppercase; font-weight: 700; }
.project-card h2 { margin: 1.2rem 0 .9rem; max-width: 690px; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.06em; }
.project-card > p { margin: 0; max-width: 580px; color: var(--muted); font-size: .82rem; line-height: 1.65; }

/* Case study */
.case-hero { width: var(--page); margin: auto; padding: clamp(6rem, 10vw, 10rem) 0 4rem; display: grid; grid-template-columns: 1.35fr .65fr; gap: 6vw; align-items: end; }
.case-hero h1 { margin: 1.3rem 0 0; max-width: 1000px; font-size: clamp(4rem, 7.3vw, 8rem); line-height: .92; letter-spacing: -.075em; font-weight: 600; }
.case-hero > p { margin: 0; font-size: 1rem; line-height: 1.75; }
.case-cover { width: var(--page); margin: auto; background: var(--sage-light); overflow: hidden; }
.case-cover img { width: 100%; height: min(72vw, 880px); object-fit: cover; }
.case-facts { width: var(--page); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); }
.case-facts div { padding: 1.5rem 0; border-right: 1px solid var(--line); }
.case-facts div:not(:first-child) { padding-left: 1.5rem; }
.case-facts div:last-child { border: 0; }
.case-facts span { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.case-facts p { margin: .6rem 0 0; font-size: .85rem; }
.case-inline-media { width: var(--page); margin: clamp(3rem, 6vw, 6rem) auto; display: grid; gap: clamp(1rem, 2vw, 2rem); }
.case-inline-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-inline-media figure { margin: 0; min-width: 0; }
.case-inline-media img { width: 100%; max-height: min(78vw, 960px); object-fit: cover; background: var(--sage-light); }
.case-inline-media figcaption { max-width: 760px; padding-top: .9rem; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.case-chapter, .case-decisions { width: var(--page); margin: auto; padding: clamp(7rem, 11vw, 12rem) 0; display: grid; grid-template-columns: .45fr 1.55fr; gap: 5vw; }
.case-chapter > div:first-child span, .case-decisions > div:first-child > span { display: block; font-size: 4rem; font-weight: 600; letter-spacing: -.08em; color: var(--tan); }
.case-chapter > div:first-child p, .case-decisions > div:first-child > p { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.case-chapter h2, .case-decisions h2 { margin: 0 0 2rem; max-width: 900px; font-size: clamp(2.7rem, 5vw, 5.3rem); line-height: .98; letter-spacing: -.065em; font-weight: 600; }
.case-chapter > div:last-child > p { max-width: 750px; margin: 0; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.85; }
.case-lesson { background: var(--sage); padding: clamp(6rem, 9vw, 9rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); display: grid; grid-template-columns: .45fr 1.55fr; gap: 5vw; }
.case-lesson blockquote { margin: 0; max-width: 1000px; font-size: clamp(2.8rem, 5.6vw, 5.8rem); line-height: 1; letter-spacing: -.065em; font-weight: 600; }
.case-decisions { background: var(--sand); width: 100%; padding-inline: max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); }
.case-decisions ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.case-decisions li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--ink); }
.case-decisions li span { font-size: .68rem; font-weight: 700; padding-top: .25rem; }
.case-decisions li p { margin: 0; max-width: 720px; font-size: 1rem; line-height: 1.7; }
.case-next, .about-next { padding: 3rem max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); background: var(--tan); display: flex; justify-content: space-between; align-items: center; }
.case-next p, .about-next p { margin: 0; font-size: .8rem; font-weight: 600; }
.case-next a, .about-next a { font-size: clamp(1.6rem, 3vw, 3rem); font-weight: 600; letter-spacing: -.05em; }

/* About */
.about-opening { width: var(--page); margin: auto; padding-bottom: clamp(7rem, 11vw, 12rem); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 10rem); align-items: start; }
.story-portrait { position: sticky; top: 2rem; background: var(--sage); padding: .8rem; }
.story-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.story-portrait span { display: block; padding: 1rem .2rem .2rem; font-size: .64rem; line-height: 1.5; font-weight: 600; }
.story-copy .lead { margin-top: 0; font-size: clamp(1.7rem, 3vw, 3.2rem); line-height: 1.25; letter-spacing: -.05em; }
.story-copy > p:not(.lead) { max-width: 690px; margin: 2rem 0; font-size: 1rem; line-height: 1.85; }
.life-chapters { background: var(--ink); color: var(--cream); padding: clamp(7rem, 11vw, 12rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); display: grid; grid-template-columns: .65fr 1.35fr; gap: 6vw; }
.chapter-heading { position: sticky; top: 3rem; align-self: start; }
.chapter-heading h2 { margin: 1.5rem 0 0; font-size: clamp(2.7rem, 4.5vw, 4.8rem); line-height: 1; letter-spacing: -.06em; }
.chapter-list { border-top: 1px solid rgba(254,250,224,.3); }
.chapter-list article { display: grid; grid-template-columns: 45px .8fr 1fr; gap: 1.4rem; padding: 2.3rem 0; border-bottom: 1px solid rgba(254,250,224,.3); }
.chapter-list span { color: var(--tan); font-size: .68rem; font-weight: 700; }
.chapter-list h3 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1.15; letter-spacing: -.045em; }
.chapter-list p { margin: 0; color: rgba(254,250,224,.7); font-size: .8rem; line-height: 1.75; }
.personal-note { background: var(--sand); padding: clamp(6rem, 10vw, 10rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)); display: grid; grid-template-columns: .4fr 1.2fr .65fr; gap: 4vw; }
.personal-note blockquote { margin: 0; font-size: clamp(3rem, 5.7vw, 6rem); line-height: .98; letter-spacing: -.07em; font-weight: 600; }
.personal-note > div p { margin: 0 0 1.5rem; font-size: .84rem; line-height: 1.75; }
.principles-section { width: var(--page); margin: auto; padding: clamp(7rem, 11vw, 12rem) 0; }
.principles-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.principles-grid article { min-height: 340px; padding: 1.8rem; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.principles-grid article:nth-child(2n) { border-right: 0; }
.principles-grid article:nth-child(n+3) { border-bottom: 0; }
.principles-grid article:nth-child(1), .principles-grid article:nth-child(4) { background: var(--sage-light); }
.principles-grid article:nth-child(2) { background: var(--tan); }
.principles-grid article:nth-child(3) { background: var(--sage); }
.principles-grid span { font-size: .68rem; font-weight: 700; }
.principles-grid h2 { margin: auto 0 1rem; font-size: clamp(2rem, 3.4vw, 3.6rem); letter-spacing: -.06em; }
.principles-grid p { margin: 0; max-width: 480px; font-size: .8rem; line-height: 1.65; }

/* Writing */
.book-feature { width: 100%; }
.book-feature .book-object { max-width: 520px; }
.inline-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.notes-section { background: var(--cream); }
.article-page > article { width: 100%; }
.article-hero { width: min(1100px, calc(100% - 64px)); margin: auto; padding: clamp(5rem, 9vw, 9rem) 0 4rem; }
.article-hero > a { display: inline-block; margin-bottom: 5rem; font-size: .7rem; font-weight: 700; }
.article-hero h1 { margin: 1.5rem 0 2rem; font-size: clamp(4rem, 8vw, 8.5rem); line-height: .92; letter-spacing: -.075em; font-weight: 600; }
.article-hero > p:last-child { max-width: 790px; font-size: clamp(1.1rem, 1.8vw, 1.6rem); line-height: 1.55; color: var(--muted); }
.article-body { width: min(760px, calc(100% - 40px)); margin: auto; padding: 4rem 0 8rem; border-top: 1px solid var(--ink); }
.article-body p { margin: 0 0 2rem; font-size: clamp(1.05rem, 1.45vw, 1.24rem); line-height: 1.9; }
.article-body .article-lead { margin-bottom: 3rem; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.45; letter-spacing: -.035em; }
.article-cta { background: var(--sage); padding: clamp(5rem, 8vw, 8rem) max(32px, calc((100vw - 960px) / 2)); }
.article-cta > p { margin: 0 0 1.4rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.article-cta h2 { margin: 0 0 2rem; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.07em; }
.article-end { width: min(960px, calc(100% - 64px)); margin: auto; padding: 3rem 0; display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; }

/* Ventures and contact */
.venture-cards, .contact-options { width: var(--page); margin: auto; padding-bottom: clamp(7rem, 11vw, 12rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.venture-cards > a, .contact-options > a { min-height: 480px; border: 1px solid var(--ink); padding: 1.6rem; display: flex; flex-direction: column; transition: .25s ease; }
.venture-cards > a:nth-child(1), .contact-options > a:nth-child(1) { background: var(--sage-light); }
.venture-cards > a:nth-child(2), .contact-options > a:nth-child(2) { background: var(--sand); }
.venture-cards > a:nth-child(3), .contact-options > a:nth-child(3) { background: var(--tan); }
.venture-cards > a:nth-child(4) { background: var(--sage); }
.venture-cards > a:nth-child(5) { background: var(--sand); }
.venture-cards > a:hover, .contact-options > a:hover { transform: translate(-5px,-5px); box-shadow: 8px 8px 0 var(--ink); }
.venture-cards span, .venture-cards > a > p:first-of-type, .contact-options span { font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.venture-cards h2 { margin: auto 0 .8rem; font-size: clamp(2.3rem, 3.5vw, 3.7rem); letter-spacing: -.06em; }
.venture-cards h3 { margin: 0 0 1.4rem; font-size: .92rem; }
.venture-cards > a > p:last-of-type { margin: 0 0 2rem; font-size: .8rem; line-height: 1.65; }
.venture-cards b { margin-top: auto; font-size: .7rem; }
.contact-hero { width: var(--page); margin: auto; padding: clamp(6rem, 10vw, 11rem) 0; }
.contact-hero h1 { margin: 1.3rem 0 2rem; font-size: clamp(4rem, 9vw, 9rem); line-height: .88; letter-spacing: -.075em; }
.contact-hero h1 em { color: #79603e; font-style: normal; }
.contact-hero > p:not(.section-kicker) { max-width: 650px; font-size: 1rem; line-height: 1.75; }
.contact-hero .button { margin-top: 1.5rem; }
.contact-options > a { min-height: 280px; }
.contact-options h2 { margin: auto 0 2rem; font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.05em; }

/* Reels */
.reels-section { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--sage-light); overflow: hidden; }
.reels-heading { width: var(--page); margin: 0 auto clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: .45fr 1.1fr .65fr; gap: 3vw; align-items: end; }
.reels-heading h2 { margin: 0; font-size: clamp(3.4rem, 7vw, 7rem); line-height: .92; letter-spacing: -.07em; font-weight: 600; }
.reels-heading > p:last-child { margin: 0; max-width: 460px; font-size: .88rem; line-height: 1.75; }
.reels-marquee { width: 100%; overflow: hidden; }
.reels-track { --reel-gap: 1.2rem; width: max-content; display: flex; gap: var(--reel-gap); animation: reels-scroll 42s linear infinite; will-change: transform; }
.reels-group { display: flex; gap: var(--reel-gap); }
.reels-marquee:hover .reels-track, .reels-marquee:focus-within .reels-track { animation-play-state: paused; }
.reel-card { width: clamp(230px, 24vw, 350px); aspect-ratio: 9 / 16; position: relative; flex: none; overflow: hidden; background: var(--ink); color: var(--cream); border: 1px solid var(--ink); }
.reel-card video, .reel-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.reel-card:hover video, .reel-card:hover > img { transform: scale(1.025); }
.reel-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg,var(--tan),var(--ink)); }
.reel-placeholder span { font-size: 3rem; }
.reel-overlay { position: absolute; inset: auto 0 0; padding: 5rem 1.3rem 1.3rem; display: grid; gap: .65rem; background: linear-gradient(transparent,rgba(15,18,13,.9)); }
.reel-overlay span, .reel-overlay b { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.reel-overlay strong { max-width: 280px; font-size: 1.25rem; line-height: 1.15; }
.reel-overlay b { justify-self: end; }
@keyframes reels-scroll { to { transform: translateX(calc(-50% - (var(--reel-gap) / 2))); } }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(6rem, 10vw, 10rem) max(32px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2)) 2rem; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: clamp(4rem,8vw,10rem); align-items: end; }
.footer-main-solo { grid-template-columns: 1fr; }
.footer-pitch h2 { margin: 1.6rem 0 3rem; max-width: 1050px; font-size: clamp(3.7rem,7vw,7.3rem); line-height: .9; letter-spacing: -.075em; font-weight: 600; }
.footer-actions { display: flex; align-items: center; gap: 2rem; }
.footer-actions > a:not(.button) { font-size: .75rem; border-bottom: 1px solid rgba(254,250,224,.4); padding-bottom: .3rem; }
.footer-socials { padding-left: clamp(2rem,4vw,4rem); border-left: 1px solid rgba(254,250,224,.25); }
.footer-socials h3 { margin: 1.2rem 0 2rem; max-width: 360px; font-size: clamp(2.4rem,3.5vw,4rem); line-height: .96; letter-spacing: -.06em; font-weight: 600; }
.footer-socials nav { display: flex; flex-direction: column; border-top: 1px solid rgba(254,250,224,.25); }
.footer-socials nav a { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; border-bottom: 1px solid rgba(254,250,224,.25); transition: color .2s,padding .2s; }
.footer-socials nav a:hover { color: var(--tan); padding-inline: .5rem; }
.footer-socials nav strong { font-size: clamp(1rem,1.35vw,1.35rem); letter-spacing: -.03em; }
.footer-socials nav span { font-size: 1rem; }
.footer-base { margin-top: 7rem; padding-top: 1.5rem; border-top: 1px solid rgba(254,250,224,.25); display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-size: .65rem; }
.footer-base p { margin: 0; }

/* Admin */
.admin-loading { min-height: 100vh; display: grid; place-items: center; background: var(--sage-light); }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f7f7ec; }
.admin-shell > aside { position: sticky; top: 0; height: 100vh; padding: 2rem; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; }
.admin-brand { font-weight: 800; }.admin-brand span { color: var(--tan); }
.admin-shell aside nav { margin-top: 5rem; display: flex; flex-direction: column; }
.admin-shell aside nav button { padding: 1rem 0; text-align: left; color: inherit; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.15); text-transform: capitalize; cursor: pointer; }
.admin-shell aside nav button.active { color: var(--tan); }
.admin-user { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; font-size: .7rem; }.admin-user span { opacity: .6; }.admin-user a { margin-top: .5rem; text-decoration: underline; }
.admin-main { padding: 3rem max(2rem, 5vw) 7rem; }.admin-main > header { display: flex; justify-content: space-between; align-items: end; }.admin-main > header p { margin: 0; font-size: .7rem; text-transform: uppercase; }.admin-main > header h1 { margin: .5rem 0 0; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.06em; }.admin-main > header a { font-size: .75rem; font-weight: 700; }
.admin-status { margin: 2rem 0; padding: 1rem; background: var(--sage-light); font-size: .75rem; }
.admin-panel, .record-editor { padding: 2rem; border: 1px solid var(--line); background: white; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }.field-grid label { display: flex; flex-direction: column; gap: .5rem; }.field-grid label span { font-size: .68rem; font-weight: 700; text-transform: capitalize; }.field-grid input, .field-grid textarea { width: 100%; border: 1px solid #bbb; padding: .8rem; background: #fffef7; }.field-grid textarea { min-height: 130px; resize: vertical; }.check-field { flex-direction: row!important; align-items: center; }.check-field input { width: auto; }
.admin-save { margin-top: 1.5rem; border: 0; background: var(--ink); color: var(--cream); padding: .9rem 1.3rem; cursor: pointer; }
.record-list { display: grid; gap: .8rem; margin-bottom: 2rem; }.record-list article { padding: 1.2rem; background: white; border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; }.record-list article span,.record-list article p { font-size: .65rem; }.record-list article h2 { margin: .4rem 0; font-size: 1rem; }.record-list article button,.record-editor header button { border: 1px solid var(--line); background: transparent; padding: .5rem; font-size: .65rem; cursor: pointer; }.record-editor header { display: flex; justify-content: space-between; margin-bottom: 2rem; }.record-editor header h2 { margin: 0; }
.media-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.media-setting-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); background: #fffef7; }
.media-setting-card > label:not(.check-field) { display: flex; flex-direction: column; gap: .55rem; font-size: .7rem; font-weight: 700; }
.media-setting-card small { color: var(--muted); font-weight: 400; line-height: 1.5; }
.admin-media-preview { width: 100%; height: 180px; margin-bottom: 1rem; object-fit: contain; background: var(--sage-light); }
.admin-media-empty { min-height: 110px; margin-bottom: 1rem; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); font-size: .7rem; text-align: center; }
.admin-section-title { margin-top: 3rem; }
.admin-field-label { display: block; margin-bottom: .5rem; font-size: .68rem; font-weight: 700; }
.admin-cover-preview { width: min(620px, 100%); max-height: 320px; object-fit: cover; }
.inline-media-manager { margin-top: 1.5rem; }
.inline-media-editor { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, 1.65fr); gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.admin-inline-preview { width: 100%; height: 220px; object-fit: cover; background: var(--sage-light); }
.inline-media-editor > .admin-actions { grid-column: 2; }
.inline-media-editor .admin-save { margin-top: 0; }
.admin-reel-preview { width: min(360px, 100%); max-height: 640px; background: var(--ink); }
.admin-reel-poster { width: min(360px, 100%); aspect-ratio: 9 / 16; object-fit: cover; background: var(--sage-light); }
.discovery-files-panel > p { max-width: 760px; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.discovery-file-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.discovery-file-grid a { min-height: 150px; padding: 1.1rem; border: 1px solid var(--line); background: var(--sage-light); display: flex; flex-direction: column; transition: transform .2s,box-shadow .2s; }
.discovery-file-grid a:nth-child(2) { background: var(--sand); }.discovery-file-grid a:nth-child(3) { background: var(--sage); }
.discovery-file-grid a:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--ink); }
.discovery-file-grid span,.discovery-file-grid b { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.discovery-file-grid strong { margin: auto 0; font-size: 1.25rem; }.discovery-file-grid b { align-self: end; }

@media (max-width: 900px) {
  :root { --page: calc(100% - 40px); }
  .site-header { height: 72px; }
  .site-header nav { display: none; }
  .menu-button { display: block; border: 0; background: transparent; font-size: .75rem; font-weight: 700; }
  .mobile-menu { display: flex; position: fixed; inset: 72px 0 0; padding: 2rem 20px; background: var(--cream); flex-direction: column; transform: translateX(100%); transition: transform .35s ease; }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu a { display: grid; grid-template-columns: 40px 1fr; padding: 1.2rem 0; border-bottom: 1px solid var(--ink); font-size: clamp(2rem, 8vw, 4rem); letter-spacing: -.05em; }
  .mobile-menu a span { padding-top: .5rem; font-size: .65rem; }
  .hero { grid-template-columns: 1fr .8fr; grid-template-areas: "title title" "panel portrait"; }
  .hero h1 { font-size: clamp(4rem, 13vw, 7rem); }
  .identity-grid { grid-template-columns: 1fr; }.identity-grid article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ink); }.identity-grid article:last-child { border-bottom: 0; }
  .manifesto-section, .section-heading, .inner-hero, .case-hero, .case-chapter, .case-decisions, .case-lesson, .life-chapters, .personal-note { grid-template-columns: 1fr; }
  .reels-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-socials { padding: 3rem 0 0; border-left: 0; border-top: 1px solid rgba(254,250,224,.25); }
  .manifesto-note { max-width: 420px; }
  .section-heading > p:last-child { max-width: 480px; }
  .work-card-3 { grid-column: span 6; }
  .about-section { grid-template-columns: 1fr; }.about-label { min-height: 80px; flex-direction: row; }
  .book-section, .book-feature { grid-template-columns: .75fr 1fr; gap: 3rem; }.book-object { min-height: 520px; }
  .writing-grid, .notes-grid, .venture-cards, .contact-options { grid-template-columns: 1fr 1fr; }.writing-card:nth-child(3), .note-card:nth-child(3), .venture-cards > a:nth-child(3), .contact-options > a:nth-child(3) { grid-column: 1 / 3; }
  .inner-hero > p:last-child { grid-column: 1; }
  .case-hero > p { max-width: 650px; }
  .case-chapter, .case-decisions, .case-lesson { gap: 2rem; }
  .about-opening { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .chapter-heading { position: relative; top: 0; }
  .personal-note blockquote { max-width: 850px; }
  .admin-shell { grid-template-columns: 1fr; }.admin-shell > aside { position: relative; height: auto; }.admin-shell aside nav { margin-top: 2rem; flex-direction: row; gap: .5rem; flex-wrap: wrap; }.admin-shell aside nav button { padding: .7rem; border: 1px solid rgba(255,255,255,.15); }.admin-user { display: none; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 32px); }
  .hero { padding-top: 3.5rem; grid-template-columns: 1fr; grid-template-areas: "title" "panel" "portrait"; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.8rem); line-height: .91; }.hero-panel { max-width: none; }.hero-portrait { width: 100%; }
  .hero-actions, .inline-actions, .footer-actions { align-items: stretch; flex-direction: column; }.hero-actions .button, .inline-actions .button, .footer-actions .button { width: 100%; }
  .manifesto-section, .about-section, .book-section, .book-feature, .case-lesson, .case-decisions, .life-chapters, .personal-note, .site-footer { padding-inline: 16px; }
  .manifesto-copy h2 { font-size: 3.25rem; }
  .work-list, .project-grid { display: block; }.work-card, .work-card-3 { grid-column: auto; margin: 0 0 4.5rem; }.project-card { display: block; margin: 0 0 5rem!important; }
  .book-section, .book-feature { grid-template-columns: 1fr; }.book-object { min-height: 520px; box-shadow: 10px 10px 0 var(--sage); }.book-object h2 { font-size: 4.5rem; }.book-cover { box-shadow: 10px 10px 0 var(--sage); }
  .writing-grid, .notes-grid, .venture-cards, .contact-options { grid-template-columns: 1fr; }.writing-card:nth-child(3), .note-card:nth-child(3), .venture-cards > a:nth-child(3), .contact-options > a:nth-child(3) { grid-column: auto; }.writing-card, .note-card { min-height: 360px; }
  .venture-row { grid-template-columns: 32px 1fr 20px; gap: 1rem; }.venture-row > p { grid-column: 2; }.venture-row > b { grid-column: 3; grid-row: 1; }
  .about-opening { grid-template-columns: 1fr; }.story-portrait { position: relative; top: 0; }.story-copy .lead { margin-top: 1rem; }
  .chapter-list article { grid-template-columns: 35px 1fr; }.chapter-list p { grid-column: 2; }
  .principles-grid { grid-template-columns: 1fr; }.principles-grid article { border-right: 0; border-bottom: 1px solid var(--ink)!important; }.principles-grid article:last-child { border-bottom: 0!important; }
  .case-cover img { height: 90vw; }.case-facts { grid-template-columns: 1fr; }.case-facts div, .case-facts div:not(:first-child) { padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }.case-facts div:last-child { border-bottom: 0; }
  .case-inline-media-grid { grid-template-columns: 1fr; }
  .case-next, .about-next { padding-inline: 16px; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .article-hero { width: calc(100% - 32px); }.article-hero > a { margin-bottom: 3rem; }.article-hero h1 { font-size: 3.8rem; }.article-end { width: calc(100% - 32px); flex-direction: column; gap: 1rem; }
  .footer-pitch h2 { font-size: 3.8rem; }.footer-base { align-items: flex-start; flex-direction: column; }
  .reel-card { width: min(76vw, 320px); }
  .discovery-file-grid { grid-template-columns: 1fr; }
  .field-grid, .media-settings-grid { grid-template-columns: 1fr; }.admin-main { padding: 2rem 1rem 5rem; }.admin-main > header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .inline-media-editor { grid-template-columns: 1fr; }.inline-media-editor > .admin-actions { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
  .reels-marquee { overflow-x: auto; }.reels-track { animation: none!important; }
}

/* PHP installer and reusable CMS elements */
.admin-shell aside nav a{padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.15);text-transform:capitalize}.admin-shell aside nav a.active{color:var(--tan)}.admin-main select{width:100%;padding:.8rem;border:1px solid #bbb;background:#fffef7}.admin-actions form{margin:0}.admin-actions button{border:0;background:transparent;padding:0;cursor:pointer;font-size:.68rem}
.setup-body,.login-body{min-height:100vh;background:var(--sage-light);padding:4vw;display:grid;place-items:center}.setup-card,.login-card{width:min(900px,100%);background:var(--cream);border:1px solid var(--ink);padding:clamp(2rem,5vw,5rem);box-shadow:16px 16px 0 var(--tan)}.setup-card h1,.login-card h1{margin:1rem 0;font-size:clamp(2.5rem,6vw,5rem);line-height:.95;letter-spacing:-.07em}.setup-card>p,.login-card>p{max-width:640px;line-height:1.7}.setup-form{margin-top:3rem}.setup-form h2{margin:3rem 0 1.3rem;font-size:1.2rem}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}.setup-grid label,.login-form label{display:flex;flex-direction:column;gap:.5rem;font-size:.72rem;font-weight:700}.setup-grid label.wide{grid-column:1/3}.setup-grid input,.login-form input{width:100%;padding:1rem;border:1px solid var(--line);background:white}.setup-grid small{color:var(--muted);font-weight:400}.setup-form>.button{margin-top:2rem}.setup-error,.admin-flash{margin:1.5rem 0;padding:1rem;background:#f2c6b9;border:1px solid #7c2f20;font-size:.78rem}.setup-actions{display:flex;gap:1rem;margin-top:2rem;flex-wrap:wrap}.custom-section{padding:clamp(6rem,10vw,10rem) max(32px,calc((100vw - min(1440px,calc(100vw - 64px)))/2));display:grid;grid-template-columns:.45fr 1.55fr;gap:5vw}.custom-section.theme-sage{background:var(--sage)}.custom-section.theme-sand{background:var(--sand)}.custom-section.theme-tan{background:var(--tan)}.custom-section.theme-dark{background:var(--ink);color:var(--cream)}.custom-section h2{margin:0 0 2rem;font-size:clamp(2.8rem,5.5vw,5.8rem);line-height:.98;letter-spacing:-.065em}.custom-section .custom-body{max-width:760px;font-size:1rem;line-height:1.8}.admin-help{color:#666;font-size:.7rem;line-height:1.6}.admin-actions{display:flex;gap:.6rem;align-items:center}.admin-danger{color:#8b2c1e!important}.admin-thumbnail{width:90px;height:65px;object-fit:cover}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;background:#fff}.admin-table th,.admin-table td{padding:1rem;border-bottom:1px solid #ddd;text-align:left;font-size:.72rem;vertical-align:top}.admin-table th{text-transform:uppercase;letter-spacing:.08em}.admin-table td strong{font-size:.85rem}.admin-empty{padding:3rem;background:#fff;border:1px solid var(--line);text-align:center}.login-form{display:grid;gap:1rem;margin-top:2rem}.login-form .button{margin-top:1rem}.admin-top-actions{display:flex;gap:.7rem;flex-wrap:wrap}.admin-main .field-grid .full{grid-column:1/3}.admin-main .field-grid textarea.tall{min-height:280px}
@media(max-width:640px){.setup-body,.login-body{padding:16px}.setup-card,.login-card{box-shadow:8px 8px 0 var(--tan);padding:2rem 1.2rem}.setup-grid{grid-template-columns:1fr}.setup-grid label.wide{grid-column:auto}.custom-section{padding-inline:16px;grid-template-columns:1fr}.admin-main .field-grid .full{grid-column:auto}}
