/* THE HUB · Variant C "The Video Wall" · built from variants/c-design artboards */

:root {
  --blue: #183C58;
  --red: #DC250D;
  --cream: #F5F3E5;
  --slate: #4B768A;
  --aqua: #99D1D2;
  --plum: #702946;
  --seafoam: #80C8B5;
  --coral: #F37961;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --text: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

* { box-sizing: border-box; }
html { background: var(--blue); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blue); color: var(--cream); font-family: var(--text); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
main { width: 100%; overflow: clip; }

/* ---------- shared pieces ---------- */
.scene { position: relative; width: 100%; overflow: hidden; }
.media { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: var(--slate); }
.frame { position: relative; width: 100%; overflow: hidden; background: var(--slate); }
.shade { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.shade-hero { height: 36%; background: linear-gradient(180deg, rgba(24,60,88,0) 0%, rgba(24,60,88,0.62) 100%); }
.shade-dusk { height: 32%; background: linear-gradient(180deg, rgba(24,60,88,0) 0%, rgba(24,60,88,0.6) 100%); }

.display { font-family: var(--display); font-weight: 900; line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; color: var(--cream); text-shadow: 0 2px 18px rgba(24,60,88,0.5); opacity: 0.7; }
.display-blue { color: var(--blue); text-shadow: none; opacity: 1; }
.kicker { font-family: var(--text); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua); }
.kicker-red { color: var(--red); opacity: 0.7; }

.cta { display: inline-flex; flex-direction: row; align-items: center; gap: 14px; background: var(--red); color: var(--cream); opacity: 0.7; padding: 20px 34px; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; box-shadow: 0 8px 28px rgba(0,0,0,0.3); transition: background-color .2s ease, transform .2s ease; }
.cta:hover { background: var(--coral); }
.cta:active { transform: translateY(1px); }
.cta svg { flex: none; }
.cta:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

.corner { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.corner-bl { left: 40px; bottom: 40px; }
.cta-corner { position: absolute; right: 40px; bottom: 40px; }
/* bottom row: copy on the left, the owners note and Get in touch on the right.
   One flex row, so the two sides can never overlap at any width. */
.bottom-row { position: absolute; left: 40px; right: 40px; bottom: 40px; display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
.bottom-row .corner-bl { position: static; min-width: 0; flex: 1 1 auto; max-width: none; }
.corner-br { display: flex; flex-direction: row; align-items: center; gap: 24px; flex: 0 0 auto; }
.corner-br .cta-corner { position: static; }
.owners { width: 320px; padding: 16px 20px 17px; background: rgba(24,60,88,0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 7px; }
.owners p { margin: 0; }
.owners-kicker { font-family: var(--text); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua); }
.owners-text { font-family: var(--text); font-size: 14px; line-height: 1.45; color: var(--cream); }
.owners-co { color: var(--cream); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(245,243,229,0.5); text-underline-offset: 3px; }
.owners-co:hover { color: var(--aqua); }
.owners-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 3px; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aqua); text-decoration: none; }
.owners-link:hover { color: var(--cream); }
.owners-link:focus-visible, .owners-co:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
/* on the cream story page */
.cta-row { display: flex; flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.owners--light { background: rgba(24,60,88,0.07); -webkit-backdrop-filter: none; backdrop-filter: none; }
.owners--light .owners-kicker { color: var(--slate); }
.owners--light .owners-text { color: var(--blue); }
.owners--light .owners-co { color: var(--blue); text-decoration-color: rgba(24,60,88,0.4); }
.owners--light .owners-co:hover { color: var(--slate); }
.owners--light .owners-link { color: var(--blue); }
.owners--light .owners-link:hover { color: var(--slate); }

.badge { position: absolute; left: 32px; top: 32px; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; opacity: 0.7; }
.badge img { width: 120px; height: 120px; }

/* scene entry: corner type fades up 12px over 500ms */
.js .fade { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .is-in .fade { opacity: 1; transform: none; }
.js .is-in .fade:nth-child(2) { transition-delay: .08s; }
.js .is-in .fade.cta, .js .is-in .fade .cta, .cta { opacity: 0.7; }

/* ---------- hero video wall ---------- */
.hero { background: var(--blue); }
.wall { display: grid; width: 100%; height: 100%; }
.panel { position: relative; overflow: hidden; background: var(--slate); }
.panel img, .panel video { width: 100%; height: 100%; object-fit: cover; }
.media-hero { object-position: 50% 45%; }
.media-lawn { object-position: 50% 55%; }
.panel-photo img { object-position: 50% 100%; transform-origin: 50% 100%; }
.kenburns img { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.04); } }

/* ---------- ticker ---------- */
.ticker { position: relative; width: 100%; overflow: hidden; background: var(--red); display: flex; align-items: center; opacity: 0.7; }
.track { display: flex; flex-direction: row; align-items: center; white-space: nowrap; will-change: transform; animation: hub-ticker 46s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.run { display: flex; flex-direction: row; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--display); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--cream); line-height: 1; }
.run i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--aqua); flex: none; }
@keyframes hub-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- confetti ---------- */
.confetti { background: var(--plum); }

