@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT,WONK@9..144,500,20,1;9..144,600,20,1;9..144,700,20,1&display=swap');

:root {
  color-scheme: light;
  --cream: #fbf7ef;
  --paper: #fffaf0;
  --ink: #2d3028;
  --muted: #686d60;
  --terracotta: #c76547;
  --deep-green: #29493f;
  --line: #dedbd1;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #f3c19f; color: #2d3028; }
:focus-visible { outline: 3px solid #d87958; outline-offset: 4px; }
.page-shell { width: min(100% - 80px, 1300px); margin-inline: auto; }
.section-pad { padding-block: clamp(100px, 10vw, 156px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 16px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--cream); border-bottom: 1px solid rgba(45, 48, 40, .08); }
.header-inner { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; }
.brand-mark svg { width: 47px; height: 47px; }
.brand-words { display: flex; flex-direction: column; font-size: 13px; line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.brand-words strong { font-family: var(--serif); font-size: 27px; font-weight: 700; letter-spacing: -.08em; }
.brand-dot, .footer-brand span { color: var(--terracotta); }
.nav { display: flex; align-items: center; gap: clamp(21px, 2.5vw, 40px); font-size: 13px; font-weight: 700; }
.nav > a:not(.nav-pill) { transition: color .2s ease; }
.nav > a:not(.nav-pill):hover { color: var(--terracotta); }
.nav-pill { display: inline-flex; align-items: center; gap: 16px; padding: 13px 18px 13px 21px; border: 1px solid #69756a; border-radius: 100px; transition: background .2s, color .2s, border-color .2s; }
.nav-pill:hover { background: var(--deep-green); color: white; border-color: var(--deep-green); }
.nav-pill span { font-size: 20px; line-height: 0; font-weight: 400; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(760px, calc(100svh - 94px)); overflow: hidden; background: #f7e9d3; }
.hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(251, 247, 239, .78) 0%, rgba(251, 247, 239, .42) 34%, rgba(251, 247, 239, 0) 61%); }
.hero-content { padding-top: clamp(110px, 12.4vw, 185px); padding-bottom: 120px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; color: var(--terracotta); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: currentColor; }
.hero h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-family: var(--serif); font-size: clamp(65px, 6.8vw, 108px); font-weight: 600; line-height: 1.02; letter-spacing: -.08em; }
h1 em, h2 em { font-weight: inherit; color: var(--terracotta); }
.hero-lede { max-width: 460px; margin-bottom: 34px; color: #464a40; font-size: 16px; line-height: 1.78; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 15px 24px; border-radius: 100px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 30, 30, .13); }
.button span { font-size: 20px; line-height: 0; font-weight: 400; }
.button-primary { background: var(--deep-green); color: white; }
.button-primary:hover { background: #1d382f; }
.text-link { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; transition: gap .2s, color .2s; }
.text-link:hover { gap: 20px; color: var(--terracotta); }
.text-link span { font-size: 19px; line-height: 0; font-weight: 400; }
.hero-side-note { position: absolute; right: 34px; bottom: 47px; writing-mode: vertical-rl; transform: rotate(180deg); color: #364434; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-side-note span { margin-top: 12px; font-size: 19px; }

/* Small traveling marquee */
.ticker { overflow: hidden; background: #d47b5a; color: #fff9ef; }
.ticker-inner { display: flex; align-items: center; justify-content: space-evenly; width: 100%; padding-block: 16px; font-family: var(--serif); font-size: clamp(13px, 1.2vw, 17px); font-style: italic; letter-spacing: .025em; }
.ticker-phrase { flex: 0 0 auto; white-space: nowrap; }
.ticker-star { flex: 0 0 auto; color: #87a96f; font-family: var(--sans); font-size: 12px; font-style: normal; }

/* Story */
.story-section { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 145px); }
.section-index { display: inline-block; color: var(--terracotta); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .18em; }
.story-aside { display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; }
.orbit-art { position: relative; width: 320px; height: 310px; margin: 10px 0 0 28px; }
.orbit { position: absolute; border: 1px solid #e8c7b2; border-radius: 50%; }
.orbit-one { inset: 25px 40px 30px 30px; transform: rotate(-20deg) scaleX(.86); }
.orbit-two { inset: 52px 67px 59px 60px; border-color: #ead8b8; transform: rotate(25deg) scaleX(.9); }
.orbit-globe { position: absolute; top: 81px; left: 105px; display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: #e2ac81; color: #f9f1e5; font-size: 54px; font-weight: 400; }
.orbit-star { position: absolute; top: 20px; right: 32px; color: #d47b5a; font-size: 33px; }
.orbit-trail { position: absolute; bottom: 0; left: 3px; width: 270px; color: #b2aa91; }
.story-copy { padding-top: 24px; }
.eyebrow-small { margin-bottom: 24px; font-size: 11px; }
.story-copy h2, .journey-heading h2 { max-width: 760px; margin-bottom: 32px; font-family: var(--serif); font-size: clamp(47px, 5.4vw, 75px); font-weight: 600; line-height: 1.13; letter-spacing: -.065em; }
.story-copy p:not(.eyebrow) { max-width: 650px; margin-bottom: 19px; color: var(--muted); font-size: 16px; line-height: 1.85; }

/* Book */
.book-section { overflow: hidden; background: #e9eee4; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(70px, 9vw, 140px); }
.book-visual { position: relative; display: grid; justify-items: center; align-content: center; min-height: 590px; }
.book-halo { position: absolute; top: 30px; width: min(100%, 510px); height: 495px; border-radius: 50%; background: #dce5d6; }
.book-cover {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  width: min(360px, 72%); aspect-ratio: 3 / 4; padding: 28px 29px 24px; overflow: hidden;
  border: 10px solid #fffaf0; border-left-width: 17px; border-radius: 4px 12px 12px 4px;
  background-image: linear-gradient(180deg, rgba(255, 250, 239, .05) 0%, rgba(255, 250, 239, 0) 62%, rgba(22, 49, 41, .54) 100%), url('/assets/porcupine-book-art-satchel-blue.webp');
  background-position: center; background-size: cover; color: #28493f;
  box-shadow: 20px 30px 50px rgba(46, 66, 51, .22), inset 5px 0 8px rgba(25, 35, 25, .2);
  transform: rotate(-6deg);
}
.book-cover-top { display: flex; justify-content: space-between; gap: 8px; color: #35594b; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.book-cover-top span { font-size: 17px; }
.book-cover-title { max-width: 240px; margin-top: -105px; color: #28493f; font-family: var(--serif); font-size: clamp(28px, 3vw, 39px); font-weight: 600; line-height: 1.1; letter-spacing: -.065em; }
.book-cover-title em { color: #bc6649; }
.book-cover-bottom { color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .07em; }
.preview-note { position: absolute; bottom: 10px; color: #778175; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.book-copy { padding: 10px 0; }
.book-copy .section-index { display: block; margin-bottom: 50px; }
.coming-soon { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 8px 13px; border: 1px solid #bdcdbb; border-radius: 40px; color: #3d5d4f; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.coming-dot { width: 7px; height: 7px; border-radius: 50%; background: #d37d53; }
.book-copy h2 { margin-bottom: 27px; font-family: var(--serif); font-size: clamp(50px, 5.3vw, 78px); font-weight: 600; line-height: 1.05; letter-spacing: -.07em; }
.book-copy p { max-width: 490px; margin-bottom: 17px; color: #606b5d; font-size: 16px; line-height: 1.83; }
.dark-link { margin-top: 21px; color: #35594b; }

/* Journey */
.journey-section { background: #fcf7ee; }
.journey-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 47px; }
.journey-heading .section-index { margin-bottom: 29px; }
.journey-heading h2 { margin: 0; }
.journey-heading > p { max-width: 270px; margin: 0 12px 10px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.idea-card { position: relative; min-height: 315px; padding: 28px 29px 26px; border: 1px solid #ece6d9; border-radius: 16px; background: #fffdf8; transition: transform .25s, box-shadow .25s; }
.idea-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(80, 66, 44, .08); }
.idea-icon { display: grid; place-items: center; width: 71px; height: 71px; margin-bottom: 51px; border-radius: 50%; font-family: var(--serif); font-size: 45px; line-height: 1; }
.idea-icon-sun { background: #f9e2c4; color: #d47b5a; }
.idea-icon-path { background: #e3e9d9; color: #728b6f; font-size: 53px; }
.idea-icon-heart { background: #f7dcd3; color: #cb785e; font-size: 54px; }
.idea-num { position: absolute; top: 34px; right: 32px; color: #a9ad9f; font-size: 11px; letter-spacing: .1em; }
.idea-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.idea-card p { max-width: 315px; margin-bottom: 0; color: #72776b; font-size: 14px; line-height: 1.75; }

/* Ending */
.closing-section { overflow: hidden; background: var(--deep-green); color: #fcf8ec; }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(95px, 9vw, 135px) 0 115px; text-align: center; }
.closing-star { margin-bottom: 20px; color: #e4ad78; font-size: 35px; }
.closing-inner .eyebrow { color: #eeb891; }
.closing-inner h2 { position: relative; z-index: 1; margin: 0 0 24px; font-family: var(--serif); font-size: clamp(56px, 7vw, 96px); font-weight: 600; line-height: 1.05; letter-spacing: -.075em; }
.closing-inner h2 em { color: #edb486; }
.closing-inner > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 420px; margin-bottom: 29px; color: #cad8cc; font-size: 15px; line-height: 1.8; }
.button-light { position: relative; z-index: 1; background: #fbf7ef; color: #2d4a40; }
.button-light:hover { background: white; }
.closing-loop { position: absolute; top: -130px; right: -150px; width: 470px; height: 470px; border: 1px solid rgba(245, 239, 224, .13); border-radius: 50%; box-shadow: 0 0 0 45px rgba(245,239,224,.025), 0 0 0 90px rgba(245,239,224,.025); }
.site-footer { background: #213b32; color: #f8f4e9; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; }
.footer-brand { font-size: 13px; line-height: 1; }
.footer-brand strong { font-family: var(--serif); font-size: 22px; letter-spacing: -.06em; }
.footer-inner p, .footer-inner small { margin: 0; color: #aebeb1; font-size: 12px; }

@media (max-width: 1000px) {
  .page-shell { width: min(100% - 56px, 1300px); }
  .header-inner { min-height: 80px; }
  .nav { gap: 18px; font-size: 12px; }
  .nav-pill { padding: 11px 14px; }
  .hero { min-height: 690px; }
  .hero-content { padding-top: 135px; }
  .hero h1 { max-width: 600px; font-size: clamp(61px, 7vw, 82px); }
  .hero-art { object-position: 59% center; }
  .story-grid { gap: 35px; }
  .orbit-art { transform: scale(.8); transform-origin: left bottom; }
  .book-grid { gap: 45px; }
  .book-cover { width: min(340px, 79%); }
}

@media (max-width: 900px) {
  .ticker-repeat { display: none; }
  .ticker-inner { font-size: clamp(13px, 1.8vw, 16px); }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 40px, 600px); }
  .section-pad { padding-block: 86px; }
  .site-header { position: relative; }
  .header-inner { min-height: 76px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark svg { width: 42px; height: 42px; }
  .brand-words { font-size: 12px; }
  .brand-words strong { font-size: 24px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 45px; height: 45px; padding: 10px; border: 1px solid #d8d9ce; border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 20px 23px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 25px rgba(45,48,40,.09); font-size: 15px; }
  .nav.is-open { display: flex; }
  .nav > a:not(.nav-pill) { padding: 14px 4px; }
  .nav-pill { align-self: flex-start; margin-top: 10px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-art { position: relative; order: 2; width: 100%; height: clamp(330px, 80vw, 550px); object-fit: cover; object-position: 72% 55%; }
  .hero-shade, .hero-side-note { display: none; }
  .hero-content { order: 1; padding-top: 76px; padding-bottom: 58px; }
  .hero h1 { max-width: 560px; font-size: clamp(56px, 12vw, 82px); }
  .hero-lede { max-width: 520px; }
  .ticker-inner { padding-block: 13px; }
  .story-grid, .book-grid { grid-template-columns: 1fr; }
  .story-aside { min-height: 0; }
  .orbit-art { display: none; }
  .story-copy { padding-top: 15px; }
  .story-copy h2, .journey-heading h2 { font-size: clamp(43px, 8.4vw, 66px); }
  .book-grid { gap: 57px; }
  .book-visual { min-height: 470px; }
  .book-halo { top: 3px; width: min(90%, 430px); height: 430px; }
  .book-cover { width: min(310px, 70%); }
  .book-copy { max-width: 600px; }
  .book-copy .section-index { margin-bottom: 28px; }
  .book-copy h2 { font-size: clamp(48px, 8.5vw, 70px); }
  .journey-heading { display: block; }
  .journey-heading > p { max-width: 480px; margin-top: 20px; }
  .idea-grid { grid-template-columns: 1fr; gap: 12px; }
  .idea-card { min-height: 0; padding: 25px; }
  .idea-icon { margin-bottom: 34px; }
  .closing-inner { padding-block: 100px; }
  .footer-inner { flex-wrap: wrap; padding-block: 32px; }
  .footer-inner p { display: none; }
}

@media (max-width: 450px) {
  .hero-content { padding-top: 62px; }
  .hero h1 { font-size: clamp(53px, 13vw, 61px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 25px; }
  .hero-art { height: 350px; }
  .story-copy h2, .journey-heading h2 { font-size: 45px; }
  .book-visual { min-height: 405px; }
  .book-halo { height: 360px; }
  .book-cover { width: 260px; padding: 20px; }
  .book-cover-title { font-size: 28px; }
  .book-copy h2 { font-size: 51px; }
  .closing-inner h2 { font-size: 56px; }
}

@media (max-width: 520px) {
  .ticker-inner { padding-block: 13px; font-size: clamp(12px, 3vw, 14px); letter-spacing: 0; }
  .ticker-star { font-size: 10px; }
}

@media (max-width: 340px) {
  .ticker-inner { font-size: 11px; }
}

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