/* =============================================================
   WearAndTrend — L'Essence Minimaliste Design System
   Compiled to plain CSS (no Tailwind CDN) for Core Web Vitals
   Tokens from Stitch DESIGN.md — do not change values ad hoc
   ============================================================= */

:root {
  --surface: #f9f9f9;
  --surface-lowest: #ffffff;
  --surface-low: #f3f3f4;
  --on-surface: #1a1c1c;
  --primary: #000000;
  --on-primary: #ffffff;
  --primary-hover: #1d1d1d;
  --secondary: #5f5e5e;
  --border-subtle: #e5e5e5;
  --text-muted: #767676;

  --font-serif: 'Noto Sans Thai', 'Hanken Grotesk', sans-serif;
  --font-sans: 'Hanken Grotesk', 'Noto Sans Thai', sans-serif;
  --font-brand: 'EB Garamond', 'Noto Serif Thai', serif;

  --gutter: 24px;
  --margin-desktop: 80px;
  --margin-mobile: 20px;
  --container-max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: var(--on-primary); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
.display-xl {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.headline-lg {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}
.headline-md {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.7vw, 31px);
  font-weight: 500;
  line-height: 1.4;
}
.body-lg { font-size: 18px; line-height: 1.75; letter-spacing: 0.005em; }
.label-caps {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }
@media (min-width: 1024px) { .container { padding-inline: var(--margin-desktop); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding-inline: var(--margin-mobile);
  background: var(--surface-lowest);
  border-bottom: 1px solid var(--border-subtle);
  transition: height 0.5s ease, background 0.5s ease;
}
@media (min-width: 1024px) { .site-header { padding-inline: var(--margin-desktop); } }
.site-header.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(230px, 24vw, 310px);
  height: 56px;
  background: url('../assets/branding/final/wearandtrend-logo-selected-transparent-tight.png') center / contain no-repeat;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 120%;
}
@media (max-width: 420px) { .site-logo { width: 220px; height: 48px; } }
.site-header > .btn { display: none; }
@media (min-width: 768px) { .site-header > .btn { display: inline-block; } }
.site-nav { display: none; gap: 32px; }
@media (min-width: 1600px) { .site-nav { display: flex; } }
.site-nav a { color: var(--secondary); transition: opacity 0.3s; }
.site-nav a:hover { opacity: 0.7; }
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.menu-toggle {
  background: none; border: 0; cursor: pointer;
  font-size: 24px; line-height: 1; padding: 8px;
  min-width: 44px; min-height: 44px;
}
@media (min-width: 1600px) { .menu-toggle { display: none; } }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 80px 0 auto 0;
  z-index: 49;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  flex-direction: column;
  padding: 24px var(--margin-mobile) 40px;
  gap: 20px;
}
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--surface-low);
  display: flex;
  align-items: flex-end;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img-home {
  inset: 0 0 0 auto;
  width: 64%;
  object-position: center 8%;
}
.hero-home-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--surface-low) 0%, rgba(242,242,242,.94) 34%, rgba(242,242,242,.28) 62%, rgba(242,242,242,0) 82%);
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-img-home { width: 100%; object-position: center 6%; }
  .hero-home-overlay { background: linear-gradient(180deg, rgba(242,242,242,.06) 18%, rgba(242,242,242,.52) 48%, rgba(242,242,242,.96) 78%); }
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 var(--margin-mobile) 96px;
  max-width: 900px;
}
@media (min-width: 1024px) { .hero-content { padding: 0 var(--margin-desktop) 128px; } }
.hero-content .kicker { letter-spacing: 0.3em; margin-bottom: 24px; }
.hero-content .lede { max-width: 480px; color: var(--secondary); margin-top: 24px; }

