/* Stay Frame Studios — site styles
   Company masterbrand: navy/teal (Global Lens).
   Product sub-brand: the Direct Booking Engine gets the darker ink/gold treatment.
   Gold is used deliberately — Engine sections, stat callouts, and CTAs — not everywhere. */

:root {
  --navy: #0B2942;
  --navy-deep: #071B2C;
  --teal: #17A398;
  --teal-deep: #128A81;
  --gold: #D9A441;
  --gold-deep: #B9852B;
  --ink: #0B0F14;
  --ink-soft: #151B22;
  --cream: #F7F5F0;
  --grey: #8FA3AF;
  --hairline: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--cream);
  background: var(--navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.01em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy-deep);
  padding: 10px 18px; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- NAV ---------- */
nav.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 41, 66, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}
nav.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
/* Global Lens mark — white artwork on transparency, so it sits directly on
   the navy bar with no container behind it. */
.brand .mark { height: 34px; width: auto; display: block; flex: none; }
.navlinks { display: flex; gap: 26px; font-size: 13.5px; letter-spacing: 0.02em; }
.navlinks a { color: var(--grey); transition: color .15s; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--cream); }
.navcta {
  background: var(--gold); color: var(--navy-deep); font-weight: 700;
  padding: 10px 20px; border-radius: 5px; font-size: 13.5px; letter-spacing: 0.02em; white-space: nowrap;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.navtoggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px; padding: 10px 9px; cursor: pointer; gap: 4px;
}
.navtoggle span { display: block; width: 18px; height: 2px; background: var(--cream); }
.mobilemenu { display: none; }

