:root {
  --ink: #102238;
  --blue: #092f68;
  --blue-2: #154b87;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d7dbe0;
  --red: #a83a32;
  --muted: #5d6975;
  --shadow: 0 18px 50px rgba(7, 35, 70, .13);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 var(--sans);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(9, 47, 104, .13);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand img { width: 250px; height: auto; }
.nav-toggle { display: none; border: 1px solid var(--blue); background: transparent; color: var(--blue); padding: .55rem .8rem; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a { text-decoration: none; padding: .65rem .8rem; border-radius: 5px; font-weight: 650; font-size: .93rem; }
.site-nav a:hover, .site-nav a[aria-current='page'] { background: var(--blue); color: white; }

main { overflow: hidden; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 .7rem; color: var(--red); font-size: .78rem; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: -.025em; }
h1 { margin: 0 0 1.2rem; color: var(--blue); font-size: clamp(2.35rem, 4.5vw, 4.25rem); }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { margin: 0 0 .55rem; font-size: 1.45rem; }
p { margin: 0 0 1.1rem; }
.lead { font: 1.25rem/1.6 var(--serif); max-width: 62ch; }
.muted { color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.15rem; border: 2px solid var(--blue); background: var(--blue); color: white; text-decoration: none; font-weight: 750; border-radius: 5px; cursor: pointer; }
.button:hover { background: var(--blue-2); border-color: var(--blue-2); }
.button.secondary { color: var(--blue); background: transparent; }
.button.secondary:hover { color: white; background: var(--blue); }
.text-link { color: var(--blue); font-weight: 750; text-underline-offset: .2em; }

.hero { padding: clamp(3rem, 8vw, 7rem) 0 5rem; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.book-stage { position: relative; }
.book-stage::before { content: ''; position: absolute; inset: 12% -8% -12% 10%; background: var(--blue); border-radius: 50%; opacity: .07; }
.book-stage img { position: relative; width: 100%; filter: drop-shadow(0 26px 24px rgba(15, 28, 44, .18)); }
.stamp { position: absolute; right: 0; top: -1rem; z-index: 2; width: 106px; height: 106px; display: grid; place-items: center; text-align: center; background: var(--red); color: white; border-radius: 50%; transform: rotate(8deg); font-weight: 850; line-height: 1.15; box-shadow: 0 8px 24px rgba(82, 24, 20, .23); }

.photo-story { padding: 6rem 0; background: var(--blue); color: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 560px; color: rgba(255,255,255,.74); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-card { margin: 0; position: relative; background: white; overflow: hidden; border-radius: 4px; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: .85rem 1rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.photo-label { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--blue); padding: .35rem .65rem; font-weight: 850; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.single-spread { margin: 0; background: white; overflow: hidden; border-radius: 4px; box-shadow: 0 18px 44px rgba(0,0,0,.2); }
.single-spread a { display: block; }
.single-spread img { width: 100%; height: auto; }
.single-spread figcaption { padding: .8rem 1rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }

.home-book { padding: 6rem 0; }
.feature-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.feature-image { box-shadow: var(--shadow); border-radius: 4px; overflow: hidden; background: white; }
.feature-image img { width: 100%; }
.price { display: flex; align-items: baseline; gap: .7rem; margin: 1.8rem 0; }
.price strong { color: var(--blue); font: 700 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); }
.price span { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.fact { background: var(--white); padding: 1.15rem; }
.fact strong { display: block; color: var(--blue); font: 700 1.35rem/1.2 var(--serif); }
.fact span { color: var(--muted); font-size: .9rem; }

.page-hero { padding: clamp(3.5rem, 8vw, 7rem) 0 3.2rem; }
.page-hero h1 { max-width: 950px; }
.page-hero .lead { max-width: 760px; }
.page-photo { width: min(1180px, calc(100% - 40px)); height: min(64vw, 700px); margin: 0 auto 6rem; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); }
.page-photo.portrait-focus { object-position: center 42%; }
.history-copy { width: min(820px, calc(100% - 40px)); padding-bottom: 7rem; }
.history-photo { width: min(720px, calc(100% - 40px)); height: auto; margin-bottom: 4.5rem; }
.history-copy .article-title { margin-bottom: 1.6rem; color: var(--blue); font-size: clamp(2rem, 4vw, 3rem); }
.history-copy .lead { max-width: none; color: var(--blue); font-weight: 700; }

.timeline { padding: 1rem 0 6rem; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.timeline-item { padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line); }
.timeline-item + .timeline-item { padding-left: 2rem; }
.timeline-item:last-child { border-right: 0; }
.timeline-year { color: var(--red); font: 700 2rem/1 var(--serif); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; padding-bottom: 7rem; }
.story-grid img { border-radius: 4px; box-shadow: var(--shadow); }
.pullquote { margin: 2rem 0 0; padding-left: 1.5rem; border-left: 4px solid var(--red); font: 1.45rem/1.45 var(--serif); }

.book-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: 4rem 0 6rem; }
.book-intro img { border-radius: 4px; box-shadow: var(--shadow); }
.checklist { padding: 0; margin: 1.5rem 0; list-style: none; }
.checklist li { padding: .72rem 0 .72rem 1.7rem; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: '—'; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.spread { padding: 5rem 0; background: #e8edf3; }
.spread .section-head > p { color: #000; }
.spread-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; align-items: stretch; }
.spread-grid figure { margin: 0; min-height: 520px; position: relative; overflow: hidden; background: white; box-shadow: 0 16px 36px rgba(16, 34, 56, .12); }
.spread-grid img { width: 100%; height: 100%; object-fit: cover; }
.spread-grid figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.93); padding: .6rem .8rem; font-size: .86rem; font-weight: 750; }

.order-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; padding: 1rem 0 7rem; }
.order-summary { position: sticky; top: 120px; }
.order-summary img { border-radius: 4px; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.order-price { background: var(--blue); color: white; padding: 1.25rem; display: flex; justify-content: space-between; align-items: baseline; border-radius: 4px; }
.order-price strong { font: 700 2rem/1 var(--serif); }
.form-card { background: white; padding: clamp(1.5rem, 5vw, 3.2rem); border: 1px solid var(--line); border-top: 6px solid var(--blue); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { display: block; margin-bottom: .35rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #aab4be; border-radius: 4px; padding: .7rem .75rem; background: white; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.choice { display: flex; align-items: flex-start; gap: .6rem; margin: .55rem 0; }
.choice input { width: 19px; height: 19px; margin-top: .22rem; }
.form-note { font-size: .9rem; color: var(--muted); }
.total { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; margin: 1rem 0 1.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total output { color: var(--blue); font-weight: 850; }
.form-status { margin-top: 1rem; color: var(--blue); font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); padding: 0 0 7rem; }
.contact-card { background: var(--blue); color: white; padding: 2rem; border-radius: 4px; }
.contact-card a { color: white; }
.contact-logo-heading { margin: 0 0 1.25rem; }
.contact-logo-heading img { width: 100%; max-width: 360px; height: auto; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { border-top: 1px solid rgba(255,255,255,.24); padding: 1rem 0; }
.contact-photo { margin-top: 1.5rem; aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 3px; }

.site-footer { background: #061e3c; color: rgba(255,255,255,.82); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.footer-brand { font: 700 1.6rem/1 var(--serif); color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: white; text-underline-offset: .2em; }
.small { font-size: .87rem; }

@media (max-width: 850px) {
  .header-inner { min-height: 74px; width: min(100% - 28px, 1180px); }
  .brand img { width: 190px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; padding: .8rem 14px 1rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(16,34,56,.08); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: .75rem; }
  .hero-grid, .feature-grid, .book-intro, .order-layout, .contact-layout, .story-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-copy { max-width: 680px; }
  .book-stage { max-width: 680px; }
  .section-head { display: block; }
  .photo-pair, .spread-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline-item, .timeline-item + .timeline-item { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr; }
  .spread-grid figure { min-height: 460px; }
  .order-summary { position: static; }
  .single-spread figcaption { display: block; }
  .single-spread figcaption span { display: block; margin-top: .2rem; color: var(--muted); }
}

@media (max-width: 560px) {
  .shell, .narrow, .page-photo { width: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .photo-pair, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .stamp { width: 86px; height: 86px; font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