.hero-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-center .hero-content { padding: 0 var(--gutter); }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); }
.hero-center .kicker, .hero-center h1, .hero-center .lede { color: #fff; }
.hero-center .lede { margin-inline: auto; font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 20px 48px;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
@media (min-width: 1024px) { .section { padding-block: 160px; } }
.section-white { background: var(--surface-lowest); }
.section-low { background: var(--surface-low); }
.section-dark { background: var(--primary); color: var(--on-primary); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 32px;
  margin-bottom: 80px;
}
@media (min-width: 768px) { .section-head { flex-direction: row; } }

/* ---------- Editorial grid (home) ---------- */
.trend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 96px 0;
}
@media (min-width: 768px) {
  .trend-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--margin-desktop); }
  .col-7 { grid-column: span 7; }
  .col-5 { grid-column: span 5; margin-top: 192px; }
  .col-4 { grid-column: span 4; }
  .col-8 { grid-column: span 8; margin-top: -96px; }
}
.trend-card .frame { overflow: hidden; background: var(--surface); margin-bottom: 32px; }
.trend-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.trend-card:hover img { transform: scale(1.05); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-169 { aspect-ratio: 16 / 9; }
figure .frame { overflow: hidden; background: var(--surface); }
figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.trend-card h3 { margin-bottom: 16px; }
.trend-card p { color: var(--secondary); margin-bottom: 32px; max-width: 560px; }
.link-underline {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 4px;
  transition: all 0.3s;
}
.link-underline:hover { color: var(--secondary); border-color: var(--secondary); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter .inner { max-width: 720px; margin-inline: auto; display: grid; gap: 40px; }
.newsletter blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(28px, 4vw, 56px); line-height: 1.2; }
.newsletter form {
  display: flex; flex-direction: column; gap: 24px;
  align-items: stretch; justify-content: center; padding-top: 16px;
}
@media (min-width: 768px) { .newsletter form { flex-direction: row; align-items: flex-end; } }
.newsletter .field {
  flex: 1; max-width: 420px; margin-inline: auto; width: 100%;
  border-bottom: 1px solid var(--on-primary); text-align: left; padding-bottom: 8px;
}
.newsletter label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; }
.newsletter input {
  width: 100%; background: transparent; border: 0; outline: 0;
  min-height: 44px; color: var(--on-primary); font-family: var(--font-sans); font-size: 16px; padding-block: 8px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter .btn-invert {
  background: var(--on-primary); color: var(--primary); border: 0;
}
.newsletter .btn-invert:hover { background: #c6c6c6; }

/* ---------- Article page ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--secondary);
  padding: 24px var(--margin-mobile) 0;
  max-width: var(--container-max); margin-inline: auto;
}
@media (min-width: 1024px) { .breadcrumb { padding-inline: var(--margin-desktop); } }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb .sep { opacity: 0.4; }

.article-layout {
  max-width: 1040px; margin-inline: auto;
  padding: 96px var(--margin-mobile);
}
@media (min-width: 1024px) {
  .article-layout { padding: 144px var(--margin-desktop); }
}
.article-body { display: grid; gap: 64px; }
.article-body > p { font-size: 18px; line-height: 32px; }
.article-seo-hero { border-bottom: 1px solid var(--border-subtle); }
.article-seo-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  padding-top: 72px;
  padding-bottom: 64px;
}
.article-seo-hero h1 { margin: 20px 0 24px; max-width: 920px; }
.article-seo-hero .body-lg { max-width: 760px; }
.article-seo-hero figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.article-seo-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.article-byline { margin-top: 28px; color: var(--secondary); font-size: 13px; line-height: 1.7; }
.article-sources { display: grid; gap: 12px; padding-left: 20px; }
.article-sources a { border-bottom: 1px solid var(--border-subtle); }
.article-sources a:hover { border-color: var(--primary); }
@media (min-width: 900px) {
  .article-seo-hero-inner { grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); gap: 72px; padding-top: 96px; padding-bottom: 80px; }
}
@media (max-width: 767px) {
  .article-seo-hero-inner { padding-top: 56px; padding-bottom: 48px; }
  .article-seo-hero h1 { font-size: clamp(38px, 11vw, 52px); }
}
.trend-section { display: grid; gap: 24px; }
.trend-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.45;
  border-left: 3px solid var(--primary);
  padding-left: 22px;
}
.trend-section p { font-size: 18px; line-height: 1.8; }
.brand-intro {
  border-block: 1px solid var(--border-subtle);
  padding-block: clamp(32px, 5vw, 56px);
}
.brand-intro-lead {
  max-width: 780px;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 400;
  line-height: 1.75;
}
.trend-section figure { margin: 0; }
.trend-section figcaption { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; padding-top: 12px; }
.pull-quote {
  border-block: 1px solid var(--border-subtle);
  padding: 64px 16px;
  text-align: center;
}
@media (min-width: 768px) { .pull-quote { padding-inline: 48px; } }
.pull-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 3.5vw, 48px); line-height: 1.25; font-weight: 300; }

/* FAQ */
.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 24px;
  font-family: var(--font-serif); font-size: 20px; line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer { padding-bottom: 24px; color: var(--secondary); line-height: 28px; max-width: 720px; }

/* Related articles */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card .frame { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 24px; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.related-card:hover img { transform: scale(1.05); }
.related-card .cat { color: var(--secondary); margin-bottom: 12px; }
.related-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; line-height: 1.45; margin-bottom: 16px; }
.related-card p { color: var(--secondary); }

/* ---------- Article hub ---------- */
.article-hub-hero { border-bottom: 1px solid var(--border-subtle); }
.article-hub-hero-inner {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 96px;
  padding-bottom: 72px;
}
.article-hub-hero-inner h1 { max-width: 980px; }
.article-hub-hero-inner .body-lg { max-width: 640px; }
.article-hub-head { margin-bottom: 64px; }
.article-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px 32px;
}
@media (min-width: 768px) {
  .article-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .article-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; }
}
.article-hub-card { min-width: 0; }
.article-hub-card > a { display: block; height: 100%; }
.article-hub-card .frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 24px;
}
.article-hub-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.article-hub-card:hover img { transform: scale(1.04); }
.article-hub-card .article-hub-cat {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.article-hub-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 10px;
}
.article-hub-card h3 + p { color: var(--secondary); line-height: 1.65; }
.article-hub-card > a:focus-visible { outline: 2px solid var(--primary); outline-offset: 8px; }
@media (max-width: 767px) {
  .article-hub-hero-inner { min-height: 360px; padding-top: 72px; padding-bottom: 56px; }
  .article-hub-head { margin-bottom: 48px; }
}

