/* SKINAYA case study — project layer on top of site.css (v04).
   No coloured plates except the mark animation: colour and type live on the black field,
   carried by the icon and by SKINAYA's own typefaces. */

@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-Thin.woff") format("woff"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-UltraLight.woff") format("woff"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-Heavy.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../fonts/skinaya/Aileron-Black.woff") format("woff"); font-weight: 900; font-display: swap; }
/* Diaa Studio Horizon (c) 2026 Diaa Studio, Diaa Studio Font Licence 1.0 (04_WEBSITE_ASSETS/01_FONTS/DIAA STUDIO HORIZON), the face for the SKINAYA line and product names. Widths map to font-stretch. */
@font-face { font-family: "Diaa Studio Horizon"; src: url("../fonts/skinaya/DSHorizon-Light.woff2") format("woff2"), url("../fonts/skinaya/DSHorizon-Light.woff") format("woff"); font-weight: 300; font-stretch: 100%; font-display: swap; }
@font-face { font-family: "Diaa Studio Horizon"; src: url("../fonts/skinaya/DSHorizon-ExtraBold.woff2") format("woff2"), url("../fonts/skinaya/DSHorizon-ExtraBold.woff") format("woff"); font-weight: 800; font-stretch: 100%; font-display: swap; }
@font-face { font-family: "Diaa Studio Horizon"; src: url("../fonts/skinaya/DSHorizon-ExtraBoldWide.woff2") format("woff2"), url("../fonts/skinaya/DSHorizon-ExtraBoldWide.woff") format("woff"); font-weight: 800; font-stretch: 112.5%; font-display: swap; }
@font-face { font-family: "Diaa Studio Horizon"; src: url("../fonts/skinaya/DSHorizon-ExtraBoldExtended.woff2") format("woff2"), url("../fonts/skinaya/DSHorizon-ExtraBoldExtended.woff") format("woff"); font-weight: 800; font-stretch: 125%; font-display: swap; }
@font-face { font-family: "Diaa Studio Horizon"; src: url("../fonts/skinaya/DSHorizon-ExtraBoldExpanded.woff2") format("woff2"), url("../fonts/skinaya/DSHorizon-ExtraBoldExpanded.woff") format("woff"); font-weight: 800; font-stretch: 150%; font-display: swap; }
@font-face { font-family: "Diaa Studio Horizon"; src: url("../fonts/skinaya/DSHorizon-LightExtended.woff2") format("woff2"), url("../fonts/skinaya/DSHorizon-LightExtended.woff") format("woff"); font-weight: 300; font-stretch: 125%; font-display: swap; }

.skinaya {
  --sk-navy: #021422;
  --sk-ice: #e5f6fe;
  --sk-sky: #99b6cc;
  --sk-mute: #8aa2b4;   /* 6.0:1 on navy */
}

/* clip transient reveal offsets without breaking position: sticky */
.skinaya main { overflow-x: clip; }

/* ---------- opening ---------- */
.hero-line { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; }
.hero-cover { margin: 0; }
.hero-cover .media { height: min(88vh, 62vw); }
.hero-cover img { object-position: 50% 32%; }
.brand-trio { margin-top: var(--gutter); }
.cs-open { margin-top: clamp(28px, 4vw, 56px); row-gap: 32px; }
.cs-open .cs-intro { grid-column: 1 / 8; }
.cs-meta { grid-column: 9 / -1; margin: 0; display: grid; gap: 14px; align-content: start; }
.cs-meta div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cs-meta dt { font-size: var(--t-label); color: var(--mute); }
.cs-meta dd { margin: 0; font-size: 15px; line-height: 1.4; }

/* ---------- chapters ---------- */
.chapter { padding-block: clamp(60px, 9vw, 150px) 0; }
.chapter-head { display: flex; align-items: baseline; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 56px); }
.chapter-head h2 { font-size: var(--t-lead); letter-spacing: -0.01em; }
.chapter .cs-text { margin-bottom: clamp(32px, 5vw, 72px); }

/* word-by-word line reveal (statement, portrait quote) */
[data-lines] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-lines] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease) calc(var(--i) * 28ms); }
[data-lines].is-in .w > span { transform: none; }

