/* ===== Shared fixes for all prototypes: one type scale, one spacing scale, contrast ===== */
:root{
  --gold-text:#7A6312;          /* label gold that passes contrast on paper (was #927719) */
  --gold-strong:#9A7A14;        /* large display gold on cream (was #E5B91F, ~1.8:1) */
  --t-label:11px; --t-label-track:.18em;
  --t-small:14px; --t-body:16px; --t-lead:21px; --t-h3:28px;
  --t-h2:clamp(36px,4.2vw,58px);
  --sp-section:clamp(88px,9vw,136px);   /* one section rhythm everywhere */
  --sp-head:24px;                       /* heading -> text */
  --sp-block:56px;                      /* between blocks inside a section */
  --gutter:8vw;
}
/* labels */
.eyebrow,.kicker,.map-meta,.tech-card .index,.section-number,.hero-scroll,.hero-side{font-size:var(--t-label)!important;letter-spacing:var(--t-label-track)!important}
.eyebrow{color:var(--gold-text);margin-bottom:16px}
.navlinks{font-size:11px;letter-spacing:.16em}
.cta{font-size:11px;padding:16px 24px;letter-spacing:.14em}
.view-tab{font-size:11px;padding:16px 26px}
.map-switch button{font-size:11px;padding:12px 18px}
.view-swipe-cue .cue-text{font-size:11px}
.tech-card .benefit-chip{font-size:11px}
/* text */
.copy,.faq-a,.map-copy p{font-size:var(--t-body)!important;line-height:1.7}
.residences .copy{font-size:var(--t-body)!important;line-height:1.7}
.lead{font-size:var(--t-lead);line-height:1.45}
.tech-card p{font-size:var(--t-small)!important;line-height:1.6}
.map-access li{font-size:15px}
h2,.enquire h2,.faq h2,h1.h2,.enquire h1.h2,.faq h1.h2{font-size:var(--t-h2)!important;line-height:1.05}
.enquire-band h2,.enquire-band h1.h2{font-size:clamp(28px,2.6vw,38px)!important}
.map-copy h3,.view-copy .view-title{font-size:var(--t-h3)!important;line-height:1.15}
h2 + .lead,h2 + p,h1 + p,h1.h2 + .lead,h1.h2 + p{margin-top:var(--sp-head)}
.lead + .copy{margin-top:0}
/* one section rhythm */
.intro,.location,.residences,.tech,.enquire,.faq{padding-top:var(--sp-section)!important;padding-bottom:var(--sp-section)!important}
.enquire-band{padding:calc(var(--sp-section)*.7) var(--gutter)!important}
.next-page a{padding:calc(var(--sp-section)*.7) var(--gutter)!important}
.intro:before{content:none}            /* lone "01" with no 02, 03... */
.intro-right{padding-top:0}
.intro{align-items:end}
/* one-off inline margins -> scale */
.onsen-copy>div[style]{margin-top:32px!important}
.residences>p.copy[style]{margin-top:var(--sp-head)!important}
.residences>p.copy[style]:last-child{margin-top:var(--sp-block)!important}
.res-gallery{margin-top:var(--sp-block)}
.tech-track-wrap{margin-top:var(--sp-block)}
.tech-note{display:none}             /* drag handlers removed, so the "drag" hint goes too */
/* Built for Niseko cards: no text-on-drawing collisions, readable gold */
.tech-card{height:auto!important;min-height:520px;padding:34px 34px 210px!important}
.tech-card .benefit-cluster{position:static!important;margin-top:20px;max-width:none!important}
.tech-card .arch-watermark{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 55%);mask-image:linear-gradient(to bottom,transparent 0,#000 55%)}
.tech-highlight{color:var(--gold-strong)!important}
/* mobile menu (original hid the nav with no replacement) */
.nav-toggle{display:none;background:none;border:1px solid currentColor;color:inherit;padding:9px 14px;font:500 11px var(--num);letter-spacing:.16em;text-transform:uppercase;cursor:pointer}
@media(max-width:900px){
  .nav-toggle{display:block}
  .nav.open .navlinks{display:flex;position:fixed;top:68px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:22px;padding:28px 6vw 36px;background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line);font-size:13px}
  .nav.open{background:var(--paper);color:var(--ink)}
  .nav.open .brand-logo-white{opacity:0}.nav.open .brand-logo-black{opacity:1}
  .navlinks .nav-enquire{border-left:0;padding-left:0}
  :root{--gutter:6vw}
}
@media(max-width:700px){:root{--t-lead:19px;--t-h3:24px}}
.cursor-dot{display:none}

/* Bigger tap areas for the small footer links, the language switch and "Keep English" (Google's mobile check wants
   about 24px+). The extra area is an invisible layer around each link, so nothing moves and nothing looks different.
   Sized so neighbouring links' areas don't overlap. */
.foot ul a,.footer-lang a,.lp-no{position:relative}
.foot ul a::after,.lp-no::after{content:"";position:absolute;inset:-4px -4px}
.lp-no::after{inset:-3px -4px}
/* the language links' ::after is switched off in style.css, so they use ::before */
.footer-lang a::before{content:"";position:absolute;inset:-6px;background:none!important;border:0!important}