/* Style page editorial Hero */
.style-hero { position: relative; min-height: 500px; overflow: hidden; }
.style-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.12) 48%, rgba(255,255,255,0) 58%);
}
.style-hero-inner {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding-top: 52px;
  padding-bottom: 48px;
}
.style-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; width: min(50%, 700px); min-width: 0; }
.style-hero-copy h1 { max-width: none; }
.style-hero-copy .body-lg { max-width: 560px; }
.style-hero-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #f1eee8; }
.style-hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% 10%; }
@media (max-width: 900px) {
  .style-hero, .style-hero-inner { min-height: 520px; }
  .style-hero-inner { align-items: flex-start; padding-top: 64px; padding-bottom: 40px; }
  .style-hero-copy { width: 100%; gap: 20px; }
  .style-hero-copy .body-lg { max-width: 86%; }
  .style-hero-visual img { object-position: 68% center; }
  .style-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 38%, rgba(255,255,255,.1) 58%, rgba(255,255,255,0) 70%); }
}

/* ---------- Fashion trend series ---------- */
.trend-series-intro {
  max-width: 760px;
  margin-bottom: 64px;
}
.trend-series-intro p { color: var(--secondary); }
.trend-series-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 32px;
}
.trend-series-card { min-width: 0; }
.trend-series-card > a { display: block; height: 100%; }
.trend-series-card .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 24px;
}
.trend-series-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.trend-series-card:hover img { transform: scale(1.04); }
.trend-series-card .series-number {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.trend-series-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
}
.trend-series-card h2 + p { color: var(--secondary); line-height: 1.65; }
.trend-series-card > a:focus-visible { outline: 2px solid var(--primary); outline-offset: 8px; }
.trend-series-note {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}
.series-pagination {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}
.series-pagination a {
  display: grid;
  gap: 6px;
  padding: 20px 0;
}
.series-pagination .next { text-align: left; }
.series-pagination strong { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
@media (min-width: 768px) {
  .trend-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-pagination { grid-template-columns: 1fr 1fr; }
  .series-pagination .next { text-align: right; }
}
@media (min-width: 1100px) {
  .trend-series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; }
}
@media (max-width: 767px) {
  .trend-series-intro { margin-bottom: 48px; }
  .trend-series-note { margin-top: 64px; }
}