/* ---------- 01 creative direction ---------- */
.cd-statement { font-size: clamp(30px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -0.025em; max-width: 19ch; }
.cd-cols { list-style: none; margin: clamp(48px, 7vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.cd-cols li { border-top: 1px solid var(--line); padding-top: 16px; }
.cd-cols h3 { font-size: var(--t-lead); line-height: 1.12; letter-spacing: -0.015em; margin: 18px 0 14px; }
.cd-cols p { color: var(--mute); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.cd-cols p b { color: var(--fg); font-weight: 400; }

/* ---------- 02 mark: navy plate kept for the morph only ---------- */
.plate {
  margin: 0; background: var(--sk-navy); color: var(--sk-ice);
  padding: clamp(22px, 3vw, 44px); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vw, 56px);
}
.plate[data-reveal] { opacity: 1; transform: none; }
.plate-label, .plate-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: var(--t-label); color: var(--sk-mute); }
.plate-label > span:first-child { color: var(--sk-ice); }
.vec { display: block; aspect-ratio: var(--ar); background: currentColor;
  -webkit-mask: var(--src) no-repeat left center / contain; mask: var(--src) no-repeat left center / contain; }
.replay { font: inherit; color: var(--sk-mute); background: none; border: 1px solid rgba(229, 246, 254, 0.25); border-radius: 99px; padding: 6px 14px; cursor: pointer; transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.replay:hover, .replay:focus-visible { color: var(--sk-ice); border-color: var(--sk-ice); }
.plate-morph { justify-content: flex-start; }
.morph-step { transition: opacity var(--fast) var(--ease); }
.morph-stage { position: relative; height: clamp(240px, 34vw, 480px); }
.morph { position: absolute; left: 50%; top: 50%; height: 78%; width: auto; overflow: visible;
  translate: -50% -50%; transition: left 1.2s var(--ease), top 1.2s var(--ease), height 1.2s var(--ease); }
.morph-s { fill: var(--sk-ice); transition: opacity 1.1s var(--ease), fill 1.1s var(--ease); }
.morph-bar { fill: var(--sk-sky); opacity: 0; transform-box: fill-box; transform-origin: left center;
  transform: scaleX(0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.bar-bottom { transform-origin: right center; transition-delay: 0.12s; }
.morph-word { position: absolute; left: 44%; top: 50%; width: min(44%, 560px); translate: 0 -50%;
  color: var(--sk-ice); clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease) 0.25s; }
.plate-foot .eq { color: var(--sk-sky); }
.plate-morph.m1 .morph-bar { opacity: 1; transform: none; }
.plate-morph.m1 .morph-s { fill: rgba(229, 246, 254, 0.35); }
.plate-morph.m2 .morph-s { opacity: 0; }
.plate-morph.m3 .morph { height: 70%; }
.plate-morph.m4 .morph { left: 28%; height: 46%; }
.plate-morph.m4 .morph-word { clip-path: inset(0 0 0 0); }
.plate-morph.m4 .plate-foot span:not(.eq) { color: var(--sk-ice); }
.mark-text { margin-top: clamp(32px, 5vw, 72px); }

/* ---------- images ---------- */
/* fine film grain over every photograph, as in the reference campaigns */
.skinaya .media, .portrait-quote { position: relative; }
.skinaya .media::after, .portrait-quote::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.poster-ov { position: absolute; z-index: 1; inset: 6% 6% auto; display: flex; justify-content: space-between; gap: 12px; font-size: clamp(9px, 0.9vw, 12px); line-height: 1.35; letter-spacing: 0.06em; color: #fff; pointer-events: none; }
.duo + .duo { margin-top: var(--gutter); }
.duo-cap { display: flex; justify-content: space-between; gap: 16px; }
.duo-cap span { text-align: right; }
.full-figure { margin-top: clamp(28px, 4vw, 56px); }
.portrait-quote { position: relative; margin: clamp(60px, 9vw, 150px) 0; overflow: hidden; }
.portrait-quote img { width: 100%; height: min(120vh, 125vw); object-fit: cover; object-position: center 30%; }
.portrait-quote figcaption { position: absolute; left: var(--margin); right: var(--margin); bottom: clamp(24px, 5vw, 72px); margin: 0; display: grid; gap: 14px; }
.portrait-quote .quote { font-size: clamp(30px, 5.4vw, 92px); line-height: 1.02; letter-spacing: -0.025em; color: #fff; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.18); }
.portrait-quote .label { color: rgba(255, 255, 255, 0.86); }
.botanic-text { margin-top: 0; }
.botanicals { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.botanicals li { font-size: 13px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--fg); }

/* ---------- 04 colour: the icon carries the colour ---------- */
.swatches { display: grid; gap: 18px; }
.sw-group { margin-top: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sw-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.sw { padding-top: clamp(18px, 3vw, 40px); }
.sw .icon { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 53.58 / 39.97; width: min(100%, 200px); }
.sw .icon i { display: block; width: 100%; aspect-ratio: 53.58 / 13.32; border-radius: 99px; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(237, 235, 231, 0.16);
  transition: transform 1.2s var(--ease) calc(var(--n, 0) * 90ms), opacity 1.2s var(--ease) calc(var(--n, 0) * 90ms); }
.sw .icon i:first-child { transform: translateX(-38%); opacity: 0; }
.sw .icon i:last-child { transform: translateX(38%); opacity: 0; }
.swatches.is-in .sw .icon i { transform: none; opacity: 1; }
.sw:hover .icon i:first-child { transform: translateX(-6%); }
.sw:hover .icon i:last-child { transform: translateX(6%); }
.sw p { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 13px; }
.sw b { font-weight: 400; }
.sw code { font: inherit; color: var(--mute); }

.colour-lead { margin-top: clamp(60px, 9vw, 140px); }
.ls { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); }
.ls-stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; align-content: center; }
.ls-icon { --c1: #4f736c; --c2: #4f736c; width: min(16vw, 220px); aspect-ratio: 53.58 / 39.97; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 1; }
.ls-icon i { display: block; aspect-ratio: 53.58 / 13.32; border-radius: 99px; background: var(--c1); transition: background-color 0.9s var(--ease), transform 0.9s var(--ease); }
.ls-icon i:last-child { background: var(--c2); transition-delay: 0.12s; }
.ls-icon.is-switching i:first-child { transform: translateX(-5%); }
.ls-icon.is-switching i:last-child { transform: translateX(5%); }
.ls-glow { display: none; }
.ls-count { position: absolute; bottom: 9vh; left: 0; }
.ls-steps { padding-block: 20vh 30vh; }
.ls-step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.6s var(--ease); }
.ls-step.is-active { opacity: 1; }
.ls-step .ls-concern { margin-bottom: 14px; }
.ls-name { font-family: "Diaa Studio Horizon", "Switzer", sans-serif; font-weight: 800; font-stretch: 125%; font-size: clamp(22px, 3.3vw, 52px); line-height: 1; letter-spacing: 0; margin-bottom: clamp(22px, 3vw, 40px); }
.ls-products { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ls-prod { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: padding var(--fast) var(--ease); }
.ls-prod .chip { width: 34px; aspect-ratio: 53.58 / 13.32; border-radius: 99px; background: var(--c); }
.ls-prod .hex { font-size: 13px; color: var(--mute); }
.ls-prod:hover, .ls-prod:focus-visible, .ls-prod.is-on { padding-left: 10px; outline: none; }
.ls-prod.is-on .hex, .ls-prod:hover .hex { color: var(--fg); }
.ls-why { margin-top: 20px; min-height: 5.4em; color: var(--mute); font-size: 15px; line-height: 1.6; max-width: 54ch; }
.ls-why b { color: var(--fg); font-weight: 400; }
.ls-mini { display: none; }

/* ---------- 05 typography ---------- */
.type-block { padding-block: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.type-tag { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 56px); }
.wave { font-family: "Aileron", "Switzer", sans-serif; font-weight: 300; font-size: clamp(34px, 6.6vw, 116px); line-height: 1.02; letter-spacing: -0.02em; }
.wave .word { display: inline-block; white-space: nowrap; }
.wave .ch { display: inline-block; font-weight: 300; }
.wave.is-playing .ch { animation: weight-wave 1.9s var(--ease) calc(var(--i) * 34ms) both; }
@keyframes weight-wave { 0% { font-weight: 300; } 30% { font-weight: 900; } 62% { font-weight: 100; } 100% { font-weight: 300; } }
.weights { list-style: none; margin: clamp(24px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; font-family: "Aileron", sans-serif; font-size: clamp(14px, 1.3vw, 19px); }
.weights li { border-top: 1px solid var(--line); padding-top: 10px; }
.type-note { margin-top: clamp(24px, 3vw, 40px); color: var(--mute); font-size: 15px; line-height: 1.6; max-width: 60ch; }
.names { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.06em; font-family: "Diaa Studio Horizon", "Switzer", sans-serif; font-weight: 800; font-stretch: 100%; font-size: min(6vw, 90px); line-height: 1.02; }
.names li { white-space: nowrap; color: var(--fg); transition: color 0.8s var(--ease); }
.names li.w1 { font-stretch: 112.5%; }
.names li.w2 { font-stretch: 125%; }
.names li.w3 { font-stretch: 150%; }
.names li.is-set { font-stretch: 125%; }
.anatomy { border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 72px); }
.an-row { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: baseline; padding: clamp(14px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.an-row > :first-child { font-family: "Aileron", sans-serif; }
.an-line { font-weight: 600; letter-spacing: 0.24em; font-size: clamp(13px, 1.2vw, 17px); }
.an-name { font-family: "Diaa Studio Horizon", sans-serif !important; font-weight: 800; font-stretch: 125%; font-size: clamp(24px, 3.4vw, 54px); line-height: 1.02; }
.an-name em { font-style: normal; font-weight: 300; }
.an-desc { font-weight: 400; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.3; }
.an-act { font-weight: 600; letter-spacing: 0.04em; font-size: clamp(14px, 1.3vw, 19px); }
.an-note { position: relative; padding-left: 28px; }
.an-note::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 18px; height: 1px; background: var(--mute); transform-origin: left; transform: scaleX(0); transition: transform 0.8s var(--ease) 0.4s; }
.anatomy.is-in .an-note::before { transform: none; }

/* ---------- 06 packaging ---------- */
.pack-note { margin-top: clamp(48px, 7vw, 110px); }
.pack-note ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.pack-note ul { list-style: none; margin: 18px 0 0; padding: 0; }
.pack-note li { font-size: var(--t-lead); line-height: 1.18; letter-spacing: -0.012em; padding: 16px 0; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .cs-open .cs-intro, .cs-meta { grid-column: 1 / -1; }
  .hero-cover .media { height: 112vw; }
  .cd-cols { grid-template-columns: 1fr; gap: 28px; }
  .morph-stage { height: 70vw; }
  .morph-word { left: 50%; top: 82%; width: 64%; translate: -50% -50%; }
  .plate-morph.m4 .morph { left: 50%; top: 36%; height: 40%; }
  .sw-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ls { grid-template-columns: 1fr; }
  .ls-stage { display: none; }
  .ls-steps { padding-block: 0; }
  .ls-step { min-height: 0; opacity: 1; padding-block: 36px; border-top: 1px solid var(--line); }
  .ls-mini { display: flex; flex-direction: column; justify-content: space-between; width: 64px; aspect-ratio: 53.58 / 39.97; margin-bottom: 18px; }
  .ls-mini i { display: block; aspect-ratio: 53.58 / 13.32; border-radius: 99px; background: var(--c); }
  .weights { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .an-row { grid-template-columns: 1fr; gap: 8px; }
  .pack-note ul { grid-template-columns: 1fr; }
  .duo-cap { flex-direction: column; gap: 2px; }
  .duo-cap span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  [data-lines] .w > span { transform: none; }
  .sw .icon i:first-child, .sw .icon i:last-child { transform: none; opacity: 1; }
  .wave.is-playing .ch { animation: none; }
}

/* ---------- 06 lines: each line its own feel ---------- */
.line-block { margin-top: clamp(70px, 10vw, 160px); }
.line-head { position: relative; display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--gutter); row-gap: 10px; align-items: end; margin-bottom: clamp(24px, 3.4vw, 44px); }
.line-head .label { grid-column: 1 / -1; }
.line-name { font-family: "Diaa Studio Horizon", "Switzer", sans-serif; font-weight: 800; font-stretch: 125%; font-size: clamp(22px, 4.2vw, 72px); line-height: 0.95; color: var(--fg); grid-column: 1 / -1; }
.line-feel { font-size: var(--t-lead); letter-spacing: -0.01em; }
.line-text { color: var(--mute); font-size: 15px; line-height: 1.6; max-width: 56ch; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 900px) {
  .line-head { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
}

/* line opening animation (skinaya.js adds .is-on) */
.line-name { overflow: hidden; padding-bottom: 0.06em; }
.line-name .lt { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease) calc(var(--i) * 45ms); }
.line-name.s1 { font-stretch: 100%; } .line-name.s2 { font-stretch: 150%; } .line-name.s3 { font-stretch: 112.5%; }
.line-feel .fw { display: inline-block; opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: calc(0.55s + var(--i) * 0.16s); }
.line-feel .dot { color: var(--lc); margin: 0 0.45em; }
.line-text { opacity: 0; transition: opacity 1s var(--ease) 1.1s; }
.line-head .label { opacity: 0; transition: opacity 0.8s var(--ease); }
.line-head.is-on .lt, .line-head.is-on .fw { transform: none; opacity: 1; filter: none; }
.line-head.is-on .line-text, .line-head.is-on .label { opacity: 1; }
.line-head.is-on @media (prefers-reduced-motion: reduce) {
  .line-name .lt, .line-feel .fw { transform: none; opacity: 1; filter: none; }
  .line-text, .line-head .label { opacity: 1; }
  }
