/* =====================================================
   NESPRESSO — LUXURY REDESIGN PROTOTYPE
   Direction: Hermès / Dior — Thème crème & or
   UX/UI Design : Axel Charel
   ===================================================== */

/* Cormorant Garamond — italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/italic-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/italic-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;
}
/* Cormorant Garamond — normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/normal-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/normal-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/normal-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;
}
/* Space Grotesk */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../../fonts/space-grotesk/vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../../fonts/space-grotesk/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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../../fonts/space-grotesk/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;
}

/* ─── 1. Design tokens ──────────────────────────────── */
:root {
  --n-bg:         #f7f4ef;
  --n-surface:    #ffffff;
  --n-dark:       #1a1510;
  --n-mid:        #6b5f52;
  --n-faint:      #9e9188;
  --n-gold:       #b8982e;
  --n-gold-dim:   rgba(184,152,46,.10);
  --n-gold-light: rgba(184,152,46,.04);
  --n-line:       rgba(26,21,16,.07);
  --n-line-mid:   rgba(26,21,16,.13);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Space Grotesk', system-ui, sans-serif;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      350ms;

  --radius:   4px;
  --max-w:    1440px;
  --pad-x:    64px;
}

/* ─── 2. Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--n-bg);
  color: var(--n-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ─── 3. Scroll reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .10s; }
.reveal-d2 { transition-delay: .20s; }
.reveal-d3 { transition-delay: .32s; }
.reveal-d4 { transition-delay: .44s; }
.reveal-d5 { transition-delay: .56s; }

/* ─── 4. Navigation ─────────────────────────────────── */
.n-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad-x);
  transition: background var(--dur) var(--ease),
              padding    var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.n-nav.scrolled {
  background: rgba(247,244,239,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--n-line);
  padding: 16px var(--pad-x);
}
.n-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.n-nav-link {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--n-dark);
  opacity: .65;
  transition: opacity var(--dur);
  position: relative;
}
.n-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--n-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.n-nav-link:hover  { opacity: 1; }
.n-nav-link:hover::after,
.n-nav-link.active::after { transform: scaleX(1); }
.n-nav-link.active { opacity: 1; }

.n-nav-logo {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--n-dark);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.n-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.n-nav-cta {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--n-dark);
  border-radius: 100px;
  transition: background var(--dur), color var(--dur);
}
.n-nav-cta:hover { background: var(--n-dark); color: var(--n-bg); }

.n-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n-dark);
  opacity: .65;
  transition: opacity var(--dur);
}
.n-nav-icon:hover { opacity: 1; }

.n-portfolio-back {
  font-size: .62rem;
  letter-spacing: .05em;
  color: var(--n-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur), opacity var(--dur);
  opacity: .7;
}
.n-portfolio-back:hover { color: var(--n-dark); opacity: 1; }

/* Mobile */
.n-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 201;
}
.n-burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--n-dark);
  transition: transform var(--dur), opacity var(--dur);
}
.n-nav.open .n-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.n-nav.open .n-burger span:nth-child(2) { opacity: 0; }
.n-nav.open .n-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.n-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--n-bg);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.n-mobile-nav.open { opacity: 1; pointer-events: all; }
.n-mobile-nav a {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: .04em;
}

/* ─── 5. Ticker ─────────────────────────────────────── */
.n-ticker {
  overflow: hidden;
  border-top: 1px solid var(--n-line);
  border-bottom: 1px solid var(--n-line);
  padding: 12px 0;
  background: var(--n-surface);
}
.n-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: n-ticker 32s linear infinite;
}
.n-ticker-item {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--n-faint);
  padding-right: 56px;
  flex-shrink: 0;
}
@keyframes n-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── 6. Buttons ────────────────────────────────────── */
.n-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid var(--n-dark);
  border-radius: 100px;
  color: var(--n-dark);
  position: relative;
  overflow: hidden;
  transition: color var(--dur);
}
.n-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--n-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 0;
}
.n-btn > * { position: relative; z-index: 1; }
.n-btn:hover { color: var(--n-bg); }
.n-btn:hover::before { transform: scaleX(1); }
.n-btn .arrow { transition: transform var(--dur) var(--ease); }
.n-btn:hover .arrow { transform: translateX(5px); }

.n-btn-outline {
  border-color: var(--n-line-mid);
  color: var(--n-mid);
}
.n-btn-outline::before { background: var(--n-dark); }
.n-btn-outline:hover { color: var(--n-bg); border-color: var(--n-dark); }

.n-btn-ghost {
  border: none;
  padding: 0;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--n-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
}
.n-btn-ghost::before { display: none; }
.n-btn-ghost::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}
.n-btn-ghost:hover::after { width: 48px; }
.n-btn-ghost:hover { color: var(--n-dark); }

