@font-face{font-family:'Modesfa';src:url(../fonts/modesfa.woff2) format('woff2'),url(../fonts/modesfa.woff) format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Giveny';src:url(../fonts/giveny.woff2) format('woff2'),url(../fonts/giveny.woff) format('woff');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0020,U+0041-005A,U+0061-007A}
/* FVNum: digits + punctuation ONLY, for Modesfa/Giveny text (font fix v34).
   Why this exists (audited with fontTools on the actual files 2026-10-18):
   - Giveny (giveny.woff2) cmap has ONLY A-Z/a-z + space (55 codepoints):
     no digits, no . , ? ! ' @ at all, hence its unicode-range above.
   - Modesfa (modesfa.woff2) cmap CLAIMS digits/punct, but glyphs for
     2 3 5 6 7 9 are empty (0 contours) and 4 8 ! # $ & ? @ are one shared
     demo-watermark glyph ("PERSONAL USE ONLY / dinartype"). A browser does
     NOT fall back for those - it trusts the cmap and renders blank/logo.
   So putting Giveny or Georgia after Modesfa/Giveny can never fix a digit:
   Giveny has none, and Modesfa's broken glyphs block fallback. FVNum sits
   FIRST in the --d/--g stacks (and in the Design-generated Modesfa/Giveny
   stacks in _fv/design.php) but its unicode-range covers only digits and
   punctuation/symbols - never letters (stops at U+0040, before 'A'):
   letters stay 100% Modesfa/Giveny, every 0-9 ? @ . , ' ! : ; - etc renders
   in Bodoni Moda (OFL, assets/fonts/bodoni-moda-400.*, cmap verified complete
   for this range), a high-contrast serif matching both display faces. */
@font-face{font-family:'FVNum';src:url(../fonts/bodoni-moda-400.woff2) format('woff2'),url(../fonts/bodoni-moda-400.woff) format('woff');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0021-0040,U+005B-0060,U+007B-007E,U+00A9,U+00B7,U+2013-2014,U+2019,U+201C-201D,U+2026}
:root{--bg:#111112;--tx:#ecebe7;--mu:#9a9893;--ac:#c9a96e;--line:#262628;--f:'Inter',system-ui,sans-serif;--d:'FVNum','Modesfa',Georgia,serif;--g:'FVNum','Giveny','Inter',system-ui,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{background:var(--bg);color:var(--tx);font:400 16px/1.7 var(--f);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}a{color:inherit}
.wrap{max-width:1080px;margin:0 auto;padding:0 28px}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;background:var(--tx);color:var(--bg);padding:8px;z-index:99}
:focus-visible{outline:1px solid var(--tx);outline-offset:4px}
.nav{position:sticky;top:0;z-index:50;background:rgba(17,17,18,.9);backdrop-filter:blur(8px)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{font-weight:500;font-size:14px;letter-spacing:.04em;text-decoration:none}
nav{display:flex;gap:30px;align-items:center}
nav a{text-decoration:none;font-size:14px;color:var(--mu);transition:color .2s}nav a:hover{color:var(--tx)}

.price strong,.num{color:var(--ac)}
.burger{display:none;background:none;border:0;width:32px;height:32px;cursor:pointer}
.burger span{display:block;height:1px;background:var(--tx);margin:7px 5px}
.hero{padding:clamp(96px,16vw,220px) 0 clamp(96px,14vw,200px)}
.hero-grid{display:block}
h1{font:400 clamp(48px,7.5vw,100px)/1 var(--d);letter-spacing:.04em}
.tagline{font-size:clamp(17px,1.6vw,20px);color:var(--mu);margin:18px 0 40px}
.links-q{display:flex;gap:28px;flex-wrap:wrap}
.links-q a,.buy-link{font-size:15px;text-decoration:none;border-bottom:1px solid var(--tx);padding-bottom:2px;transition:color .2s,border-color .2s}
.links-q a:hover,.buy-link:hover{color:var(--ac);border-color:var(--ac)}
.sec{padding:clamp(72px,10vw,128px) 0}
h2{font:400 clamp(30px,3.4vw,44px)/1.1 var(--d);color:var(--tx);margin-bottom:36px}
.two{display:grid;grid-template-columns:200px 1fr;gap:40px}
.big{font:400 clamp(22px,2.4vw,30px)/1.4 var(--f);letter-spacing:-.02em;margin-bottom:22px}
.two p{color:var(--mu);max-width:600px;margin-bottom:12px}.two p.big{color:var(--tx)}
.stat{margin-top:28px;display:flex;align-items:baseline;gap:12px}.stat strong{font-weight:500;font-size:40px;letter-spacing:-.03em}.stat span{color:var(--mu);font-size:14px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:40px 36px}
.num{font-size:12px;color:var(--ac)}.card h3{font-weight:500;font-size:17px;margin:8px 0 6px}.card p{color:var(--mu);font-size:14.5px}
.sub{color:var(--mu);margin:-20px 0 36px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tile{position:relative;aspect-ratio:4/3;overflow:hidden;border:0;background:#1a1a1c;padding:0;cursor:zoom-in;color:#fff}
.tile img{width:100%;height:100%;object-fit:cover;transition:opacity .3s}.tile:hover img{opacity:.9}
.tile span{position:absolute;left:12px;bottom:10px;font-size:13px;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.tile.soon{display:flex;align-items:center;justify-content:center;cursor:default;color:#5f5e5a;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.lightbox{position:fixed;inset:0;z-index:100;background:rgba(10,10,11,.97);display:flex;align-items:center;justify-content:center}
.lightbox[hidden]{display:none}.lightbox figure{max-width:90vw;max-height:88vh}.lightbox img{max-height:82vh;margin:auto}
.lightbox figcaption{text-align:center;color:var(--mu);margin-top:10px;font-size:14px}
.lightbox button{position:absolute;background:none;border:0;color:var(--tx);font-size:36px;cursor:pointer;padding:10px 18px}
.lb-x{top:10px;right:14px}.lb-prev{left:10px}.lb-next{right:10px}
.eyebrow{font-size:13px;color:var(--mu);margin-bottom:6px}
.product{max-width:720px}
.pname{font:400 clamp(26px,2.8vw,36px)/1.2 var(--d);letter-spacing:0;margin-bottom:12px}
.product p{color:var(--mu)}
.icons{display:flex;flex-wrap:wrap;gap:18px;margin:32px 0 8px}
.icons figure{width:56px;text-align:center}
.icons img{width:44px;height:44px;object-fit:contain;margin:0 auto;opacity:.7;filter:grayscale(1) invert(1) contrast(1.1)}
.icons figcaption{font-size:10.5px;color:var(--mu);margin-top:4px;line-height:1.3}
.feat{list-style:none;margin:28px 0 36px;columns:2;column-gap:36px}.feat li{font-size:14.5px;padding:5px 0;break-inside:avoid;color:var(--tx)}
.price{margin-bottom:14px;color:var(--tx)!important;font-size:15px}.price strong{font-weight:500;font-size:28px;letter-spacing:-.02em;margin-right:4px}
.note{font-size:13.5px;margin-top:16px;max-width:460px}
.mail{display:inline-block;font:400 clamp(22px,3vw,34px) var(--f);letter-spacing:-.02em;text-decoration:none;border-bottom:1px solid var(--tx);margin-bottom:24px}
.mail:hover{color:var(--ac);border-color:var(--ac)}
.links{list-style:none;display:flex;flex-wrap:wrap;gap:24px}.links a{color:var(--mu);text-decoration:none;font-size:14.5px}.links a:hover{color:var(--tx)}
.foot{padding:48px 0;color:var(--mu);font-size:13px;border-top:1px solid var(--line)}
@media(max-width:820px){.two{grid-template-columns:1fr;gap:0}.grid{grid-template-columns:repeat(2,1fr)}.feat{columns:1}}
@media(max-width:640px){.burger{display:block}
 header.nav nav{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:0;background:var(--bg);padding:4px 0 18px;border-bottom:1px solid var(--line)}
 header.nav nav.open{display:flex}header.nav nav a{padding:10px 28px}.grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.nw{white-space:nowrap}
/* --- shop / product --- */
.page-top{padding-top:clamp(56px,8vw,104px)}
.h-page{font:400 clamp(36px,5vw,64px)/1.05 var(--d);margin-bottom:18px}
.h-sm{font:400 26px/1.2 var(--d);margin:40px 0 4px}
.muted{color:var(--mu)}.small{font-size:13.5px}
.narrow{max-width:640px}
.lead2{font-size:clamp(18px,1.8vw,22px);margin-bottom:16px}
.eyebrow a{color:var(--mu);text-decoration:none}.eyebrow a:hover{color:var(--tx)}
.nav a[aria-current]{color:var(--tx)}
.prod-list{border-top:1px solid var(--line)}
.prod-row{display:grid;grid-template-columns:1.3fr 1.5fr auto;gap:24px;align-items:baseline;padding:22px 0;border-bottom:1px solid var(--line);text-decoration:none;transition:color .2s}
.prod-row:hover{color:var(--ac)}.pr-name{font:400 24px/1.2 var(--d)}.pr-tag{color:var(--mu);font-size:15px}.pr-price{font-size:15px;color:var(--ac)}
.more{margin-top:28px}
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:56px 40px;margin-top:40px}
.shop-card .pname a{text-decoration:none}.shop-card .pname a:hover{color:var(--ac)}
.icons.sm{margin:0 0 20px}.icons.sm img{width:38px;height:38px;object-fit:contain;opacity:.7;filter:grayscale(1) invert(1) contrast(1.1)}
.product-page{display:grid;grid-template-columns:1fr 320px;gap:72px;align-items:start}
.pp-buy{position:sticky;top:96px;padding-top:8px}
.pp-buy .price strong{font-size:44px}
.feat.one{columns:1}
form.paypal{margin:22px 0 18px}
.btn-pay{width:100%;padding:16px 20px;background:var(--ac);color:#111;border:0;font:500 15px var(--f);letter-spacing:.02em;cursor:pointer;transition:background .2s}
.btn-pay:hover{background:#dcc08a}
@media(max-width:860px){.product-page{grid-template-columns:1fr;gap:24px}.pp-buy{position:static;order:-1;border-bottom:1px solid var(--line);padding-bottom:28px}.prod-row{grid-template-columns:1fr;gap:4px}}
.lightbox figcaption:empty,.lightbox figcaption[hidden]{display:none}
/* image protection */
#gallery,.lightbox{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#gallery img,.lightbox img{-webkit-user-drag:none;user-drag:none}
.tile .ph{position:absolute;inset:0;background:center/cover no-repeat;transition:transform .6s}.tile:hover .ph{transform:scale(1.03)}
.shield{position:absolute;inset:0;z-index:1;background:transparent}
.tile .cap{position:absolute;left:12px;bottom:10px;z-index:2;font-size:13px;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.lightbox figure{position:relative;width:90vw;height:84vh;max-width:none;max-height:none}
.lb-img{width:100%;height:calc(100% - 34px);background:center/contain no-repeat}
.lightbox .shield{bottom:34px}
.lightbox button{z-index:3}
/* vouchers */
.voucher{margin:18px 0 14px;font-size:14px}.voucher summary{cursor:pointer;color:var(--mu)}.voucher summary:hover{color:var(--tx)}
.vform{display:flex;gap:8px;margin-top:10px}
.vform input{flex:1;min-width:0;background:#1a1a1c;border:1px solid var(--line);color:var(--tx);padding:9px 10px;font:14px var(--f);text-transform:uppercase;letter-spacing:.06em}
.vform input:focus{outline:0;border-color:var(--ac)}
.vform button{background:none;border:1px solid var(--line);color:var(--tx);padding:0 16px;font:14px var(--f);cursor:pointer}.vform button:hover{border-color:var(--tx)}
.vok{color:#9cc7a4}.verr{color:#e07a6a;margin-top:8px}
.price s{font-size:18px;margin-right:6px}
.fld{display:grid;gap:5px;font-size:13px;color:var(--mu);margin-bottom:12px}
.fld input{background:#1a1a1c;border:1px solid var(--line);color:var(--tx);padding:10px;font:15px var(--f)}
/* animations */
.anim #gallery .tile{opacity:0;transform:translateY(40px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.anim #gallery .tile.in{opacity:1;transform:none}
.tile .ph{transition:transform 1.4s cubic-bezier(.2,.7,.2,1),filter .6s ease}
.tile:hover .ph,.tile:focus-visible .ph{transform:scale(1.06);filter:brightness(.8)}
.lightbox{opacity:0;transition:opacity .22s ease}
.lightbox.open{opacity:1}
.lightbox figure{transform:scale(.95);transition:transform .22s ease}
.lightbox.open figure{transform:none}
.lb-img{transition:opacity .22s ease}
.lb-img.out{opacity:0}
.shield{pointer-events:auto}
.tile{display:block;cursor:zoom-in}
/* Reduced-motion users (e.g. Windows 'Animation effects' off): keep gentle fades, no slide/large movement */
@media(prefers-reduced-motion:reduce){.anim #gallery .tile{transform:none;transition:opacity .9s ease}.tile:hover .ph,.tile:focus-visible .ph{transform:scale(1.03)}.lightbox figure{transform:none}}
/* Giveny: short small text only (nav, labels, taglines, links, buttons). Long text, prices and forms stay Inter. */
.logo,nav a,.tagline,.links-q a,.eyebrow,.card h3,.buy-link,.foot,.sub,.pr-tag,.lead2,.voucher summary,.btn-pay,.stat span,.icons figcaption,.vok{font-family:var(--g)}
nav a,.links-q a,.buy-link,.eyebrow,.foot,.voucher summary{letter-spacing:.04em}
.tagline{letter-spacing:.03em}
.card h3{font-size:19px;letter-spacing:.02em}
h1{letter-spacing:.02em}
.inst{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.inst .btn-pay.dl{display:block;text-align:center;text-decoration:none;background:transparent;color:var(--tx);border:1px solid var(--ac)}.inst .btn-pay.dl:hover{background:var(--ac);color:#111}.inst .steps{margin:16px 0 0;padding-left:18px;color:var(--mu)}.inst .steps li{margin:4px 0}
.vtile .play{position:absolute;left:50%;top:50%;z-index:2;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.75);pointer-events:none;transition:transform .3s,background .3s}
.vtile .play::after{content:"";position:absolute;left:23px;top:18px;border-style:solid;border-width:11px 0 11px 17px;border-color:transparent transparent transparent #fff}
.vtile:hover .play{transform:scale(1.08);background:rgba(0,0,0,.6)}
.vtile .ph:not([style]){background:linear-gradient(135deg,#1d1d20,#26262a)}
.lb-vid{width:min(90vw,calc((88vh - 34px)*16/9));aspect-ratio:16/9;max-height:calc(88vh - 34px);display:flex;align-items:center;justify-content:center;background:#000}
.lb-vid video,.lb-vid iframe{width:100%;height:100%;border:0;background:#000}
.lb-img[hidden]{display:none}
/* contact form */
.cform{margin-top:44px;display:grid;gap:18px;max-width:640px}
.cf-h{font:400 clamp(20px,2vw,26px)/1.2 var(--d);margin-bottom:4px}
.cf-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.cform label{display:grid;gap:6px}.cform label span{font:13px var(--g);color:var(--mu);letter-spacing:.02em}
.cform input,.cform select,.cform textarea{width:100%;background:transparent;border:0;border-bottom:1px solid color-mix(in srgb,var(--tx) 25%,transparent);color:var(--tx);font:16px/1.5 var(--f);padding:8px 0;border-radius:0;transition:border-color .2s}
.cform select{appearance:none;cursor:pointer;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239a9893'/%3E%3C/svg%3E") right 4px center no-repeat}
.cform select option{background:var(--bg);color:var(--tx)}
.cform textarea{resize:vertical;min-height:130px;border:1px solid color-mix(in srgb,var(--tx) 25%,transparent);padding:10px 12px}
.cform input:focus,.cform select:focus,.cform textarea:focus{outline:0;border-color:var(--ac)}
.cform .bad-f{border-color:#e07a6a}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cf-foot{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.cf-send{width:auto;padding:14px 34px}.cf-send:disabled{opacity:.6;cursor:wait}
.cf-msg{font-size:14px;margin:0;color:var(--mu)}.cf-msg.ok{color:#8fc39b}.cf-msg.bad{color:#e07a6a}
@media(max-width:640px){.cf-row{grid-template-columns:1fr}}
.vtile .tv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s ease;pointer-events:none;background:transparent}
.vtile .tv.on{opacity:1}.vtile:hover .play{opacity:0}.vtile .play{transition:opacity .3s,transform .3s,background .3s}
.vtile .ph{background-size:cover;background-position:center}
.lb-vid{overflow:hidden}.lb-vid video{object-fit:contain}
.lb-vid{margin:0 auto}

/* --- public animations (clip style: fade + slide-up, stagger, modal scale) --- */
/* Hidden state only exists when JS ran (html.fv-js + .fv-reveal added by public-anim.js). */
.fv-js .fv-reveal{opacity:0;transform:translateY(15px);transition:opacity .35s cubic-bezier(.2,.8,.2,1),transform .35s cubic-bezier(.2,.8,.2,1)}
.fv-js .fv-reveal.fv-in{opacity:1;transform:none}
body{transition:opacity .11s ease-in}
html.fv-leaving body{opacity:0}
/* Portfolio tile hover: subtle lift only on precise pointers; video hover-play untouched.
   Skipped when owner picked an image animation in Design (body[data-ia]) so it never fights it. */
@media(hover:hover) and (pointer:fine){
  body:not([data-ia]) #gallery .tile.in{transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1),scale .15s ease,box-shadow .15s ease}
  body:not([data-ia]) #gallery .tile.in:hover{scale:1.02;box-shadow:0 14px 34px rgba(0,0,0,.38);z-index:2}
  .card,.prod-row{transition:translate .15s ease,color .2s ease}
  .card:hover{translate:0 -2px}
}
/* Lightbox / large player: open scale .95->1 + fade 200ms out, close 150ms in (backdrop = existing overlay) */
.lightbox{transition:opacity .2s ease-out}
.lightbox:not(.open){transition:opacity .15s ease-in}
.lightbox figure{transition:transform .2s ease-out}
.lightbox:not(.open) figure{transition:transform .15s ease-in}
@media(max-width:640px){.fv-js .fv-reveal{transition-duration:.2s}}
@media(prefers-reduced-motion:reduce){
  .fv-js .fv-reveal{opacity:1!important;transform:none!important;transition:none!important}
  body{transition:none}
  body:not([data-ia]) #gallery .tile.in:hover{scale:1;box-shadow:none}
  .card:hover{translate:none}
  .lightbox,.lightbox figure{transition:none}
}

/* --- Boundary-style editorial layout (v26) ---
   Layout language only: full-bleed hero, slim fixed header, editorial grid,
   generous whitespace, small uppercase labels + rules. Colours/fonts stay
   driven by Studio > Design variables: var(--bg/--tx/--mu/--ac/--d/--g/--f).
   Neutral fallbacks below are only used if a variable is ever unset. */
:root{--fv-paper:#f4f3f1;--fv-ink:#161616}
html{scroll-padding-top:84px}
.wrap{max-width:1440px;padding:0 clamp(20px,4vw,56px)}
/* Header: slim fixed bar, translucent over hero -> solid on scroll (.scrolled via _fv/lib.php) */
.nav{position:fixed;top:0;left:0;right:0;z-index:60;background:color-mix(in srgb,var(--bg,#111112) 72%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:background .35s ease,border-color .35s ease}
.nav.scrolled{background:color-mix(in srgb,var(--bg,#111112) 94%,transparent);border-bottom-color:var(--line,#262628)}
.nav-in{height:64px;max-width:1440px}
.logo{font-size:13px;font-weight:600;letter-spacing:.28em;text-transform:uppercase}
.nav nav a{font-size:11px;letter-spacing:.18em;text-transform:uppercase}
body.no-hero main{padding-top:64px}
body.no-hero .page-top{padding-top:clamp(48px,7vw,88px)}
/* Hero: full-viewport, media from first portfolio item (Studio/DB controlled), bottom-left type */
.hero{position:relative;min-height:100svh;min-height:100dvh;display:flex;align-items:flex-end;padding:112px 0 clamp(36px,5vw,64px);overflow:hidden;isolation:isolate;background:var(--bg,#111112);color:var(--tx,#ecebe7)}
.hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--bg,#111112)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hero.has-media{color:#f4f3f1}
.hero.has-media::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(0,0,0,.66) 0%,rgba(0,0,0,.18) 52%,rgba(0,0,0,.28) 100%)}
.hero .shield{z-index:0}
.hero-in{position:relative;z-index:1;width:100%}
.hero h1{font-size:clamp(64px,12.5vw,168px);line-height:.92;letter-spacing:.01em}
.hero .tagline{max-width:620px;margin:22px 0 30px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;line-height:1.8;color:inherit;opacity:.86}
.hero .links-q{gap:32px}
.hero .links-q a{font-size:12px;letter-spacing:.16em;text-transform:uppercase;border-bottom-color:currentColor}
/* Sections: whitespace, labels + thin rules, large headings */
.sec{padding:clamp(88px,11vw,156px) 0;border-top:1px solid var(--line,#262628)}
.sec-label{display:flex;align-items:center;gap:18px;font:400 11px/1 var(--g,var(--f));letter-spacing:.24em;text-transform:uppercase;color:var(--mu,#9a9893);margin-bottom:26px}
.sec-label::after{content:"";flex:1;height:1px;background:var(--line,#262628)}
.two .sec-label{grid-column:1/-1;margin-bottom:-14px}
.sec h2,.sec .h-page{font-size:clamp(38px,5vw,72px);line-height:1.02;margin-bottom:42px}
.two{grid-template-columns:minmax(220px,340px) 1fr;gap:clamp(28px,5vw,72px)}
.cards{gap:0;border-top:1px solid var(--line,#262628)}
.card{padding:26px 22px 30px 0;border-bottom:1px solid var(--line,#262628)}
.card h3{font-size:20px}
.sub{font-size:13px;letter-spacing:.08em;text-transform:uppercase}
/* Portfolio: editorial large tiles, zoom inside frame (400ms), minimal caption */
.grid{grid-template-columns:repeat(2,1fr);gap:clamp(20px,3vw,36px)}
.tile{aspect-ratio:16/10;background:var(--surface,#1a1a1c)}
.tile .ph{transition:transform .4s ease,filter .4s ease}
.tile:hover .ph,.tile:focus-visible .ph{transform:scale(1.05)}
.tile .cap{left:18px;bottom:16px;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.tile::after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(to top,rgba(0,0,0,.45),transparent);pointer-events:none}
/* Tools / shop: minimal editorial rows & cards */
.prod-row{padding:30px 0;transition:padding .25s ease,color .2s ease}
.prod-row:hover{padding-left:10px}
.pr-name{font-size:clamp(24px,3vw,38px)}
.shop-grid{gap:64px 36px;margin-top:48px}
.shop-card{border-top:1px solid var(--line,#262628);padding-top:22px}
.eyebrow{font-size:11px;letter-spacing:.22em;text-transform:uppercase}
.product-page{gap:clamp(36px,6vw,96px)}
.pp-buy{border-top:1px solid var(--line,#262628)}
.btn-pay{letter-spacing:.12em;text-transform:uppercase}
/* Footer: minimal columns */
.foot{padding:64px 0 36px}
.foot-in{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;align-items:start}
.foot p{color:var(--mu,#9a9893);font-size:13px;margin-top:10px}
.foot-nav{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.foot-nav a,.foot-meta a{color:var(--mu,#9a9893);text-decoration:none;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.foot-nav a:hover,.foot-meta a:hover{color:var(--tx,#ecebe7)}
@media(max-width:700px){
  .nav-in{height:60px} body.no-hero main{padding-top:60px}
  .nav nav{top:60px}
  .hero{min-height:100svh;padding-top:96px}
  .hero h1{font-size:clamp(58px,18vw,96px)}
  .grid{grid-template-columns:1fr}
  .two,.product-page,.foot-in{grid-template-columns:1fr}
  .prod-row{grid-template-columns:1fr}
  .sec h2,.sec .h-page{font-size:clamp(34px,10vw,48px)}
}
@media(prefers-reduced-motion:reduce){
  .hero-media,.tile .ph,.prod-row{transform:none!important;transition:none!important}
  .nav,.tile:hover .ph{transition:none}
}

/* --- Mobile nav + hero fixes (375px) --- */
body{overflow-x:clip}
body.menu-open{overflow:hidden}
@media(max-width:700px){
  .burger{display:block}
  /* Menu overlays the hero (fixed under the fixed header); it never pushes hero content down.
     All 5 items (About / What I do / Portfolio / Shop / Contact) stay visible and scrollable if short. */
  .nav #menu{position:fixed;top:60px;left:0;right:0;z-index:55;display:none;flex-direction:column;align-items:stretch;gap:0;background:color-mix(in srgb,var(--bg,#111112) 97%,transparent);backdrop-filter:blur(12px);padding:6px 0 14px;border-bottom:1px solid var(--line,#262628);max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px);overflow-y:auto}
  .nav #menu.open{display:flex}
  .nav #menu a{display:block;width:100%;min-height:44px;padding:13px 28px;visibility:visible;opacity:1}
  /* Hero: exactly one full-bleed cover layer, full viewport height, no stray strip/overflow */
  .hero{height:100vh;height:100svh;min-height:100svh;min-height:100dvh;padding:96px 0 34px;overflow:hidden}
  .hero-media{transform:none}
  .hero h1{font-size:clamp(52px,22vw,84px);max-width:100%}
  .hero .tagline{font-size:12px;margin:18px 0 26px}
  .hero .links-q{gap:16px 20px;flex-wrap:wrap}
}

/* --- Seamless header/menu stack + always-on hero loop (v28) ---
   Root cause of the remaining strip: the header height was only implied by
   .nav-in (60px on mobile) while three different menu tops existed in the
   file (68px at <=640px, 60px at <=700px, 60px fixed) and .nav itself had
   no height + a 1px border. Any mismatch/cache mix left a 7-9px band where
   the hero (which starts at y=0 behind the fixed, translucent header)
   showed through between header bottom and menu top.
   Fix: one shared --header-h. .nav is exactly that tall, #menu starts at
   exactly that value, no-hero pages offset by exactly that value. */
:root{--header-h:64px}
html{overflow-x:clip}
.nav-in{height:var(--header-h)}
body.no-hero main{padding-top:var(--header-h)}
.hero-img{will-change:transform;animation:fv-kenburns 22s ease-in-out infinite alternate}
@keyframes fv-kenburns{from{transform:scale(1) translate(0,0)}to{transform:scale(1.08) translate(-1.5%,-1%)}}
.hero-media .hero-layer{position:absolute;inset:0;opacity:0;transition:opacity .7s ease;pointer-events:none}
.hero-media .hero-layer.on{opacity:1}
@media(max-width:700px){
  :root{--header-h:60px}
  .nav{height:var(--header-h);border-bottom:0;background:color-mix(in srgb,var(--bg,#111112) 94%,transparent)}
  .nav.scrolled{box-shadow:inset 0 -1px 0 var(--line,#262628)}
  .nav-in{height:var(--header-h)}
  body.no-hero main{padding-top:var(--header-h)}
  .nav #menu{top:var(--header-h);max-height:calc(100vh - var(--header-h));max-height:calc(100dvh - var(--header-h))}
}
@media(prefers-reduced-motion:reduce){
  .hero-img{animation:none!important}
}

/* --- Seamless header/menu: panel anchored to viewport top (v30) ---
   Why v28 still showed a strip on the owner's phone: geometry alone was
   already exact (verified headless on the live site: .nav bottom = 60.00px,
   #menu top = 60.00px at 390px and 360px), so the visible band was the hero
   video showing through the translucent stack in the seam zone — header
   background is overridden to 90% opacity by the Studio > Design inline
   sheet (.nav, loaded after this file), the menu panel is 97%, and #menu is
   position:fixed INSIDE the header that carries backdrop-filter (which makes
   that header the containing block for the fixed menu; Safari composites
   this differently from Chromium and can expose a sliver of the hero layer,
   .hero .shield / .hero-vid, right under the header, over the first link).
   Fix that cannot leak at any zoom/DPR/browser:
   1) On mobile the menu panel is anchored to top:0 and extends underneath
      the header (padding-top clears the header), so there is no "between
      header and menu" zone at all — hero can never paint there.
   2) Header and menu backgrounds are solid var(--bg) on mobile (specificity
      header.nav beats the Design inline .nav rule; !important on geometry),
      and backdrop-filter is removed on mobile so the fixed menu is anchored
      to the viewport, not to the blurred header.
   3) .nav-in sits above the panel (position:relative;z-index:2) so the
      logo/burger stay visible and tappable; the panel is z-index:1 inside
      the header stacking context, still above the hero.
   4) The Design "centered" header rule (@media min-width:641px in the
      inline sheet) otherwise makes .nav-in 102px tall inside a 60px header
      at 641-700px; forced back to a single row at <=700px here.
   Legacy menu tops (68px @<=640px generic nav, 60px @<=700px) remain in the
   file for other navs but are dead for #menu: the rules below win on
   specificity and !important geometry. */
@media(max-width:700px){
  :root{--header-h:60px}
  header.nav{height:var(--header-h)!important;background:var(--bg,#111112);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;box-shadow:none}
  header.nav .logo,header.nav .burger{position:relative;z-index:2}
  header.nav .nav-in{position:relative;z-index:2;height:var(--header-h);flex-direction:row;align-items:center;justify-content:space-between;padding-top:0;padding-bottom:0;gap:0}
  header.nav #menu{top:0!important;left:0;right:0;z-index:1;margin:0;padding:calc(var(--header-h) + 8px) 0 14px;background:var(--bg,#111112);-webkit-backdrop-filter:none;backdrop-filter:none;max-height:100vh;max-height:100dvh}
  body.no-hero main{padding-top:var(--header-h)}
}

/* --- Mobile menu strip: kill nested-fixed seam for good (v31) ---
   Live evidence 2026-10-18: live CSS IS v30 and Chromium headless on
   https://faviz.art/ is clean (#menu 0..306px solid rgb(20,26,22),
   elementFromPoint(195,62/66)=#menu, pixels y50..90 uniform). The band
   the owner still sees on iPhone is Safari-only: #menu was
   position:fixed INSIDE .nav-in (a flex box) inside the fixed header,
   and Safari offsets such nested fixed panels by the header/padding
   (~8px), exposing the hero video in the uncovered slot right under
   the 60px header (band in the screenshot is only ~5px tall, patterned
   like the hero, immediately below the header, above ABOUT).
   Fix, no nested fixed anywhere:
   1) main.js (v24) moves #menu out to be a direct child of <body>.
   2) The panel is position:fixed top:0, FULL viewport height (100dvh),
      solid var(--bg) !important, z-index 59 - directly under the header
      (z 60, same solid colour). It underlaps the header completely, so
      there is no slot between header and menu for hero to paint in.
   3) Belt-and-braces cover strip: while the menu is open, header.nav
      ::after paints a solid 18px band directly below the header, over
      both menu and hero. Even a browser that misplaces the panel by a
      few px shows solid --bg there, never the hero.
   4) _fv/design.php no longer emits the translucent .nav rule on
      mobile (and now also forces #menu solid), so the Design-generated
      inline sheet cannot re-open the seam after a Design save.
   No slide/max-height animation exists on #menu (display none<->flex
   only), so this is not a mid-transition frame. */
@media(max-width:700px){
  header.nav{background:var(--bg,#141a16)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  body.menu-open header.nav::after{content:"";position:absolute;left:0;right:0;top:100%;height:18px;background:var(--bg,#141a16);z-index:3;pointer-events:none}
  body>#menu,header.nav #menu{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto;height:100vh;height:100dvh;max-height:none!important;margin:0;padding:calc(var(--header-h,60px) + 22px) 0 18px;background:var(--bg,#141a16)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;overflow-y:auto;transition:none!important;animation:none!important}
  body>#menu{z-index:59}
  body>#menu:not(.open),header.nav #menu:not(.open){display:none!important}
  body>#menu.open,header.nav #menu.open{display:flex!important;flex-direction:column;align-items:stretch}
  body>#menu a,header.nav #menu a{display:block;width:100%;min-height:44px;padding:13px 28px}
}

/* --- Solid cover lip under mobile header (v32) ---
   Owner 2026-10-18, after strip3/v31: "lap no luon di, cho thanh mau xanh,
   hay xoa no di" (cover it over, make it solid colour, or delete it).
   v31 already painted an 18px band, but ONLY while body.menu-open was set,
   and the full-height panel depended on main.js (v24) moving #menu out of
   the header. On the owner's phone the panel still ends mid-screen (old
   cached JS/CSS, or Safari nested-fixed/dvh compositing), so that
   conditional band was not enough.
   This v32 cover is CSS-ONLY and UNCONDITIONAL at <=700px:
   1) header.nav::after is a 16px solid lip hanging directly below the
      header (bottom:-16px), painted in the exact header colour. The
      design token for that colour is --bg (Studio > Design, line 188 of
      _fv/design.php emits the mobile .nav/#menu background as var(--bg);
      the owner's Forest palette sets --bg:#141a16 = rgb(20,26,22), the
      dark green in his screenshots), so background:var(--bg,#141a16)
      !important always matches his header, whatever he picks in Design.
      It paints over ANYTHING in that 16px slot - hero image, hero video,
      .shield, a mis-offset menu - regardless of source, zoom or DPR.
      pointer-events:none and it sits below the header box only, so the
      logo/burger (in .nav-in, z-index:2, inside the 60px header) stay
      fully tappable; the lip itself needs no clicks.
   2) Menu content is pushed down a further 14px (padding-top goes from
      header-h+22 to header-h+36) so the lip can never clip ABOUT: the
      first link starts at 96px on a 60px header (>= header + 36px).
      All 5 links remain visible inside the 100dvh panel.
   3) Menu closed, the lip simply makes the solid header look 16px
      taller on mobile - same colour, seamless. The hero heading is
      bottom-left, far from the top 76px, so it is unaffected.
   4) At 641-700px the lip hangs from .nav's own bottom edge, so the
      Design "centered" 102px .nav-in rule cannot move it.
   This works even if main.js never runs / never moves #menu: every
   selector below also targets header.nav #menu in its original nested
   position, and the lip does not depend on .open or body.menu-open. */
@media(max-width:700px){
  body.menu-open header.nav::after,header.nav::after{content:"";position:absolute;left:0;right:0;top:auto;bottom:-16px;height:16px;background:var(--bg,#141a16)!important;z-index:3;pointer-events:none;border:0;box-shadow:none}
  header.nav .nav-in{position:relative;z-index:2}
  body>#menu,header.nav #menu{padding:calc(var(--header-h,60px) + 36px) 0 18px}
}

/* --- Structural strip cure: hero no longer lives under mobile header (v33) ---
   Owner 2026-10-18, after v32 lip: gentle scroll = covered, FAST/hard
   scroll = strip pokes out again. That is the tell: this was never a
   static seam. The fixed header (plus its 16px v32 ::after lip, painted
   as part of that fixed element) is composited on iOS Safari with a
   few frames of lag during momentum / fast scrolling and browser-chrome
   resize (100svh/dvh re-evaluation). While it lags, whatever is painted
   BEHIND the header shows for a frame. Until now the hero media started
   at y=0 behind the fixed header, so the lag exposed a patterned hero
   sliver. A taller lip cannot win that race - it lags together with the
   header it hangs from.
   Structural cure, mobile (<=700px) only; desktop keeps the Boundary
   look of hero behind the translucent header:
   1) .hero is offset below the header: margin-top = --header-h (60px)
      and its height is the viewport MINUS that offset (100vh -> 100svh
      -> 100dvh fallback order preserved, box-sizing:border-box so the
      existing bottom padding stays inside). .hero-media is still
      absolute inset:0 within the hero. The 60px band under the header
      at page top is now plain page background - there is no patterned
      layer left under the header for a lagging composite to expose.
   2) html background is the solid header colour (var(--bg), fallback
      #141a16 = the owner's Forest dark green rgb(20,26,22)) and
      overscroll-behavior-y:none on html/body, so rubber-band overscroll
      and any repaint gap at the top show solid dark green, never hero
      artwork. Body already paints var(--bg) over the whole page and
      sections paint no background of their own, so this cannot turn
      pages dark - it only colours what was previously unpainted.
   3) The v32 16px lip stays, now purely a cosmetic seam cover over the
      hero's top edge (hero heading is bottom-left, unaffected).
   4) Checked, no change needed: .nav has no translateY/hide-on-scroll
      behaviour (only background/border transition; .scrolled only
      recolours it), body.menu-open already locks page scroll
      (overflow:hidden) and the menu panel is solid full-height, and
      anchors keep working - html scroll-padding-top becomes
      header-h + 24px (was a flat 84px, equivalent on mobile). */
html{background:var(--bg,#141a16);overscroll-behavior-y:none}
@media(max-width:700px){
  body{overscroll-behavior-y:none}
  html{scroll-padding-top:calc(var(--header-h,60px) + 24px)}
  .hero{margin-top:var(--header-h,60px);height:calc(100vh - var(--header-h,60px));height:calc(100svh - var(--header-h,60px));height:calc(100dvh - var(--header-h,60px));min-height:calc(100svh - var(--header-h,60px));min-height:calc(100dvh - var(--header-h,60px))}
}
