/* FEATHER · featheritalia.com
   Palette from the brand board: Capri White, Deep Tyrrhenian Blue, Capri Lemon, Limestone Grey, Cypress Green */
/* Fonts are self-hosted (SIL Open Font License), no requests to Google */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
  --capri: #F5F3F0;
  --blue: #1A3A52;
  --lemon: #F4D03F;
  --stone: #C9C5BE;
  --cypress: #3D5941;
  --ink-soft: rgba(26, 58, 82, .8);
  --line: rgba(201, 197, 190, .9); /* Limestone Grey hairlines */
  --panel: color-mix(in srgb, var(--stone) 30%, var(--capri)); /* limestone wash behind the glass photos */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-variant-numeric: lining-nums;
  margin: 0; background: var(--capri); color: var(--blue);
  font: 300 18px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lemon); color: var(--blue); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: var(--capri); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1.5px solid var(--blue); outline-offset: 4px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  transition: background .5s ease, padding .5s ease, box-shadow .5s ease;
}
.top.is-solid { background: rgba(245, 243, 240, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand-mark { width: 22px; height: 23px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word { font: 400 15px/1 var(--serif); letter-spacing: .42em; padding-top: 2px; }
.menu { display: flex; gap: clamp(18px, 3vw, 40px); }
.menu a, .lang a {
  font: 400 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; position: relative;
}
.menu a::after, .lang a::after {
  content: ""; position: absolute; left: 0; right: .24em; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.menu a:hover::after, .menu a.is-active::after { transform: scaleX(1); }
.lang { justify-self: end; display: flex; gap: 14px; }
.lang a { opacity: .55; }
.lang a[aria-current] { opacity: 1; }
.lang a[aria-current]::after { transform: scaleX(1); background: var(--lemon); height: 2px; }
.lang a:hover { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: 120px var(--gutter) 90px; max-width: 1440px; margin: 0 auto;
}
.hero-logo { width: clamp(96px, 10vw, 136px); margin-bottom: clamp(28px, 4vw, 48px); }
.hero-logo svg { width: 100%; height: auto; }
.kicker {
  margin: 0 0 18px; font: 400 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lemon); }
h1 {
  margin: 0; font: 300 clamp(40px, 4.7vw, 72px)/1.08 var(--serif); letter-spacing: -.005em; max-width: 17ch; font-variant-numeric: lining-nums;
}
.hero-sub { margin: 26px 0 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); }

.lineup { margin: 0; justify-self: center; width: 100%; max-width: 560px; }
.lineup-row {
  --k: clamp(.42px, .052vw, .62px);
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(18px, 4vw, 56px);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.sil { display: flex; flex-direction: column; align-items: center; text-decoration: none; gap: 10px; }
.sil-img { display: block; color: var(--blue); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sil-img svg { height: calc(var(--vh) * var(--k)); width: auto; }
.sil:hover .sil-img { transform: translateY(-6px); }
.sil-name { font: 400 12.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.sil-w { font: 400 italic 20px/1 var(--serif); color: var(--ink-soft); margin-top: -2px; }
.lineup figcaption { margin-top: 12px; text-align: center; font: 400 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font: 400 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--blue), transparent); animation: drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- glass sections ---------- */
.glass {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh; border-top: 1px solid var(--line);
}
.glass-img {
  margin: 0; background: var(--panel); position: relative; overflow: clip; min-height: 100svh;
}
.glass-img picture { position: sticky; top: 0; height: 100svh; display: block; mix-blend-mode: multiply; }
.glass-img img {
  position: absolute; top: 76px; left: 50%; height: calc(100% - 112px); width: auto; max-width: none;
  transform: translateX(-50%) scale(1.03); transform-origin: 50% 60%;
  transition: transform 2.4s cubic-bezier(.2, .7, .2, 1);
}
.glass.is-in .glass-img img { transform: translateX(-50%); }
.glass.flip .glass-img { order: 2; }
.glass-text {
  align-self: center; padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 110px);
  max-width: 680px;
}
.glass.flip .glass-text { justify-self: end; }
.idx { margin: 0 0 18px; font: 400 13px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
.idx span { color: var(--cypress); font-weight: 500; }
h2 { margin: 0; font: 400 clamp(38px, 4vw, 66px)/.95 var(--serif); letter-spacing: .09em; text-transform: uppercase; }
.tagline { margin: 20px 0 0; font: 500 13.5px/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase; }
.desc { margin: 24px 0 0; max-width: 44ch; font-size: clamp(17.5px, 1.3vw, 20px); line-height: 1.7; color: var(--ink-soft); }
.specs { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; column-gap: 24px; border-top: 1px solid var(--line); }
.specs div { padding: 18px 0 0 0; min-width: 0; }
.specs dt { font: 400 12.5px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.specs dd { margin: 10px 0 0; font: 300 clamp(28px, 2.3vw, 38px)/1 var(--serif); white-space: nowrap; }
.glass-text { container-type: inline-size; width: 100%; }
@container (min-width: 600px) { .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .specs dd { font-size: clamp(26px, 5.4cqi, 36px); } }
.specs .is-weight dd { position: relative; }
.specs .is-weight dd::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 26px; height: 2px; background: var(--lemon); }
.points { list-style: none; margin: 40px 0 32px; padding: 0; }
.points li { position: relative; padding: 9px 0 9px 22px; font-size: 16.5px; border-bottom: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--cypress); }
.cta {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font: 500 13px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  padding: 18px 26px; border: 1px solid var(--blue); transition: background .35s ease, color .35s ease;
}
.cta i { font-style: normal; transition: transform .35s ease; }
.cta:hover { background: var(--blue); color: var(--capri); }
.cta:hover i { transform: translateX(4px); }

/* section dots */
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; opacity: 0; transition: opacity .5s; }
.dots.is-on { opacity: 1; }
.dots a { display: block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--blue); position: relative; }
.dots a.is-active { background: var(--blue); }
.dots span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.dots a:hover span { opacity: 1; }

/* ---------- footer ---------- */
.foot { background: var(--blue); color: var(--capri); text-align: center; padding: clamp(64px, 9vw, 120px) var(--gutter) 40px; }
.foot-logo { width: 96px; margin: 0 auto 28px; color: var(--capri); }
.foot-logo svg { width: 100%; height: auto; }
.foot-line { margin: 0; font: 300 italic clamp(26px, 2.9vw, 38px)/1.2 var(--serif); }
.foot-contact { margin: 26px 0 0; font-size: 17px; letter-spacing: .04em; }
.foot-contact a { text-decoration: none; border-bottom: 1px solid var(--lemon); padding-bottom: 2px; }
.foot-note { margin: 56px auto 0; max-width: 60ch; font-size: 14px; opacity: .72; }
.foot-copy { margin: 56px 0 0; font: 400 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .72; }
.foot-copy a { text-decoration: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .glass-text .reveal:nth-child(2) { transition-delay: .08s; }
.js .glass-text .reveal:nth-child(3) { transition-delay: .16s; }
.js .glass-text .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .glass-img img { transition: none; }
  .scroll-cue i { animation: none; }
}

/* ---------- scroll transition between glasses ----------
   Scroll-driven, no JS. As a section leaves, its photo shrinks and fades; the next one rises in.
   Browsers without animation-timeline, and visitors who prefer reduced motion, get the plain page. */
@keyframes glass-in  { from { opacity: .25; scale: 1.1; translate: 0 7%; } }
@keyframes glass-out { to   { opacity: .25; scale: .9;  translate: 0 -5%; } }
@keyframes text-in   { from { opacity: 0; translate: 0 48px; } }
@keyframes text-out  { to   { opacity: 0; translate: 0 -48px; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .glass { view-timeline: --glass block; }
    .glass-img img {
      animation: glass-in linear both, glass-out linear both;
      animation-timeline: --glass, --glass;
      animation-range: entry 0% entry 100%, exit 0% exit 100%;
    }
    @media (min-width: 861px) {
      .glass-text {
        animation: text-in linear both, text-out linear both;
        animation-timeline: --glass, --glass;
        animation-range: entry 40% entry 100%, exit 0% exit 60%;
      }
    }
  }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .menu { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 48px; min-height: auto; padding-bottom: 110px; }
  .lineup-row { --k: .36px; }
  .glass { grid-template-columns: 1fr; min-height: 0; }
  .glass.flip .glass-img { order: 0; }
  .glass-img { aspect-ratio: 3 / 4; min-height: 0; }
  .glass-img picture { position: absolute; inset: 0; height: auto; }
  .glass-img img { top: 0; width: 100%; height: 100%; left: 0; object-fit: contain; transform: scale(1.03); }
  .glass.is-in .glass-img img { transform: none; }
  .glass-text, .glass.flip .glass-text { justify-self: stretch; padding: 40px var(--gutter) 64px; }
  .dots { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) { .lineup-row { --k: .3px; gap: 14px; } h2 { letter-spacing: .05em; font-size: 36px; } }

/* Cormorant defaults to old-style figures; keep numbers level */
h1, h2, .sil-w, .specs dd, .foot-line { font-variant-numeric: lining-nums; }