/* ─── 7. Typography helpers ─────────────────────────── */
.n-eyebrow {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--n-gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.n-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--n-gold);
  flex-shrink: 0;
}
.n-display {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.01em;
}
.n-display em { font-style: italic; color: var(--n-mid); }
.n-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}
.n-heading em { font-style: italic; color: var(--n-mid); }
.n-body {
  font-size: .9rem;
  font-weight: 300;
  color: var(--n-mid);
  line-height: 1.85;
}
.n-label {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--n-faint);
}

/* ─── 8. Hero (homepage) ────────────────────────────── */
.n-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: 76px;
  overflow: hidden;
}
.n-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x);
  gap: 32px;
}
.n-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f0ebe2 0%, #e8e0d4 100%);
}
.n-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 55% 55%, rgba(184,152,46,.18) 0%, transparent 65%);
  pointer-events: none;
}
.n-hero-machine-wrap {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 40px 80px rgba(26,21,16,.22));
  animation: n-hero-float 6s ease-in-out infinite;
}
@keyframes n-hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.n-hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--n-faint);
}
.n-hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: var(--n-mid);
  opacity: .4;
  animation: n-scroll-line 2.2s var(--ease) infinite;
}
@keyframes n-scroll-line {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  45%  { transform: scaleY(1); transform-origin: top;    opacity: .5; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: .5; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
/* Page header (inner pages) */
.n-page-header {
  padding: 160px var(--pad-x) 72px;
  border-bottom: 1px solid var(--n-line);
  background: var(--n-surface);
}
.n-page-header-inner { max-width: 620px; }
.n-page-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 16px;
}
.n-page-sub {
  font-size: .9rem;
  font-weight: 300;
  color: var(--n-mid);
  line-height: 1.75;
  max-width: 50ch;
}

/* ─── 9. Machine visual (CSS art) ───────────────────── */
/* Shared machine shape used in cards + product page */
.n-machine-shape {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.n-ms-head {
  width: 76px; height: 56px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px 8px 0 0;
  position: relative;
}
.n-ms-head::after {  /* capsule lever hint */
  content: '';
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.18);
}
.n-ms-body {
  width: 100px; height: 190px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.n-ms-body::before { /* water tank */
  content: '';
  position: absolute;
  top: 0; right: -28px;
  width: 26px; height: 100px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.07);
  border-left: none;
  border-radius: 0 6px 6px 0;
}
.n-ms-body::after { /* button */
  content: '';
  position: absolute;
  top: 24px; right: -14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(184,152,46,.5);
  border: 1px solid rgba(184,152,46,.7);
}
.n-ms-tray {
  width: 126px; height: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0 0 4px 4px;
}
.n-ms-spout {
  position: absolute;
  bottom: 28px;
  left: 44px;
  width: 10px; height: 24px;
  background: rgba(255,255,255,.12);
  border-radius: 0 0 6px 6px;
}

/* Card background tones */
.n-mv-graphite { background: linear-gradient(155deg, #3e362c 0%, #1a1510 100%); }
.n-mv-blanc    { background: linear-gradient(155deg, #ece8e2 0%, #cdc7be 100%); }
.n-mv-rouge    { background: linear-gradient(155deg, #8b1a1a 0%, #500e0e 100%); }
.n-mv-bleu     { background: linear-gradient(155deg, #1d3d5c 0%, #0c2138 100%); }
.n-mv-or       { background: linear-gradient(155deg, #c49040 0%, #8b6218 100%); }
.n-mv-noir     { background: linear-gradient(155deg, #222 0%, #0a0a0a 100%); }
.n-mv-vert     { background: linear-gradient(155deg, #2a4a35 0%, #152818 100%); }

/* ─── 10. Machine grid (homepage + catalogue) ───────── */
.n-machines-section {
  padding: 100px 0;
  border-top: 1px solid var(--n-line);
}
.n-machines-header {
  padding: 0 var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.n-machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.n-machine-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.n-machine-card-inner {
  position: absolute;
  inset: 0;
  transition: transform .65s var(--ease);
}
.n-machine-card:hover .n-machine-card-inner { transform: scale(1.04); }
.n-machine-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,6,.75) 0%, rgba(15,10,6,.1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur);
}
.n-machine-card:hover .n-machine-card-overlay { opacity: 1; }
.n-machine-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s;
}
.n-machine-card:hover .n-machine-card-info { transform: translateY(0); opacity: 1; }
.n-card-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 3px;
}
.n-card-range {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.n-card-cta {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--dur);
}
.n-machine-card:hover .n-card-cta { gap: 14px; }

/* ─── 11. Product grid (catalogue page) ─────────────── */
.n-products-section { padding: 60px 0 100px; }
.n-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  padding: 0 var(--pad-x);
}
.n-product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.n-product-card-visual {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}
/* machine figure in catalogue: slightly smaller */
.n-product-card-visual .n-machine-shape { bottom: 4%; }
.n-product-card-visual .n-ms-body { height: 155px; }
.n-product-card-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2px;
}
.n-product-card-range {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n-faint);
  margin-bottom: 10px;
}
.n-product-card-price {
  font-size: .95rem;
  font-weight: 400;
  color: var(--n-dark);
  margin-bottom: 14px;
}
.n-product-card-link {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur), transform var(--dur);
}
.n-product-card-link::after { content: '→'; }
.n-product-card:hover .n-product-card-link { opacity: 1; transform: translateY(0); }

/* ─── 12. Filter tabs ───────────────────────────────── */
.n-filters {
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--n-line);
  background: var(--n-bg);
  position: sticky;
  top: 60px;
  z-index: 50;
  padding-top: 20px;
  padding-bottom: 20px;
}
.n-filter-tab {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--n-line-mid);
  border-radius: 100px;
  color: var(--n-faint);
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.n-filter-tab.active {
  background: var(--n-dark);
  color: var(--n-bg);
  border-color: var(--n-dark);
}
.n-filter-tab:hover:not(.active) {
  border-color: var(--n-dark);
  color: var(--n-dark);
}

/* ─── 13. Capsules ──────────────────────────────────── */
.n-capsules-section {
  padding: 100px 0;
  background: var(--n-surface);
  border-top: 1px solid var(--n-line);
}
.n-capsules-header {
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.n-capsules-grid {
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
}
.n-capsule-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.n-capsule-dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.n-capsule-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), transparent 60%);
}
.n-capsule-item:hover .n-capsule-dot {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}
.n-capsule-name {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-mid);
  text-align: center;
}
.n-capsule-int {
  font-family: var(--font-serif);
  font-size: .85rem;
  color: var(--n-faint);
}
/* Range label */
.n-range-label {
  width: 100%;
  padding: 0 var(--pad-x);
  margin-top: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.n-range-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--n-line);
}
/* Intensity scale */
.n-intensity-section {
  padding: 80px var(--pad-x);
  border-bottom: 1px solid var(--n-line);
}
.n-intensity-scale {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 48px;
  height: 100px;
}
.n-int-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  cursor: pointer;
  position: relative;
  transition: filter .3s, transform .3s var(--ease);
}
.n-int-bar:hover { filter: brightness(1.12); transform: scaleY(1.05); transform-origin: bottom; }
.n-int-bar-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .5rem;
  font-weight: 500;
  color: var(--n-faint);
}

/* Capsule colors (official Nespresso range) */
.nc-kazaar    { background: #3d1010; }
.nc-dharkan   { background: #4a2010; }
.nc-ristretto { background: #7a1f1f; }
.nc-espresso  { background: #c77d28; }
.nc-livanto   { background: #a05c1a; }
.nc-capriccio { background: #5a6e7a; }
.nc-volluto   { background: #c4a565; }
.nc-cosi      { background: #d4b87a; }
.nc-vivalto   { background: #8faa78; }
.nc-stormio   { background: #3a3028; }
.nc-odacio    { background: #b8682c; }
.nc-melozio   { background: #d4a055; }
.nc-hazelino  { background: #c49040; }
.nc-bianco    { background: #c8bfb0; }
.nc-altissio  { background: #7a4820; }
.nc-decaffito { background: #6b8c8a; }

/* ─── 14. Story / editorial section ─────────────────── */
.n-story {
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  border-top: 1px solid var(--n-line);
}
.n-story-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--n-dark);
  position: relative;
  padding-top: 48px;
}
.n-story-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: -8px;
  font-size: 8rem;
  line-height: 1;
  color: var(--n-gold);
  opacity: .25;
  font-family: var(--font-serif);
}
.n-story-body { display: flex; flex-direction: column; gap: 28px; }

/* ─── 15. Product detail page ───────────────────────── */
.n-product-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 76px;
}
.n-product-visual {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.n-product-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(184,152,46,.1) 0%, transparent 65%);
}
.n-product-machine {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 48px 96px rgba(26,21,16,.18));
}
.n-product-info {
  padding: 120px 60px 100px var(--pad-x);
  display: flex;
  flex-direction: column;
}
.n-breadcrumb {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-faint);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.n-breadcrumb a:hover { color: var(--n-dark); }
.n-product-name {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 8px;
}
.n-product-range {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n-faint);
  margin-bottom: 36px;
}
.n-product-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 32px;
}
.n-product-desc {
  font-size: .9rem;
  font-weight: 300;
  color: var(--n-mid);
  line-height: 1.85;
  max-width: 46ch;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--n-line);
}
/* Color swatches */
.n-color-label {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-faint);
  margin-bottom: 14px;
}
.n-swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}
.n-swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color var(--dur);
}
.n-swatch.active,
.n-swatch:hover { outline-color: var(--n-dark); }

.n-product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
/* Specs section below product */
.n-product-specs {
  padding: 0 var(--pad-x) 100px;
  border-top: 1px solid var(--n-line);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding-top: 60px;
}
.n-product-specs-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 8px;
}
.n-product-specs-sub {
  font-size: .85rem;
  color: var(--n-mid);
  margin-bottom: 36px;
}

/* ─── 16. Accordion ─────────────────────────────────── */
.n-accordion { border-top: 1px solid var(--n-line); }
.n-accordion-item { border-bottom: 1px solid var(--n-line); }
.n-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  width: 100%;
  text-align: left;
}
.n-accordion-icon {
  width: 18px; height: 18px;
  position: relative;
  flex-shrink: 0;
}
.n-accordion-icon::before,
.n-accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--n-dark);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.n-accordion-icon::before {
  width: 18px; height: 1px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.n-accordion-icon::after {
  width: 1px; height: 18px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.n-accordion-item.open .n-accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}
.n-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.n-accordion-content {
  padding: 0 0 32px;
  font-size: .85rem;
  font-weight: 300;
  color: var(--n-mid);
  line-height: 1.8;
}
.n-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 8px;
}
.n-spec-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--n-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.n-spec-key {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-faint);
}
.n-spec-val {
  font-size: .85rem;
  color: var(--n-dark);
}

/* ─── 17. Related / suggestions ─────────────────────── */
.n-related {
  padding: 80px var(--pad-x) 100px;
  border-top: 1px solid var(--n-line);
}
.n-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* ─── 18. Capsule compatible strip ──────────────────── */
.n-compat {
  padding: 0 var(--pad-x) 80px;
  border-top: 1px solid var(--n-line);
  padding-top: 60px;
}
.n-compat-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 12px;
  margin-top: 36px;
}
.n-compat-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.n-compat-dot-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.n-compat-dot:hover .n-compat-dot-circle {
  transform: scale(1.14) translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.n-compat-dot-name {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--n-faint);
  text-align: center;
}

