/*
 * Strona główna według projektu z public/projekt (eksport InDesign, płótno 1920 × 9270 px).
 * Wszystkie wymiary są w pikselach płótna; całe .page skaluje się do szerokości okna
 * przez zoom (--z ustawia skrypt w <head>), więc proporcje zostają jak w projekcie.
 * Pozycje „top” bloków tekstu = górna krawędź pierwszego wiersza z projektu
 * minus połowa interlinii (line-height − font-size) / 2.
 */

@font-face {
    font-family: "HelveticaNeueLT Pro 45 Lt";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("HelveticaNeueLTPro-Lt"), local("Helvetica Neue LT Pro 45 Light"),
        url("../fonts/kalmar/HelveticaNeueLTPro-Lt.otf") format("opentype");
}

/* Kursywa kroju podstawowego (46 Light Italic), jak w eksporcie projektu. */
@font-face {
    font-family: "HelveticaNeueLT Pro 45 Lt";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: local("HelveticaNeueLTPro-LtIt"), local("Helvetica Neue LT Pro 46 Light Italic"),
        url("../fonts/kalmar/HelveticaNeueLTPro-LtIt.otf") format("opentype");
}

/* Odmiany spoza projektu strony głównej: pobierane dopiero, gdy coś ich użyje. */
@font-face {
    font-family: "HelveticaNeueLT Pro 43 LtEx";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("HelveticaNeueLTPro-LtEx"), url("../fonts/kalmar/HelveticaNeueLTPro-LtEx.otf") format("opentype");
}

@font-face {
    font-family: "HelveticaNeueLT Pro 43 LtEx";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: local("HelveticaNeueLTPro-LtExO"), url("../fonts/kalmar/HelveticaNeueLTPro-LtExO.otf") format("opentype");
}

@font-face {
    font-family: "DIN Light";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("DIN-Light"), local("DIN Light"), url("../fonts/kalmar/din-light-opentype.otf") format("opentype");
}

