/* =========================================================
   SAIKOU — Japanese Digital Fashion Magazine
   Soft white / ivory / charcoal / muted burgundy
   ========================================================= */

:root {
  --soft-white: #fafaf8;
  --warm-ivory: #f5f2ed;
  --light-gray: #e6e4e1;
  --deep-black: #0e0e0e;
  --charcoal: #2b2b2b;
  --muted-burgundy: #7a3b45;
  --muted-text: rgba(43, 43, 43, 0.68);
  --line: rgba(14, 14, 14, 0.1);
  --line-strong: rgba(14, 14, 14, 0.2);
  --overlay: rgba(14, 14, 14, 0.42);
  --overlay-strong: rgba(14, 14, 14, 0.58);
  --surface: #ffffff;
  --font-serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", "Noto Serif JP", serif;
  --container: min(1200px, calc(100% - 2.5rem));
  --container-wide: min(1440px, calc(100% - 2rem));
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.55s;
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
.site-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal);
  background:
    linear-gradient(180deg, var(--soft-white) 0%, var(--warm-ivory) 48%, var(--soft-white) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--deep-black);
}

p {
  margin: 0;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--deep-black);
  color: var(--soft-white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--muted-burgundy);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container-wide {
  width: var(--container-wide);
  margin-inline: auto;
}

/* =========================================================
   IMAGE BOX SYSTEM
   ========================================================= */
.img-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--light-gray);
}

.img-box > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.9s var(--ease);
}

.img-box:hover > img {
  transform: scale(1.04);
}

.img-hero {
  height: clamp(460px, 100svh, 920px);
}

.img-page-hero {
  height: clamp(360px, 58vh, 640px);
}

.img-banner {
  height: clamp(280px, 46vh, 520px);
}

.img-portrait {
  aspect-ratio: 3 / 4;
}

.img-card {
  aspect-ratio: 4 / 5;
}

.img-landscape {
  aspect-ratio: 16 / 10;
}

.img-wide {
  aspect-ratio: 4 / 3;
}

.img-feature {
  aspect-ratio: 5 / 4;
}

.img-square {
  aspect-ratio: 1 / 1;
}

.img-story {
  aspect-ratio: 21 / 9;
}

.img-grid-card {
  aspect-ratio: 4 / 5;
}

.img-grid-thumb {
  aspect-ratio: 4 / 3;
}

/* =========================================================
   TYPOGRAPHY & UI ATOMS
   ========================================================= */
.en-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-burgundy);
}

.display-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.3;
}

.lede {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted-text);
  max-width: 38rem;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--deep-black);
  color: var(--soft-white);
  border-color: var(--deep-black);
}

.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--deep-black);
}

.btn-secondary:hover {
  background: var(--deep-black);
  color: var(--soft-white);
  border-color: var(--deep-black);
}

.btn-ghost {
  border-color: rgba(250, 250, 248, 0.55);
  color: var(--soft-white);
}

.btn-ghost:hover {
  background: var(--soft-white);
  color: var(--deep-black);
}

.btn-light {
  background: var(--soft-white);
  color: var(--deep-black);
}

.btn-light:hover {
  background: var(--warm-ivory);
}

.btn-accent {
  background: var(--muted-burgundy);
  color: var(--soft-white);
  border-color: var(--muted-burgundy);
}

.btn-accent:hover {
  background: #663038;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  color: var(--soft-white);
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(250, 250, 248, 0.94);
  color: var(--deep-black);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(14, 14, 14, 0.03);
}

.site-header__inner {
  width: var(--container-wide);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.site-logo__mark {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: 0.28em;
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.78;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav-icon-btn:hover {
  opacity: 0.7;
}

.nav-icon-btn.is-active,
.nav-icon-btn[aria-pressed="true"] {
  color: var(--muted-burgundy);
}

.menu-toggle {
  display: inline-flex;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: 0.25s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

#menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

#menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

#menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Search panel */
.site-search {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1.25rem 0 1.5rem;
  background: rgba(250, 250, 248, 0.98);
  border-bottom: 1px solid var(--line);
  color: var(--deep-black);
}

.site-search__form {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
}

.site-search input[type="search"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 0.6rem 0;
  font-size: 1rem;
}

.site-search input[type="search"]:focus {
  outline: none;
  border-bottom-color: var(--deep-black);
}

.site-search__close {
  border: 0;
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  min-height: 48px;
  padding: 0 0.5rem;
}

.site-search__hint {
  width: var(--container);
  margin: 0.75rem auto 0;
  font-size: 0.78rem;
  color: var(--muted-text);
}

/* Mobile menu — full screen */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--soft-white);
  color: var(--deep-black);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  height: 100%;
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 2.5rem;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  overflow-y: auto;
}

.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: 0.08em;
}

