/* ===========================================================================
   Website module — the few things the marketing pages need that site.css
   does not already have: the reel as a real <button>, plan cards with ticks,
   the podcast price list, the questionnaire, and the enquiry reader in the
   admin. Tokens only; no borders.
   ======================================================================== */

/* ----------------------------------------------------------- general ---- */
.website-kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); text-align: center; letter-spacing: 0; margin: 0 0 28px; }
.website-logos, .website-chips, .website-social, .website-ticks, .website-price-list, .website-notes, .website-stage-list { list-style: none; margin: 0; padding: 0; }
.website-hero-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.website-banner img { width: 100%; aspect-ratio: 2400 / 256; object-fit: cover; }
.website-service-title { font-size: clamp(40px, 6vw, 72px); max-width: 980px; margin-left: auto; margin-right: auto; }
.website-group-title { font-size: var(--fs-4); margin: 0 0 16px; }
.website-intro h2 { margin-bottom: 0; }
.website-figures { grid-template-columns: minmax(0, 1fr); }
.website-feature-link { display: flex; flex-direction: column; }
.website-feature-link p { margin-bottom: 18px; flex: 1; }
.website-quote { margin: 0; }
.website-quote p { font-size: var(--fs-body); color: var(--text); line-height: 1.5; }
.website-quote p::before { content: '“'; display: block; font-size: 44px; line-height: .8; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.website-pipeline .tile { min-height: 260px; padding-bottom: clamp(36px, 5vw, 56px); }
.website-pipeline .tile-dark .feature-num { color: var(--teal); }

/* Service cards on /services */
.website-service-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .4s var(--ease); }
.website-service-card:hover { text-decoration: none; transform: translateY(-2px); }
.website-service-card p { flex: 1; }
.website-service-grid { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.website-service-grid .card-title { font-size: 19px; }
.website-card-art { display: grid; place-items: center; background: var(--mint-soft); color: var(--teal-deep); }
.website-card-art.is-navy { background: var(--navy); color: var(--mint); }
.website-card-art .icon { width: 56px; height: 56px; stroke-width: 1.25; }
@media (max-width: 1240px) { .website-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .website-service-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------- reels ---- */
.reel-wrap { margin: 0; }
.reel-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); }
button.reel { width: 100%; padding: 0; border: 0; margin: 0; font: inherit; text-align: left; cursor: pointer; }
.reel:focus-visible { outline: none; box-shadow: inset var(--ring); }
.reel-blank { display: block; aspect-ratio: 16 / 9; background: var(--navy); }
.reel-frame .reel-caption { pointer-events: none; }
.reel-frame .embed { border-radius: 0; }
.reel-note { margin-top: 12px; text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.website-reel-desc { margin: 0 4px; }
@media (max-width: 760px) { .website-reels { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------ plans + lists --- */
.website-plans { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.website-plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.website-plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.website-plan { display: flex; flex-direction: column; }
.website-plan .website-ticks { flex: 1; }
.website-plan.is-flagship { background: var(--ink); color: rgba(255, 255, 255, .8); }
.website-plan.is-flagship h3, .website-plan.is-flagship .website-plan-price strong { color: #fff; }
.website-plan.is-flagship .website-ticks .icon { color: var(--teal); }
.website-plan.is-flagship .muted { color: rgba(255, 255, 255, .6); }
.website-plan-price { margin: 0 0 18px; }
.website-plan-price strong { font-size: var(--fs-3); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.website-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); padding: 5px 0; }
.website-ticks .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--teal-deep); }
@media (max-width: 960px) { .website-plans, .website-plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .website-plans, .website-plans-4, .website-plans-2 { grid-template-columns: minmax(0, 1fr); } }

.website-price-list { background: var(--surface-2); border-radius: var(--r-xl); padding: 8px clamp(20px, 3vw, 32px); columns: 2; column-gap: 48px; }
.website-price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: var(--fs-sm); break-inside: avoid; box-shadow: inset 0 -1px 0 var(--hairline); }
.website-price-list strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) { .website-price-list { columns: 1; } }

.website-compare th[scope="row"] { color: var(--muted); font-weight: 500; white-space: nowrap; }
.website-compare td { color: var(--ink); vertical-align: top; }
.website-notes { margin-top: 24px; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.website-notes li { margin: 4px 0; }

.website-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.website-social { display: flex; flex-wrap: wrap; gap: 8px; }
.website-social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); }
.website-social a:hover { background: var(--surface-3); text-decoration: none; }
.website-social .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------- forms ---- */
.website-contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .website-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.website-thanks { padding: 24px 0; }
.website-thanks > .icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--teal-deep); }
.website-thanks .lead { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }

