@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --dark: #08090d;
  --dark-soft: #11131b;
  --light: #f4f5f8;
  --paper: #11131b;
  --ink: #f4f5f8;
  --muted: #b5b8c6;
  --ink-muted: #b5b8c6;
  --copper: #ff784f;
  --copper-dark: #ffab90;
  --rule-dark: #2b2e3c;
  --rule-light: #2b2e3c;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--light); font: 16px/1.65 'DM Sans', sans-serif; }
.page-progress { position: fixed; z-index: 60; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; padding: 10px 14px; z-index: 50; background: var(--light); color: var(--dark); }

.nav { height: 82px; padding: 0 max(24px, calc((100% - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule-dark); }
.logo { display: flex; align-items: center; gap: 10px; font: 800 18px Manrope, sans-serif; letter-spacing: .09em; line-height: 1; }
.logo img { object-fit: contain; }
.logo small { display: block; font-size: 10px; letter-spacing: .34em; margin-top: 4px; }
.nav nav { display: flex; gap: 32px; }
.nav nav a, .nav-cta { font-size: 14px; font-weight: 700; }
.nav a:hover, footer a:hover { color: var(--copper); }
.nav-cta { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.kicker { margin: 0 0 20px; color: var(--copper); font-size: 12px; letter-spacing: .17em; font-weight: 800; }
h1, h2, h3 { font-family: Manrope, sans-serif; letter-spacing: -.055em; line-height: 1.1; }
.button { display: inline-block; background: var(--copper); color: #160b08; padding: 17px 25px; border-radius: 3px; font-weight: 800; transition: background .25s, transform .25s; }
.button:hover { background: #ff9879; transform: translateY(-2px); }
.text-link { display: inline-block; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--copper); }
.section-heading { max-width: 790px; margin-bottom: 55px; }
.section-heading h2, .about h2, .closing h2 { font-size: clamp(38px,4.6vw,66px); margin: 0 0 18px; text-wrap: balance; }
.section-heading > p:last-child { font-size: 18px; color: var(--muted); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(55px,6vw,90px) 0 85px; background: radial-gradient(ellipse 65% 48% at 50% 36%, #13151e 0%, transparent 75%), var(--dark); }
.hero::before { content: ''; position: absolute; inset: -25%; z-index: -1; pointer-events: none; opacity: .55; background: radial-gradient(circle at 18% 26%, #ff784f55, transparent 27%), radial-gradient(circle at 82% 67%, #ff784f35, transparent 24%); animation: ambient-flow 26s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(circle 330px at var(--mouse-x,50%) var(--mouse-y,40%), #ff784f2d, transparent 75%); transition: opacity .35s ease; }
.hero.is-pointer-active::after { opacity: 1; }
@keyframes ambient-flow { from { transform: translate3d(-3%,2%,0) scale(1); } to { transform: translate3d(4%,-4%,0) scale(1.1); } }
.hero-intro { max-width: 980px; margin: 0 auto 39px; text-align: center; }
.hero h1 { max-width: 930px; margin: 0 auto 20px; font-size: clamp(44px,5.2vw,76px); font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero-intro > p:last-child { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: clamp(17px,1.7vw,20px); line-height: 1.55; }
.sales-video { max-width: 1080px; margin: auto; }
.sales-stage { aspect-ratio: 16/9; position: relative; overflow: hidden; background: #08090d; border: 1px solid rgba(255,120,79,.42); box-shadow: 0 30px 80px #0007; }
.sales-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.sales-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; text-align: left; color: #fff; background: linear-gradient(135deg,#11131b,#08090d); }
.sales-play img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s; }
.sales-play:hover img { transform: scale(1.025); }
.sales-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#08090dd4 0%,#08090d63 58%,transparent), linear-gradient(0deg,#08090d8c,transparent 42%); }
.sales-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid #fff9; color: var(--dark); background: var(--copper); font-size: 22px; box-shadow: 0 8px 35px #0007; transition: transform .25s, background .25s; }
.sales-play:hover .sales-play-icon { transform: translate(-50%,-50%) scale(1.1); background: #ff9879; }
.sales-overlay { position: absolute; left: 4%; bottom: 6%; max-width: 56%; display: flex; flex-direction: column; gap: 9px; color: #fff; text-shadow: 0 2px 14px #0009; pointer-events: none; }
.sales-overlay small, .sales-overlay > span { font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.sales-overlay strong { font: 800 clamp(26px,3.2vw,46px)/1.09 Manrope, sans-serif; letter-spacing: -.04em; }
.sales-overlay > span { margin-top: 8px; }
.sales-after { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 25px; }
.sales-after p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.55; }
.sales-after > div { display: flex; align-items: center; justify-content: flex-end; gap: 25px; flex-wrap: wrap; }
.sales-after .button { padding: 13px 20px; white-space: nowrap; }

.portfolio { position: relative; isolation: isolate; overflow: hidden; padding-top: 112px; padding-bottom: 115px; background: linear-gradient(155deg,#13151e,#0b0d13 70%); }
.portfolio::before { content: ''; position: absolute; inset: -25% -10%; z-index: -1; pointer-events: none; opacity: .35; background: radial-gradient(circle at 80% 35%,#ff784f66,transparent 30%),radial-gradient(circle at 20% 75%,#ff784f3b,transparent 28%); animation: ambient-flow 32s ease-in-out infinite alternate-reverse; }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 45px; }
.portfolio-heading .section-heading { margin: 0; }
.carousel-controls { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; padding-bottom: 5px; }
.carousel-controls span { min-width: 72px; margin-right: 13px; color: var(--copper); font: 800 13px Manrope,sans-serif; letter-spacing: .13em; }
.carousel-controls button, .carousel-side-controls button { display: grid; place-items: center; width: 51px; height: 51px; padding: 0; border: 1px solid var(--rule-dark); border-radius: 50%; color: var(--light); background: #ffffff0a; font: 25px/1 Manrope,sans-serif; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.carousel-controls button:hover:not(:disabled), .carousel-side-controls button:hover:not(:disabled) { background: var(--copper); color: var(--dark); border-color: var(--copper); }
.carousel-controls button:disabled, .carousel-side-controls button:disabled { opacity: .35; cursor: default; }
.portfolio-stage { position: relative; }
.carousel-side-controls { display: none; }
.portfolio-viewport { --gutter: max(24px,calc((100vw - 1200px)/2)); --card-width: clamp(245px,28vw,360px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--gutter); overscroll-behavior-inline: contain; scrollbar-width: none; }
.portfolio-viewport::-webkit-scrollbar { display: none; }
.work-track { display: flex; align-items: stretch; gap: 24px; width: max-content; padding-left: var(--gutter); padding-right: calc(100vw - var(--card-width) - var(--gutter)); }
.work-card { flex: 0 0 var(--card-width); min-width: 0; scroll-snap-align: start; }
.work-card-inner { width: 100%; }
.work-card button, .proof-grid button { display: block; width: 100%; padding: 0; border: 0; position: relative; overflow: hidden; background: #11131b; color: #fff; }
.work-card button { aspect-ratio: 9/16; }
.work-card img, .proof-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.work-card button:hover img, .proof-grid button:hover img { transform: scale(1.045); }
.play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #fffd; border-radius: 50%; color: #fff; background: #08090d77; backdrop-filter: blur(6px); font-size: 19px; transition: background .25s, transform .25s; }
.work-card button:hover .play-icon, .proof-grid button:hover .play-icon { transform: translate(-50%,-50%) scale(1.1); background: #08090dbb; }
.work-card-inner > div { padding: 22px 2px; }
.work-card span:not(.play-icon) { color: var(--copper); font-size: 11px; letter-spacing: .15em; font-weight: 800; }
.work-card h3 { margin: 8px 0; font-size: 30px; }
.work-card p { max-width: 530px; margin: 0; color: var(--muted); }
.fan-detail { display: none; }
.carousel-footer { display: flex; align-items: center; gap: 28px; margin-top: 22px; }
.carousel-progress { width: min(230px,34vw); height: 2px; background: var(--rule-dark); overflow: hidden; flex: 0 0 auto; }
.carousel-progress span { display: block; width: 100%; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left center; }
.carousel-footer p { margin: 0; color: var(--muted); font-size: 13px; }

@media (min-width: 901px) {
  .carousel-controls button { display: none; }
  .carousel-side-controls { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
  .carousel-side-controls button { width: 58px; height: 58px; background: #11131bd9; border-color: #ff784f70; box-shadow: 0 10px 28px #0004; }
  .carousel-side-controls button:hover:not(:disabled) { transform: translateY(-2px); }
}

@media (min-width: 901px) and (max-width: 1440px) {
  .portfolio-viewport { --gutter: max(78px,calc((100vw - 1200px)/2)); }
  .carousel-side-controls { position: absolute; z-index: 5; inset: 0; display: block; margin: 0; pointer-events: none; }
  .carousel-side-controls button { position: absolute; top: clamp(218px,25vw,320px); transform: translateY(-50%); background: #11131bf0; pointer-events: auto; }
  .carousel-side-controls button:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
  #portfolioPrevSide { left: 12px; }
  #portfolioNextSide { right: 12px; }
}

@media (min-width: 1441px) and (hover: hover) and (pointer: fine) {
  .portfolio-stage { --fan-center-y: 250px; --fan-arrow-offset: clamp(585px,41vw,620px); }
  .portfolio-viewport {
    --card-width: clamp(190px,14vw,225px);
    position: relative;
    isolation: isolate;
    height: 750px;
    overflow: hidden;
    scroll-snap-type: none;
    background: radial-gradient(ellipse 42% 47% at var(--fan-glow-x,50%) var(--fan-glow-y,37%),#ff784f13,transparent 82%);
  }
  .portfolio-viewport::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 250px;
    width: min(1000px,76vw);
    height: 430px;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse,#ff784f17,transparent 68%);
    pointer-events: none;
  }
  .work-track {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .work-card {
    position: absolute;
    top: var(--fan-center-y);
    left: 50%;
    width: var(--card-width);
    min-width: 0;
    scroll-snap-align: none;
    opacity: 0;
    will-change: transform, opacity;
  }
  .motion-ready .work-card[data-reveal] { transition: none; }
  .work-card-inner > div { display: none; }
  .work-card button { border: 1px solid #39333b; box-shadow: 0 14px 38px #000a; }
  .work-card.is-active button { border-color: var(--copper); box-shadow: 0 28px 70px #000c, 0 0 0 1px #ff784fa6; }
  .work-card .play-icon { width: 48px; height: 48px; font-size: 13px; }
  .work-card:not(.is-active) .play-icon { opacity: 0; }
  .fan-detail {
    position: absolute;
    z-index: 120;
    left: 50%;
    top: 522px;
    display: block;
    width: min(420px,32vw);
    padding: 0 10px;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .fan-detail > span:first-child { color: var(--copper); font: 800 11px Manrope,sans-serif; letter-spacing: .17em; }
  .fan-detail h3 { margin: 9px 0 10px; font-size: clamp(27px,2.7vw,38px); }
  .fan-detail p { margin: 0 auto; max-width: 380px; color: var(--muted); font-size: 14px; line-height: 1.5; }
  .fan-detail .fan-hint { display: block; margin-top: 15px; color: #b5b8c699; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
  .carousel-side-controls { position: absolute; z-index: 130; inset: 0; display: block; margin: 0; pointer-events: none; }
  .carousel-side-controls button { position: absolute; top: var(--fan-center-y); width: 60px; height: 60px; transform: translateY(-50%); pointer-events: auto; }
  .carousel-side-controls button:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
  #portfolioPrevSide { left: calc(50% - var(--fan-arrow-offset) - 30px); }
  #portfolioNextSide { right: calc(50% - var(--fan-arrow-offset) - 30px); }
}

.proof { padding: 110px 0 115px; background: #0b0d13; }
.proof .section-heading { margin-bottom: 42px; }
.proof-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.proof-grid button { aspect-ratio: 4/3; }
.proof-grid button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0007,transparent 62%); pointer-events: none; }
.proof-grid .play-icon { z-index: 1; width: 58px; height: 58px; font-size: 16px; }
.proof-grid h3 { margin: 17px 0 2px; font-size: 20px; letter-spacing: -.03em; }
.proof-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.craft, .about, .faq { background: var(--paper); color: var(--ink); }
.craft .kicker, .about .kicker, .faq .kicker { color: var(--copper-dark); }
.craft .section-heading > p:last-child { color: var(--ink-muted); }
.craft { padding: 120px 0; }
.edit-interactive { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 28px; --step: 0; }
.edit-interactive[data-step="1"] { --step: 1; }
.edit-interactive[data-step="2"] { --step: 2; }
.edit-interactive[data-step="3"] { --step: 3; }
.edit-tabs { display: flex; flex-direction: column; }
.edit-tabs button { display: flex; align-items: center; gap: 26px; min-height: 104px; width: 100%; padding: 23px 25px; border: 0; border-top: 1px solid var(--rule-light); background: transparent; color: var(--ink); text-align: left; transition: background .24s, padding-left .24s; }
.edit-tabs button:last-child { border-bottom: 1px solid var(--rule-light); }
.edit-tabs button:hover, .edit-tabs button[aria-selected="true"] { background: #ff784f12; padding-left: 34px; }
.edit-tabs button[aria-selected="true"] { box-shadow: inset 3px 0 var(--copper-dark); }
.edit-tabs button span { color: var(--copper-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.edit-tabs button strong { font: 700 clamp(20px,2vw,26px) Manrope,sans-serif; letter-spacing: -.04em; }
.edit-stage { min-height: 445px; padding: 30px 36px 35px; display: flex; flex-direction: column; justify-content: space-between; background: var(--dark); color: var(--light); box-shadow: 16px 16px 0 #ff784f0c; }
.edit-stage-top { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.edit-copy { max-width: 620px; padding: 30px 0; }
.edit-copy.is-switching { animation: cue-in .32s ease both; }
.edit-copy #editCue { margin: 0 0 17px; color: var(--copper); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.edit-copy h3 { max-width: 600px; margin: 0 0 19px; font-size: clamp(31px,3.5vw,50px); text-wrap: balance; }
.edit-copy #editDescription { max-width: 550px; margin: 0; color: var(--muted); font-size: 17px; }
.edit-rail { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0; padding: 0 0 15px; list-style: none; border-bottom: 1px solid #2b2e3c; }
.edit-rail::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 25%; height: 3px; background: var(--copper); transform: translateX(calc(var(--step) * 100%)); transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.edit-rail li { color: #b5b8c6; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.edit-interactive[data-step="0"] .edit-rail li:nth-child(1), .edit-interactive[data-step="1"] .edit-rail li:nth-child(2), .edit-interactive[data-step="2"] .edit-rail li:nth-child(3), .edit-interactive[data-step="3"] .edit-rail li:nth-child(4) { color: var(--copper); }
@keyframes cue-in { from { opacity: .45; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.about { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 9vw; align-items: center; padding-top: 115px; padding-bottom: 125px; }
.about h2 { font-size: clamp(36px,4vw,58px); }
.about p:not(.kicker) { color: var(--ink-muted); font-size: 18px; }
.about .text-link { margin-top: 19px; }
.about .text-link:hover, .faq a:hover { color: var(--copper-dark); }
.portrait { width: 100%; aspect-ratio: 1/1; position: relative; overflow: hidden; background: #11131b; isolation: isolate; box-shadow: 20px 20px 0 #ff784f0c; }
.portrait video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; pointer-events: none; }
.portrait::after { content: ''; position: absolute; z-index: 1; inset: 50% 0 0; background: linear-gradient(transparent,#08090d80); pointer-events: none; }
.portrait-caption { position: absolute; z-index: 2; bottom: 20px; left: 20px; max-width: calc(100% - 125px); background: var(--light); color: var(--dark); padding: 7px 11px; font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.motion-toggle { position: absolute; z-index: 3; right: 20px; bottom: 20px; border: 1px solid #fff9; background: #08090dcc; color: #fff; padding: 7px 10px; font-size: 12px; font-weight: 700; }
.motion-toggle:hover { background: var(--dark); }

.process { padding: 110px 0; background: var(--dark-soft); }
.process ol { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
.process li { border-top: 1px solid var(--rule-dark); padding-top: 28px; display: grid; gap: 20px; }
.process strong { font: 700 28px Manrope, sans-serif; }
.process li span { color: var(--muted); }
.faq { width: 100%; max-width: none; padding: 112px max(24px,calc((100% - 900px)/2)) 120px; }
.faq .section-heading > p:last-child, .faq details p { color: var(--ink-muted); }
.faq details { border-top: 1px solid var(--rule-light); padding: 25px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 700 21px Manrope, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--copper-dark); }
.faq details[open] summary::after { content: '−'; }
.faq details p { max-width: 700px; margin-bottom: 0; }

.closing { padding: 120px 0; background: radial-gradient(ellipse at 65% 100%,#ff784f14,transparent 65%),var(--dark); color: var(--light); border-top:1px solid #ff784f33; }
.closing .kicker { color: #ffab90; }
.closing h2 { max-width: 820px; }
.closing p:not(.kicker) { max-width: 650px; font-size: 20px; color:var(--muted); }
.closing .button { margin-top: 24px; background: var(--copper); color: #160b08; }
.closing .button:hover { background: #ff9879; }
footer { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; letter-spacing: .05em; }

/* The video stays fully framed while the header and close control remain visible. */
dialog { width: min(1080px,calc(100vw - 28px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid rgba(255,120,79,.38); border-radius: 10px; background: var(--dark); color: var(--light); overflow-y: auto; box-shadow: 0 30px 100px #000b; }
dialog::backdrop { background: #000000dc; backdrop-filter: blur(7px); }
.dialog-shell { display: flex; flex-direction: column; min-height: 0; }
.dialog-header { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 14px 22px; background: var(--dark-soft); border-bottom: 1px solid var(--rule-dark); }
.dialog-heading { min-width: 0; }
.dialog-heading > span { display: block; color: var(--copper); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.3; }
.dialog-heading h2 { margin: 4px 0 0; font-size: clamp(19px,2.5vw,25px); letter-spacing: -.035em; overflow-wrap: anywhere; }
.close { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule-dark); border-radius: 50%; background: #ffffff0a; color: var(--light); font: 28px/1 Manrope,sans-serif; transition: background .2s, color .2s; }
.close:hover { background: var(--copper); color: var(--dark); }
.player-frame { display: grid; place-items: center; min-height: 0; padding: 16px; background: #08090d; }
.player { position: relative; width: min(100%,110dvh,1040px); aspect-ratio: 16/9; overflow: hidden; background: #000; }
.video-tall { width: min(530px,calc(100vw - 28px)); }
.video-tall .player { width: min(100%,38dvh,430px); aspect-ratio: 9/16; }
.video-square { width: min(680px,calc(100vw - 28px)); }
.video-square .player { width: min(100%,60dvh,640px); aspect-ratio: 1; }
.player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.dialog-description { margin: 0; padding: 14px 22px 17px; border-top: 1px solid var(--rule-dark); color: var(--muted); font-size: 14px; line-height: 1.5; }
.dialog-description[hidden], .replay-screen[hidden] { display: none; }
.replay-screen { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 18px; text-align: center; background: linear-gradient(145deg,#08090de8,#11131be8); }
.replay-screen > span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.replay-screen button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 48px; padding: 10px 18px; border: 0; border-radius: 3px; background: var(--copper); color: var(--dark); font-weight: 800; line-height: 1.2; transition: background .2s; }
.replay-screen button:hover { background: #ff9879; }
.replay-screen button > span { font-size: 28px; font-weight: 400; line-height: .8; }
.replay-screen button:disabled { opacity: .7; cursor: wait; }
.motion-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.motion-ready [data-reveal] { transition: opacity .32s ease, transform .32s ease; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .sales-after { align-items: flex-start; flex-direction: column; }
  .sales-after > div { justify-content: flex-start; }
  .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edit-interactive { grid-template-columns: minmax(180px,.65fr) minmax(0,1.35fr); gap: 18px; }
  .edit-tabs button { gap: 14px; padding-inline: 16px; }
  .edit-tabs button:hover, .edit-tabs button[aria-selected="true"] { padding-left: 21px; }
  .about { gap: 45px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .nav { height: 68px; padding: 0 18px; }
  .nav-cta { font-size: 12px; }
  .hero { padding: 52px 0 70px; }
  .hero-intro { margin-bottom: 30px; text-align: left; }
  .hero h1 { font-size: clamp(41px,10vw,60px); }
  .hero-intro > p:last-child { font-size: 16px; }
  .sales-stage { width: calc(100% + 36px); margin-left: -18px; }
  .sales-play-icon { width: 62px; height: 62px; font-size: 16px; }
  .sales-overlay { top: 10px; bottom: auto; left: 14px; max-width: 90%; }
  .sales-overlay small { font-size: 9px; }
  .sales-overlay strong, .sales-overlay > span { display: none; }
  .sales-after { gap: 18px; padding-top: 22px; }
  .sales-after > div { gap: 18px; }
  .sales-after .button { width: 100%; text-align: center; }
  .portfolio, .proof, .craft, .about, .process, .closing { padding-top: 80px; padding-bottom: 80px; }
  .faq { padding: 80px 18px; }
  .portfolio-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
  .portfolio-viewport { --gutter: 18px; --card-width: min(calc(100vw - 66px),330px); }
  .work-track { gap: 14px; }
  .work-card h3 { font-size: 25px; }
  .work-card p { font-size: 14px; }
  .work-card .play-icon { width: 62px; height: 62px; }
  .carousel-footer { gap: 15px; }
  .carousel-footer p { font-size: 11px; }
  .about, .process ol { grid-template-columns: 1fr; }
  .proof-grid { gap: 24px 14px; }
  .proof-grid h3 { font-size: 17px; }
  .proof-grid p { font-size: 12px; }
  .proof-grid .play-icon { width: 45px; height: 45px; }
  .edit-interactive { grid-template-columns: 1fr; gap: 20px; }
  .edit-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .edit-tabs button, .edit-tabs button:last-child { min-height: 76px; padding: 13px; border: 1px solid var(--rule-light); gap: 9px; }
  .edit-tabs button:hover, .edit-tabs button[aria-selected="true"] { padding-left: 17px; }
  .edit-tabs button strong { font-size: 17px; }
  .edit-stage { min-height: 420px; padding: 24px 20px 27px; box-shadow: 9px 9px 0 #ff784f0c; }
  .edit-stage-top { font-size: 9px; }
  .edit-copy h3 { font-size: 32px; }
  .edit-copy #editDescription { font-size: 16px; }
  .edit-rail li { font-size: 8px; letter-spacing: .02em; }
  .portrait { width: min(100% - 18px,500px); }
  .about { gap: 50px; }
  .process ol { gap: 40px; }
  .section-heading { margin-bottom: 35px; }
  footer { flex-direction: column; }
  .dialog-header { min-height: 69px; padding: 10px 14px; }
  .dialog-heading > span { font-size: 10px; }
  .dialog-heading h2 { font-size: 19px; }
  .player-frame { padding: 10px; }
  .dialog-description { padding: 12px 15px 15px; font-size: 13px; }
}
@media (max-height: 620px) { .video-tall .player { width: min(100%,34dvh,430px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .work-card button:hover img, .proof-grid button:hover img, .sales-play:hover img { transform: none; }
  .hero::after { display: none; }
}
@media (hover: none), (pointer: coarse) { .hero::after { display: none; } }