/* ─── 19. Footer ────────────────────────────────────── */
.n-footer {
  border-top: 1px solid var(--n-line);
  padding: 72px var(--pad-x) 40px;
}
.n-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.n-footer-logo {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.n-footer-tagline {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 300;
  font-style: italic;
  color: var(--n-mid);
  line-height: 1.6;
  max-width: 26ch;
}
.n-footer-col-title {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.n-footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.n-footer-link {
  font-size: .8rem;
  font-weight: 300;
  color: var(--n-mid);
  transition: color var(--dur);
}
.n-footer-link:hover { color: var(--n-dark); }
.n-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--n-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.n-footer-legal {
  font-size: .65rem;
  color: var(--n-faint);
  opacity: .6;
}
.n-footer-proto {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.n-footer-proto::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--n-gold);
  animation: n-pulse 2.2s ease-in-out infinite;
}
@keyframes n-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .2; }
}

/* ─── 20. Comparison table (capsules page) ───────────── */
.n-compare {
  padding: 80px var(--pad-x);
  border-top: 1px solid var(--n-line);
}
.n-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.n-compare-col {
  padding: 40px;
  background: var(--n-surface);
}
.n-compare-col-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--n-line);
}
.n-compare-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--n-line);
  font-size: .82rem;
  font-weight: 300;
  color: var(--n-mid);
}
.n-compare-val { color: var(--n-dark); font-weight: 400; }