.mobile-menu__nav a.is-active {
  color: var(--muted-burgundy);
}

.mobile-menu__tagline {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--muted-text);
  font-size: 0.95rem;
}

body.menu-open {
  overflow: hidden;
}

/* Favorites toast */
.fav-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 120;
  transform: translateX(-50%) translateY(12px);
  background: var(--deep-black);
  color: var(--soft-white);
  padding: 0.85rem 1.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fav-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   HERO CAROUSEL
   ========================================================= */
.hero,
.hero-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: clamp(460px, 100svh, 920px);
  min-height: 70svh;
}

.hero-slide > img,
.hero-slide .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  transition: transform 7s ease;
}

.swiper-slide-active .hero-slide > img,
.swiper-slide-active .hero-slide .hero-media {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.58) 0%, rgba(14, 14, 14, 0.22) 48%, rgba(14, 14, 14, 0.12) 100%),
    linear-gradient(180deg, rgba(14, 14, 14, 0.18) 0%, transparent 35%, rgba(14, 14, 14, 0.45) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
}

.hero-content__inner {
  width: var(--container-wide);
  margin-inline: auto;
  color: var(--soft-white);
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: 0.28em;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.hero-text {
  font-size: 0.95rem;
  line-height: 1.85;
  opacity: 0.88;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-controls {
  position: absolute;
  right: max(1.25rem, calc((100% - min(1440px, 100% - 2rem)) / 2));
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--soft-white);
}

.hero-progress {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.hero-progress-num {
  font-variant-numeric: tabular-nums;
}

.hero-nav {
  display: flex;
  gap: 0.35rem;
}

.hero-prev,
.hero-next,
.season-prev,
.season-next,
.lookbook-prev,
.lookbook-next {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(250, 250, 248, 0.45);
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--soft-white);
  color: var(--deep-black);
}

.hero-pagination,
.season-pagination,
.lookbook-pagination,
.journal-pagination,
.related-pagination {
  display: flex;
  gap: 0.4rem;
}

.hero-pagination .swiper-pagination-bullet,
.season-pagination .swiper-pagination-bullet,
.lookbook-pagination .swiper-pagination-bullet,
.journal-pagination .swiper-pagination-bullet,
.related-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(14, 14, 14, 0.25);
  opacity: 1;
  border-radius: 0;
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(250, 250, 248, 0.45);
}

.hero-pagination .swiper-pagination-bullet-active,
.season-pagination .swiper-pagination-bullet-active,
.lookbook-pagination .swiper-pagination-bullet-active,
.journal-pagination .swiper-pagination-bullet-active,
.related-pagination .swiper-pagination-bullet-active {
  background: var(--muted-burgundy);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--soft-white);
}

/* =========================================================
   SECTIONS — SHARED
   ========================================================= */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--ivory {
  background: var(--warm-ivory);
}

.section--soft {
  background: var(--soft-white);
}

.section--dark {
  background: var(--deep-black);
  color: var(--soft-white);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3,
.section--dark .display-title {
  color: var(--soft-white);
}

.section--dark .section-label,
.section--dark .en-label {
  color: rgba(250, 250, 248, 0.62);
}

.section--dark .lede,
.section--dark .guide-card p,
.section--dark .street-card .lede,
.section--dark .pick-card p {
  color: rgba(250, 250, 248, 0.72);
}

.section--dark .btn-primary {
  background: var(--soft-white);
  color: var(--deep-black);
  border-color: var(--soft-white);
}

.section--dark .btn-primary:hover {
  background: transparent;
  color: var(--soft-white);
}

.section--dark .btn-secondary,
.section--dark .btn-ghost {
  border-color: rgba(250, 250, 248, 0.35);
  color: var(--soft-white);
}

.section--dark .btn-secondary:hover,
.section--dark .btn-ghost:hover {
  background: var(--soft-white);
  color: var(--deep-black);
}

.section--dark .guide-card a,
.section--dark a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.btn-light) {
  color: rgba(250, 250, 248, 0.88);
}

.section--dark .street-card__meta,
.section--dark .street-card__title {
  color: var(--soft-white);
}

.section--dark .style-tab,
.section--dark .occasion-tab {
  color: rgba(250, 250, 248, 0.55);
}