html { background: #fff; }
body { margin: 0; }

.page {
    position: relative;
    width: 1920px;
    zoom: var(--z, 1);
    background: #fff;
    color: #000;
    font: 300 18px/1 "HelveticaNeueLT Pro 45 Lt", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-rendering: optimizeSpeed;
}

/* Resets without specificity, so the classes below always win. */
:where(.page *, .page *::before, .page *::after) { box-sizing: border-box; }
:where(.page) :where(h1, h2, h3, p, ul, blockquote, figure, address) { margin: 0; padding: 0; font: inherit; }
:where(.page) :where(ul) { list-style: none; }
:where(.page) :where(a) { color: inherit; text-decoration: none; }
:where(.page) :where(img) { display: block; }
:where(.page) :where(button) { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }

/* One line of text, with the line's own indent from the design. */
.l { display: block; padding-left: var(--i, 0); white-space: nowrap; }
.up { text-transform: uppercase; }
.abs { position: absolute; }

.t14 { font-size: 14px; line-height: 14px; }
.t18 { font-size: 18px; line-height: 21.6px; }
.t24 { font-size: 24px; line-height: 28.8px; }
.t35 { font-size: 35px; line-height: 40px; }
.t60 { font-size: 60px; line-height: 70px; }
.t110 { font-size: 110px; line-height: 100px; }

.white { color: #fff; }

/* Sections (stacked as in the design). */
.s { position: relative; overflow: hidden; }
.s-hero, .s-hero2 { height: 1080px; background: #000; color: #fff; }
.s-intro { height: 3280px; }
.s-stats { height: 360px; background: #000; color: #fff; }
.s-promo { height: 990px; background: #cecece; }
.s-b2b { height: 360px; background: #000; color: #fff; }
.s-story { height: 840px; background: #cecece; }
.s-opinions { height: 440px; }
.s-foot { height: 840px; background: #000; color: #fff; }

.cover, .shade { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.cover { object-fit: cover; }
.shade { background: rgba(0, 0, 0, .3); }
.photo { position: absolute; object-fit: cover; }

/* Arrow link: text with a thin rule under it (14.6 px below the top of the letters), DIN arrow raised a little. */
.more { position: absolute; display: block; font-size: 18px; line-height: 18px; white-space: nowrap; }
.u { position: relative; display: inline-block; }
.u::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 5.6px); height: 1px; background: currentColor; opacity: .5; }
.arr { position: relative; top: -4.4px; font-family: "DIN Light", "HelveticaNeueLT Pro 45 Lt", "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* Header over the hero. */
.top { position: absolute; z-index: 2; top: 0; left: 0; width: 1920px; height: 0; color: #fff; }
.menu-btn { position: absolute; left: 80px; top: 40.7px; width: 30px; height: 20px; }
.menu-btn span { position: absolute; left: 0; width: 30px; height: 1px; background: #fff; }
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 9.5px; }
.menu-btn span:nth-child(3) { top: 19px; }
.logo { position: absolute; left: 783.69px; top: 120px; width: 352.61px; height: 42.84px; }
.logo img, .ico img { width: 100%; height: 100%; }
.ico { position: absolute; display: block; }
.ico svg { display: block; overflow: visible; }
.ico-search { left: 1546.2px; top: 40.5px; width: 24px; height: 25px; }
.ico-bag { left: 1601.7px; top: 40.6px; width: 20px; height: 25px; }
.ico-heart { left: 1653.31px; top: 43.02px; width: 23.2px; height: 20.61px; }
.lang { position: absolute; left: 1706.86px; top: 46.5px; line-height: 18px; }
/* The language list under the code: Polish, then rows of three. */
.lang button { display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: inherit; letter-spacing: inherit; cursor: pointer; }
.lang ul { position: absolute; left: -16px; top: 30px; margin: 0; padding: 12px 16px; list-style: none; background: rgba(0, 0, 0, .72); }
.lang li { display: flex; gap: 18px; white-space: nowrap; line-height: 30px; }
.lang li a { display: block; width: 28px; color: inherit; text-decoration: none; }
.lang li a:hover, .lang li a:focus-visible, .lang li a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.login { position: absolute; left: 1763.03px; top: 46.3px; line-height: 18px; white-space: nowrap; }

/* The hamburger's menu: covers the window, links in the design's large type; the cross sits where the button is. */
.menu-panel { position: fixed; z-index: 10; inset: 0; overflow-y: auto; background: #000; color: #fff; }
.menu-panel[hidden] { display: none; }
.menu-close span:nth-child(1) { top: 9.5px; transform: rotate(33.7deg); }
.menu-close span:nth-child(2) { top: 9.5px; transform: rotate(-33.7deg); }
.menu-panel nav { padding: 240px 80px 80px; font-size: 60px; line-height: 84px; text-transform: uppercase; }
.menu-panel nav a { display: inline-block; white-space: nowrap; }
.menu-panel nav a:hover, .menu-panel nav a:focus-visible { opacity: .6; }

/* 1. Hero */
.hero-title { left: 80px; top: 536.5px; }
/* The list ends where the design's six items end (1014.1 px); more items grow upwards. */
.hero-nav { left: 1546.7px; bottom: 65.9px; line-height: 36px; text-transform: uppercase; }
.hero-lead { left: 80.5px; top: 852.44px; }
.hero-lead .gap { margin-top: 40px; }
.hero-arrows { position: absolute; left: 875px; top: 972.13px; width: 170.75px; height: 28px; }
.hero-arrows::before { content: ""; position: absolute; left: 11.7px; top: 0; width: 146.7px; height: 1px; background: #fff; }
.hero-arrows img { position: absolute; top: .45px; width: 24.15px; height: 27.3px; }

/* 2. Intro: photo blocks. The first as in the design (photo right, text top left); the next
   alternate photo left / photo centre every 1000 px, their text ending level with the photo. */
.ib { position: absolute; left: 0; width: 1920px; height: 840px; }
.ib .photo { top: 0; width: 733.4px; height: 840px; }
.ib-a .photo { left: 1106.7px; top: 80.2px; width: 813.3px; height: 1000px; }
.ib-b .photo { left: 80px; }
.ib-c .photo { left: 520.1px; }
.ib-b .ib-text { position: absolute; left: 853.4px; bottom: -6.9px; }
.ib-c .ib-text { position: absolute; left: 1293.4px; bottom: -6.7px; }
.ib-text h2 + p { margin-top: 16px; }
.ib-text p + p { margin-top: 21.6px; }
.warmth { position: absolute; left: 666.7px; top: 77.46px; width: 401.5px; }
/* Right-aligned lines as flex ends: a line wider than its box (fallback font) grows to the left, as in the design. */
.warmth .r, .warmth p .l, .promo-head h2, .promo-head p { display: flex; justify-content: flex-end; white-space: nowrap; }
.choose { left: 519.6px; }
.more-1 { left: 1399.5px; }

/* 3. Numbers */
.stats { position: absolute; top: 117.4px; left: 0; }
.stat { position: absolute; top: 0; width: 439.6px; text-align: center; }
.stat strong { display: block; font-weight: inherit; font-size: 60px; line-height: 60px; }
.stat > span { display: block; margin-top: 29.8px; }
/* More than four: a running strip (two copies, moved by half its width), paused under the pointer. */
.stats-run { display: flex; width: max-content; animation: stats-run var(--t, 40s) linear infinite; }
.stats-run .stat { position: relative; flex: none; width: 440px; }
.s-stats:hover .stats-run { animation-play-state: paused; }
@keyframes stats-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .stats-run { animation: none; }
    .s-stats:has(.stats-run) { overflow-x: auto; }
}

/* 4. New models */
.hero2-title { left: 79.9px; top: 726.5px; }
.dots { position: absolute; line-height: 18px; white-space: nowrap; }
.dots span { position: absolute; top: 0; }
.dots-hero { left: 1693.3px; top: 739.95px; }
.more-2 { left: 1106.7px; top: 1000.9px; }

/* 5. Promotions */
.promo-head { left: 1106.7px; top: 79.98px; width: 733.3px; }
.promo-head h2 { font-size: 60px; line-height: 60px; text-transform: uppercase; }
.promo-head p { margin-top: 37.8px; font-size: 35px; line-height: 35px; }
.card { position: absolute; display: block; top: 280px; width: 528.25px; }
.card img { width: 528.25px; height: 530px; object-fit: cover; }
/* A product without a photo keeps the card's height; a long product name stays on the design's one line, clear of the badge. */
.card-nophoto { display: inline-block; width: 528.25px; height: 530px; vertical-align: bottom; }
.card h3 { max-width: 440px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-3 img { width: 530px; margin-left: -1.75px; }
.card h3 { margin-top: 40px; font-size: 35px; line-height: 35px; }
.card .meta { display: flex; justify-content: space-between; width: 440px; margin-top: 12.1px; line-height: 18px; white-space: nowrap; }
.card .badge { position: absolute; right: 0; top: 570px; font-size: 24px; line-height: 24px; }

/* 6. B2B */
.b2b-item { position: absolute; top: 92.6px; width: 260px; }
.b2b-item p { margin-top: 34.4px; }

/* 7. Inspiration story */
.story-title { left: 960.4px; top: 82.22px; }
.dots-story { left: 1693.3px; top: 79.95px; }
.story-text { left: 960px; top: 277.6px; }
.story-text p + p { margin-top: 28.8px; }
.story-claim { left: 960px; top: 552.44px; }
.story-claim p { margin-top: 20px; }
.more-3 { left: 1540.4px; top: 746px; }
.more-3 .arr { top: -3.4px; }

/* 8. Opinions */
.sygnet { left: 80px; top: 169.7px; width: 171.69px; height: 71.72px; }
.opinions-title { left: 374.4px; top: 79.96px; font-size: 35px; line-height: 35px; }
/* Slider: a window of one slide (879 px = from the quote to the author's right edge), the track moves by slides. */
.opinions-view { position: absolute; left: 374.4px; top: 157.8px; width: 879px; height: 212px; overflow: hidden; }
.opinions-track { display: flex; width: max-content; transition: transform .7s ease; }
.opinion-slide { position: relative; flex: none; width: 879px; height: 212px; margin: 0; }
.opinion p + p { margin-top: 21.6px; }
/* Opinions from the panel are running text: wrapped at the design's column, at most 8 lines. */
.opinion-wrap { width: 733px; max-height: 172.8px; overflow: hidden; }
.opinion-wrap .l { white-space: normal; }
.opinion-dots { position: absolute; right: 80px; top: 88.4px; display: flex; gap: 30px; margin: 0; line-height: 18px; }
.opinion-dots button.is-on::before { content: "( "; }
.opinion-dots button.is-on::after { content: " )"; }
@media (prefers-reduced-motion: reduce) { .opinions-track { transition: none; } }
.opinion-heart { left: 1230.13px; top: 160px; width: 23.2px; height: 20.6px; }
.opinion-author { position: absolute; right: 0; top: 189.3px; line-height: 18px; white-space: nowrap; }

/* 9. Footer */
.foot-logo { left: 782.62px; top: 79.6px; }
.salons { left: 373.3px; top: 275.61px; line-height: 36px; text-transform: uppercase; }
.salons small { font-size: 14px; }
.company { left: 782.6px; top: 282.75px; font-style: normal; }
.company .gap { margin-top: 21.6px; }
.contact { left: 1253.4px; top: 276.5px; text-transform: uppercase; }
.contact a { display: block; line-height: 36px; white-space: nowrap; }
/* A row in the editor's order; with the design's four icons every one lands on its design position. */
.social { position: absolute; left: 1253.4px; top: 405.64px; height: 25px; display: flex; align-items: center; gap: 29.15px; }
.social > * { display: block; flex: none; }
.social img { display: block; width: 100%; height: 100%; }
.social .fb { width: 11.46px; height: 23px; margin-right: 4.06px; }
.social .pin { width: 25px; height: 25px; }
.social .ig { width: 23.01px; height: 23px; }
.social .in { position: relative; top: -.59px; width: 20.3px; height: 20px; }
.social .own { height: 23px; }
.social .own img { width: auto; }
.legal { position: absolute; left: 374.4px; top: 669.95px; line-height: 18px; white-space: nowrap; }
.legal a { position: absolute; top: 0; }
/* Other languages: the labels have other widths, so they follow one another. */
.legal-flow { display: flex; flex-wrap: wrap; gap: 0 40px; max-width: 1460px; }
.legal-flow a { position: static; }
.copy { left: 85.03px; top: 747.54px; white-space: nowrap; }
