/* Unfold website polish layer (29 Nov 2026). Loads after style.css on home, examples, privacy and terms.
   Same words and layout; refined type, readable labels, video covers, states and browser surfaces.
   House rules: .claude/skills/unfold-ui/SKILL.md (no prices on the site). */

:root{--u-ease:cubic-bezier(.16,1,.3,1);--u-ring:0 0 0 1px rgba(255,255,255,.08);--u-focus:0 0 0 3px rgba(255,106,26,.45)}

/* Browser surfaces. */
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;scrollbar-color:#3b3d40 #141618}
::selection{background:rgba(255,106,26,.34);color:#fff}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:#141618}
::-webkit-scrollbar-thumb{background:#3b3d40;border-radius:99px;border:3px solid #141618}
::-webkit-scrollbar-thumb:hover{background:#55585c}
body{caret-color:#ff6a1a}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
:focus-visible{outline:0;box-shadow:var(--u-focus);border-radius:4px}

/* Display type: open the tracking so the words stop running into each other (was -0.045em). */
h1:not(#u){letter-spacing:-.036em}
h2:not(#u){letter-spacing:-.03em}
.campaign-heading h3:not(#u),.contact h2:not(#u){letter-spacing:-.032em}
.offer-tile h3:not(#u),.film-caption h3:not(#u){letter-spacing:-.012em}

/* Labels people actually read get a readable size. Mockup text stays miniature on purpose. */
.eyebrow:not(#u){font-size:11.5px;letter-spacing:.11em;font-weight:600}
.section-number span:not(#u){font-size:11.5px;letter-spacing:.1em}
.film-caption span:not(#u){font-size:11px;letter-spacing:.08em;color:#9c9b97}
.film-index:not(#u){font-size:10.5px;font-weight:600;width:30px;height:30px;background:rgba(20,22,24,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-color:rgba(255,255,255,.28);font-variant-numeric:tabular-nums}
.demo-note:not(#u){font-size:11px;line-height:1.45;color:#8f8e8a}
.statics-board figcaption:not(#u),.statics-grid figcaption:not(#u){font-size:10.5px;letter-spacing:.09em}
.board-top:not(#u){font-size:11px;letter-spacing:.09em}
.stage-coordinates:not(#u){font-size:10px;letter-spacing:.14em}
.business-identity:not(#u){font-size:12px;line-height:1.5}

/* Buttons: one considered press, a nudge on the arrow, a real focus ring. */
.button,.nav-cta{transition:background-color .18s var(--u-ease),color .18s var(--u-ease),border-color .18s var(--u-ease),box-shadow .18s var(--u-ease),transform .12s var(--u-ease)}
.button:not(.button-dark){box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 28px -12px rgba(255,106,26,.6)}
.button:not(.button-dark):hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 16px 36px -12px rgba(255,106,26,.75)}
.button:active,.nav-cta:active{transform:scale(.97)}
.button>span,.nav-cta>span,.hero-work-link>span{display:inline-block;transition:transform .22s var(--u-ease)}
.button:hover>span,.nav-cta:hover>span{transform:translate(3px,-3px)}
.hero-work-link:hover>span{transform:translateY(3px)}
.work-more .button:hover>span{transform:translateX(4px)}
.button:focus-visible,.nav-cta:focus-visible{box-shadow:var(--u-focus)}

/* Video cards: a clean poster with one play button until someone presses play (film.js adds it). */
.film-window{border-radius:16px;overflow:hidden;box-shadow:var(--u-ring),0 24px 60px -30px rgba(0,0,0,.8);transition:box-shadow .3s var(--u-ease),transform .3s var(--u-ease)}
.film-window video{display:block}
.film-window.is-cover video{cursor:pointer;transition:transform .5s var(--u-ease),filter .3s var(--u-ease)}
.film-window.is-cover::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(180deg,rgba(14,15,16,0),rgba(14,15,16,.55));pointer-events:none}
.film-play{position:absolute;z-index:2;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border:0;border-radius:50%;padding:0;display:grid;place-items:center;cursor:pointer;background:#ff6a1a;color:#141618;box-shadow:0 0 0 6px rgba(255,106,26,.22),0 14px 34px -8px rgba(0,0,0,.7);transition:transform .25s var(--u-ease),box-shadow .25s var(--u-ease),background-color .2s var(--u-ease)}
.film-play svg{width:24px;height:24px;margin-left:3px;fill:currentColor}
.film-play:hover{transform:scale(1.06);box-shadow:0 0 0 9px rgba(255,106,26,.2),0 18px 40px -8px rgba(0,0,0,.75)}
.film-play:active{transform:scale(.96)}
.film-play:focus-visible{box-shadow:0 0 0 4px #141618,0 0 0 7px #ff6a1a}
/* The poster fills the frame until play; the playing video goes back to showing the whole picture. */
.film-window.is-cover video{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
@media (hover:hover){
 .film:hover .film-window{box-shadow:0 0 0 1px rgba(255,255,255,.16),0 30px 70px -30px rgba(0,0,0,.9);transform:translateY(-3px)}
 .film:hover .film-window.is-cover video{transform:scale(1.025)}
}
.film-caption h3:not(#u){font-size:16px;font-weight:550;line-height:1.3;margin-top:4px}

/* Service tiles: a quiet hover so the grid feels alive without moving. */
.offer-tile{transition:background-color .25s var(--u-ease)}
.offer-tile i{transition:background-color .25s var(--u-ease),color .25s var(--u-ease),border-color .25s var(--u-ease)}
@media (hover:hover){
 .offer-tile:hover{background:rgba(255,255,255,.025)}
 .offer-tile:hover i{background:#ff6a1a;color:#141618;border-color:#ff6a1a}
}

/* Mockup boards: one depth system, a hairline ring and a soft drop. */
.visual-board{box-shadow:var(--u-ring),0 40px 90px -40px rgba(0,0,0,.85)}

/* Footer and nav links. */
.nav-links a,.legal-links a,.footer-top-link{transition:color .18s var(--u-ease)}
.nav-links a{text-underline-offset:6px;text-decoration-thickness:1px}

@media (prefers-reduced-motion:reduce){
 .button,.nav-cta,.film-window,.film-window video,.film-play,.offer-tile,.offer-tile i,.button>span,.nav-cta>span{transition:none!important}
 .film:hover .film-window,.film:hover .film-window.is-cover video{transform:none!important}
}
