/* Novara Holdings — reproduces design_handoff_novara_landing spec.
   Values (colours, sizes, spacing, timings) come from that handoff; see its README. */

@font-face{font-family:Jost;font-style:normal;font-weight:300 500;font-display:swap;
  src:url(fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Jost;font-style:normal;font-weight:300 500;font-display:swap;
  src:url(fonts/jost-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  /* This design is deliberately light-only. Declaring it stops browsers in dark
     mode from restyling UA-rendered bits (scrollbars, focus rings, form controls)
     for a dark page they're painting on ivory. */
  color-scheme: light;
  --navy:#1f2a3a; --gold:#b29e84; --ivory:#fbfbfb; --slate:#464c55;
  --muted:#9aa1a6; --charcoal:#26282c; --line:rgba(31,42,58,.25);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--ivory);font-family:Jost,system-ui,sans-serif;-webkit-font-smoothing:antialiased;
  /* Kills the double-tap-to-zoom gesture (the accidental zoom when tapping a
     photo or thumbnail) while LEAVING pinch-zoom working, so anyone who needs
     to magnify still can. maximum-scale=1 would have blocked both — and iOS
     ignores it anyway. */
  touch-action:manipulation;
  /* stop iOS bumping text size when the phone is turned sideways */
  -webkit-text-size-adjust:100%;text-size-adjust:100%}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--gold)}
