:root {
  --ink: #15130f;
  --cream: #f2eee3;
  --paper: #e5dfd1;
  --gold: #e6a83d;
  --deep: #071419;
  --wine: #4b1728;
  --line: rgba(21, 19, 15, .2);
  --light-line: rgba(255, 255, 255, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; }
body.dark-page { background: var(--deep); color: white; }
img { max-width: 100%; }
a { color: inherit; }
button, a { font: inherit; }

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 227, .96);
  position: relative;
  z-index: 20;
}
.site-header-dark { background: #09151a; border-bottom-color: var(--light-line); color: white; }
.brand { display: flex; align-items: center; gap: 12px; width: max-content; text-decoration: none; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; font-family: "Italiana", serif; font-size: 1rem; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-size: .77rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.site-nav a { padding: 10px 0 8px; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { border-bottom-color: currentColor; }
.site-nav .nav-access { padding: 11px 16px; border: 1px solid currentColor; border-radius: 999px; }
.site-nav .nav-access:hover, .site-nav .nav-access:focus-visible { background: var(--ink); color: white; }
.site-header-dark .site-nav .nav-access:hover, .site-header-dark .site-nav .nav-access:focus-visible { background: white; color: var(--deep); }
.author { justify-self: end; margin: 0; font-family: "Italiana", serif; font-size: clamp(1.15rem, 2vw, 1.65rem); }

.eyebrow { margin: 0 0 20px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Italiana", serif; font-weight: 400; line-height: .9; letter-spacing: -.035em; }
h1 { font-size: clamp(3.4rem, 6vw, 7.5rem); }
h2 { font-size: clamp(3rem, 5vw, 6.3rem); }
h1 em, h2 em { color: #77501d; font-weight: 400; }
.dark-page h1 em, .dark-page h2 em, .companion-panel h2 em { color: var(--gold); }
.lede, .large-copy { font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; }
.large-copy { max-width: 54ch; }

.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 56px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent; font-weight: 600; text-decoration: none; transition: .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--ink); color: white; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover, .button-dark:focus-visible { background: transparent; color: var(--ink); }
.button-light { border-color: white; color: white; background: rgba(8, 17, 20, .18); backdrop-filter: blur(8px); }
.button-light:hover, .button-light:focus-visible { background: white; color: var(--ink); }
.button-gold { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.button-gold:hover, .button-gold:focus-visible { background: transparent; color: var(--gold); }
.text-link { font-weight: 600; text-underline-offset: 5px; }
.text-link-light { color: white; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-page { height: 100svh; overflow: hidden; }
.split-home { display: grid; grid-template-columns: 1fr 1fr; height: 100svh; min-height: 0; }
.product-column { min-width: 0; height: 100svh; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: rgba(102, 78, 38, .5) transparent; }
.companion-column { color: white; scrollbar-color: rgba(230, 168, 61, .65) transparent; }
.product-intro { position: relative; display: grid; place-items: center; min-height: 100svh; overflow: hidden; isolation: isolate; }
.book-intro { padding: clamp(24px, 3vw, 52px); background: var(--paper); }
.book-hero-lockup { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(24px, 4svh, 44px); width: 100%; }
.book-hero-logo { display: block; width: min(72%, 650px); height: auto; }
.book-panel-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  width: min(64%, 580px);
}
.book-panel-covers img { display: block; width: 100%; box-shadow: -12px 24px 44px rgba(25, 20, 13, .25); }
.book-panel-covers img:first-child { transform: rotate(-1deg); }
.book-panel-covers img:last-child { transform: rotate(1deg); }
.panel-section { padding: clamp(76px, 7vw, 120px) clamp(30px, 4.5vw, 82px); }
.product-column h2 { font-size: clamp(2.8rem, 4.5vw, 5.6rem); }
.product-column h3 { font-family: "Italiana", serif; font-weight: 400; }
.book-column h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.book-column h2 em { font-family: inherit; font-weight: 400; }
.panel-lede { max-width: 38ch; margin: 28px 0 0; font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.75; }
.book-story { background: var(--cream); }
.home-book-feature { background: var(--paper); }
.home-book-cover { position: relative; width: min(68%, 350px); margin: 0 auto clamp(54px, 6vw, 88px); }
.home-book-cover::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; left: -22%; top: -12%; border-radius: 50%; background: var(--gold); }
.home-book-cover img { display: block; width: 100%; box-shadow: -18px 28px 52px rgba(25, 20, 13, .3); transform: rotate(-2deg); }
.home-book-copy { max-width: 580px; margin: 0 auto; }
.home-book-copy h2 { margin-bottom: 24px; }
.home-book-copy > p:not(.edition) { font-size: 1.05rem; line-height: 1.75; }
.home-detail-list { list-style: none; padding: 0; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.home-detail-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.home-collection-note { background: var(--ink); color: white; }
.home-collection-note h2 em { color: var(--gold); }
.home-collection-note > p:last-child { margin: 28px 0 0; font-size: 1.05rem; line-height: 1.7; }
.companion-phone-panel { grid-template-rows: auto minmax(0, 1fr); align-content: center; gap: clamp(10px, 1.6svh, 20px); padding: clamp(24px, 3vw, 46px); background: radial-gradient(circle at 50% 46%, #1d3137 0, #0b1b20 38%, #061116 74%); }
.companion-hero-logo { position: relative; z-index: 3; display: block; width: min(78%, 650px); height: auto; }
.home-phone-stage { display: grid; place-items: center; width: 100%; height: auto; margin: 0; }
.silver-phone { position: relative; height: min(730px, 76svh); max-width: 82%; aspect-ratio: 858 / 1780; }
.silver-phone-frame { position: absolute; z-index: 0; width: 238.7%; max-width: none; height: auto; left: -69.46%; top: -7.53%; pointer-events: none; filter: drop-shadow(0 36px 48px rgba(0, 0, 0, .48)); }
.silver-phone iframe { position: absolute; z-index: 1; inset: 1.1% 3% 1%; display: block; width: 94%; height: 97.9%; border: 0; border-radius: 18% / 8%; background: #050505; }
.companion-story { background: var(--deep); }
.companion-story h2 em, .agency-home h2 em, .home-agency-cta h2 em { color: var(--gold); }
.companion-story .button { margin-top: 34px; }
.companion-flow-home { background: #efeade; color: var(--ink); }
.companion-flow-home h2 em { color: #8d6120; }
.home-flow-list { margin-top: 54px; border-top: 1px solid var(--line); }
.home-flow-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.home-flow-list span, .home-agency-steps span { color: #9b712d; font-size: .8rem; font-weight: 600; letter-spacing: .12em; }
.home-flow-list h3 { margin: 0 0 8px; font-size: 1.75rem; }
.home-flow-list p { margin: 0; line-height: 1.65; }
.agency-home { background: #0b1b20; }
.home-agency-steps { list-style: none; padding: 0; margin: 46px 0 0; border-top: 1px solid var(--light-line); }
.home-agency-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--light-line); }
.home-agency-steps p { margin: 0; line-height: 1.65; }
.home-privacy { background: var(--wine); }
.home-privacy h2 em { color: var(--gold); }
.home-privacy > p:last-child, .home-agency-cta > p:not(.eyebrow) { margin: 30px 0 0; font-size: 1.05rem; line-height: 1.75; }
.home-agency-cta { background: var(--deep); }
.home-agency-cta .button { margin-top: 34px; }
.column-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(24px, 4vw, 64px); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.column-footer p { margin: 0; }
.column-footer-light { background: var(--cream); color: var(--ink); }
.column-footer-dark { border-top: 1px solid var(--light-line); background: var(--deep); color: white; }

.book-hero { padding: clamp(72px, 9vw, 130px) clamp(24px, 7vw, 110px); }
.book-hero-copy { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: end; margin-bottom: clamp(80px, 10vw, 150px); }
.book-hero-copy .large-copy { margin: 0 0 6px; }
.book-feature { display: grid; grid-template-columns: minmax(260px, .78fr) 1.22fr; gap: clamp(48px, 9vw, 150px); align-items: center; max-width: 1180px; margin: 0 auto; }
.book-feature-image { position: relative; }
.book-feature-image::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: -20%; top: -14%; border-radius: 50%; background: var(--gold); z-index: -1; }
.book-feature-image img { display: block; width: 100%; box-shadow: -20px 30px 55px rgba(25, 20, 13, .3); transform: rotate(-2deg); }
.book-feature-copy { max-width: 570px; }
.edition { margin: 0 0 12px; color: #815b22; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.book-feature-copy h2 { margin-bottom: 24px; }
.book-feature-copy > p:not(.edition) { font-size: 1.08rem; line-height: 1.7; }
.detail-list { display: grid; gap: 0; list-style: none; padding: 0; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.detail-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.collection-note { padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 110px); background: var(--ink); color: white; }
.collection-note h2 em { color: var(--gold); }
.collection-note > p:last-child { margin: 28px 0 0; font-size: 1.08rem; }

.companion-hero { display: grid; grid-template-columns: 1fr minmax(360px, .8fr); gap: clamp(48px, 8vw, 130px); align-items: center; min-height: calc(100svh - 88px); padding: clamp(70px, 8vw, 125px) clamp(24px, 7vw, 110px); overflow: hidden; background: radial-gradient(circle at 80% 40%, rgba(231,168,61,.18), transparent 30%), var(--deep); }
.companion-intro { max-width: 780px; }
.companion-intro .large-copy { margin: 32px 0; }
.phone-stage { justify-self: center; text-align: center; }
.phone-shell { position: relative; width: min(390px, 88vw); height: min(790px, 78svh); padding: 14px 8px 10px; border: 2px solid #403e39; border-radius: 48px; background: #050505; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.phone-shell iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 37px; background: #101a20; }
.phone-speaker { position: absolute; z-index: 2; top: 9px; left: 50%; width: 86px; height: 20px; border-radius: 999px; transform: translateX(-50%); background: #050505; }
.phone-fallback { display: inline-block; margin-top: 18px; color: rgba(255,255,255,.7); font-size: .78rem; text-underline-offset: 4px; }
.experience-flow { padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px); background: #efeade; color: var(--ink); }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: start; margin-bottom: clamp(60px, 8vw, 110px); }
.section-heading .eyebrow { padding-top: 12px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.flow-grid article { padding: 26px clamp(20px, 3vw, 44px) 10px 0; border-right: 1px solid var(--line); }
.flow-grid article + article { padding-left: clamp(20px, 3vw, 44px); }
.flow-grid article:last-child { border-right: 0; }
.flow-grid span, .process-list > li > span { color: #9b712d; font-size: .8rem; font-weight: 600; letter-spacing: .12em; }
.flow-grid h3, .process-list h3 { margin: 42px 0 12px; font-family: "Italiana", serif; font-size: 2rem; font-weight: 400; }
.flow-grid p, .process-list p { line-height: 1.65; }
.phone-first { display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; align-items: center; padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px); }
.phone-first > p { font-size: 1.1rem; line-height: 1.8; }

.agency-hero { display: grid; grid-template-columns: 1.1fr .65fr; gap: clamp(50px, 10vw, 160px); align-items: center; padding: clamp(72px, 9vw, 135px) clamp(24px, 7vw, 110px); background: var(--paper); }
.agency-copy .large-copy { margin: 32px 0; }
.agency-visual { max-width: 430px; margin: 0; justify-self: center; }
.agency-visual img { display: block; max-height: 700px; width: 100%; object-fit: cover; object-position: top; box-shadow: 0 28px 64px rgba(20,18,14,.28); }
.agency-visual figcaption { margin-top: 15px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.agency-process { padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px); }
.process-list { list-style: none; margin: 0 0 0 auto; padding: 0; max-width: 820px; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list h3 { margin: 0 0 8px; }
.process-list p { margin: 0; }
.privacy-callout { padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px); background: var(--wine); color: white; }
.privacy-callout h2 em { color: var(--gold); }
.privacy-callout > p:last-child { max-width: 650px; margin: 32px 0 0 auto; font-size: 1.12rem; line-height: 1.75; }
.agency-cta { padding: clamp(90px, 11vw, 160px) clamp(24px, 7vw, 110px); background: var(--deep); color: white; text-align: center; }
.agency-cta h2 em { color: var(--gold); }
.agency-cta > p:not(.eyebrow) { max-width: 570px; margin: 30px auto; font-size: 1.08rem; line-height: 1.7; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px clamp(22px, 4vw, 64px); background: var(--ink); color: #eae4d7; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer-dark { border-top: 1px solid var(--light-line); background: var(--deep); }
.site-footer p { margin: 0; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-nav { justify-self: center; }
  .brand-name { display: none; }
}

@media (max-width: 900px) {
  .site-header { display: flex; justify-content: space-between; gap: 18px; overflow-x: auto; }
  .site-nav { order: 3; }
  .author { display: none; }
  .home-page { height: auto; overflow: auto; }
  .split-home { display: flex; flex-direction: column; }
  .home-page .split-home { height: auto; }
  .product-column { height: auto; overflow: visible; }
  .split-panel { min-height: 100svh; padding: 54px 28px; }
  .silver-phone { height: min(800px, 84svh); max-width: 86vw; }
  .book-hero-copy, .section-heading, .phone-first { grid-template-columns: 1fr; }
  .book-hero-copy { gap: 34px; }
  .companion-hero { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 30px; }
  .home-phone-stage { margin-top: 0; }
  .agency-hero { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 74px; padding: 10px 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .site-nav { gap: 17px; overflow-x: auto; }
  .site-nav a { font-size: .68rem; }
  .site-nav .nav-access { display: none; }
  h1 { font-size: clamp(3.3rem, 17vw, 5.6rem); }
  h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .product-column h2 { font-size: clamp(2.65rem, 12vw, 4.4rem); }
  .panel-section { padding: 72px 24px; }
  .split-panel { padding: 46px 24px; }
  .panel-copy .lede { max-width: 28ch; margin: 24px 0; }
  .companion-panel { padding-bottom: 72px; }
  .companion-phone-panel { padding: 38px 20px; }
  .companion-hero-logo { width: min(90%, 540px); }
  .button { min-height: 52px; padding: 0 20px; gap: 24px; }
  .book-hero, .experience-flow, .phone-first, .agency-process, .privacy-callout, .agency-cta { padding-left: 24px; padding-right: 24px; }
  .book-feature { grid-template-columns: 1fr; gap: 60px; }
  .book-feature-image { width: min(78%, 380px); margin: 0 auto; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid article, .flow-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-grid h3 { margin-top: 25px; }
  .phone-shell { height: 74svh; }
  .silver-phone { height: min(800px, 82svh); max-width: 86vw; }
  .book-hero-lockup { gap: 24px; }
  .book-hero-logo { width: min(90%, 560px); }
  .book-panel-covers { width: min(94%, 540px); gap: 12px; }
  .home-book-cover { width: min(74%, 330px); }
  .column-footer { flex-direction: column; }
  .agency-hero { padding: 70px 24px 86px; }
  .agency-visual { width: min(86%, 380px); }
  .privacy-callout > p:last-child { margin-left: 0; }
  .site-footer { flex-direction: column; padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .book-panel-covers { transition: none; }
}