.section--dark .style-tab.is-active,
.section--dark .occasion-tab.is-active {
  color: var(--soft-white);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  max-width: 40rem;
}

.section-head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 1.5rem;
}

.section-head--row .lede {
  margin-left: auto;
  text-align: right;
}

/* =========================================================
   STYLE DISCOVERY TABS
   ========================================================= */
.style-discovery {
  width: var(--container);
  margin-inline: auto;
}

[data-style-tabs] .style-tabs,
[data-occasion-tabs] .occasion-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
}

.style-tab,
.occasion-tab {
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-text);
  cursor: pointer;
  position: relative;
}

.style-tab.is-active,
.occasion-tab.is-active {
  color: var(--deep-black);
}

.style-tab.is-active::after,
.occasion-tab.is-active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -0.85rem;
  height: 2px;
  background: var(--muted-burgundy);
}

.style-panel,
.occasion-panel {
  display: none;
}

.style-panel.is-active,
.occasion-panel.is-active {
  display: block;
}

.style-panel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .style-panel-grid--split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
    align-items: center;
  }
}

/* =========================================================
   MEN / WOMEN ASYMMETRIC SPLIT
   ========================================================= */
.gender-split {
  display: grid;
  gap: 0;
  width: 100%;
}

.gender-split__item {
  position: relative;
  min-height: clamp(360px, 62vh, 720px);
  overflow: hidden;
  display: block;
  color: var(--soft-white);
  background: #1a1a1a;
}

.gender-split__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 1s var(--ease);
}

.gender-split__item:hover > img {
  transform: scale(1.05);
}

.gender-split__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14, 14, 14, 0.62));
}

.gender-split__copy {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.75rem;
  z-index: 1;
}

.gender-split__label {
  font-family: var(--font-en);
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.gender-split__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--soft-white);
  margin-bottom: 0.35rem;
}

/* =========================================================
   LOOKBOOK ASYMMETRIC GRID
   ========================================================= */
.lookbook-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.lookbook-tile {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
  min-height: 280px;
}

.lookbook-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.9s var(--ease);
}

.lookbook-tile:hover > img {
  transform: scale(1.05);
}

.lookbook-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 14, 14, 0.55));
  pointer-events: none;
}

.lookbook-tile .caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--soft-white);
}

.lookbook-tile .caption span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.lookbook-tile--note {
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: var(--warm-ivory, #f5f2ed);
  min-height: 280px;
}

.lookbook-tile--note::after {
  display: none;
}

.lookbook-tile--tall {
  min-height: 420px;
  aspect-ratio: 3 / 4;
}

.lookbook-tile--wide {
  min-height: 320px;
  aspect-ratio: 16 / 10;
}

.lookbook-swiper,
.season-swiper,
.journal-swiper,
.related-swiper {
  overflow: hidden;
}

.season-swiper .swiper-slide,
.lookbook-swiper .swiper-slide,
.journal-swiper .swiper-slide {
  height: auto;
}

.swiper-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.swiper-nav-row .season-prev,
.swiper-nav-row .season-next,
.swiper-nav-row .lookbook-prev,
.swiper-nav-row .lookbook-next {
  border-color: var(--line-strong);
  color: var(--deep-black);
}

.swiper-nav-row .season-prev:hover,
.swiper-nav-row .season-next:hover,
.swiper-nav-row .lookbook-prev:hover,
.swiper-nav-row .lookbook-next:hover {
  background: var(--deep-black);
  color: var(--soft-white);
  border-color: var(--deep-black);
}

/* =========================================================
   STREET STYLE / SEASONAL / GUIDES / JOURNAL
   ========================================================= */
.street-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.street-card {
  display: grid;
  gap: 1rem;
}

.street-card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.street-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0.35rem 0;
}

.season-card {
  display: block;
  height: 100%;
}

.season-card .img-box {
  margin-bottom: 1rem;
}

.season-card__label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted-burgundy);
  margin-bottom: 0.35rem;
}

.season-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* Occasion selector */
.occasion-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.occasion-item {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: var(--light-gray);
}

.occasion-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.occasion-item__label {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(14, 14, 14, 0.65));
  color: var(--soft-white);
  font-family: var(--font-en);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

/* Guides */
.guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.guide-filter-btn {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: 0.2s ease;
}

.guide-filter-btn.is-active,
.guide-filter-btn:hover {
  background: var(--deep-black);
  color: var(--soft-white);
  border-color: var(--deep-black);
}

