/* DriftLink Digital. Colours and fonts match the DriftLink apps (light tokens, Figtree + Barlow Condensed). */
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --text: #2A363C;
  --text-2: #5E6E75;
  --line: #DCE2E5;
  --raised: #F3F5F6;
  --slate: #455963;
  --gold-text: #7A5A22;
  --gold: #D9B45A;
  --gold-fill: #F6EBCF;
  --link: #1F6F99;
  --blue: #197FE6;
  --night: #1F2A30;
  --ui: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Barlow Condensed", "Figtree", system-ui, sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--text); margin: 0; }
h1, h2 { font-family: var(--head); font-weight: 700; letter-spacing: -0.005em; line-height: 1.02; }
h1 { font-size: clamp(44px, 5.6vw, 72px); }
h2 { font-size: clamp(34px, 3.8vw, 48px); }
h3 { font: 700 20px/1.3 var(--ui); }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--text); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow > * { max-width: 800px; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 150px; }
.logo span { font: 600 15px var(--ui); color: var(--text-2); padding-left: 10px; border-left: 1px solid var(--line); }
.menu { display: flex; gap: 6px; }
.menu a, .mobile-menu nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 999px; }
.menu a:hover { background: var(--raised); }
.menu a[aria-current="page"] { background: var(--gold-fill); color: var(--gold-text); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; min-width: 190px; box-shadow: 0 12px 32px rgba(42,54,60,.12); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 999px; background: var(--slate); color: #fff; border: 2px solid var(--slate); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--text); border-color: var(--text); }
.btn-quiet { background: #fff; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--raised); border-color: var(--line); }
.btn-blue { background: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: #1366BA; border-color: #1366BA; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--text); }
.btn-gold:hover { background: #E6C77A; border-color: #E6C77A; }
.stores { display: flex; gap: 10px; margin-top: 16px; }
.store { text-decoration: none; background: #000; color: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 14px; }

/* Hero */
.hero, .page-hero { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--raised) 100%); border-bottom: 1px solid var(--line); }
.page-hero.plain { padding: 64px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 20px; color: var(--text-2); margin-top: 22px; max-width: 34em; }
.crumb { font-size: 15px; color: var(--text-2); margin-bottom: 16px; }
.crumb a { color: var(--text-2); }
.hero h1::after, .page-hero h1::after, .section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 18px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 16px, transparent 16px 24px);
}
.hero-phones { position: relative; height: 560px; }

/* Phone frame around real app screens */
.phone { margin: 0; border-radius: 40px; border: 9px solid var(--night); background: var(--night); overflow: hidden; aspect-ratio: 9 / 18; box-shadow: 0 30px 60px -24px rgba(31,42,48,.45); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; }
.hero-phones .phone { position: absolute; width: 260px; }
.p-back { right: 220px; top: 0; transform: rotate(-4deg); }
.p-front { right: 10px; top: 40px; transform: rotate(3deg); }
.p-solo { right: 50%; transform: translateX(50%); top: 0; }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head p { color: var(--text-2); margin-top: 14px; font-size: 19px; }

.row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; padding: 24px 0 72px; }
.row + .row { border-top: 1px solid var(--line); padding-top: 72px; }
.row.flip .row-media { order: 2; }
.row-media { display: flex; justify-content: center; background: var(--raised); border-radius: 28px; padding: 44px 0; }
.row-media .phone { width: 250px; }
.row-text h3 { font: 700 clamp(30px, 3vw, 40px)/1.05 var(--head); }
.row-text > p { color: var(--text-2); font-size: 18px; margin: 14px 0 22px; max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--gold-text); border-bottom: 2.5px solid var(--gold-text); transform: rotate(-45deg); }
.more { display: inline-block; margin-top: 22px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.grid-4, .grid-3 { display: grid; gap: 32px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-3.tight { margin-top: 8px; padding-top: 48px; border-top: 1px solid var(--line); }
.grid-4 > div, .grid-3 > div { border-top: 3px solid var(--gold); padding-top: 18px; }
.grid-4 p, .grid-3 p { color: var(--text-2); margin-top: 8px; font-size: 16px; }

.dark { background: var(--night); }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #B9C4CA; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font: 400 28px var(--ui); color: var(--gold-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 44em; }

/* Prose (About) */
.prose h2 { font-size: 34px; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--text-2); font-size: 18px; }
.prose .ticks { margin-top: 8px; }

.band { margin: 0; position: relative; height: 420px; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; left: 24px; bottom: 18px; color: #fff; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Contact */
.contact-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.contact-list div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 15px; color: var(--text-2); }
.contact-list dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; word-break: break-word; }
.note { margin-top: 28px; color: var(--text-2); background: var(--gold-fill); padding: 16px 20px; border-radius: 14px; }

