/* Sunray Media Consultants — "Sunrise refresh" design system
   Tokens and components ported from the approved homepage design. */

:root {
  --navy-900: #0C1B3F;
  --navy-800: #14254E;
  --ink: #14254E;
  --body: #42506B;
  --muted: #5A6680;
  --line: #DCE3EE;
  --line-dark: #2A3B66;
  --bg-soft: #F3F6FB;
  --bg-warm: #FFF6E5;
  --sun-1: #FFC41F;
  --sun-2: #F7941D;
  --sun-3: #EB4A26;
  --ember: #C9361C;
  --amber: #DD6B12;
  --blue: #0E7DB8;
  --sky: #1BA0DA;
  --on-dark: #C9D4EA;
  --on-dark-muted: #9FB0D1;
  --gutter: clamp(16px, 4vw, 64px);
  --grad-sun: linear-gradient(90deg, #FFC41F, #F7941D 60%, #EB4A26);
  --grad-sun-short: linear-gradient(90deg, #FFC41F, #F7941D 55%, #EB4A26);
  --grad-ember: linear-gradient(90deg, #DD6B12, #C9361C);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.5;
}
img, video { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site { width: 100%; overflow: hidden; }

@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marquee-track { animation: none !important; } }

/* ---------- Typography ---------- */
.h-display, .h1, .h2, .h3, .h4 { font-family: var(--font-head); font-weight: 600; margin: 0; letter-spacing: -0.035em; }
.h-display { font-size: clamp(44px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.04em; }
.h1 { font-size: clamp(38px, 5.2vw, 80px); line-height: 1.02; }
.h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1; }
.h2-md { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; }
.h2-sm { font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.025em; }
.h3-sm { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.h4 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: 20px; line-height: 1.6; color: var(--body); margin: 0; }
.lead-lg { font-size: 19px; line-height: 1.6; color: var(--body); margin: 0; }
.text { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; }
.small { font-size: 15px; line-height: 1.5; color: var(--body); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.on-dark .lead, .on-dark .lead-lg, .on-dark .text, .on-dark .small { color: var(--on-dark); }
.grad-text { background: var(--grad-sun-short); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-ember { background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.eyebrow-blue { color: var(--blue); }
.eyebrow-gold { color: var(--sun-1); }
.eyebrow-muted { color: var(--body); }
.measure { max-width: 720px; }
.measure-sm { max-width: 560px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; } .mt-20 { margin-top: 80px; }
.stack > * + * { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 99px; border: 0;
  font: 700 16px var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-sun { background: var(--grad-sun); color: var(--navy-800); }
.btn-sun:hover { color: var(--navy-800); box-shadow: 0 16px 32px -16px rgba(247,148,29,.7); }
.btn-navy { background: var(--navy-800); color: #FFFFFF; }
.btn-navy:hover { color: #FFFFFF; background: var(--navy-900); }
.btn-ghost { background: transparent; border: 1.5px solid #FFFFFF; color: #FFFFFF; }
.btn-ghost:hover { color: #FFFFFF; background: rgba(255,255,255,.08); }
.btn-ghost-dark { background: transparent; border: 1.5px solid var(--navy-800); color: var(--navy-800); }
.btn-ghost-dark:hover { color: var(--navy-800); background: rgba(20,37,78,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--navy-800); text-underline-offset: 6px; }
.link-arrow .arrow { display: inline-block; transition: transform .3s; }
.link-arrow:hover .arrow { transform: translateX(6px); }
.on-dark .link-arrow { color: #FFFFFF; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--gutter); }
.site-header .logo { display: inline-flex; flex: 0 0 auto; }
.site-header .logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav > ul { display: flex; align-items: center; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #FFFFFF; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sun-1); }
.nav .has-menu { position: relative; }
.nav .has-menu > button {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0;
  color: #FFFFFF; font: 500 15px var(--font-body); cursor: pointer;
}
.nav .has-menu > button:hover { color: var(--sun-1); }
.nav .has-menu > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav .menu {
  position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%);
  min-width: 240px; margin: 0; padding: 10px; list-style: none;
  background: #FFFFFF; color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(12,27,63,.45);
  display: none; flex-direction: column;
}
.nav .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav .has-menu.open > .menu, .nav .has-menu:hover > .menu, .nav .has-menu:focus-within > .menu { display: flex; }
.nav .menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.nav .menu a:hover { background: var(--bg-soft); color: var(--ink); }
.nav .menu a[aria-current="page"] { color: var(--ember); }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; color: #FFFFFF; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }

/* Keep top-bar labels on one line; tighten spacing at laptop widths so eight items plus the button fit. */
.nav a, .nav .has-menu > button { white-space: nowrap; }
@media (max-width: 1340px) {
  .nav, .nav > ul { gap: 8px 16px; font-size: 14px; }
  .nav .btn { padding: 0 16px; font-size: 14px; min-height: 42px; }
  .site-header .logo img { height: 56px; }
}
@media (max-width: 1100px) {
  .site-header .logo img { height: 52px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 4px); flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #FFFFFF; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(12,27,63,.5); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav .has-menu > button { color: var(--ink); display: block; width: 100%; text-align: left; padding: 12px 14px; font-size: 17px; }
  .nav .has-menu > button { display: flex; align-items: center; justify-content: space-between; }
  .nav .has-menu > button::after { margin-right: 6px; }
  .nav .menu { position: static; transform: none; box-shadow: none; padding: 0 0 6px 14px; border-radius: 0; display: none; }
  .nav .has-menu.open > .menu { display: flex; }
  .nav .has-menu:hover > .menu { display: none; }
  .nav .has-menu.open:hover > .menu { display: flex; }
  .nav .btn { margin: 10px 14px 4px; color: var(--navy-800); font-size: 16px; }
}

/* ---------- Hero / dark sections ---------- */
.hero { position: relative; background: var(--navy-900); color: #FFFFFF; overflow: visible; }
.hero-glow { position: absolute; left: 50%; bottom: -460px; z-index: 0; width: 1100px; height: 700px; transform: translateX(-50%); border-radius: 999px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(247,148,29,0.28), rgba(235,74,38,0.08) 45%, rgba(235,74,38,0) 70%); }
.hero-clip { position: relative; overflow: hidden; }
.hero-body { position: relative; z-index: 2; padding: 40px var(--gutter) 120px; text-align: center; }
.hero-body-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero .lead { color: var(--on-dark); }
.sun-rule { position: relative; z-index: 3; height: 3px; background: linear-gradient(90deg, #1BA0DA, #FFC41F 60%, #EB4A26); }
.hero-video { position: relative; z-index: 2; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-900); }
.hero-video .fade-top { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(180deg, #0C1B3F 0%, rgba(12,27,63,0) 100%); pointer-events: none; }
.hero-video .fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(0deg, #0C1B3F 0%, rgba(12,27,63,0) 100%); pointer-events: none; }
.sound-fab { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(24px, 4vw, 56px); display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 99px; background: rgba(12,27,63,0.55); color: #FFFFFF; font-size: 15px; cursor: pointer; backdrop-filter: blur(8px); }
.sound-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 8px; border: 0; background: transparent; color: #FFFFFF; font: 500 16px var(--font-body); cursor: pointer; }
.sound-btn .ring { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 99px; border: 1.5px solid var(--sky); color: var(--sky); }

/* Inner-page hero */
.page-hero { position: relative; z-index: 2; padding: 48px var(--gutter) 96px; }
.page-hero-grid { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.page-hero-copy { flex: 1 1 520px; min-width: 0; }
.page-hero-media { flex: 1 1 380px; min-width: 0; max-width: 620px; }
.page-hero .h1 { font-size: clamp(38px, 4.8vw, 72px); }
.page-hero .lead { margin-top: 28px; max-width: 680px; }
.page-hero .btn-row { margin-top: 40px; }
.page-hero .eyebrow { color: var(--sun-1); }
.page-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.28); color: var(--on-dark); font-size: 14px; font-weight: 500; }
.page-hero-media .media-frame { box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }

/* ---------- Sections ---------- */
.section { padding: 130px var(--gutter) 120px; }
.section-tight { padding: 96px var(--gutter) 96px; }
.section-soft { background: var(--bg-soft); }
.section-dark { position: relative; background: var(--navy-900); color: #FFFFFF; }
.section-dark .h2, .section-dark .h3, .section-dark .h4 { color: #FFFFFF; }
.section-warm { position: relative; background: linear-gradient(180deg, #FFF6E5 0%, #FFFFFF 100%); overflow: hidden; }
.section-line { border-top: 1px solid var(--line); }
.glow-corner { position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 999px; pointer-events: none; background: radial-gradient(circle, rgba(247,148,29,0.35), rgba(247,148,29,0) 70%); }
.glow-top { position: absolute; left: 50%; top: -260px; width: 520px; height: 520px; transform: translateX(-50%); border-radius: 999px; pointer-events: none; background: radial-gradient(circle, rgba(255,196,31,0.45), rgba(255,196,31,0) 70%); }
.rel { position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.container-md { max-width: 980px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }
.split { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-end; justify-content: space-between; }
.split-top { align-items: flex-start; }
.split-main { flex: 1 1 560px; min-width: 0; }
.split-aside { flex: 0 1 380px; min-width: 0; }
.split-aside .text, .split-aside .lead-lg { margin-bottom: 24px; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.two-col > * { flex: 1 1 380px; min-width: 0; }
.two-col-wide { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.two-col-wide > .col-text { flex: 1 1 420px; min-width: 0; }
.two-col-wide > .col-media { flex: 1 1 380px; min-width: 0; }
.section-header { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-end; justify-content: space-between; margin-bottom: 72px; }
.section-header > .split-main .eyebrow { margin-bottom: 20px; }

/* ---------- Media ---------- */
.media-frame { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-900); }
.media-frame img, .media-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio-16-9 { aspect-ratio: 16 / 9; }
.media-frame.ratio-4-3 { aspect-ratio: 4 / 3; }
.media-frame.ratio-3-4 { aspect-ratio: 3 / 4; }
.media-frame.ratio-1-1 { aspect-ratio: 1 / 1; }
.media-frame.ratio-9-16 { aspect-ratio: 9 / 16; }
.media-frame.ratio-auto { aspect-ratio: auto; }
.media-frame.ratio-auto img { height: auto; }
.video-card.fit-contain img { object-fit: contain; }
.card-grid-square .card-img { aspect-ratio: 1 / 1; }
.media-shadow { box-shadow: 0 40px 80px -40px rgba(12,27,63,0.45); }
.video-card { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-900); aspect-ratio: 16 / 9; cursor: pointer; border: 0; padding: 0; width: 100%; text-align: left; color: #FFFFFF; }
.video-card.ratio-9-16 { aspect-ratio: 9 / 16; }
.video-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover img { transform: scale(1.03); }
.video-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,27,63,0) 55%, rgba(12,27,63,0.55) 100%); }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; width: clamp(64px, 9vw, 112px); height: clamp(64px, 9vw, 112px); border-radius: 999px; background: linear-gradient(135deg, #FFC41F, #F7941D 55%, #EB4A26); color: var(--navy-800); font-size: clamp(22px, 3vw, 36px); padding-left: 6px; }
.video-card .play-sm { width: 56px; height: 56px; font-size: 20px; padding-left: 4px; }
.video-card .caption { position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); right: 16px; color: #FFFFFF; font-size: 15px; font-weight: 500; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card.playing .play, .video-card.playing .shade, .video-card.playing .caption, .video-card.playing img { display: none; }
/* Masonry-style gallery: every photo keeps its own proportions, nothing is cropped. */
.photo-grid { columns: 4 240px; column-gap: 16px; }
.photo-grid .media-frame { aspect-ratio: auto; break-inside: avoid; margin-bottom: 16px; }
.photo-grid .media-frame img { height: auto; }
.ig-tile { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(160deg, #14254E, #0C1B3F); }
.ig-tile img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; transition: transform .5s; }
.ig-tile:hover img { transform: scale(1.04); }
.ig-tile .badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 99px; background: rgba(12,27,63,0.7); backdrop-filter: blur(8px); color: #FFFFFF; font-size: 14px; font-weight: 500; }
.ig-tile .title { position: absolute; left: 16px; right: 16px; top: 16px; color: #FFFFFF; font-size: 15px; font-weight: 500; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ig-grid-6 { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }

/* ---------- Lists & cards ---------- */
.numbered { list-style: none; margin: 72px 0 0; padding: 0; }
.numbered > li { display: flex; flex-wrap: wrap; gap: 16px 56px; padding: 40px 0; border-top: 1px solid var(--line); }
.numbered > li:last-child { border-bottom: 1px solid var(--line); }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.process-list > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: var(--ink); }
.process-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; }
.process-list .text { max-width: 760px; font-size: 18px; }
@media (max-width: 720px) { .process-list > li { grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; padding: 28px 0; } }
.numbered .num { flex: 0 0 auto; width: 90px; font-family: var(--font-head); font-size: 72px; font-weight: 600; line-height: 0.9; background: linear-gradient(180deg, #F7941D, #C9361C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbered .h3 { flex: 1 1 380px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.numbered .text { flex: 1 1 340px; font-size: 18px; }
.on-dark .numbered > li { border-color: var(--line-dark); }
.on-dark .numbered .num { background: linear-gradient(180deg, #FFC41F, #F7941D); -webkit-background-clip: text; background-clip: text; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 56px; }
.svc { display: block; position: relative; padding: 36px 0 40px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s; }
.svc:hover { transform: translateY(-4px); color: var(--ink); }
.svc-bar { position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: linear-gradient(90deg, #FFC41F, #EB4A26); transition: width .4s; }
.svc:hover .svc-bar { width: 100%; }
.svc .idx { display: block; font-size: 14px; font-weight: 700; color: var(--blue); }
.svc .h3-sm { margin: 14px 0 10px; }
.svc .text { font-size: 17px; line-height: 1.55; }
.on-dark .svc { color: #FFFFFF; border-color: var(--line-dark); }
.on-dark .svc:hover { color: #FFFFFF; }
.on-dark .svc .idx { color: var(--sun-1); }
.on-dark .svc .text { color: var(--on-dark); }

.timeline { position: relative; margin-top: 88px; }
.timeline .rail { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, #1BA0DA, #FFC41F, #EB4A26); }
.timeline ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 32px; }
.timeline .dot { display: block; width: 24px; height: 24px; border-radius: 99px; background: var(--sun-1); box-shadow: 0 0 0 6px var(--navy-900); }
.timeline .dot-2 { background: var(--sun-2); } .timeline .dot-3 { background: var(--sun-3); }
.timeline .h4 { margin: 28px 0 10px; }
.timeline .text { font-size: 16px; line-height: 1.55; }
.section-light .timeline .dot { box-shadow: 0 0 0 6px #FFFFFF; }
.section-soft .timeline .dot { box-shadow: 0 0 0 6px var(--bg-soft); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.card.card-white { background: #FFFFFF; border: 1px solid var(--line); }
.card.card-dark { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: #FFFFFF; }
.card .idx { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.card.card-dark .idx { color: var(--sun-1); }
.card .h4 { margin: 14px 0 10px; }
.card .text { font-size: 16px; line-height: 1.6; }
.card.card-dark .text { color: var(--on-dark); }
.card.card-dark .link-arrow { color: #FFFFFF; }
.card .link-arrow { margin-top: auto; padding-top: 20px; font-size: 15px; }
a.card:hover { box-shadow: 0 30px 60px -30px rgba(12,27,63,.35); transform: translateY(-3px); transition: transform .25s, box-shadow .25s; }
.card-img { margin: -32px -32px 24px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-900); }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-meta { font-size: 14px; color: var(--muted); font-weight: 500; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.55; color: var(--body); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 99px; background: var(--grad-sun); color: var(--navy-800); font-size: 13px; font-weight: 700; }
.on-dark .check-list li { color: var(--on-dark); }
.x-list li::before { content: "–"; background: var(--line); color: var(--body); }
.on-dark .x-list li::before { background: var(--line-dark); color: #FFFFFF; }
.check-list li strong { color: var(--ink); }
.on-dark .check-list li strong { color: #FFFFFF; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats .n { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--navy-800); }
.stats .n.hot { color: var(--ember); }
.stats .d { font-size: 15px; line-height: 1.5; color: var(--body); }
.stats-big .n { font-size: clamp(44px, 5vw, 72px); }
.on-dark .stats { border-color: var(--line-dark); } .on-dark .stats .n { color: #FFFFFF; } .on-dark .stats .n.hot { color: var(--sun-1); } .on-dark .stats .d { color: var(--on-dark); }

.chart { margin: 48px 0 0; }
.chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--body); }
.chart figcaption strong { color: var(--ink); }
.chart .bars { display: grid; gap: clamp(8px, 2vw, 40px); align-items: end; height: 360px; margin-top: 24px; border-bottom: 2px solid var(--ink); }
.chart .bar { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; }
.chart .bar .v { font-family: var(--font-head); font-size: clamp(14px, 2.2vw, 30px); font-weight: 600; text-align: center; margin-bottom: 10px; }
.chart .bar .v.hot { color: var(--ember); }
.chart .bar .fill { display: block; border-radius: 10px 10px 0 0; background: var(--blue); }
.chart .bar .fill.sun { background: linear-gradient(180deg, #FFC41F 0%, #F7941D 50%, #EB4A26 100%); }
.chart .bar .fill.soft { background: #5F8BBE; }
.chart .bar .fill.flat { background: #8C97AB; border-radius: 0; }
.chart .labels { display: grid; gap: clamp(8px, 2vw, 40px); margin-top: 14px; text-align: center; font-size: 15px; line-height: 1.35; }
.chart .labels strong { display: block; color: var(--ink); }
.chart .labels span { color: var(--body); }
.chart .labels .hot { color: var(--ember); }
.chart.chart-dense .labels, .chart.chart-dense .bar .v { font-size: clamp(11px, 1.4vw, 15px); }
.chart.chart-dense .bar .v { margin-bottom: 6px; }

.quote { margin: 0; }
.quote .mark { display: block; font-family: var(--font-head); font-size: 120px; line-height: 0.6; height: 52px; color: var(--sun-2); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 28px; font-size: 17px; }
.quote figcaption span { color: var(--body); }
.on-dark .quote figcaption span { color: var(--on-dark-muted); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.quote-grid .quote { display: flex; flex-direction: column; }
.quote-grid .quote .mark { height: 56px; }
.quote-grid .quote blockquote { flex: 1; font-size: 26px; font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.quote-grid .quote figcaption { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 16px; }
.quote-grid .quote figcaption strong { display: block; }
.section-light .quote-grid .quote figcaption { border-color: var(--line); }

.faq-rows { display: flex; flex-direction: column; }
.faq-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.faq-row:last-child { border-bottom: 1px solid var(--line); }
.faq-row .q { font-family: var(--font-head); font-size: 24px; font-weight: 500; }
.faq-row .a { font-size: 15px; font-weight: 700; color: var(--blue); }
.faq-row .arrow { display: inline-block; transition: transform .3s; }
.faq-row:hover .arrow { transform: translateX(8px); }
.faq-row:hover { color: var(--ink); }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; font-family: var(--font-head); font-size: clamp(20px, 2vw, 24px); font-weight: 500; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 99px; border: 1.5px solid var(--line); color: var(--blue); font-family: var(--font-body); font-size: 22px; font-weight: 500; transition: transform .3s, background .3s; }
.accordion details[open] summary::after { content: "–"; background: var(--grad-sun); border-color: transparent; color: var(--navy-800); }
.accordion .text { padding: 0 0 28px; max-width: 760px; }

.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 72px; animation: slide 40s linear infinite; }
.marquee-track img { height: 56px; width: auto; }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 17px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--body); border-bottom: 2px solid var(--ink); }
.cmp thead th.hot { color: var(--ember); }
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp td { color: var(--body); font-family: var(--font-head); font-size: 20px; }
.cmp td.hot { color: var(--ink); font-weight: 600; background: linear-gradient(90deg, rgba(255,196,31,.12), rgba(235,74,38,.06)); }
@media (max-width: 720px) { .cmp th, .cmp td { padding: 12px 10px; font-size: 15px; } .cmp td { font-size: 17px; } }

/* Contact */
.contact-grid { position: relative; display: flex; flex-wrap: wrap; gap: 64px 96px; }
.contact-copy { flex: 1 1 420px; max-width: 560px; }
.contact-copy .lead-lg { margin: 28px 0 48px; }
.contact-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; font-size: 16px; line-height: 1.55; }
.contact-dl dt { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); }
.contact-dl dd { margin: 6px 0 0; }
.contact-dl dd a.big { font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.contact-form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 36px; padding-top: 12px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field { min-height: 48px; padding: 8px 0; border: 0; border-bottom: 2px solid var(--navy-800); background: transparent; font: 400 20px var(--font-body); color: var(--navy-800); border-radius: 0; }
textarea.field { resize: vertical; min-height: 72px; }
.field:focus { outline: none; border-bottom-color: var(--sun-2); }
.form-note { font-size: 15px; line-height: 1.5; color: var(--body); }
.form-note.ok { color: #1F7A4D; font-weight: 500; }
.form-note.err { color: var(--ember); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* CTA band */
.cta-band { position: relative; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.cta-band .h4 { max-width: 680px; font-size: 24px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.section-light .cta-band, .section-soft .cta-band { border-color: var(--line); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 32px; }
.member .photo { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #F3F6FB, #DCE3EE); }
.member .photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member .photo.initials { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 56px; font-weight: 600; color: var(--navy-800); background: linear-gradient(160deg, #FFF6E5, #FFE2B3); }
.member .h4 { margin: 20px 0 4px; }
.member .role { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.member .text { margin-top: 12px; font-size: 16px; line-height: 1.6; }

/* Prose (blog, legal) */
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-top: 2em; }
.prose h3 { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.2; color: var(--ink); margin-top: 1.6em; }
.prose h1 { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.2; color: var(--ink); margin-top: 1.8em; }
.prose p { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); margin-top: 1.6em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--sun-2); font-family: var(--font-head); font-size: 1.15em; color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose .lede { font-size: 20px; color: var(--ink); }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; color: var(--on-dark-muted); margin-top: 24px; }

/* Portfolio tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.tab { min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--ink); font: 600 15px var(--font-body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #FFFFFF; }
.tab-panel { margin-top: 32px; }
.tab-panel[hidden] { display: none; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-grid .video-card .caption { font-size: 14px; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-dark); padding: 96px var(--gutter) 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-top .h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; color: #FFFFFF; }
.social { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; font-weight: 500; }
.social a { color: #FFFFFF; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px 80px; padding-top: 56px; }
.footer-brand { flex: 2 1 360px; max-width: 520px; }
.footer-brand img { height: 72px; width: auto; }
.footer-brand p { margin: 20px 0 0; font-size: 15px; line-height: 1.65; }
.footer-col { flex: 1 1 180px; }
.footer-col h3 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-1); }
.footer-col p { margin: 0; font-size: 15px; line-height: 1.9; }
.footer-col nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col nav a { color: var(--on-dark); text-decoration: none; }
.footer-col nav a:hover { color: #FFFFFF; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; margin-top: 64px; font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: #FFFFFF; }

@media (max-width: 720px) {
  .section { padding: 88px var(--gutter) 80px; }
  .section-tight { padding: 72px var(--gutter); }
  .hero-body { padding-bottom: 88px; }
  .page-hero { padding: 24px var(--gutter) 72px; }
  .numbered .num { width: 100%; font-size: 56px; }
  .chart .bars { height: 260px; }
  .chart .labels, .chart .bar .v { font-size: 12px; }
  .chart.chart-dense .labels, .chart.chart-dense .bar .v { font-size: 10px; }
  .chart .labels span { display: block; }
  .quote .mark { font-size: 90px; height: 40px; }
  .section-header { margin-bottom: 48px; }
}

/* Blog post extras: figures and stat callouts inside .prose */
.prose figure { margin: 1.8em 0 0; }
.prose figure svg { display: block; width: 100%; height: auto; }
.prose figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.prose .callout { margin-top: 1.8em; padding: 28px 32px; background: var(--bg-warm); border-radius: var(--radius-lg); }
.prose .callout .big { margin: 0; display: inline-block; font-family: var(--font-head); font-size: clamp(44px, 6vw, 64px); font-weight: 600; line-height: 1; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose .callout p + p { margin-top: 10px; color: var(--ink); }

/* Blog covers are designed graphics or photos of mixed proportions: show the whole image, never crop it. */
.card-img-fit { aspect-ratio: 16 / 9; }
.card-img-fit img { object-fit: contain; }
.media-frame.fit-contain img { object-fit: contain; }

/* Chat widget (every page): floating button + panel; fields stay white with dark text. */
.chat { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 90; font-family: var(--font-body); }
.chat-fab { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 99px; background: var(--grad-sun); color: var(--navy-900); font-family: var(--font-head); font-weight: 600; font-size: 16px; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(12,27,63,.6); transition: transform .15s ease, box-shadow .15s ease; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(12,27,63,.65); }
.chat-fab svg { width: 22px; height: 22px; flex: 0 0 auto; }
.chat-panel { position: absolute; right: 0; bottom: 72px; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 130px)); display: flex; flex-direction: column; background: #FFFFFF; border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(12,27,63,.65), 0 0 0 1px var(--line); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #FFFFFF; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.chat-head span { display: block; font-size: 13px; color: var(--on-dark-muted); }
.chat-avatar { width: 40px; height: 40px; border-radius: 99px; background: var(--grad-sun); display: grid; place-items: center; flex: 0 0 auto; color: var(--navy-900); }
.chat-avatar svg { width: 22px; height: 22px; }
.chat-close { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 99px; background: rgba(255,255,255,.1); color: #FFFFFF; font-size: 24px; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,.2); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; color: var(--ink); background: #FFFFFF; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 0 rgba(12,27,63,.06); }
.chat-msg-user .chat-bubble { background: var(--navy-800); color: #FFFFFF; border-bottom-right-radius: 6px; }
.chat-msg-assistant .chat-bubble { border-bottom-left-radius: 6px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-chip { border: 1px solid var(--line); background: #FFFFFF; color: var(--blue); border-radius: 99px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.chat-chip:hover { border-color: var(--blue); }
.chat-typing span { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 99px; background: var(--muted); animation: chat-blink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; } .chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #FFFFFF; }
.chat-form textarea { flex: 1; min-width: 0; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); background: #FFFFFF; max-height: 120px; }
.chat-form textarea:focus, .chat-lead-form input:focus, .chat-lead-form textarea:focus { outline: 2px solid var(--sky); outline-offset: 0; border-color: transparent; }
.chat-form button { width: 44px; height: 44px; border: 0; border-radius: 99px; background: var(--grad-sun); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.chat-form button svg { width: 18px; height: 18px; }
.chat-foot { margin: 0; padding: 0 14px 12px; font-size: 12px; line-height: 1.5; color: var(--muted); background: #FFFFFF; }
.chat-foot a { color: var(--blue); }
.chat-lead { max-width: 100%; }
.chat-lead p { margin: 0 0 10px; }
.chat-lead-form { display: grid; gap: 8px; position: relative; }
.chat-lead-form input, .chat-lead-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14px; color: var(--ink); background: #FFFFFF; resize: vertical; }
.chat-lead-form .btn { justify-self: start; padding: 10px 18px; font-size: 14px; }
.chat-lead-err { margin: 0; font-size: 13px; color: var(--ember); }
@media (max-width: 600px) {
  .chat-panel { position: fixed; left: 10px; right: 10px; top: 10px; bottom: 86px; width: auto; height: auto; }
  .chat-fab span { display: none; }
  .chat-fab { width: 56px; padding: 0; justify-content: center; }
}
@media print { .chat { display: none; } }

/* Two-up card grid (homepage "what changes for you") */
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

/* Embedded players (Google Drive previews in posts) */
.media-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
