/* RoadMap Venture — shared page styles. Locked design tokens; no new fonts or colors without John's approval. */
:root {
  --ivory: #faf8f5; --ivory-2: #f3efe9;
  --ink: #1a1814; --ink-2: #3a342c; --ink-3: #6b6057;
  --gold: #c8a96e; --gold-lt: #e8d9bc;
  --rule: rgba(200,169,110,.25);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ivory); color: var(--ink); font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 56px; }
.section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.section.alt { background: var(--ivory-2); }
.section.dark { background: var(--ink); color: var(--ivory); border-bottom: none; }

.overline { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.overline::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.1; color: inherit; }
h1 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 24px; }
h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
h3 { font-size: 26px; margin-bottom: 10px; }
h1 em, h2 em { font-style: italic; color: var(--ink-3); }
.dark h2 em { color: rgba(250,248,245,.55); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 720px; }
.dark .lead { color: rgba(250,248,245,.7); }
.muted { color: var(--ink-3); font-size: 14px; }
p + p { margin-top: 14px; }

.page-hero { padding: 148px 0 80px; border-bottom: 1px solid var(--rule); }

.btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: 14px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); transition: background .2s, color .2s; cursor: pointer; }
.btn:hover { background: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.dark .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--rule); padding: 32px; display: flex; flex-direction: column; }
.section.alt .card { background: var(--ivory); }
.card .tag { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--ink-2); }
.card .more { margin-top: auto; padding-top: 20px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.card .more::after { content: ' →'; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }

.fix-list { list-style: none; border-top: 1px solid var(--rule); }
.fix-list li { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.fix-list .problem { color: var(--ink-3); }
.fix-list .answer { color: var(--ink); }
.fix-list .answer::before { content: '→ '; color: var(--gold); }

.plain-list { list-style: none; }
.plain-list li { padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.plain-list li::before { content: ''; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--gold); }
.plain-list strong { font-weight: 500; color: var(--ink); }

.pill { display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--rule); padding: 3px 10px; margin-left: 8px; vertical-align: middle; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 40px; }
.stat { background: var(--ivory); padding: 28px; }
.stat b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 44px; line-height: 1; }
.stat span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.cta-band { padding: 80px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }

/* Contact form */
.cf { display: flex; flex-direction: column; gap: 18px; }
.cf label { display: flex; flex-direction: column; gap: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.cf input, .cf textarea, .cf select { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1px solid var(--rule); padding: 12px 14px; outline: none; }
.cf input:focus, .cf textarea:focus, .cf select:focus { border-color: var(--gold); }
.cf .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
#contactStatus { font-size: 13px; color: var(--ink-3); min-height: 1.4em; }
#contact { scroll-margin-top: 68px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 112px 0 56px; }
  .grid-2, .grid-3, .split, .stats { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .fix-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* Product page top: full width; left column = title and line, right column = picture from the title down. */
.wrap.hero2 { max-width: none; }
.hero2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 56px; align-items: start; }
.hero2 > div { display: contents; }
.hero2 h1 { grid-column: 1; grid-row: 1; white-space: nowrap; margin-top: 1.1em; margin-bottom: 24px; font-size: clamp(34px, calc((100vw - 376px) / 18), 76px); }
.hero2 .tagline { grid-column: 1; grid-row: 2; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; color: var(--ink-2); margin: 0; }
.hero2 .stats { grid-column: 1; grid-row: 3; margin-top: 28px; }
.hero2 .shot { grid-column: 2; grid-row: 1 / span 5; display: block; width: 100%; height: auto; margin-top: 14px; border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(26,24,20,.10); }
.hero2 .hero2-more { grid-column: 1; grid-row: 4; margin-top: 56px; }
.hero2 .hero2-more h2 { font-size: clamp(24px, calc((100vw - 376px) / 38), 40px); white-space: nowrap; margin-bottom: 8px; }
.hero2 .hero2-more .fix-list { margin-top: 20px; }
.hero2 .hero2-box { grid-column: 1; grid-row: 1 / span 3; align-self: start; background: var(--ivory-2); border: 1px solid var(--rule); padding: 44px 48px 48px; margin-top: 14px; }
.hero2 .hero2-box h1 { margin-top: 0; font-size: clamp(30px, calc((100vw - 376px) / 23.5), 76px); }
.hero2 .hero2-box { text-align: center; }
.hero2 .hero2-box .btn-row { justify-content: center; }
.hero2 .hero2-box .stats { background: var(--rule); }
.hero2 .hero2-box .stat { background: var(--ivory); }
.hero2 .hero2-box ~ .hero2-more { margin-top: 112px; }
.page-hero:has(.hero2) { padding-top: 112px; }
@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; }
  .hero2 h1 { white-space: normal; font-size: clamp(40px, 10vw, 56px); }
  .hero2 .hero2-more h2 { white-space: normal; }
  .hero2 h1, .hero2 .tagline, .hero2 .stats, .hero2 .shot, .hero2 .hero2-more, .hero2 .hero2-box { grid-column: 1; grid-row: auto; }
  .hero2 .hero2-box { padding: 28px 20px; }
  .hero2 .hero2-box ~ .hero2-more { margin-top: 56px; }
  .hero2 .shot { margin-top: 28px; }
  .hero2 h1 { margin-top: 0; }
}

/* Second section on product pages: text and list left, picture right (same proportions as the top). */
.wrap.split2 { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); column-gap: 56px; align-items: start; }
.split2 .shot { display: block; width: 100%; height: auto; margin-top: 14px; border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(26,24,20,.10); }
@media (max-width: 900px) { .wrap.split2 { grid-template-columns: 1fr; } .split2 .shot { margin-top: 28px; } }