.guide-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

/*
 * Balanced guide grids: auto-fit collapses unused tracks so a missing
 * 4th card never leaves an empty image-sized column on the right.
 */
@media (min-width: 640px) {
  .guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}

@media (min-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }

  /* Exactly 3 cards → equal thirds */
  .guide-grid:has(> :nth-child(3)):not(:has(> :nth-child(4))) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Exactly 4 or 8 → clean 4-up (homepage) */
  .guide-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))),
  .guide-grid:has(> :nth-child(8)):not(:has(> :nth-child(9))) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Exactly 6 or 9 → 3-up */
  .guide-grid:has(> :nth-child(6)):not(:has(> :nth-child(7))),
  .guide-grid:has(> :nth-child(9)):not(:has(> :nth-child(10))) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Exactly 12 → 4-up */
  .guide-grid:has(> :nth-child(12)):not(:has(> :nth-child(13))) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Filtered guide library: collapse to filled columns only */
  .guide-grid.is-filtered[data-visible="1"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }

  .guide-grid.is-filtered[data-visible="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid.is-filtered[data-visible="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-card {
  display: grid;
  gap: 0.85rem;
}

.guide-card.is-hidden {
  display: none;
}

.guide-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-burgundy);
}

.guide-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* Journal */
.journal-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.journal-card {
  display: grid;
  gap: 0.85rem;
}

.journal-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted-text);
}

.journal-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.journal-card__excerpt {
  font-size: 0.92rem;
  color: var(--muted-text);
  line-height: 1.8;
}

/* Style picks */
.style-picks {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pick-card {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

.pick-card .img-box {
  background: transparent;
}

.pick-card__body {
  padding: 1rem 0.15rem 0;
}

.pick-card__fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(250, 250, 248, 0.88);
  color: var(--deep-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pick-card__fav[aria-pressed="true"] {
  color: var(--muted-burgundy);
}

/* Final CTA */
.final-cta {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 52vh, 560px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.52);
}

.final-cta__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  padding: 3.5rem 0;
  color: var(--soft-white);
}

.final-cta__content .display-title {
  color: var(--soft-white);
  margin: 0.5rem 0 1rem;
}

.final-cta__content .lede {
  color: rgba(250, 250, 248, 0.82);
  margin-bottom: 1.5rem;
}

/* =========================================================
   PAGE HERO / BANNER / PROSE
   ========================================================= */
.page-hero,
.page-banner {
  position: relative;
  width: 100%;
  height: clamp(360px, 58vh, 640px);
  overflow: hidden;
  background: var(--light-gray);
}

.page-hero > img,
.page-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.page-hero__overlay,
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.45);
}

.page-hero__content,
.page-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  height: 100%;
  width: var(--container);
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  color: var(--soft-white);
}

.page-hero__content h1,
.page-banner__content h1 {
  color: var(--soft-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.prose-jp {
  max-width: 42rem;
}

.prose-jp p {
  line-height: 1.95;
  color: var(--muted-text);
  margin-bottom: 1.15rem;
}

.prose-jp h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 2rem 0 1rem;
  color: var(--deep-black);
}

.prose-jp ul {
  margin: 1rem 0 1.5rem 1.2rem;
  line-height: 1.9;
  color: var(--muted-text);
}

/* Filters / accordion */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  min-height: 38px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--deep-black);
  color: var(--soft-white);
  border-color: var(--deep-black);
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.9rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  cursor: pointer;
}

.accordion__panel {
  padding: 0 0 1.15rem;
  color: var(--muted-text);
  line-height: 1.85;
}

.accordion__panel[hidden] {
  display: none;
}

/* =========================================================
   FORMS
   ========================================================= */
.form-stack {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.form-field,
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0.9rem 1rem;
  font: inherit;
  border-radius: var(--radius);
}

.form-field:focus,
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  outline: 2px solid rgba(122, 59, 69, 0.35);
  outline-offset: 1px;
  border-color: var(--muted-burgundy);
}

.form-stack textarea {
  min-height: 160px;
  resize: vertical;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted-burgundy);
  min-height: 1.1em;
}

.form-success {
  padding: 1.25rem;
  background: var(--warm-ivory);
  border: 1px solid var(--line);
  line-height: 1.8;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted-text);
  margin-top: 0.75rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top: auto;
  background: var(--deep-black);
  color: rgba(250, 250, 248, 0.78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.site-footer__grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  color: var(--soft-white);
  margin-bottom: 0.85rem;
}

