:root {
  --ink: #071018;
  --navy: #0c1b27;
  --slate: #213746;
  --ice: #edf5f8;
  --white: #ffffff;
  --blue: #27b9ed;
  --blue-2: #8bdef7;
  --red: #ef3340;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(2, 10, 18, 0.22);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    repeating-radial-gradient(ellipse at 100% 0%, transparent 0 24px, rgba(26, 78, 104, .12) 25px 26px),
    linear-gradient(145deg, transparent 65%, rgba(39, 185, 237, .12));
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-140%); background: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { color: #fff; background: rgba(5,14,22,.92); box-shadow: 0 10px 36px rgba(0,0,0,.24); backdrop-filter: blur(16px); }
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand-logo { width: 220px; height: 68px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 5px 14px rgba(0,0,0,.42)); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: .92rem; letter-spacing: .02em; position: relative; text-shadow: 0 2px 10px rgba(0,0,0,.42); }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.45); padding: 10px 16px; border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.18); color: #fff; border-radius: 50%; font-size: 1.2rem; }

.hero { min-height: 92vh; color: #fff; position: relative; display: grid; align-items: end; overflow: hidden; background: #08131d url('./hero-ski-team.png') center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,12,19,.96) 0%, rgba(4,12,19,.8) 38%, rgba(4,12,19,.18) 74%), linear-gradient(0deg, rgba(4,12,19,.88), transparent 60%); }
.hero::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -88px; height: 150px; background: var(--ice); transform: rotate(-3deg); transform-origin: 50% 100%; }
.hero-inner { position: relative; z-index: 2; width: min(100%, 760px); padding: 170px 0 150px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; color: var(--blue-2); }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 8.5vw, 7.6rem); max-width: 10ch; text-transform: uppercase; }
.hero h1 { font-size: clamp(3rem, 6.8vw, 6.4rem); max-width: 13ch; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
.hero-lead { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 610px; color: rgba(255,255,255,.8); margin: 26px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 850; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn::after { content: "↗"; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #04121b; background: var(--blue); }
.btn-primary:hover { background: #65d4f6; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.07); }
.btn-dark { color: #fff; background: var(--ink); }

.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: end; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); text-transform: uppercase; }
.section-head p { margin: 0; max-width: 680px; color: #4f6471; font-size: 1.08rem; }
.section-head.compact { grid-template-columns: 1fr; }
.section-head.compact h2 { max-width: 12ch; }

.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-card { position: relative; overflow: hidden; min-height: 480px; padding: 38px; border-radius: var(--radius); text-decoration: none; color: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.brand-card::before { content: ""; position: absolute; inset: 0; z-index: -2; transition: transform .45s ease; }
.brand-card:hover::before { transform: scale(1.04); }
.brand-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(2,10,16,.95), rgba(2,10,16,.08)); }
.brand-card.ziener::before { background: linear-gradient(145deg, rgba(20,61,82,.2), transparent), url('./ziener-groupe.jpg') center 38%/cover; }
.brand-card.nagano::before { background: #0a1117 url('./nagano-editorial-branded.webp') center 44%/cover; }
.brand-card .index { color: var(--blue-2); font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.brand-card h3 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-top: 8px; text-transform: uppercase; }
.brand-card p { max-width: 500px; color: rgba(255,255,255,.74); margin: 14px 0 20px; }
.card-link { font-weight: 850; display: inline-flex; align-items: center; gap: 10px; }
.card-link span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--ink); }

.about-zandco { color: #fff; background: linear-gradient(138deg, #071018 0%, #102d3d 72%, #174f67 100%); position: relative; overflow: hidden; }
.about-zandco::before { content: ""; position: absolute; width: 540px; height: 540px; right: -220px; top: -250px; border: 1px solid rgba(139,222,247,.22); border-radius: 50%; box-shadow: 0 0 0 90px rgba(39,185,237,.035), 0 0 0 180px rgba(39,185,237,.025); }
.about-intro { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-intro h2 { max-width: 12ch; font-size: clamp(2.4rem, 5vw, 5rem); text-transform: uppercase; }
.about-copy p { margin: 0 0 20px; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.service-grid { position: relative; margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { min-height: 260px; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.service-card > span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 46px; border-radius: 50%; color: var(--ink); background: var(--blue); font-weight: 900; }
.service-card h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.02em; }
.service-card p { margin: 12px 0 0; color: rgba(255,255,255,.7); }

.contact-band { color: #fff; background: var(--ink); position: relative; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border: 1px solid rgba(39,185,237,.32); border-radius: 50%; box-shadow: 0 0 0 90px rgba(39,185,237,.04), 0 0 0 180px rgba(39,185,237,.035); }
.contact-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding: 78px 0; }
.contact-wrap h2 { font-size: clamp(2.4rem, 5vw, 5rem); text-transform: uppercase; max-width: 11ch; }
.contact-wrap p { color: rgba(255,255,255,.66); max-width: 620px; }
.contact-mail { color: #fff; text-decoration: none; font-size: clamp(1rem, 2.3vw, 1.45rem); font-weight: 850; border-bottom: 2px solid var(--blue); word-break: break-word; }
.legal { color: rgba(255,255,255,.48); font-size: .82rem; }
.contact-details { padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.contact-details .legal { margin: 22px 0 0; }

.page-hero { min-height: 72vh; color: #fff; padding-top: 96px; display: grid; align-items: end; position: relative; overflow: hidden; background: var(--ink); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--page-image) var(--page-position, center)/cover no-repeat; opacity: .86; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,16,.97) 0%, rgba(3,10,16,.7) 42%, rgba(3,10,16,.14) 76%), linear-gradient(0deg, rgba(3,10,16,.9), transparent 70%); }
.page-hero .shell { position: relative; z-index: 2; padding-block: 110px 86px; }
.page-hero .hero-copy { width: min(calc(100% - 40px), var(--max)); }
.page-hero .hero-copy > *:not(.brand-lockup) { max-width: 570px; }
.page-hero h1 { font-size: clamp(3.2rem, 9vw, 8rem); }
.page-hero p { max-width: 680px; color: rgba(255,255,255,.76); font-size: 1.18rem; margin: 22px 0 30px; }
.ziener-hero { --page-image: url('./ziener-skieur.jpg'); --page-position: center; }
.ziener-hero::before { left: 48%; background-position: center; opacity: 1; }
.ziener-hero::after { left: 46%; background: linear-gradient(90deg, rgba(3,10,16,.74), transparent 18%), linear-gradient(0deg, rgba(3,10,16,.26), transparent 45%); }
.ziener-hero .hero-copy { margin-left: max(20px, calc((100vw - var(--max)) / 2)); margin-right: auto; width: min(44vw, 540px); padding-left: 0; padding-right: 30px; }
.nagano-hero { --page-image: url('./nagano-hero.webp'); --page-position: center; }
.brand-lockup { display: inline-flex; align-items: center; margin-bottom: 28px; }
.brand-lockup img { width: min(300px, 62vw); max-height: 86px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.38)); }
.nagano-lockup img { width: min(430px, 76vw); max-height: 92px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.copy h2 { font-size: clamp(2.2rem, 4.8vw, 4.8rem); text-transform: uppercase; margin-bottom: 24px; }
.copy p { color: #526773; margin: 0 0 18px; }
.stat-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat-panel::before { content: ""; position: absolute; width: 190px; height: 190px; border: 40px solid rgba(39,185,237,.12); border-radius: 50%; right: -70px; top: -70px; }
.stat { padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.stat:last-child { border-bottom: 0; }
.stat strong { display: block; color: var(--blue-2); font-size: 2.4rem; line-height: 1; letter-spacing: -.05em; }
.stat span { color: rgba(255,255,255,.7); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid #d6e2e7; border-radius: 18px; padding: 28px; }
.feature-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #dff5fc; color: #075d7b; font-weight: 900; margin-bottom: 42px; }
.feature h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.feature p { color: #62757f; margin: 12px 0 0; }

.ziener-gallery { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.ziener-gallery.single { grid-template-columns: 1fr; }
.ziener-gallery.single .gallery-card { min-height: min(58vw, 650px); }
.ziener-gallery.single .gallery-card img { object-position: center 54%; }
.gallery-card { margin: 0; min-height: 540px; overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); position: relative; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 12px 16px; border-radius: 12px; color: #fff; background: rgba(5,14,22,.78); backdrop-filter: blur(10px); font-weight: 750; }
.gallery-card.portrait img { object-position: center 30%; }

.product-stage { background: #fff; border-radius: var(--radius); overflow: hidden; min-height: 720px; display: grid; place-items: center; box-shadow: var(--shadow); padding: 10px; }
.product-stage img { width: 100%; height: 100%; object-fit: contain; }
.product-list { display: grid; gap: 14px; }
.brand-story { align-content: center; gap: 28px; }
.brand-story .copy p { color: #334c5a; line-height: 1.68; }
.brand-story .copy strong { font-weight: 680; }
.size-range { padding: 28px; color: #fff; background: linear-gradient(125deg, var(--ink), #173d50); border-radius: 20px; box-shadow: var(--shadow); }
.size-range-title { margin: 0 0 16px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--blue-2); }
.size-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-chips span { min-height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.07); font-weight: 850; }
.product-item { background: #fff; border: 1px solid #d4e1e7; border-radius: 18px; padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.product-item .tag { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; }
.product-item h3 { font-size: 1.2rem; }
.product-item p { margin: 4px 0 0; color: #61747e; font-size: .95rem; }
.fis-panel { background: linear-gradient(130deg, #fff, #dff4fb); border: 1px solid #bbd8e3; border-radius: var(--radius); padding: 38px; display: flex; align-items: center; gap: 28px; }
.fis-logo { flex: 0 0 126px; width: 126px; max-height: 180px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(6,16,24,.18)); }
.fis-panel h3 { font-size: 1.6rem; }
.fis-panel p { margin: 8px 0 0; color: #526772; }

.cta-panel { color: #fff; background: linear-gradient(120deg, #0c1b27 10%, #15394d); border-radius: var(--radius); padding: 56px; display: flex; justify-content: space-between; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.cta-panel::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 330px; height: 330px; border-radius: 50%; border: 60px solid rgba(39,185,237,.12); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 4rem); text-transform: uppercase; max-width: 12ch; }
.cta-panel p { color: rgba(255,255,255,.68); max-width: 540px; }

footer { background: #050b10; color: rgba(255,255,255,.58); padding: 28px 0; font-size: .85rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #fff; text-decoration: none; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

.legal-page { background: #08141e; }
.legal-hero { min-height: 42vh; display: grid; align-items: end; padding: 170px 0 74px; color: #fff; background: linear-gradient(125deg, rgba(5,14,22,.98), rgba(12,48,66,.92)), url('./hero-ski-team.png') center 34%/cover no-repeat; }
.legal-hero h1 { max-width: none; font-size: clamp(2.8rem, 7vw, 6.8rem); }
.legal-content { padding: 80px 0 110px; background: var(--ice); }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.legal-card { padding: 34px; border: 1px solid #d4e1e7; border-radius: 20px; background: #fff; }
.legal-card.wide { grid-column: 1 / -1; }
.legal-card h2 { margin-bottom: 20px; font-size: 1.5rem; letter-spacing: -.025em; }
.legal-card p { margin: 0 0 12px; color: #4b626f; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: #075f80; font-weight: 750; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { min-height: 82px; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 78px; padding: 18px; border-radius: 18px; background: rgba(5,14,22,.98); display: none; flex-direction: column; align-items: stretch; gap: 4px; box-shadow: var(--shadow); }
  .nav-links { color: #fff; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .hero-inner { padding-top: 145px; }
  .hero::before { background: linear-gradient(90deg, rgba(4,12,19,.94), rgba(4,12,19,.45)), linear-gradient(0deg, rgba(4,12,19,.92), transparent 65%); }
  .section { padding: 76px 0; }
  .section-head, .split, .contact-wrap, .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr; }
  .ziener-gallery { grid-template-columns: 1fr; }
  .gallery-card { min-height: 440px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-card.wide { grid-column: auto; }
  .ziener-hero { padding-top: 0; align-items: end; }
  .ziener-hero::before { left: 0; bottom: 48%; background-size: cover; background-position: center; }
  .ziener-hero::after { left: 0; bottom: 48%; background: linear-gradient(0deg, rgba(3,10,16,.82), transparent 38%); }
  .ziener-hero .hero-copy { margin: 0 auto; width: min(calc(100% - 28px), var(--max)); padding: 500px 0 70px; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.75rem, 16vw, 4.4rem); }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.9rem); }
  .brand-logo { width: 174px; height: 56px; }
  .hero { min-height: 820px; background-position: 62% center; }
  .hero-inner { padding-bottom: 130px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .brand-card { min-height: 390px; padding: 28px; }
  .page-hero .shell { padding-block: 90px 64px; }
  .fis-panel { align-items: flex-start; flex-direction: column; }
  .product-stage { min-height: 420px; }
  .page-hero .hero-copy { width: min(calc(100% - 28px), var(--max)); }
  .fis-logo { flex-basis: 100px; width: 100px; }
  .size-chips { grid-template-columns: 1fr; }
  .ziener-hero .hero-copy { padding-top: 430px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card > span { margin-bottom: 28px; }
  .contact-details { padding: 24px; }
  .legal-hero { padding: 145px 0 62px; }
  .legal-card { padding: 26px; }
}