/* ---------- pillars ---------- */
.pillars { display: grid; background: var(--blue); position: relative; }
.pillars::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 46% 38% at 50% 50%, rgba(24,60,88,0.82) 0%, rgba(24,60,88,0.55) 55%, rgba(24,60,88,0) 100%); }
.memory { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; color: #FFFFFF; opacity: 0.7; pointer-events: none; }
.memory-line { margin: 0 0 10px; font-family: var(--text); font-weight: 600; font-size: 26px; letter-spacing: 0.02em; color: #FFFFFF; }
.memory-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: 104px; line-height: 0.9; letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap; color: #FFFFFF; }

.pillar { position: relative; overflow: hidden; background: var(--blue); }
.pillar img { width: 100%; height: 100%; object-fit: cover; }
.ratio-wide { aspect-ratio: 960 / 533; }
.ratio-photo { aspect-ratio: 3 / 2; }
.label { position: absolute; left: 24px; top: 24px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: rgba(24,60,88,0.88); color: var(--cream); padding: 14px 18px; }
.label-title { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.label-sub { font-family: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aqua); }

/* ---------- story (cream) ---------- */
.story { background: var(--cream); color: var(--blue); display: flex; }
.story-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 64px; }
.story-top, .story-bottom { display: flex; flex-direction: column; align-items: flex-start; }
.story-top { gap: 28px; }
.story-bottom { gap: 40px; }
.story .cta { box-shadow: none; }
.lede { max-width: 560px; font-family: var(--text); font-size: 22px; font-weight: 400; line-height: 1.45; color: var(--blue); text-wrap: pretty; }
.marks { display: flex; flex-direction: row; gap: 56px; align-items: flex-start; flex-wrap: nowrap; }
.mark { display: flex; flex-direction: column; gap: 4px; }
.mark-big { font-family: var(--display); font-weight: 900; line-height: 1; color: var(--red); opacity: 0.7; text-transform: uppercase; }
.mark-sub { font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.story-photo { display: flex; align-items: center; justify-content: center; }
.story-photo img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }

/* ---------- dusk ---------- */
.dusk { background: var(--blue); }

/* ---------- footer ---------- */
.foot { width: 100%; background: var(--blue); border-top: 1px solid rgba(153,209,210,0.3); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; flex-direction: row; align-items: center; gap: 16px; font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); }
.foot-brand img { width: 44px; height: 44px; }
.foot-copy { font-family: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--aqua); }

/* =====================================================================
   DESKTOP (Main.dc.html · 1920x1000, one scene per screen, hard cuts)
   ===================================================================== */
@media (min-width: 901px) {
  html { scroll-snap-type: y mandatory; }
  .scene { scroll-snap-align: start; scroll-snap-stop: normal; }
  .hero, .confetti, .dusk { height: var(--vh); }
  .story { min-height: var(--vh); }
  .pillars { scroll-snap-align: start; }
  .ticker { scroll-snap-align: end; }
  .foot { scroll-snap-align: end; }

  .wall { grid-template-columns: 585fr 750fr 585fr; }
  .cta-mobile { display: none; }
  .kicker { font-size: 14px; }
  .display { font-size: clamp(56px, 5vw, 96px); }

  .ticker { height: clamp(72px, 5.833vw, 112px); }
  .run { font-size: clamp(38px, 3.125vw, 60px); }

  .frame-wide { position: absolute; inset: 0; }
  .frame-wide .media { position: absolute; inset: 0; }

  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: var(--vh); }
  .pillar { aspect-ratio: auto; height: 100%; min-height: 0; }

  .story-copy { width: 41.667%; padding: 5vw 3.333vw 5vw 5vw; min-height: var(--vh); }
  .display-blue { font-size: clamp(52px, 4.583vw, 88px); }
  .lede { font-size: clamp(18px, 1.146vw, 22px); }
  .mark-big { font-size: clamp(40px, 3.333vw, 64px); }
  .story-photo { width: 58.333%; padding: 80px 80px 80px 0; }
  .story-photo img { width: min(100%, calc((var(--vh) - 160px) * 4 / 3)); }

  .foot { height: 96px; padding: 0 40px; }
}

/* =====================================================================
   MOBILE (Mobile.dc.html · 390 wide, every frame at its own aspect)
   ===================================================================== */