/* Call to action */
.cta { background: var(--gold-fill); padding: 64px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta p { color: var(--text-2); margin-top: 8px; font-size: 18px; }

/* Footer */
.footer { background: var(--night); color: #B9C4CA; padding: 64px 0 28px; font-size: 15px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-label { font: 700 14px var(--ui); color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.footer a { display: block; color: #DCE2E5; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--gold); }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { max-width: 22em; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid #34434B; }

/* Tablet */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-phones { height: 470px; }
  .hero-phones .phone { width: 220px; }
  .p-back { right: auto; left: calc(50% - 210px); }
  .p-front { right: calc(50% - 210px); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .row-media { order: 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .menu { display: none; }
  .mobile-menu { display: block; }
  .logo img { width: 124px; }
  .hero, .page-hero { padding: 44px 0 56px; }
  .lead { font-size: 18px; }
  .hero-phones { height: 360px; }
  .hero-phones .phone { width: 160px; border-width: 7px; border-radius: 30px; }
  .phone img { border-radius: 25px; }
  .p-back { left: calc(50% - 150px); }
  .p-front { right: calc(50% - 150px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .row-media .phone { width: 210px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; gap: 26px; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .band { height: 280px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.page-hero .hero-text { max-width: 780px; }

/* Creator Program */
.h2-plain::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--gold) 0 16px, transparent 16px 24px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.levels-mini { list-style: none; margin: 0; padding: 0; counter-reset: lv; }
.levels-mini li { counter-increment: lv; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.levels-mini li:last-child { border-bottom: 1px solid var(--line); }
.levels-mini li::before { content: counter(lv); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-fill); color: var(--gold-text); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.levels-mini b { font-size: 18px; }
.levels-mini span { color: var(--text-2); font-size: 15px; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.levels li { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; background: #fff; }
.levels li:last-child { background: var(--night); border-color: var(--night); }
.levels li:last-child h3, .levels li:last-child .reward { color: #fff; }
.levels li:last-child .goal { color: #B9C4CA; }
.lv { font-size: 14px; font-weight: 600; color: var(--gold-text); }
.levels li:last-child .lv { color: var(--gold); }
.levels h3 { font: 700 30px/1.1 var(--head); margin: 4px 0 14px; }
.goal { color: var(--text-2); font-size: 15px; flex: 1; }
.reward { margin-top: 18px; padding-top: 14px; border-top: 3px solid var(--gold); font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: st; }
.steps li { counter-increment: st; }
.steps li::before { content: counter(st); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--text-2); margin-top: 8px; font-size: 16px; }
.aside { margin-top: 40px; color: var(--text-2); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .levels, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .levels, .steps { grid-template-columns: 1fr; }
  .menu a { padding: 8px 10px; }
}

/* v3 additions */
.row-text h2, .h3-like { font: 700 clamp(30px, 3vw, 40px)/1.05 var(--head); }
.grid-3 .h3-like { font: 700 20px/1.3 var(--ui); }
.dark .lead { color: #B9C4CA; }
.dark-links { display: flex; flex-direction: column; border-top: 1px solid #34434B; }
.dark-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; padding: 18px 0; border-bottom: 1px solid #34434B; }
.dark-links a:hover { color: var(--gold); }
.row { scroll-margin-top: 90px; }
.section-head h2 { scroll-margin-top: 90px; }

/* ================= v5 makeover ================= */
/* Buttons: lift, light sweep and arrow nudge on hover; press feedback */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s, border-color .2s; box-shadow: 0 6px 18px -8px rgba(31,42,48,.45); }
.btn::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(31,42,48,.5); }
.btn:hover::before { left: 120%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-quiet { box-shadow: none; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); box-shadow: none; backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.22); border-color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; background: linear-gradient(180deg, #fff 0%, #F3F5F6 100%); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow i:first-child { width: 520px; height: 520px; right: -80px; top: -120px; background: #F6EBCF; }
.hero-glow i:last-child { width: 440px; height: 440px; right: 280px; bottom: -200px; background: #D6E8FA; animation-delay: -9s; }
.hero-glow.gold i:first-child { background: rgba(217,180,90,.35); }
.hero-glow.gold i:last-child { background: rgba(69,89,99,.5); }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.12); } }
.hero .hero-in, .page-hero .hero-in { position: relative; }
.pill { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-text); background: var(--gold-fill); border: 1px solid #EBD7A3; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.intro > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.intro > *:nth-child(2) { animation-delay: .08s; } .intro > *:nth-child(3) { animation-delay: .16s; } .intro > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Phone fan (three phones), floating gently */
.fan { position: relative; height: 600px; }
.fan .phone { position: absolute; width: 250px; top: 50%; left: 50%; animation: fanin 1s cubic-bezier(.2,.8,.2,1) both, float 7s ease-in-out infinite; }
.fan .f-left { transform: translate(-115%, -46%) rotate(-8deg); animation-delay: .15s, 1s; z-index: 1; }
.fan .f-mid { transform: translate(-50%, -52%); animation-delay: 0s, 0s; z-index: 3; width: 270px; }
.fan .f-right { transform: translate(15%, -46%) rotate(8deg); animation-delay: .3s, 2s; z-index: 2; }
.fan.small .f-left { transform: translate(-95%, -46%) rotate(-7deg); }
.fan.small .f-mid { transform: translate(-25%, -52%) rotate(3deg); }
@keyframes fanin { from { opacity: 0; margin-top: 40px; } }
@keyframes float { 50% { margin-top: -12px; } }

/* Showcases */
.showcase { padding: 110px 0; }
.ride-show { background: linear-gradient(180deg, #fff, #EEF5FC); }
.studio-show { background: #0F1519; color: #DCE2E5; }
.studio-show h2 { color: #fff; }
.studio-show .lead, .studio-show .ticks li { color: #B9C4CA; }
.studio-show .ticks li { border-color: #26323A; }
.studio-show .ticks li::before { border-color: var(--gold); }
.show-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.show-in.flip .show-text { order: 2; }
.show-text h2 { font-size: clamp(34px, 3.6vw, 50px); margin: 6px 0 4px; }
.show-text .lead { margin-bottom: 22px; }
.show-text .ticks { margin-bottom: 8px; }
.app-name { font-weight: 700; font-size: 16px; }
.ride-c { color: var(--blue); } .studio-c { color: var(--gold); }
.show-media { position: relative; }
.float-phone { position: absolute !important; width: 190px; right: -14px; bottom: -50px; animation: float 7s ease-in-out infinite; }
.trio { height: 560px; }
.trio .phone { position: absolute; width: 230px; top: 50%; left: 50%; }
.trio .t-left { transform: translate(-120%, -45%) rotate(-6deg); }
.trio .t-mid { transform: translate(-50%, -52%); z-index: 2; width: 250px; box-shadow: 0 40px 80px -30px rgba(217,180,90,.45); }
.trio .t-right { transform: translate(20%, -45%) rotate(6deg); }

/* Browser frame for web screens */
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -36px rgba(31,42,48,.45); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.browser:hover { transform: translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--raised); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #DCE2E5; }
.browser-bar i:first-child { background: #F26B5B; } .browser-bar i:nth-child(2) { background: #F5C04E; } .browser-bar i:nth-child(3) { background: #5BC46B; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: 12px; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; max-width: 320px; }
.browser img { width: 100%; display: block; }
.web-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Gallery: endless strip of app screens */
.gallery-section { overflow: hidden; }
.gallery { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery-track { list-style: none; margin: 0; padding: 20px 0 30px; display: flex; gap: 28px; width: max-content; animation: marquee 60s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery-track li { width: 210px; flex: none; text-align: center; }
.gallery-track .phone { width: 210px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.gallery-track li:hover .phone { transform: translateY(-8px) scale(1.03); }
.gallery-track span { display: block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--text-2); }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

/* Icon grid */
.grid-4.icons svg { width: 40px; height: 40px; fill: none; stroke: var(--gold-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.grid-4.icons > div { transition: transform .3s; }
.grid-4.icons > div:hover { transform: translateY(-4px); }

/* Photo band and photo hero */
.photo-band { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 6s ease; }
.photo-band.in img { transform: scale(1); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,28,33,.92) 10%, rgba(20,28,33,.2) 70%); }
.photo-band-in { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 64px; }
.photo-band h2 { color: #fff; }
.photo-band p { max-width: 36em; color: #DCE2E5; font-size: 19px; margin-top: 14px; }
.photo-hero, .studio-hero { position: relative; overflow: hidden; color: #fff; border-bottom: 0; padding: 72px 0 80px; }
.photo-hero { background: #1F2A30; }
.studio-hero { background: #0F1519; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.photo-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,33,.92) 30%, rgba(20,28,33,.35)); z-index: 0; }
.photo-hero h1, .studio-hero h1 { color: #fff; }
.photo-hero .lead, .studio-hero .lead { color: #DCE2E5; }
.photo-hero .crumb, .photo-hero .crumb a, .studio-hero .crumb, .studio-hero .crumb a { color: #B9C4CA; }
.photo-card { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(31,42,48,.45); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-card:hover img { transform: scale(1.04); }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Feature row media hover */
.row-media .phone { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.row:hover .row-media .phone { transform: translateY(-6px) rotate(-1deg); }
.menu a { transition: background .2s, color .2s; }

@media (max-width: 960px) {
  .show-in, .show-in.flip { grid-template-columns: 1fr; gap: 48px; }
  .show-in.flip .show-text { order: 0; }
  .fan { height: 520px; } .fan .phone { width: 210px; } .fan .f-mid { width: 225px; }
  .float-phone { width: 150px; right: 0; bottom: -40px; }
  .web-pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fan { height: 420px; } .fan .phone { width: 160px; } .fan .f-mid { width: 175px; }
  .fan .f-left { transform: translate(-105%, -46%) rotate(-8deg); } .fan .f-right { transform: translate(5%, -46%) rotate(8deg); }
  .fan.small .f-left { transform: translate(-90%, -46%) rotate(-7deg); } .fan.small .f-mid { transform: translate(-15%, -52%) rotate(3deg); }
  .trio { height: 400px; } .trio .phone { width: 150px; } .trio .t-mid { width: 165px; }
  .float-phone { display: none; }
  .showcase { padding: 72px 0; }
  .gallery-track li, .gallery-track .phone { width: 160px; }
  .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow i, .fan .phone, .float-phone, .gallery-track, .intro > * { animation: none !important; }
  .gallery { overflow-x: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.photo-band-in { width: 100%; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-base .region a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
