/* Stay Direct Sites: a paint-chip display. Card stock under store light, chip fields in colours sampled from real
   sites, and the packages as one strip of a front-door green from light to deep. */
@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/schibsted.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --stock: #f6f7f4;
  --card: #fdfdfb;
  --rack: #e7eae5;
  --ink: #17211e;
  --ink-2: #3f4c47;
  --ink-3: #5c6863;
  --rule: rgba(23, 33, 30, .14);
  --door-1: #dbe9e1;
  --door-2: #9dc3b3;
  --door-3: #2f6a59;
  --door-4: #1d463b;
  --door-hover: #285b4d;
  --shadow: 0 22px 34px -22px rgba(18, 30, 26, .5), 0 2px 5px rgba(18, 30, 26, .08);
  --shadow-lift: 0 34px 46px -26px rgba(18, 30, 26, .55), 0 4px 10px rgba(18, 30, 26, .1);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1280px;
}
.c-sme { --chip: #c9a48b; --light: #efe5dc; --deep: #3b2f27; }
.c-mh  { --chip: #c5b19b; --light: #ece6de; --deep: #2b2b2b; }
.c-lb  { --chip: #d6b7b5; --light: #f4e8e6; --deep: #5b3b3a; }
.c-cac { --chip: #d09a3f; --light: #f5e7c9; --deep: #304860; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--stock); scrollbar-color: var(--door-2) var(--stock); accent-color: var(--door-3); caret-color: var(--door-3); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--stock); color: var(--ink); font: 400 17px/1.55 var(--font); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
::selection { background: var(--door-2); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 760; letter-spacing: -.022em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:focus-visible, button:focus-visible, main:focus-visible { outline: 3px solid var(--door-3); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--door-4); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── top ── */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 12px var(--gutter); background: color-mix(in srgb, var(--stock) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; font-weight: 800; font-size: 18px; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.brand-chip { width: 20px; height: 28px; }
.brand-chip rect { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.brand-chip .b1 { fill: var(--door-4); }
.brand-chip .b2 { fill: var(--door-2); stroke-width: 0; }
.brand-chip circle { fill: var(--stock); stroke: var(--ink); stroke-width: 1.3; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 16px; text-decoration: none; }
.top-nav a:hover { color: var(--ink); background: var(--rack); }

/* ── buttons ── */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--door-4); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 10px 18px -12px rgba(29, 70, 59, .8); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--door-hover); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 26px 0 30px; font-size: 18px; }
.btn-light { background: var(--card); color: var(--door-4); box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .5); }
.btn-light:hover { background: #fff; }
.link-plain { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--ink-2); }
.link-plain:hover { color: var(--ink); }

/* ── hero: the copy beside a fan deck of sample cards ── */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vh, 72px) 0 clamp(48px, 7vh, 88px); min-height: min(820px, calc(100svh - 69px)); }
.hero h1 { font-size: clamp(44px, 5.4vw, 80px); font-weight: 790; letter-spacing: -.034em; line-height: .99; max-width: 14.5ch; }
.lede { max-width: 44ch; margin-top: 26px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 34px; }
.record { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 26px; font-size: 15.5px; color: var(--ink-2); }
.record span { display: inline-flex; align-items: center; gap: 6px; }
.record span + span::before { content: ""; width: 4px; height: 4px; margin-right: 12px; border-radius: 50%; background: var(--ink-3); }
.record b { color: var(--ink); font-weight: 800; }
.star { width: 18px; height: 18px; fill: #c98a1a; stroke: #c98a1a; stroke-width: 1; }

.fan { position: relative; height: clamp(540px, 68vh, 660px); }
.chip { --r: calc((-24deg + var(--i) * 16deg) * var(--k, 1)); --w: clamp(204px, 17.5vw, 252px); position: absolute; left: 50%; bottom: 70px; z-index: var(--i); display: flex; flex-direction: column; width: var(--w); margin-left: calc(var(--w) / -2); padding: 12px 12px 14px; border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transform-origin: 50% calc(100% - 22px); transform: rotate(var(--r)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: fan-open 1.1s var(--ease) calc(.15s + var(--i) * 70ms) both; }
.chip-field { display: block; overflow: hidden; height: clamp(260px, 33vh, 340px); padding: 12px 12px 0; border-radius: 7px; background: var(--chip); }
.chip-field img { border-radius: 5px 5px 0 0; box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .45); }
.chip-name { margin-top: 12px; font-weight: 760; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.2; }
.chip-code { margin-top: 3px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip-shades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; }
.chip-shades i { height: 18px; border-radius: 3px; background: var(--light); }
.chip-shades i:nth-child(2) { background: var(--chip); }
.chip-shades i:nth-child(3) { background: var(--deep); }
.fan:has(.chip:hover), .fan:has(.chip:focus-visible) { --k: 1.3; }
.chip:hover, .chip:focus-visible { z-index: 9; transform: translateY(-56px) rotate(0) scale(1.04); box-shadow: var(--shadow-lift); }
.chip:focus-visible { outline-offset: 4px; border-radius: 12px; }
.rivet { position: absolute; left: 50%; bottom: 83px; z-index: 10; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--stock); box-shadow: inset 0 0 0 1px var(--rule); pointer-events: none; }
.fan:has(.chip:hover) .rivet, .fan:has(.chip:focus-visible) .rivet { opacity: 0; }
@keyframes fan-open { from { transform: rotate(calc(var(--r) * .3)); } to { transform: rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; transition: box-shadow .3s; } }

/* ── section heads ── */
.sec-head { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; }
.sec-head h2 { font-size: clamp(34px, 4vw, 56px); max-width: 16ch; }
.sec-head p { max-width: 60ch; margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* ── the sites: each a band in its own light chip colour ── */
.sites { padding: clamp(72px, 10vw, 128px) 0 0; border-top: 1px solid var(--rule); }
.sites .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sample { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(40px, 6vw, 80px) max(var(--gutter), (100% - var(--max)) / 2); background: var(--chip); }
.sample:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.sample:nth-of-type(even) .sample-shot { order: 2; }
.sample-shot { padding: clamp(10px, 1.4vw, 16px); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.sample-shot img { border-radius: 8px; box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .55); }
.sample-card { position: relative; padding: 40px 26px 24px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.sample-card::before, .who-chip::before { content: ""; position: absolute; left: 50%; top: 12px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--chip); box-shadow: inset 0 0 0 1px var(--rule); }
.sample-card h3 { font-size: clamp(26px, 2.4vw, 34px); }
.tagline { margin-top: 10px; color: var(--ink-2); }
.swatches { list-style: none; display: grid; margin: 22px 0 0; padding: 0; border-radius: 10px; overflow: hidden; }
.swatches li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 52px; padding: 16px 16px 12px; background: var(--s); color: var(--ink); font-weight: 650; font-size: 15px; }
.swatches li:last-child { color: #fff; }
.c-lb .swatches li:last-child { color: var(--ink); }
.swatches code { font: 500 13.5px/1 var(--font); font-variant-numeric: tabular-nums; opacity: .8; }
.visit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; font-weight: 700; color: var(--deep); }
.c-mh .visit { color: var(--ink); }
.visit .ico { width: 18px; height: 18px; }
.sample:target .sample-card { animation: pull .8s var(--ease); }
@keyframes pull { from { transform: translateY(36px) rotate(-2deg); box-shadow: var(--shadow-lift); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sample:target .sample-card { animation: none; } }

/* ── packages: one strip of three chips, light to deep ── */
.packages { padding: clamp(80px, 11vw, 144px) 0 clamp(72px, 9vw, 120px); }
.strip { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(var(--max), 100% - 2 * var(--gutter)); margin: clamp(36px, 5vw, 56px) auto 0; padding: 14px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.pk { display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--bg); color: var(--fg); }
.pk + .pk { border-left: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
.pk-1 { --bg: var(--door-1); --fg: var(--ink); --soft: var(--ink-2); border-radius: 10px 0 0 10px; }
.pk-2 { --bg: var(--door-2); --fg: var(--ink); --soft: #2d3b36; }
.pk-3 { --bg: var(--door-4); --fg: #fff; --soft: #cfe2d9; border-radius: 0 10px 10px 0; }
.pk h3 { font-size: 21px; letter-spacing: -.012em; }
.price { margin-top: 18px; }
.price span { font-weight: 820; font-size: clamp(54px, 5.4vw, 72px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.days { margin-top: 10px; font-weight: 600; color: var(--soft); }
.slots { margin: 22px 0 26px; }
.slots div { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 42px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); }
.slots dt { color: var(--soft); font-size: 15.5px; }
.slots dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.slot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; border: 1.5px dashed color-mix(in srgb, var(--fg) 45%, transparent); }
.slot.on { border: 0; background: var(--fg); }
.slot svg { width: 16px; height: 16px; fill: none; stroke: var(--bg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pk-go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: auto; border-radius: 10px; background: var(--door-4); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s var(--ease); }
.pk-go:hover { background: var(--door-hover); }
.pk-3 .pk-go { background: var(--card); color: var(--door-4); }
.pk-3 .pk-go:hover { background: #fff; }
.pk-3 a:focus-visible { outline-color: #fff; }
.fine { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 18px auto 0; font-size: 14.5px; color: var(--ink-3); }
.includes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px clamp(32px, 5vw, 72px); width: min(var(--max), 100% - 2 * var(--gutter)); margin: clamp(56px, 8vw, 96px) auto 0; padding-top: 36px; border-top: 1px solid var(--rule); }
.includes h3 { font-size: clamp(26px, 2.6vw, 34px); max-width: 12ch; }
.includes ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; }
.includes li { display: flex; align-items: center; gap: 14px; min-height: 52px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.includes li::before { content: ""; flex: none; width: 14px; height: 22px; border-radius: 3px; background: var(--door-2); }
.includes li:nth-child(3n+1)::before { background: var(--door-1); box-shadow: inset 0 0 0 1px rgba(23, 33, 30, .1); }
.includes li:nth-child(3n)::before { background: var(--door-4); }
.includes p { grid-column: 2; color: var(--ink-2); }
.includes p a { font-weight: 700; color: var(--door-3); }

/* ── who builds it ── */
.who { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.who-chip { --chip: var(--stock); position: relative; margin: 0; max-width: 380px; padding: 36px 14px 18px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); transform: rotate(-2.5deg); }
.who-chip img { border-radius: 8px; background: var(--door-2); }
.who-chip figcaption { display: grid; margin-top: 14px; }
.who-chip .chip-name { margin: 0; font-size: 20px; }
.who h2 { font-size: clamp(32px, 3.6vw, 50px); max-width: 17ch; }
.who-text > p { max-width: 58ch; margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.steps { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.steps p { max-width: 54ch; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 44px; border-radius: 6px; background: var(--door-1); color: var(--door-4); font-weight: 800; font-size: 18px; }
.steps li:nth-child(2)::before { background: var(--door-2); color: var(--ink); }
.steps li:nth-child(3)::before { background: var(--door-4); color: #fff; }
.steps b { display: block; color: var(--ink); font-weight: 750; }

/* ── coaches and close ── */
.coaches { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px clamp(32px, 5vw, 72px); align-items: baseline; padding: clamp(48px, 6vw, 72px) max(var(--gutter), (100% - var(--max)) / 2); background: var(--door-1); }
.coaches h2 { font-size: clamp(28px, 3vw, 40px); }
.coaches p { max-width: 56ch; font-size: 18px; color: var(--ink-2); }
.close { display: grid; justify-items: start; gap: 30px; padding: clamp(80px, 11vw, 140px) max(var(--gutter), (100% - var(--max)) / 2); background: var(--door-4); color: #fff; }
.close h2 { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -.035em; line-height: .98; max-width: 12ch; }
.record-light { margin-top: 0; color: #cfe2d9; }
.record-light b { color: #fff; }
.record-light span + span::before { background: #9dc3b3; }
.close a:focus-visible { outline-color: #fff; }
.foot { display: grid; gap: 6px; padding: 28px max(var(--gutter), (100% - var(--max)) / 2) 40px; font-size: 14px; color: var(--ink-3); }
.foot b { color: var(--ink); }

/* ── tablets and phones ── */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 32px; }
  .fan { display: flex; gap: 14px; height: auto; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .chip { position: static; flex: none; width: calc((100% - 14px) / 2); max-width: 230px; margin: 0; transform: none; animation: none; scroll-snap-align: start; }
  .chip:hover, .chip:focus-visible { transform: translateY(-6px); }
  .chip-field { height: clamp(200px, 56vw, 280px); padding: 8px 8px 0; }
  .chip { padding: 8px 8px 12px; }
  .chip-name { font-size: 15px; }
  .chip-code { font-size: 12px; }
  .rivet { display: none; }
  .sample, .sample:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .sample:nth-of-type(even) .sample-shot { order: 0; }
  .strip { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .pk + .pk { border-left: 0; border-top: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
  .pk-1 { border-radius: 10px 10px 0 0; }
  .pk-3 { border-radius: 0 0 10px 10px; }
  .includes { grid-template-columns: minmax(0, 1fr); }
  .includes p { grid-column: 1; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who-chip { max-width: 280px; }
  .coaches { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .top { gap: 12px; }
  .brand { font-size: 16px; }
  .record { flex-direction: column; align-items: flex-start; gap: 6px; }
  .record span + span::before { display: none; }
  .close .btn-lg { white-space: normal; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-act .btn { width: 100%; }
  .includes ul { grid-template-columns: minmax(0, 1fr); }
  .sample-card { padding: 22px 20px 20px; }
  .btn-light { width: 100%; }
}
@media (min-width: 561px) and (max-width: 980px) {
  .chip { width: calc((100% - 42px) / 4); max-width: none; }
  .chip-field { height: clamp(190px, 34vw, 300px); }
}
/* sul telefono la terza carta comincia fuori dallo schermo: si vedono solo carte intere */
@media (max-width: 560px) {
  .fan { gap: calc(var(--gutter) + 6px); }
  .chip { width: calc((100% - var(--gutter) - 6px) / 2); }
}