@media (max-width: 900px) {
  .cta { gap: 12px; padding: 16px 24px; min-height: 48px; font-size: 22px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
  .cta-corner { display: none; }
  .kicker { font-size: 11px; letter-spacing: 0.2em; }
  .badge { left: 16px; top: 16px; width: 76px; height: 76px; }
  .badge img { width: 76px; height: 76px; }

  /* hero: the vertical drone clip at its native 9:16 */
  .hero { background: var(--slate); }
  .wall { display: block; aspect-ratio: 608 / 1080; }
  .panel-photo, .panel-lawn { display: none; }
  .panel-video { width: 100%; height: 100%; }
  .media-hero { object-position: 50% 50%; }
  .shade-hero { height: 300px; background: linear-gradient(180deg, rgba(24,60,88,0) 0%, rgba(24,60,88,0.7) 100%); }
  .hero .corner-bl { position: static; padding: 0 20px 24px; gap: 18px; }
  .hero .kicker { margin-bottom: -8px; }
  .display { font-size: 56px; text-shadow: 0 2px 14px rgba(24,60,88,0.5); }

  .ticker { height: 56px; }
  .track { animation-duration: 40s; }
  .run { gap: 20px; padding-right: 20px; font-size: 30px; }
  .run i { width: 8px; height: 8px; }

  /* confetti at 16:9, no crop, title block below */
  .frame-wide { aspect-ratio: 16 / 9; }
  .confetti .corner-bl, .dusk .corner-bl { position: static; }
  .confetti .corner-bl { padding: 28px 20px 32px; gap: 8px; }
  .confetti .display, .dusk .display { font-size: 52px; text-shadow: none; }

  .pillars { grid-template-columns: 1fr; }
  .memory-title { font-size: 36px; white-space: normal; }
  .memory-line { font-size: 12px; margin-bottom: 6px; }
  .pillars::after { background: radial-gradient(ellipse 70% 22% at 50% 50%, rgba(24,60,88,0.85) 0%, rgba(24,60,88,0.55) 60%, rgba(24,60,88,0) 100%); }

  .story { flex-direction: column; }
  .story-copy { padding: 48px 20px 40px; gap: 28px; }
  .story-top { gap: 28px; }
  .story-bottom { gap: 28px; }
  .display-blue { font-size: 60px; }
  .lede { font-size: 17px; line-height: 1.5; }
  .marks { gap: 24px; flex-wrap: wrap; }
  .mark { gap: 2px; }
  .mark-big { font-size: 40px; }
  .mark-sub { font-size: 11px; letter-spacing: 0.12em; }
  .story-photo { display: none; }

  .shade-dusk { display: none; }
  .dusk-copy { display: flex; flex-direction: column; }
  .dusk .corner-bl { padding: 36px 20px 40px; gap: 22px; }
  .bottom-row { position: static; flex-direction: column; align-items: stretch; gap: 0; }
  .corner-br { flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px 28px; }
  .owners { width: auto; }
  .hero .bottom-row { position: absolute; left: 0; right: 0; bottom: 0; }
  .hero .corner-br { display: none; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .dusk .kicker { margin-bottom: -12px; }

  .foot { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 20px 28px; }
  .foot-brand { gap: 12px; font-size: 12px; letter-spacing: 0.1em; }
  .foot-brand img { width: 36px; height: 36px; }
  .foot-copy { font-size: 12px; }
}

/* ---------- reduced motion: posters hold, ticker stops, no drift ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; scroll-behavior: auto; }
  .track, .kenburns img { animation: none; }
  .js .fade { opacity: 1; transform: none; transition: none; }
  .js .fade.cta, .cta { opacity: 0.7; }
  .cta { transition: none; }
}

/* ---------- inquiry form (fields and states mirror hubexperienceco.com/contact) ---------- */
.inq { border: 0; padding: 0; margin: auto; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); background: var(--blue); color: var(--cream); box-shadow: 0 24px 80px rgba(0,0,0,0.45); }
.inq::backdrop { background: rgba(24,60,88,0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.inq-form { position: relative; margin: 0; }
.inq-body { display: flex; flex-direction: column; gap: 18px; padding: 40px 44px 40px; }
.inq-body[hidden], .inq-error[hidden] { display: none; }
.inq-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--aqua); cursor: pointer; display: grid; place-items: center; }
.inq-close:hover { color: var(--cream); }
.inq-kicker { margin: 0; font-family: var(--text); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua); }
.inq-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3vw, 40px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; color: var(--cream); }
.inq-lede { margin: 0; font-family: var(--text); font-size: 15px; line-height: 1.45; color: rgba(245,243,229,0.82); }
.inq-field { display: flex; flex-direction: column; gap: 6px; }
.inq-field label { font-family: var(--text); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua); }
.inq-field label span { color: rgba(245,243,229,0.5); font-weight: 600; letter-spacing: 0.12em; }
.inq-field input, .inq-field textarea { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid rgba(245,243,229,0.32); border-radius: 0; background: transparent; padding: 8px 0; font-family: var(--text); font-size: 16px; line-height: 1.4; color: var(--cream); resize: none; }
.inq-field input::placeholder, .inq-field textarea::placeholder { color: rgba(245,243,229,0.42); }
.inq-field input:focus, .inq-field textarea:focus { outline: none; border-bottom-color: var(--aqua); }
.inq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-error { margin: 0; font-family: var(--text); font-size: 14px; line-height: 1.45; color: var(--aqua); }
.inq-actions { display: flex; flex-direction: row; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.inq-submit { font-size: 20px; padding: 16px 26px; box-shadow: none; border: 0; cursor: pointer; }
.inq-submit[disabled] { opacity: 0.45; cursor: default; }
.inq-direct { font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }
.inq-direct:hover { color: var(--cream); }
@media (max-width: 900px) {
  .inq-body { padding: 32px 22px 28px; gap: 16px; }
  .inq-actions { flex-direction: column; align-items: stretch; }
  .inq-submit { justify-content: center; }
}