/* ---------- SHARED PIECES ---------- */
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  border: 1px solid rgba(217, 164, 65, 0.4); padding: 6px 14px; border-radius: 20px;
}
.btn-primary { display: inline-block; background: var(--gold); color: var(--navy-deep); font-weight: 700; padding: 15px 28px; border-radius: 6px; font-size: 14.5px; }
.btn-secondary { display: inline-block; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; padding: 15px 28px; border-radius: 6px; font-size: 14.5px; }
.btn-primary:hover { background: var(--gold-deep); }
.btn-secondary:hover { border-color: var(--teal); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin-left: 0; margin-right: 0; }
.section-head h2 { font-size: 38px; color: #fff; margin-top: 16px; }
.section-head p { color: var(--grey); font-size: 16px; margin-top: 14px; }

/* ---------- HERO ---------- */
header.hero {
  background:
    radial-gradient(ellipse at 75% 0%, rgba(23, 163, 152, 0.20), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 110px 0 90px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
header.hero.compact { padding: 76px 0 62px; }
/* 960px, not 680: the homepage headline's second line measures ~921px at 58px
   and would otherwise wrap mid-phrase. */
h1.headline { font-size: 58px; line-height: 1.06; max-width: 960px; color: #fff; margin-top: 22px; }
h1.headline em { font-style: normal; color: var(--teal); }
header.hero.compact h1.headline { font-size: 44px; }
.sub { font-size: 19px; color: var(--grey); max-width: 620px; margin-top: 26px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

/* ---------- STATS ---------- */
section.stats { padding: 64px 0; background: var(--navy-deep); }
.stats-intro, .stats-outro { font-size: 15px; line-height: 1.7; color: var(--grey); text-align: center; max-width: 620px; margin: 0 auto 36px; }
.stats-outro { margin: 44px auto 0; padding-top: 36px; border-top: 1px solid var(--hairline); }
.stats-intro strong, .stats-outro strong { color: #fff; display: block; font-size: 17px; margin-bottom: 8px; }
.stat-row { display: flex; text-align: center; }
.stat { flex: 1; padding: 0 24px; border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: none; }
.stat .num { font-family: Georgia, serif; font-size: 44px; color: var(--gold); }
.stat .label { font-size: 13.5px; color: var(--grey); margin-top: 8px; max-width: 220px; margin-left: auto; margin-right: auto; }

/* ---------- THE ENGINE (product sub-brand) ---------- */
section.engine { background: var(--ink); padding: 100px 0; }
.engine-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; align-items: stretch; }
.engine-col { padding: 0 22px; }
.engine-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 6px; }
.engine-col .sub-label { font-size: 13px; color: var(--grey); margin-bottom: 20px; }
.engine-card { background: var(--ink-soft); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 8px; padding: 16px 18px; margin-bottom: 12px; }
.engine-card:last-child { margin-bottom: 0; }
.engine-card .t { font-size: 14px; font-weight: 600; color: #fff; }
.engine-card .d { font-size: 12.5px; color: var(--grey); margin-top: 4px; }
.engine-mid { background: var(--ink-soft); border: 1px solid rgba(217, 164, 65, 0.25); border-radius: 10px; padding: 20px; }

/* The infographic. It's a dark render on a dark page, so it needs a defined
   edge — without the border it bleeds into the background and reads as a
   rendering bug rather than a deliberate image. */
.engine-figure { margin: 0; }
.engine-figure img {
  display: block; width: 100%; height: auto;
  border: 1px solid rgba(217, 164, 65, 0.25); border-radius: 12px;
  background: #000;
}
.engine-figure a:hover img { border-color: rgba(217, 164, 65, 0.6); }
.engine-figure figcaption {
  margin-top: 14px; text-align: center;
  font-size: 12.5px; color: var(--grey); letter-spacing: 0.02em;
}

.loop-strip {
  margin-top: 56px; background: var(--ink-soft); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.loop-strip .loop-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; }
.loop-steps { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--grey); flex-wrap: wrap; }
.loop-steps span.step { color: #fff; }

/* Long-form component breakdown on How It Works — the readable companion to
   the infographic, which carries the same labels as baked-in pixels. */
.detail-group { margin-top: 60px; }
.detail-group:first-child { margin-top: 0; }
.group-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; }
.group-sub { font-size: 13px; color: var(--grey); margin-top: 5px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.detail-items { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 28px; }
.detail-item h4 { font-family: Georgia, serif; font-size: 19px; color: #fff; margin-bottom: 9px; }
.detail-item p { font-size: 14px; color: var(--grey); line-height: 1.72; }
/* Attribution is the differentiator; it gets the gold marker the others don't. */
.detail-item.key { border-left: 2px solid var(--gold); padding-left: 20px; }

.badges { display: flex; justify-content: center; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.badge { text-align: center; max-width: 200px; }
.badge .t { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.03em; }
.badge .d { font-size: 12px; color: var(--grey); margin-top: 4px; }

/* ---------- PATH / TIERS ---------- */
section.path { background: var(--navy); padding: 100px 0; }
.path-track { display: flex; gap: 18px; margin-top: 20px; align-items: stretch; flex-wrap: wrap; }
.path-card { flex: 1; min-width: 230px; background: var(--navy-deep); border: 1px solid var(--hairline); border-radius: 10px; padding: 26px 22px; }
.path-card.active { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset; }
.path-card .step-num { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.path-card h3, .path-card h4 { font-family: Georgia, serif; font-size: 20px; color: #fff; margin-top: 10px; }
.path-card p { font-size: 13px; color: var(--grey); margin-top: 10px; line-height: 1.55; }
.path-card .price { margin-top: 16px; font-size: 13px; color: var(--teal); font-weight: 600; }
.path-card ul { margin-top: 14px; padding-left: 18px; font-size: 13px; color: var(--grey); line-height: 1.7; }
.path-card .callout {
  margin-top: 16px; padding: 14px 16px;
  background: rgba(217, 164, 65, 0.07);
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 8px;
  font-size: 13px; line-height: 1.62; color: var(--cream);
}
.path-card .callout strong { display: block; color: var(--gold); margin-bottom: 5px; }

/* Struck-through standard rate next to the founding price. */
.price .was { text-decoration: line-through; color: var(--grey); font-weight: 400; margin-right: 8px; }

/* Add-on block — deliberately not a tier card, since it isn't a rung on the ladder. */
.addon {
  margin-top: 40px; display: grid; grid-template-columns: 300px 1fr; gap: 32px;
  background: var(--navy-deep); border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 10px; padding: 32px;
}
.addon-head h3 { font-family: Georgia, serif; font-size: 24px; color: #fff; margin-top: 12px; }
.addon-body p { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 14px; }
.addon-body .price { font-size: 13px; color: var(--teal); font-weight: 600; }

.slots { display: inline-block; margin-top: 12px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217, 164, 65, 0.4); border-radius: 4px; padding: 4px 10px; }

/* ---------- PROOF ---------- */
section.proof { background: var(--navy-deep); padding: 100px 0; }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.tcard { background: var(--navy); border: 1px solid var(--hairline); border-radius: 10px; padding: 32px; }
.tcard .quote { font-family: Georgia, serif; font-size: 18px; color: #fff; line-height: 1.6; }
.tcard .who { margin-top: 20px; font-size: 13px; color: var(--teal); font-weight: 600; }
.tcard .role { font-size: 12.5px; color: var(--grey); }

/* ---------- PROSE (blog, long copy) ---------- */
/* Longhand on purpose: the shorthand form reset .wrap-narrow's 32px side
   padding to zero, so prose ran edge-to-edge on mobile. */
.prose { padding-top: 72px; padding-bottom: 90px; }
.prose h2 { font-size: 28px; color: #fff; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; color: #fff; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--grey); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--teal); text-decoration: underline; }
.prose strong { color: var(--cream); }

.policy-date { font-size: 13px; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }

.post-list { list-style: none; padding: 0; }
.post-list li { border-bottom: 1px solid var(--hairline); padding: 24px 0; }
.post-list h3 { font-size: 22px; color: #fff; }
.post-list .date { font-size: 12.5px; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.post-list p { color: var(--grey); font-size: 14.5px; margin-top: 8px; }
.empty-note { color: var(--grey); font-size: 15px; font-style: italic; }

/* ---------- FORMS ---------- */
.form-card { background: var(--navy-deep); border: 1px solid var(--hairline); border-radius: 10px; padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px; padding: 12px 14px; color: var(--cream);
  font-family: inherit; font-size: 15px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--grey); margin-top: 8px; line-height: 1.55; }
button.btn-primary { border: none; cursor: pointer; font-family: inherit; }

/* ---------- ROI CALCULATOR ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.calc-out { background: var(--ink); border: 1px solid rgba(217, 164, 65, 0.25); border-radius: 10px; padding: 32px; }
.calc-out .row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hairline); gap: 16px; }
.calc-out .row:last-child { border-bottom: none; }
.calc-out .row .k { font-size: 13.5px; color: var(--grey); }
.calc-out .row .v { font-family: Georgia, serif; font-size: 24px; color: var(--gold); white-space: nowrap; }
.calc-out .row.headline-row .v { font-size: 34px; }
.calc-note { font-size: 12.5px; color: var(--grey); margin-top: 18px; line-height: 1.6; }

/* ---------- FINAL CTA + FOOTER ---------- */
section.finalcta { background: linear-gradient(135deg, var(--navy-deep), var(--ink)); padding: 100px 0; text-align: center; }
section.finalcta h2 { font-size: 38px; color: #fff; max-width: 600px; margin: 0 auto; }
section.finalcta p { color: var(--grey); margin-top: 16px; font-size: 16px; }
.cta-row { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.cta-secondary-link { font-size: 13.5px; color: var(--grey); margin-top: 22px; }
.cta-secondary-link a { color: var(--teal); font-weight: 600; }

footer.site { background: var(--ink); padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site .fnote { font-size: 12px; color: var(--grey); }
footer.site a:hover { color: var(--teal); }

/* The nav collapses earlier than the rest of the layout: with seven links it
   runs out of room around 1100px, well before the 860px content breakpoint. */
@media (max-width: 1100px) {
  .navlinks { display: none; }
  .navtoggle { display: flex; flex-direction: column; }
  .mobilemenu { display: block; background: var(--navy-deep); border-bottom: 1px solid var(--hairline); padding: 8px 32px 20px; }
  .mobilemenu[hidden] { display: none; }
  .mobilemenu a { display: block; padding: 13px 0; font-size: 15px; color: var(--grey); border-bottom: 1px solid var(--hairline); }
  .mobilemenu a[aria-current="page"] { color: var(--cream); }
}

@media (max-width: 860px) {
  h1.headline, header.hero.compact h1.headline { font-size: 38px; }
  /* The homepage headline is long enough that 38px wraps "More direct
     bookings." itself. 32px is the largest size that holds three clean lines. */
  h1.headline-long { font-size: 32px; }
  .section-head h2, section.finalcta h2 { font-size: 30px; }
  .brand { font-size: 12.5px; gap: 8px; }
  .brand .mark { height: 28px; }
}

/* Below ~480px the wordmark, the CTA and the menu button can't all fit —
   the name was wrapping onto three lines. The mark carries the brand instead. */
@media (max-width: 480px) {
  .brand-name { display: none; }
  .engine-flow { grid-template-columns: 1fr; }
  .engine-col { padding: 0 0 28px; }
  .testimonials, .calc, .detail-items, .addon { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; gap: 24px; }
  .stat { border-left: none; border-top: 1px solid var(--hairline); padding-top: 24px; }
  .stat:first-child { border-top: none; padding-top: 0; }
}