img{max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* 100dvh so the footer reaches the real bottom on mobile, where 100vh is the
   large viewport and leaves a strip under the footer. vh first as fallback. */
/* overflow-x:clip, NOT hidden — `hidden` forces overflow-y to compute to `auto`,
   which turned .nv-root into a nested scroller and made mobile scrolling stick. */
.nv-root{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;
  background:var(--ivory);overflow-x:clip}

/* ---------- header ---------- */
.nv-header{display:flex;align-items:center;justify-content:space-between;
  padding:10px 56px;flex-wrap:wrap;gap:16px;flex:none}
.nv-header .nv-logo img{height:134px;width:auto;display:block}
.nv-headright{display:flex;align-items:center;gap:32px}
.nv-social{display:flex;color:var(--slate)}
.nv-social+.nv-social{margin-left:-12px}
.nv-social:hover{color:var(--gold)}
.nv-lang{display:flex;gap:2px;border:1px solid rgba(31,42,58,.2);border-radius:3px;overflow:hidden}
.nv-lang a{font-size:11px;font-weight:600;letter-spacing:.08em;padding:6px 12px;
  color:var(--slate);background:transparent;line-height:1.2}
.nv-lang a[aria-current="true"]{background:var(--navy);color:var(--ivory)}

/* ---------- main grid ---------- */
.nv-main{flex:1 0 auto;display:grid;grid-template-columns:minmax(0,560px) minmax(360px,1fr);
  gap:64px;align-items:center;padding:8px 72px 24px;max-width:1400px;margin:0 auto;
  width:100%}

/* ---------- visual column ---------- */
.nv-visual{min-width:0}
.nv-photobox{position:relative;height:min(54vh,560px)}
.nv-mask{position:absolute;inset:0;
  -webkit-mask-image:url(assets/brand/mark-transparent.png);mask-image:url(assets/brand/mark-transparent.png);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain}
.nv-layer{position:absolute;inset:0;opacity:0;pointer-events:none;overflow:hidden;border-radius:4px;
  transition:opacity 1.1s ease}
.nv-layer.is-on{opacity:1}
.nv-mask .nv-layer{border-radius:0}
.nv-fast .nv-layer{transition-duration:.4s}
.nv-layer img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nv-panel-logo{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.nv-panel-logo img{width:62%;height:40%;object-fit:contain}
/* solid brand-colour fill, shaped by the N mask (Sinta) */
.nv-fill{width:100%;height:100%}
/* video facade: poster + play button, swapped for the real player on click.
   Keeps Vimeo's scripts off the page until someone actually wants the film. */
.nv-videofacade{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;
  background:#000;cursor:pointer;display:block;border-radius:4px;overflow:hidden}
.nv-videofacade img{width:100%;height:100%;object-fit:cover;display:block}
.nv-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:74px;height:74px;border-radius:50%;background:rgba(31,42,58,.55);
  border:2px solid rgba(251,251,251,.9);display:flex;align-items:center;justify-content:center;
  transition:background .2s,transform .2s}
.nv-play::after{content:"";border-style:solid;border-width:13px 0 13px 21px;
  border-color:transparent transparent transparent #fbfbfb;margin-left:6px}
.nv-videofacade:hover .nv-play{background:var(--gold);transform:translate(-50%,-50%) scale(1.06)}
.nv-thumb.is-video{position:relative}
.nv-thumb.is-video::after{content:"";position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);border-style:solid;border-width:7px 0 7px 11px;
  border-color:transparent transparent transparent #fff;
  filter:drop-shadow(0 0 3px rgba(0,0,0,.7))}
/* Vimeo slide — fills the photo box like a photo would */
.nv-video{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:4px;
  background:#000;display:block}

/* detail (full photo over the mask) */
.nv-gallery{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .5s ease;
  border-radius:4px;overflow:hidden}
.nv-visual.is-detail .nv-gallery{opacity:1;pointer-events:auto}
/* The outgoing slide stays fully opaque underneath while the incoming one fades
   in on top. Fading both at once left them semi-transparent mid-swap, which let
   the N mask show through for a moment. */
.nv-gallery .nv-shot{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;z-index:0}
.nv-gallery .nv-shot.is-prev{opacity:1;transition:none;z-index:1}
.nv-gallery .nv-shot.is-on{opacity:1;z-index:2}
.nv-gallery .nv-shot img{width:100%;height:100%;object-fit:cover}

.nv-under{margin-top:14px;min-height:66px}
.nv-caption{display:flex;justify-content:center}
.nv-caption span{font-size:11px;font-weight:500;letter-spacing:.2em;color:var(--gold);
  transition:color .3s;text-align:center}
.nv-visual.is-detail .nv-caption{display:none}

.nv-sliderbar{display:none;align-items:center;justify-content:center;gap:14px}
.nv-visual.is-detail .nv-sliderbar.has-shots{display:flex}
.nv-arrow{background:none;border:1px solid var(--line);border-radius:3px;width:34px;height:66px;
  font-size:15px;color:var(--navy);cursor:pointer;flex:none;font-family:inherit}
.nv-arrow:hover{border-color:var(--gold);color:var(--gold)}
.nv-thumbs{display:flex;gap:10px;overflow:hidden}
.nv-thumb{width:96px;height:66px;border-radius:3px;cursor:pointer;flex:none;padding:0;
  border:2px solid transparent;opacity:.75;background:none;
  transition:border-color .2s,opacity .2s;overflow:hidden}
.nv-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.nv-thumb.is-on{border-color:var(--gold);opacity:1}
.nv-arrow-m{display:none}

/* ---------- right column ---------- */
/* The two panels crossfade, so they must overlap — but only the ACTIVE one may
   contribute height. Stacking them in one grid cell sized the row to the taller
   of the two, which left a tall dead zone under the home panel (worst on mobile,
   where the detail copy is long) and made the page look broken after Back. */
.nv-panels{position:relative;min-height:520px}
.nv-panel{transition:opacity .45s ease,transform .45s ease}
.nv-panel-home,
.nv-panel-detail{max-width:560px;width:100%;margin:0 auto}
.nv-panel[hidden]{display:none}
/* left:0 + right:0 + margin auto keeps the INACTIVE panel centred in the column.
   Pinning it to left:0 made it sit 36px left of the active one on wide screens,
   so the copy visibly jumped when opening a brand. */
.nv-root.is-detail .nv-panel-home,
.nv-root:not(.is-detail) .nv-panel-detail{
  position:absolute;top:0;left:0;right:0;width:auto;opacity:0;pointer-events:none}
.nv-root.is-detail .nv-panel-home{transform:translateY(-14px)}
.nv-root:not(.is-detail) .nv-panel-detail{transform:translateY(14px)}

.nv-h1{margin:0;text-align:center}
.nv-h1 .l1{display:block;font-size:clamp(34px,3.2vw,46px);font-weight:500;line-height:1.15;color:var(--navy)}
.nv-h1 .l2{display:block;font-size:clamp(25px,2.4vw,34px);font-weight:400;line-height:1.2;color:var(--navy);margin-top:6px}
.nv-sub{font-size:16px;font-weight:300;line-height:1.7;color:var(--slate);max-width:460px;
  margin:22px auto 0;text-align:center}
.nv-chips{display:flex;flex-wrap:wrap;gap:28px 24px;margin:40px auto 0;max-width:540px;
  align-items:center;justify-content:center}
.nv-chip{display:flex;align-items:center;justify-content:center;height:52px;cursor:pointer;
  transition:transform .22s ease,opacity .22s ease}
.nv-chip img{width:150px;height:44px;object-fit:contain;display:block}
.nv-chip:hover{transform:scale(1.08)}
.nv-chips.is-hovering .nv-chip{opacity:.45}
.nv-chips.is-hovering .nv-chip:hover{opacity:1}

/* ---------- detail panel ---------- */
.nv-back{background:none;border:none;padding:0 0 18px;font-family:inherit;font-size:11px;
  font-weight:500;letter-spacing:.18em;color:var(--muted);cursor:pointer;display:block}
.nv-back:hover{color:var(--gold)}
.nv-blogo{max-width:200px;height:44px;object-fit:contain;object-position:left center;display:block}
.nv-btitle{font-size:30px;font-weight:500;color:var(--navy);line-height:1.1;margin:20px 0 0}
.nv-bsector{font-size:11px;font-weight:500;letter-spacing:.2em;color:var(--gold);margin-top:10px}
.nv-rule{width:44px;height:2px;background:var(--gold);margin-top:24px}
.nv-press:first-of-type{margin-top:24px}
.nv-para{font-size:15px;font-weight:300;line-height:1.8;color:var(--slate);max-width:500px;margin:18px 0 0}
.nv-press{display:block;margin-top:14px;padding:14px 18px;background:rgba(178,158,132,.1);
  border-radius:4px;max-width:456px}
.nv-press:hover{background:rgba(178,158,132,.18)}
.nv-press .lbl{font-size:10px;font-weight:500;letter-spacing:.2em;color:var(--gold);margin-bottom:5px}
.nv-press .q{font-size:13.5px;font-weight:400;color:var(--navy);line-height:1.5}
.nv-links{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.nv-links a{font-size:11px;font-weight:500;letter-spacing:.16em;color:var(--navy);
  border:1px solid var(--line);border-radius:3px;padding:9px 18px}
.nv-links a:hover{border-color:var(--gold);color:var(--gold)}

/* ---------- footer ---------- */
.nv-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:14px 56px;background:var(--charcoal);flex:none;margin-top:auto}
.nv-footer span{font-size:11px;letter-spacing:.14em;color:rgba(251,251,251,.55)}
.nv-footer a{font-size:11px;font-weight:500;letter-spacing:.16em;color:var(--gold)}

/* ---------- fullscreen viewer (mobile) ---------- */
.nv-fs{position:fixed;inset:0;background:#101418;z-index:50;display:flex;flex-direction:column}
.nv-fs[hidden]{display:none}
.nv-fs-top{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;flex:none}
.nv-fs-top span{font-size:11px;font-weight:500;letter-spacing:.2em;color:rgba(251,251,251,.75)}
.nv-fs-top button{background:none;border:1px solid rgba(251,251,251,.35);border-radius:3px;
  width:36px;height:36px;color:var(--ivory);font-size:16px;cursor:pointer;font-family:inherit}
.nv-fs-body{flex:1;position:relative;min-height:0}
.nv-fs-scroll{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch}
.nv-fs-slide{flex:0 0 100%;height:100%;scroll-snap-align:center;display:flex;
  align-items:center;justify-content:center}
.nv-fs-slide img{max-width:100%;max-height:100%;object-fit:contain}
.nv-fs-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:52px;
  background:rgba(16,20,24,.72);border:1px solid rgba(251,251,251,.55);border-radius:3px;
  color:var(--ivory);font-size:19px;cursor:pointer;z-index:2;font-family:inherit}
.nv-fs-prev{left:10px}.nv-fs-next{right:10px}
.nv-fs-dots{display:flex;justify-content:center;gap:8px;padding:16px;flex:none}
.nv-fs-dots i{width:7px;height:7px;border-radius:50%;background:rgba(251,251,251,.5);display:block}
.nv-fs-dots i.is-on{background:var(--gold)}

/* ---------- responsive (spec §Responsive) ---------- */
@media (max-width:1100px){
  .nv-main{grid-template-columns:1fr;gap:44px;padding:12px 40px 48px}
  .nv-visual{max-width:560px;margin:0 auto;width:100%}
  .nv-panels{min-height:0}
}
@media (max-width:640px){
  .nv-main{padding:4px 20px 16px;gap:20px;align-content:space-evenly}
  .nv-header{padding:10px 24px}
  .nv-header .nv-logo img{height:84px}
  .nv-h1 .l1{font-size:30px}
  .nv-h1 .l2{font-size:22px}
  .nv-sub{font-size:14.5px;margin-top:14px}
      /* 3-column logo grid on phones, mirroring the desktop rows-of-3.
     To revert: drop this block and the .nv-chip/.nv-chip img rules below it. */
  .nv-chips{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);
    gap:24px 14px;max-width:100%}
  .nv-chip{height:auto}
  /* --mh is this brand's phone height (set per brand in build.py, with optional
     per-brand overrides in content). The 0.88 multiplier shrinks every logo
     uniformly for breathing room WITHOUT flattening that per-brand tuning. */
  .nv-chip img{width:100%;height:calc(var(--mh, 28px) * .88) !important;object-fit:contain}
  /* 10 logos = 3 full rows + 1; centre the straggler instead of left-aligning */
  .nv-chip:last-child{grid-column:2}
  .nv-back{padding-bottom:10px}
  .nv-bsector{margin-top:6px}
  .nv-rule{margin-top:14px}
  .nv-para{margin-top:12px;font-size:14px;line-height:1.65}
  .nv-press{margin-top:14px}
  .nv-links{margin-top:16px;margin-bottom:26px;gap:7px;flex-wrap:nowrap}
  /* Kuya has three pills (WEBSITE / INSTAGRAM MAIN / INSTAGRAM ST-HENRI); shrink
     them so they share one row instead of wrapping */
  /* size to content — `flex:1 1 0` made all three equal width, so the longest
     label ("INSTAGRAM ST-HENRI") clipped while "WEBSITE" had slack */
  .nv-links a{padding:8px 9px;font-size:9px;letter-spacing:.05em;white-space:nowrap;
    flex:0 1 auto;text-align:center}
  .nv-visual{display:none}
  /* breathing room under the logo grid on the home screen */
  .nv-chips{margin-bottom:26px}
  /* brand pages: the photo sat too far from the Back button, and Back sat too
     tight against the logo beneath it */
  .nv-visual.is-detail{display:block;margin-bottom:-8px}
  /* .nv-under reserves 66px for the caption/slider, both hidden here — that
     empty band was the big gap between the photo and Back. */
  .nv-visual.is-detail .nv-under{min-height:0;margin-top:0}
  .nv-play{width:54px;height:54px}
  .nv-play::after{border-width:10px 0 10px 16px;margin-left:5px}
  .nv-panel-detail{padding-top:4px}
  .nv-back{padding-bottom:20px}
  .nv-brandhead{margin-top:2px}
  .nv-visual.is-detail .nv-photobox{height:240px}
  .nv-btitle{display:none}
  .nv-blogo{max-width:70%}
  .nv-sliderbar{display:none !important}
  /* prev/next only make sense with more than one slide (Sinta is film-only) */
  .nv-visual.is-detail.has-multi .nv-arrow-m.prev,
  .nv-visual.is-detail.has-multi .nv-arrow-m.next,
  .nv-visual.is-detail.has-multi .nv-arrow-m.expand{display:block}
  .nv-arrow-m{position:absolute;background:rgba(31,42,58,.45);border:none;border-radius:3px;
    color:var(--ivory);cursor:pointer;z-index:2;font-family:inherit}
  .nv-arrow-m.prev{left:10px;top:50%;transform:translateY(-50%);width:34px;height:44px;font-size:17px}
  .nv-arrow-m.next{right:10px;top:50%;transform:translateY(-50%);width:34px;height:44px;font-size:17px}
  .nv-arrow-m.expand{right:10px;bottom:10px;width:34px;height:34px;font-size:15px}
  /* keep the copyright and the email on one line — the city pushed it to two */
  .nv-footer{padding:13px 20px;flex-wrap:nowrap;gap:10px}
  .nv-footer .loc{display:none}
  .nv-footer span,.nv-footer a{font-size:9.5px;letter-spacing:.08em;white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

/* No-JS: every brand page is a real page, so just show the served state. */
.no-js .nv-chips.is-hovering .nv-chip{opacity:1}
.no-js .nv-back{display:none}

/* ---------- intro ------------------------------------------------------------
   Overlay on top of already-rendered content — never a gate that defers it, so
   crawlers and no-JS visitors get the full page regardless. Home pages only,
   once per session. `.nv-seen` is set by an inline head script before paint so
   returning visitors never see a flash of it. */
.nv-intro{position:fixed;inset:0;z-index:60;background:var(--ivory);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  transition:opacity .55s ease}
.nv-seen .nv-intro{display:none}
.nv-intro[hidden]{display:none}
.nv-intro-n{position:relative;width:min(52vh,460px);aspect-ratio:1/1;flex:none;
  opacity:0;transform:scale(.96);
  animation:nvIntroIn 1.6s cubic-bezier(.22,.61,.36,1) forwards}
@keyframes nvIntroIn{to{opacity:1;transform:scale(1)}}
.nv-intro-mask{position:absolute;inset:0;overflow:hidden;
  -webkit-mask-image:url(assets/brand/mark-transparent.png);
  mask-image:url(assets/brand/mark-transparent.png);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain}
.nv-intro-mask video,.nv-intro-mask img{position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;transform:scale(1.35)}
/* the poster paints instantly; the 3.6MB video fades in when it can play */
.nv-intro-mask video{opacity:0;transition:opacity .5s ease}
.nv-intro-mask video.is-ready{opacity:1}
.nv-intro-skip{margin-top:22px;text-align:center;
  font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);
  opacity:0;animation:nvIntroHint .5s ease 1.6s forwards}
@keyframes nvIntroHint{to{opacity:.85}}
.nv-intro.is-out{opacity:0;pointer-events:none}
/* hide the page's own N only while the intro's copy is flying to meet it */
.nv-flying .nv-mask{opacity:0}

@media (max-width:640px){
  .nv-intro-n{width:min(46vh,320px)}
}
/* Motion-sensitive visitors get the site directly. */
@media (prefers-reduced-motion:reduce){
  .nv-intro{display:none}
}

/* footer credit — desktop only; the mobile footer is already a tight single row */
.nv-credit{font-size:10px;letter-spacing:.14em;color:rgba(251,251,251,.38)}
.nv-credit:hover{color:var(--gold)}
@media (max-width:900px){ .nv-credit{display:none} }

/* ---------- image grab-resistance ------------------------------------------
   Raises the effort of casually saving a logo or photo: no drag, no long-press
   save sheet, no selection. It is friction, NOT protection — anything the
   browser renders can still be taken from devtools, the network tab, or a
   screenshot. Deliberately scoped to images only: text stays selectable so
   people can still copy the address and email. */
.nv-root img, .nv-intro img{
  -webkit-user-drag:none; -khtml-user-drag:none; -moz-user-drag:none; user-drag:none;
  -webkit-touch-callout:none;
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;
  pointer-events:none;            /* the wrapping <a>/<button> still gets the click */
}