.website-stage-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 16px; }
.website-stage-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--pill); background: var(--surface); font-size: var(--fs-sm); color: var(--ink); }
.website-stage-list .feature-num { font-size: var(--fs-2xs); font-weight: 600; color: var(--teal-ink); }
.website-stage { border: 0; margin: 0; min-width: 0; }
.website-stage > h3 { margin-bottom: 6px; }
.website-question { margin-top: 28px; }
.website-question fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.website-q { display: block; font-size: var(--fs-body) !important; font-weight: 500; color: var(--ink) !important; margin-bottom: 6px; padding: 0; }
.website-qnum { display: block; font-size: var(--fs-2xs); font-weight: 600; color: var(--teal-ink); margin-bottom: 4px; }
.website-question .hint { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 10px; }
.website-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.website-option { padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); font-size: var(--fs-sm); cursor: pointer; }
.website-option:has(input:checked) { background: var(--mint-soft); color: var(--ink); }
.website-scale { width: 100%; }
.website-scale label { flex: 1; justify-content: center; cursor: pointer; }
.website-scale input { position: absolute; opacity: 0; pointer-events: none; }
.website-scale label:has(input:checked) { background: var(--surface); color: var(--ink); font-weight: 600; }
.website-stage-nav { margin-top: 32px; }
.website-progress { display: flex; align-items: center; gap: 14px; position: sticky; top: 112px; z-index: 5; background: var(--bg); padding: 10px 0; }
.website-progress .progress { flex: 1; }
/* Stage-by-stage mode, switched on by site.js */
.is-staged [data-q-stage]:not(.is-current) { display: none; }
.is-staged [data-q-submit]:not(.is-current) { display: none; }

/* ------------------------------------------------------------- legal ---- */
.website-legal .table-wrap { margin: 0 0 1.4em; }
.website-legal-nav { max-width: 720px; margin: 48px auto 0; display: flex; gap: 24px; flex-wrap: wrap; }

/* ------------------------------------------------------------- admin ---- */
.website-enquiry-row.is-unread .strong { font-weight: 700; }
.website-message { white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-sm); color: var(--text); line-height: 1.6; margin: 0; }
.website-answers dt { margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); }
.website-answers dd { margin: 4px 0 0; color: var(--ink); font-size: var(--fs-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.website-answers h3 { font-size: var(--fs-body); margin: 24px 0 0; color: var(--teal-ink); }
.website-answers h3:first-child { margin-top: 0; }
.website-reel-admin { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.website-reel-admin + .website-reel-admin { margin-top: 12px; }
.website-reel-thumb { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; }
.website-reel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.website-reel-thumb .btn { position: absolute; right: 8px; bottom: 8px; }
@media (max-width: 760px) { .website-reel-admin { grid-template-columns: minmax(0, 1fr); } }

/* Reel title sits under the film: the posters already carry their own titles. */
.website-reel-meta { padding: 14px 4px 0; }
.website-reel-meta .eyebrow { font-size: var(--fs-xs); margin-bottom: 2px; }
.website-reel-meta h3 { font-size: var(--fs-4); margin: 0; }

/* Content plans: one section per plan */
.website-cp { scroll-margin-top: 110px; }
.website-cp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.website-cp-head h2 { margin-bottom: 6px; }
.website-cp-price { text-align: right; }
.website-cp-price strong { display: block; font-size: var(--fs-1); font-weight: 650; letter-spacing: -0.035em; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.website-cp-deliverables { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.website-cp-deliverables .feature p { margin-bottom: 16px; }
.website-cp-deliverables .feature { display: flex; flex-direction: column; }
.website-cp-deliverables .feature p { flex: 1; }
.website-cp-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.section-white .website-cp-specs .pill { background: var(--surface); }
.website-cp-timeline { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.website-cp-timeline-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.website-cp-timeline-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.website-cp-timeline .website-ticks .icon { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 1100px) { .website-cp-deliverables, .website-cp-timeline-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .website-cp-deliverables, .website-cp-timeline, .website-cp-timeline-4, .website-cp-timeline-6 { grid-template-columns: minmax(0, 1fr); }
  .website-cp-price { text-align: left; }
}

/* Home: the Fortan Software tile. One tile across the page, so the copy is kept
   to a readable measure and the screenshot sits centred in the tile rather than
   bleeding the full width. */
.website-fortan { padding-top: clamp(40px, 5vw, 64px); }
.website-fortan .tile-sub { max-width: 720px; }
.website-fortan .tile-media, .website-fortan .tile-media.is-inset { width: min(100%, 960px); margin: auto auto 0; }
.website-fortan .tile-media img { aspect-ratio: 1200 / 630; border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* /links — tiles for every part of the Flayr estate */
.website-hub { padding-top: 0; }
.website-hub .website-kicker { text-align: left; margin-bottom: 16px; }
.website-hub-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .website-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .website-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .website-hub-grid { grid-template-columns: minmax(0, 1fr); } }
.website-hub-tile { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 32px); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease); }
.website-hub-tile:hover { transform: scale(1.01); text-decoration: none; }
.website-hub-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint-soft); color: var(--teal-ink); margin-bottom: 20px; }
.website-hub-icon .icon { width: 22px; height: 22px; }
.website-hub-tile h3 { font-size: var(--fs-4); margin-bottom: 6px; }
.website-hub-tile p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 20px; }
.website-hub-host { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 500; color: var(--teal-ink); }
.website-hub-host .icon { width: 13px; height: 13px; }