/* ─── 21. Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .n-machines-grid,
  .n-products-grid,
  .n-related-grid { grid-template-columns: repeat(2, 1fr); }
  .n-footer-top { grid-template-columns: 1fr 1fr; }
  .n-capsules-header { grid-template-columns: 1fr; gap: 40px; }
  .n-story { gap: 72px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  .n-filters      { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .n-nav-links,
  .n-nav-right    { display: none; }
  .n-burger       { display: flex; }
  .n-mobile-nav   { display: flex; }
  .n-nav-logo     { position: static; transform: none; }
  .n-hero         { grid-template-columns: 1fr; }
  .n-hero-visual  { height: 55svh; order: -1; }
  .n-machines-grid,
  .n-products-grid,
  .n-related-grid { grid-template-columns: 1fr; }
  .n-story        { grid-template-columns: 1fr; gap: 56px; }
  .n-capsules-header { grid-template-columns: 1fr; }
  .n-product-hero { grid-template-columns: 1fr; }
  .n-product-visual { position: relative; height: 60svh; top: auto; }
  .n-product-info { padding: 60px var(--pad-x); }
  .n-footer-top   { grid-template-columns: 1fr; }
  .n-spec-grid    { grid-template-columns: 1fr; }
  .n-compare-grid { grid-template-columns: 1fr; }
}