.site-footer__tagline {
  font-size: 0.95rem;
  color: rgba(250, 250, 248, 0.88);
  margin-bottom: 0.75rem;
}

.site-footer__copy {
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 22rem;
  margin-bottom: 0.85rem;
}

.site-footer__demo {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(250, 250, 248, 0.45);
  max-width: 24rem;
}

.site-footer__heading {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.45);
  margin-bottom: 1rem;
}

.site-footer__links,
.site-footer__contact {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--soft-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(250, 250, 248, 0.1);
  width: var(--container);
  margin-inline: auto;
  padding: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: rgba(250, 250, 248, 0.5);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__legal a:hover {
  color: var(--soft-white);
}

/* =========================================================
   MEDIA ZOOM / UTILITY
   ========================================================= */
.media-zoom {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--light-gray);
}

.media-zoom > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-zoom:hover > img {
  transform: scale(1.04);
}

.text-muted {
  color: var(--muted-text);
}

.text-burgundy {
  color: var(--muted-burgundy);
}

.bg-ivory {
  background: var(--warm-ivory);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* =========================================================
   RESPONSIVE — 360 to 1600
   ========================================================= */
@media (min-width: 640px) {
  /* Only non-split grids — avoid forcing an empty 2nd column on split panels */
  .style-panel-grid:not(.style-panel-grid--split) {
    grid-template-columns: repeat(2, 1fr);
  }

  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* guide-grid uses auto-fit / :has() rules above — do not force 2-col here */
  .journal-grid,
  .style-picks,
  .picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .street-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lookbook-grid > .lookbook-tile--note {
    grid-column: 1 / -1;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .gender-split {
    grid-template-columns: 1fr 1fr;
  }

  .gender-split__item {
    min-height: clamp(420px, 58vh, 680px);
  }

  /* Only apply side-by-side when card has a media + body wrapper */
  .street-card--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .street-card--reverse {
    direction: rtl;
  }

  .street-card--reverse > * {
    direction: ltr;
  }

  /* Equal 2×2 mosaic — no empty right slot beside a single tile */
  .lookbook-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(340px, 42vw);
  }

  .lookbook-grid > .lookbook-tile {
    min-height: 340px;
    aspect-ratio: auto;
    height: 100%;
  }

  .lookbook-tile--wide,
  .lookbook-tile--tall {
    min-height: 340px;
    aspect-ratio: auto;
  }

  .lookbook-grid > .lookbook-tile--note {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .lookbook-tile--span2 {
    grid-column: span 2;
  }

  .lookbook-tile--row2 {
    grid-row: span 2;
  }

  /* Duo mosaic (exactly 2 tiles) — equal columns, no span gaps */
  .lookbook-grid--duo {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(380px, 52vw);
  }

  .lookbook-grid--duo > .lookbook-tile {
    min-height: 380px;
    aspect-ratio: auto;
  }

  .site-search__form {
    grid-template-columns: 1fr auto auto;
  }

  .hero-content {
    padding-bottom: 5.5rem;
  }

  .img-hero,
  .hero-slide {
    height: clamp(520px, 100svh, 920px);
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .journal-grid,
  .style-picks {
    grid-template-columns: repeat(2, 1fr);
  }

  .street-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .section-head--row {
    align-items: flex-end;
  }

  .occasion-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .nav-desktop {
    gap: 1.2rem;
  }

  .lookbook-grid {
    gap: 1rem;
  }

  /* Keep split panels at 2 columns — avoid empty third column */
  .style-panel-grid--split {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (min-width: 1440px) {
  :root {
    --header-h: 82px;
  }

  .nav-link {
    font-size: 0.7rem;
  }
}

@media (max-width: 767px) {
  .img-hero,
  .hero-slide {
    height: clamp(420px, 88svh, 680px);
    min-height: 70svh;
  }

  .img-page-hero,
  .page-hero,
  .page-banner {
    height: clamp(300px, 52vh, 480px);
  }

  .img-story {
    aspect-ratio: 16 / 10;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(14, 14, 14, 0.2) 0%, rgba(14, 14, 14, 0.58) 100%);
  }

  .hero-controls {
    left: 1.25rem;
    right: auto;
    bottom: 1.5rem;
  }

  .site-search__form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head--row .lede {
    margin-left: 0;
    text-align: left;
  }

  .lookbook-grid,
  .street-grid,
  .guide-grid,
  .picks-grid,
  .style-panel-grid--split,
  .journal-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 399px) {
  :root {
    --container: calc(100% - 1.5rem);
    --container-wide: calc(100% - 1.25rem);
  }

  .site-logo__mark {
    letter-spacing: 0.18em;
    font-size: 1.2rem;
  }

  .occasion-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   INNER PAGES — breadcrumb, prose, journal, look filters
   ========================================================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--deep-black);
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: rgba(250, 250, 248, 0.78);
}

.page-hero .breadcrumb a:hover {
  color: var(--soft-white);
}

.prose-ja,
.prose-jp {
  max-width: 42rem;
}

.prose-ja p,
.prose-jp p {
  line-height: 1.95;
  color: var(--muted-text);
  margin-bottom: 1.15rem;
}

.prose-ja h2,
.prose-jp h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 2rem 0 1rem;
  color: var(--deep-black);
}

.prose-ja h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.prose-ja ul,
.prose-jp ul {
  margin: 1rem 0 1.5rem 1.2rem;
  line-height: 1.9;
  color: var(--muted-text);
}

.key-points {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem;
  background: var(--warm-ivory);
  border: 1px solid var(--line);
}

.key-points li {
  list-style: none;
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.8;
  color: var(--muted-text);
}

.key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--muted-burgundy);
}