/* ---------- Category landing pages ---------- */
.page-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--surface-low);
}
.page-hero .hero-img { filter: grayscale(100%); }
.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 15%, rgba(0,0,0,0.68) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--on-primary);
  padding-block: 96px;
  max-width: 960px;
}
.page-hero-content .kicker { margin-bottom: 24px; letter-spacing: 0.3em; }
.page-hero-content .body-lg { max-width: 680px; margin-top: 24px; color: rgba(255,255,255,0.82); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: 4fr 7fr; gap: 8.333%; }
}
.intro-copy { display: grid; gap: 24px; }
.intro-copy p { font-size: 18px; line-height: 32px; color: var(--secondary); }

.editorial-list { display: grid; }
.editorial-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-block: 40px;
  border-top: 1px solid var(--border-subtle);
}
.editorial-item:last-child { border-bottom: 1px solid var(--border-subtle); }
.editorial-item .num { padding-top: 8px; }
.editorial-item h2 { margin-bottom: 12px; }
.editorial-item p { max-width: 760px; color: var(--secondary); font-size: 17px; line-height: 28px; }
@media (min-width: 768px) {
  .editorial-item { grid-template-columns: 96px 1fr; padding-block: 56px; }
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .feature-split { grid-template-columns: 7fr 5fr; gap: 80px; }
  .feature-split.reverse { grid-template-columns: 5fr 7fr; }
  .feature-split.reverse .feature-image { order: 2; }
}
.feature-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: grid; gap: 24px; }
.feature-copy p { color: var(--secondary); font-size: 18px; line-height: 32px; }
.feature-copy ul { list-style: none; display: grid; gap: 0; }
.feature-copy li { padding-block: 16px; border-bottom: 1px solid var(--border-subtle); }

.principle-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 768px) { .principle-grid { grid-template-columns: repeat(3, 1fr); } }
.principle-card { padding: 40px 0; border-bottom: 1px solid var(--border-subtle); }
.principle-card h3 { margin: 20px 0 12px; }
.principle-card p { color: var(--secondary); }
@media (min-width: 768px) {
  .principle-card { padding: 48px 32px; border-right: 1px solid var(--border-subtle); }
  .principle-card:first-child { padding-left: 0; }
  .principle-card:last-child { border-right: 0; padding-right: 0; }
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 96px; } }
.contact-details { display: grid; gap: 32px; align-content: start; }
.contact-details > div { border-bottom: 1px solid var(--border-subtle); padding-bottom: 24px; }
.contact-form { display: grid; gap: 32px; }
.contact-form label { display: block; margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 0; border-bottom: 1px solid var(--primary); border-radius: 0;
  background: transparent; color: var(--on-surface); padding: 12px 0;
  font: inherit; outline: none;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-bottom-width: 2px; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-consent { display: flex !important; align-items: center; min-height: 44px; gap: 10px; font-size: 14px; line-height: 1.65; }
.contact-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.form-status { margin-bottom: 28px; padding: 16px 18px; border: 1px solid var(--border-subtle); line-height: 1.65; }
.form-status-success { background: #f3f7f1; }
.form-status-error { background: #fff3f1; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--primary); color: var(--on-primary); padding: 12px 16px;
}
.skip-link:focus { top: 16px; }

/* ---------- About / ethos ---------- */
.ethos {
  display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
@media (min-width: 1024px) { .ethos { grid-template-columns: 1fr 1fr; gap: 96px; } }
.ethos-list { display: grid; gap: 24px; margin-top: 48px; }
.ethos-item {
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border-subtle); padding-bottom: 16px;
}
.ethos-item .num { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; }
.ethos-item p { font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 32px); line-height: 1.5; transition: padding-left 0.3s; }
.ethos-item:hover p { padding-left: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--primary);
  background: var(--surface-lowest);
  display: flex; flex-direction: column; gap: 32px;
  justify-content: space-between; align-items: flex-start;
  padding: 64px var(--margin-mobile);
}
@media (min-width: 768px) {
  .site-footer { flex-direction: row; align-items: center; padding-inline: var(--margin-desktop); }
}
.site-footer .brand { font-family: var(--font-brand); font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; }