.journal-feature {
  display: grid;
  gap: 1.5rem;
}

.journal-side {
  display: grid;
  gap: 1.25rem;
}

.picks-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.lookbook-tile.is-hidden,
[data-look-card].is-hidden {
  display: none !important;
}

.look-magazine {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.editorial-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.editorial-row--reverse {
  direction: ltr;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.contact-info dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.contact-info dd {
  margin: 0.2rem 0 0;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.feature-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.season-block {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.season-block:last-child {
  border-bottom: 0;
}

.season-meta {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.season-meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-burgundy);
  font-weight: 500;
}

@media (min-width: 768px) {
  .journal-feature {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .journal-side .img-box {
    min-height: 0;
  }

  .picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /*
   * Full lookbook magazine: 3 equal columns so every row fills.
   * (12 tiles → 4 complete rows. Asymmetric spans left an empty
   * right-hand image slot on the last row.)
   */
  .look-magazine {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(300px, 28vw);
  }

  .look-magazine .lookbook-tile {
    grid-column: auto;
    min-height: 300px;
    aspect-ratio: auto;
    height: 100%;
  }

  /* Duo / short mosaics: equal halves, never leave a blank right cell */
  .look-magazine--duo,
  .look-magazine:not(.is-filtered):has(> .lookbook-tile:nth-child(2)):not(:has(> .lookbook-tile:nth-child(3))) {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(380px, 50vw);
  }

  .look-magazine--duo .lookbook-tile,
  .look-magazine:not(.is-filtered):has(> .lookbook-tile:nth-child(2)):not(:has(> .lookbook-tile:nth-child(3))) .lookbook-tile {
    grid-column: auto !important;
    min-height: 380px;
  }

  /* Filtered view: auto-fit so odd counts never leave a blank right cell */
  .look-magazine.is-filtered {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    grid-auto-rows: minmax(320px, auto);
  }

  .look-magazine.is-filtered .lookbook-tile {
    grid-column: auto !important;
    min-height: 320px;
  }

  /* Filtered: 1–2 / 4 results — explicit balance */
  .look-magazine.is-filtered.is-single {
    grid-template-columns: 1fr;
  }

  .look-magazine.is-filtered.is-duo,
  .look-magazine.is-filtered.is-quad {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-row,
  .feature-split,
  .contact-grid,
  .season-block {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-row--wide {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .editorial-row--narrow {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .editorial-row--reverse > *:first-child {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .picks-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .street-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide > img,
  .hero-slide .hero-media,
  .img-box > img,
  .lookbook-tile > img,
  .gender-split__item > img,
  .media-zoom > img {
    transform: none !important;
  }

  .mobile-menu {
    transition: none;
  }
}

/* ===== AOS blank-content safety (audit fix) ===== */
body.aos-fallback [data-aos],
body.aos-fallback [data-aos].aos-animate,
html.no-js [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos],
  [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
  }
}


/* === Minimal JP nav CTA (master localization) === */
.lang-badge {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
  padding: 0.35rem 0.55rem;
  border: 1px solid currentColor;
}
.nav-cta {
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  border: 1px solid currentColor;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: currentColor;
  color: #fff;
}
.nav-cta-mobile {
  display: inline-flex;
  width: fit-content;
}