@media (max-width: 767px) {
  .trend-section h2 { padding-left: 16px; }
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 32px 32px; }
.site-footer nav a { color: var(--secondary); transition: color 0.3s; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.site-footer nav a:hover { color: var(--primary); }

.link-underline { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.hero .article-byline { color: inherit; opacity: .82; }
.article-related { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.article-related h2 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 34px); }
.article-related p { line-height: 2; }
.article-related a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Interactive outfit mixer ---------- */
.outfit-mixer { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--border-subtle); }
.outfit-mixer-head { display: grid; gap: 24px; margin-bottom: 48px; }
.outfit-mixer-head h2 { margin: 12px 0 16px; }
.outfit-mixer-head .body-lg { max-width: 760px; }
.outfit-mixer-count { align-self: end; }
.outfit-mixer-app { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.outfit-stage-wrap { position: sticky; top: 104px; }
.outfit-stage { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 2 / 3; overflow: hidden; background: #f4f1ec; }
.outfit-model, .outfit-layer { position: absolute; display: block; pointer-events: none; user-select: none; }
.outfit-model { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.outfit-layer { left: 50%; transform: translateX(-50%); height: auto; opacity: 1; transition: opacity .22s ease, transform .22s ease; }
.outfit-layer[src=""] { opacity: 0; }
.outfit-layer-bottoms { z-index: 2; top: var(--item-top, 42.5%); width: var(--item-width, 46%); }
.outfit-layer-top { z-index: 3; top: var(--item-top, 18.4%); width: var(--item-width, 47%); }
.outfit-layer-dress { z-index: 4; top: var(--item-top, 18%); width: var(--item-width, 46%); }
.outfit-layer-outerwear { z-index: 5; top: var(--item-top, 17.2%); width: var(--item-width, 53%); }
.outfit-layer-shoes { z-index: 6; bottom: var(--item-bottom, 1.4%); width: var(--item-width, 35%); }
.outfit-layer-bag { z-index: 7; top: var(--item-top, 47%); left: var(--item-left, 69%); width: var(--item-width, 25%); }
.outfit-layer-top[data-item="0"] { --item-top: 15.7%; --item-width: 50%; }
.outfit-layer-top[data-item="1"] { --item-top: 17%; --item-width: 44%; }
.outfit-layer-top[data-item="2"] { --item-top: 15.3%; --item-width: 53%; }
.outfit-layer-bottoms[data-item="0"] { --item-top: 42%; --item-width: 47%; }
.outfit-layer-bottoms[data-item="1"] { --item-top: 42.2%; --item-width: 45%; }
.outfit-layer-bottoms[data-item="2"] { --item-top: 42%; --item-width: 44%; }
.outfit-layer-dress[data-item="0"] { --item-top: 15.4%; --item-width: 48%; }
.outfit-layer-dress[data-item="1"] { --item-top: 15%; --item-width: 52%; }
.outfit-layer-dress[data-item="2"] { --item-top: 16%; --item-width: 45%; }
.outfit-layer-outerwear[data-item="0"] { --item-top: 14.4%; --item-width: 57%; }
.outfit-layer-outerwear[data-item="1"] { --item-top: 15%; --item-width: 53%; }
.outfit-layer-outerwear[data-item="2"] { --item-top: 14.2%; --item-width: 55%; }
.outfit-layer-shoes[data-item="0"] { --item-bottom: 1.1%; --item-width: 35%; }
.outfit-layer-shoes[data-item="1"] { --item-bottom: 1.5%; --item-width: 34%; }
.outfit-layer-shoes[data-item="2"] { --item-bottom: .8%; --item-width: 33%; }
.outfit-skin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.outfit-skin-arms-full, .outfit-skin-arms-short { z-index: 6; }
.outfit-skin-hands { z-index: 8; }
.outfit-skin-head { z-index: 9; }
.outfit-stage-note { margin-top: 14px; text-align: center; color: var(--secondary); font-size: 13px; }
.outfit-controls { min-width: 0; }
.outfit-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); scrollbar-width: thin; }
.outfit-tabs button { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 12px 10px; color: var(--secondary); font: inherit; cursor: pointer; }
.outfit-tabs button[aria-selected="true"] { color: var(--primary); border-color: var(--primary); }
.outfit-tabs button:focus-visible, .outfit-option:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.outfit-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px 0; min-height: 360px; }
.outfit-option { border: 1px solid var(--border-subtle); background: #fff; padding: 12px; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.outfit-option[aria-pressed="true"] { border-color: var(--primary); background: #f7f5f1; }
.outfit-option-image { display: grid; place-items: center; aspect-ratio: 1 / 1; margin-bottom: 12px; background: #f4f1ec; overflow: hidden; }
.outfit-option-image img { width: 86%; height: 86%; object-fit: contain; }
.outfit-option-none { font-size: 30px; color: var(--secondary); }
.outfit-option-name { display: block; font-size: 14px; line-height: 1.45; }
.outfit-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.outfit-actions .btn { min-width: 150px; }
.btn-dark { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-dark:hover { background: #333; }
.outfit-summary { margin-top: 28px; padding: 28px; border: 1px solid var(--border-subtle); background: #f7f5f1; }
.outfit-summary h3 { font-size: 22px; margin-bottom: 16px; }
.outfit-summary ul { display: grid; gap: 8px; margin-bottom: 18px; }
.outfit-summary p { color: var(--secondary); line-height: 1.7; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (min-width: 768px) {
  .outfit-mixer-head { grid-template-columns: 1fr auto; }
  .outfit-mixer-app { grid-template-columns: minmax(320px, .9fr) minmax(400px, 1.1fr); }
  .outfit-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .outfit-stage-wrap { position: relative; top: auto; }
  .outfit-stage { width: min(100%, 420px); }
  .outfit-options { min-height: 0; }
}

/* Complete-look selector: finished outfits avoid detached garment overlays. */
.look-selector-app { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.look-stage-wrap { min-width: 0; }
.look-stage { width: min(100%, 520px); margin-inline: auto; aspect-ratio: 2 / 3; overflow: hidden; background: #f4f1ec; }
.look-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.look-stage-copy { width: min(100%, 520px); margin: 22px auto 0; }
.look-stage-copy h3 { margin: 7px 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; }
.look-stage-copy > p:last-child { color: var(--secondary); line-height: 1.7; }
.look-controls > h3 { margin-bottom: 20px; font-size: 22px; }
.look-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.look-option { padding: 0 0 13px; border: 1px solid var(--border-subtle); background: #fff; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.look-option[aria-pressed="true"] { border-color: var(--primary); background: #f7f5f1; }
.look-option:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.look-option img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #f4f1ec; }
.look-option span { display: block; padding: 12px 12px 0; font-size: 14px; line-height: 1.45; }
.look-controls .outfit-actions { margin-top: 24px; }
.look-summary { margin-top: 24px; padding: 26px; border: 1px solid var(--border-subtle); background: #f7f5f1; }
.look-summary h3 { margin-bottom: 14px; font-size: 22px; }
.look-summary ul { display: grid; gap: 7px; margin: 0 0 16px 20px; list-style: disc; }
.look-summary p { color: var(--secondary); line-height: 1.7; }
@media (min-width: 768px) {
  .look-selector-app { grid-template-columns: minmax(320px, .9fr) minmax(400px, 1.1fr); }
  .look-stage-wrap { position: sticky; top: 104px; }
  .look-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .look-stage { width: min(100%, 420px); }
}

/* ---------- Reveal animation ----------
   Hidden state applies only when JS has tagged <html class="js">,
   so content stays visible (and indexable) without JavaScript. */
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s ease-out; }
html.js .reveal.active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
