/* ==========================================================================
   Design Marbella — editorial redesign
   Centered magazine grid · limestone paper, ink, one terracotta accent
   Cormorant (display) + Instrument Sans (text & UI)
   ========================================================================== */

:root {
  --paper: #efebe4;
  --paper-2: #e6e0d6;
  --paper-3: #dad2c5;
  --ink: #15130f;
  --ink-2: #3a362f;
  --stone: #7f776b;
  --line: rgba(21, 19, 15, 0.14);
  --line-2: rgba(21, 19, 15, 0.28);
  --night: #12110e;
  --night-2: #1c1a16;
  --bone: #f3efe8;
  --accent: #a4583a;

  --f-display: "Cormorant", "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* centered grid: 1140 on laptops, 1240 on large screens, fluid below */
  --max: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --col-gap: clamp(20px, 2.4vw, 32px);
  --hdr-h: 84px;   /* header at rest */
  --bar-h: 60px;   /* header once scrolled; also the offset for sticky elements */
  --block-gap: clamp(64px, 8vw, 104px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}
@media (min-width: 1500px) { :root { --max: 1240px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 0.8125rem; }
.skip:focus { top: 12px; }

.eyebrow, .label, .kick, .crumbs, .meta, .navlist a, .menu-btn__label, .link-arrow, .btn, .pill, .chip {
  font-family: var(--f-sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em;
}
.eyebrow { font-size: 0.6875rem; line-height: 1.4; }
.label { display: flex; align-items: center; gap: 10px; font-size: 0.6875rem; margin-bottom: 10px; color: var(--ink-2); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* original logo artwork used as a mask so it can take any colour */
.logo {
  display: block; aspect-ratio: 2138 / 563; width: 100%; background: currentColor;
  -webkit-mask: url("/assets/img/logo.png") center / contain no-repeat;
  mask: url("/assets/img/logo.png") center / contain no-repeat;
}

.link-arrow { display: inline-flex; align-items: center; gap: 0.6em; font-size: 0.6875rem; position: relative; padding-bottom: 3px; white-space: nowrap; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; }
.link-arrow svg, .next__cta svg, .news__btn svg { transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em; height: 52px; padding: 0 28px; border-radius: 2px;
  background: var(--ink); color: var(--paper); font-size: 0.6875rem; position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease), transform 0.8s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform 0.6s var(--ease); }
.btn:hover::before { transform: none; }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { color: var(--bone); }
.pill { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 2px; border: 1px solid currentColor; font-size: 0.6875rem; transition: background-color 0.4s, color 0.4s; }

.crumbs { display: flex; gap: 10px; font-size: 0.6875rem; color: var(--stone); }
.crumbs a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ media */
.media { position: relative; }
.media__frame { position: relative; overflow: hidden; aspect-ratio: var(--ar); background: var(--paper-2); }
.media__inner { position: absolute; inset: -6% 0; will-change: transform; }
.media__inner img { width: 100%; height: 100%; object-fit: cover; }
.media__cap { margin-top: 10px; font-size: 0.8125rem; color: var(--stone); line-height: 1.5; }

/* lazy images fade in once decoded instead of popping */
.js img[loading="lazy"] { opacity: 0; }
.js img[loading="lazy"].is-loaded { opacity: 1; animation: imgin 0.9s var(--ease-soft); }
@keyframes imgin { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ reveal system (JS only) */
.line { display: block; overflow: hidden; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.line__in { display: block; }
.char { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.char__in, .word { display: inline-block; }
.line, .line__in, .word, .char, .char__in { text-indent: 0; }

.js [data-reveal="lines"] .line__in { transform: translate3d(0, 105%, 0); }
.js [data-reveal="lines"].is-in .line__in { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 80ms); }
.js [data-reveal="chars"] .char__in { transform: translate3d(0, 105%, 0); }
.js [data-reveal="chars"].is-in .char__in { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 32ms); }
.js [data-reveal="words"] .word { opacity: 0; transform: translate3d(0, 0.35em, 0); }
.js [data-reveal="words"].is-in .word { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-soft), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 35ms); }
.js [data-reveal="fade"] { opacity: 0; transform: translate3d(0, 20px, 0); }
.js [data-reveal="fade"].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-soft), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"] .media__frame { clip-path: inset(100% 0 0 0); }
.js [data-reveal="img"] .media__inner img { transform: scale(1.2); }
.js [data-reveal="img"].is-in .media__frame { clip-path: inset(0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].is-in .media__inner img { transform: scale(1); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="scrub"] .word { opacity: 0.16; transition: opacity 0.3s linear; }
.js [data-reveal="scrub"] .word.is-lit { opacity: 1; }
.js [data-reveal="logo"] .logo { clip-path: inset(0 100% 0 0); }
.js [data-reveal="logo"].is-in .logo { clip-path: inset(0); transition: clip-path 1.8s var(--ease-io); }
.js [data-reveal="gal"] .gal__item { opacity: 0; transform: translate3d(80px, 0, 0); }
.js [data-reveal="gal"].is-in .gal__item { opacity: 1; transform: none; transition: opacity 1s var(--ease-soft), transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }

/* ------------------------------------------------------------------ header
   one compact header: logo left, sections inline right. Taller at the top of the page,
   compact + frosted once scrolled, tucks away while reading down, returns on scroll up. */
body { padding-top: var(--hdr-h); }
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 600; height: var(--hdr-h); color: var(--ink);
  transition: height 0.5s var(--ease), transform 0.6s var(--ease), color 0.4s;
}
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(239, 235, 228, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.4s;
}
.hdr.is-scrolled { height: var(--bar-h); }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-hidden { transform: translate3d(0, -100%, 0); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hdr__logo { flex: none; width: 150px; transition: width 0.5s var(--ease); }
.hdr.is-scrolled .hdr__logo { width: 118px; }
.hdr__nav { min-width: 0; transition: opacity 0.3s; }
.navlist { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); }
.navlist a { display: block; padding: 8px 0; font-size: 0.65625rem; position: relative; white-space: nowrap; transition: color 0.3s; }
.navlist a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.4s var(--ease); }
.navlist a:hover::after, .navlist a.is-current::after { transform: scale(1); }
.navlist a.is-current { color: var(--accent); }
.nav-sep { width: 1px; height: 12px; background: var(--line-2); }

.menu-btn { display: none; align-items: center; gap: 12px; height: 40px; flex: none; }
.menu-btn__label { display: grid; overflow: hidden; height: 1.4em; font-size: 0.6875rem; }
.menu-btn__label span { grid-area: 1 / 1; transition: transform 0.6s var(--ease); }
.menu-btn__label [data-close] { transform: translateY(110%); }
.menu-btn__burger { width: 24px; height: 9px; position: relative; display: block; }
.menu-btn__burger i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.menu-btn__burger i:first-child { top: 0; }
.menu-btn__burger i:last-child { top: 8px; }

/* turn the header light only once the dropping sheet has covered it */
.is-menu-open .hdr { transform: none; color: var(--bone); transition: height 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s 0.22s; }
.is-menu-open .hdr::before { opacity: 0; }
.is-menu-open .hdr__nav { opacity: 0; pointer-events: none; }
.is-menu-open .menu-btn__label [data-open] { transform: translateY(-110%); }
.is-menu-open .menu-btn__label [data-close] { transform: none; }
.is-menu-open .menu-btn__burger i:first-child { top: 4px; transform: rotate(16deg); }
.is-menu-open .menu-btn__burger i:last-child { top: 4px; transform: rotate(-16deg); }

/* ------------------------------------------------------------------ full-screen index menu */
/* The whole panel (background AND content) is clipped as one sheet, so nothing lingers on close.
   Opens by dropping from the top; closes by lifting from the top, so the header area clears first. */
.menu { position: fixed; inset: 0; z-index: 550; color: var(--bone); visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); }
.menu.is-open { visibility: visible; pointer-events: auto; clip-path: inset(0); transition: clip-path 0.8s var(--ease-io); }
.menu.is-open.is-closing { pointer-events: none; clip-path: inset(100% 0 0 0); transition: clip-path 0.7s var(--ease-io) 0.1s; }
.menu__bg { position: absolute; inset: 0; background: var(--night); }
.menu__grid { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--col-gap); padding: calc(var(--bar-h) + 4vh) 0 5vh; }
.menu__list { align-self: center; }
.menu__link { display: grid; grid-template-columns: 1fr; align-items: baseline; padding: 0.3vh 0; border-bottom: 1px solid rgba(243, 239, 232, 0.08); opacity: 0; transform: translate3d(0, 28px, 0); }
.menu.is-open .menu__link { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-soft), transform 0.9s var(--ease); transition-delay: calc(0.22s + var(--i, 0) * 0.04s); }
.menu.is-open.is-closing .menu__link { opacity: 0; transform: translate3d(0, -12px, 0); transition: opacity 0.22s linear, transform 0.4s var(--ease-io); transition-delay: 0s; }
.menu__num, .menu__count { font-size: 0.6875rem; letter-spacing: 0.16em; color: rgba(243, 239, 232, 0.4); font-weight: 500; text-transform: uppercase; }
.menu__txt { display: block; overflow: hidden; font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 5.2vh, 3.8rem); line-height: 1.12; }
.menu__txt span { display: inline-block; transition: color 0.35s; }
@media (hover: hover) {
  .menu__list:hover .menu__txt span { color: rgba(243, 239, 232, 0.35); }
  .menu__list .menu__link:hover .menu__txt span { color: var(--bone); font-style: italic; }
}
.menu__link.is-current .menu__num { color: var(--accent); }
.menu__aside { align-self: end; display: grid; gap: 36px; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.6s, transform 0.9s var(--ease); }
.menu.is-open .menu__aside { opacity: 1; transform: none; transition-delay: 0.5s; }
.menu.is-open.is-closing .menu__aside { opacity: 0; transform: none; transition: opacity 0.22s linear; transition-delay: 0s; }
.menu__extra { display: grid; gap: 4px; }
.menu__extra a { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 300; }
.menu__extra a:hover { font-style: italic; }
.menu__cover { display: grid; grid-template-columns: 88px 1fr; column-gap: 18px; align-items: end; }
.menu__cover-img { grid-row: 1 / 3; overflow: hidden; }
.menu__cover .eyebrow { color: rgba(243, 239, 232, 0.5); }
.menu__cover-title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 300; font-style: italic; }
.menu__contact { display: grid; gap: 4px; font-size: 0.8125rem; color: rgba(243, 239, 232, 0.65); }
.menu__contact a:hover { color: var(--bone); }
.menu__preview, .preview {
  position: fixed; top: 0; left: 0; width: clamp(180px, 18vw, 280px); aspect-ratio: 4 / 5; pointer-events: none;
  opacity: 0; transition: opacity 0.3s; overflow: hidden; will-change: transform;
}
.menu__preview { z-index: 2; }
.preview { z-index: 480; }
.menu__preview.is-on, .preview.is-on { opacity: 1; }
.menu__preview-inner, .preview__inner { position: absolute; inset: 0; background: var(--night-2); }
.menu__preview img, .preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pv 0.8s var(--ease) both; }
@keyframes pv { from { clip-path: inset(100% 0 0 0); transform: scale(1.2); } to { clip-path: inset(0); transform: none; } }

/* ------------------------------------------------------------------ loader & curtain */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--paper); color: var(--ink); display: grid; place-items: center; clip-path: inset(0); transition: clip-path 1.1s var(--ease-io); }
.loader__logo { width: min(64vw, 520px); }
.loader__logo .logo { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 1px; background: var(--line); }
.loader__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--pp, 0)); }
.loader__count { position: absolute; right: var(--gutter); bottom: calc(5vh + 14px); font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; line-height: 0.8; font-variant-numeric: tabular-nums; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.is-returning .loader, html:not(.js) .loader { display: none; }

.curtain { position: fixed; inset: 0; z-index: 900; pointer-events: none; visibility: hidden; }
.curtain.is-active { visibility: visible; pointer-events: auto; }
.curtain__panel { position: absolute; inset: 0; background: var(--night); clip-path: inset(100% 0 0 0); will-change: clip-path; }
.curtain__label { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--gutter); text-align: center; color: var(--bone); font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 4.4vw, 3.8rem); line-height: 1.08; }
.curtain__label span { display: block; max-width: 20ch; opacity: 0; transform: translate3d(0, 24px, 0); }
.curtain.is-in .curtain__panel { clip-path: inset(0); transition: clip-path 0.75s var(--ease-io); }
.curtain.is-in .curtain__label span { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-soft) 0.3s, transform 0.9s var(--ease) 0.3s; }
.curtain.is-out .curtain__panel { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-io) 0.05s; }
.curtain.is-out .curtain__label span { opacity: 0; transform: translate3d(0, -24px, 0); transition: opacity 0.35s, transform 0.5s var(--ease-io); }

/* ------------------------------------------------------------------ cursor & progress */
.cursor { position: fixed; left: 0; top: 0; z-index: 800; pointer-events: none; display: none; will-change: transform; transition: opacity 0.3s; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } }
.cursor__label {
  position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  transform: scale(0); transition: transform 0.45s var(--ease);
}
.cursor__dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transition: transform 0.35s var(--ease), opacity 0.25s; }
/* the label only exists while hovering an article image; pressing never shows it */
.cursor.has-label .cursor__label { transform: scale(1); }
.cursor.has-label.is-down .cursor__label { transform: scale(0.9); }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-link .cursor__dot { transform: scale(2); }
.cursor.is-down:not(.has-label) .cursor__dot { transform: scale(0.7); }
.cursor.is-hidden { opacity: 0; }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 700; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.is-article .progress { opacity: 1; }

/* ------------------------------------------------------------------ story cards */
.story__link { display: block; }
.story__media img { transition: transform 1.4s var(--ease) !important; }
@media (hover: hover) { .story__link:hover .story__media .media__inner img { transform: scale(1.05) !important; } }
.story__body { padding-top: 14px; }
.kick { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.625rem; color: var(--stone); margin-bottom: 8px; }
.kick span + span::before { content: "·"; margin: 0 8px; }
.kick__sec { color: var(--accent); }
.story__title { font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.005em; text-wrap: balance; }
.story__deck { margin-top: 10px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--ink-2); }
.story__ex { margin-top: 10px; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; margin-top: 12px; font-size: 0.625rem; color: var(--stone); letter-spacing: 0.12em; }
.meta span + span::before { content: "·"; margin: 0 8px; }

.story--xl .story__title { font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.015em; }
.story--xl .story__ex { font-size: 1rem; -webkit-line-clamp: 4; max-width: 60ch; }
.story--xl .story__body { padding-top: 20px; }
.story--l .story__title { font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.04; }
.story--l .story__ex { -webkit-line-clamp: 4; }
.story--p .story__title { font-size: 1.35rem; }

.story--row .story__link { display: grid; grid-template-columns: 1fr 96px; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.story--row .story__title { font-size: 1.22rem; }
.story--row .meta { margin-top: 8px; }
.story__thumb { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.story__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .story--row .story__link:hover .story__thumb img { transform: scale(1.07); } }
.story--t .story__link { padding: 16px 0; border-top: 1px solid var(--line); }
.story--t .story__title { font-size: 1.25rem; }

.grid { display: grid; gap: clamp(36px, 4vw, 52px) var(--col-gap); align-items: start; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------------------------ front page */
.front { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); padding-top: clamp(28px, 4vw, 48px); }
.front__lead { grid-column: 1 / 9; }
.front__side { grid-column: 9 / 13; padding-left: clamp(0px, 1vw, 12px); }
.issue-promo { display: grid; gap: 10px; margin-top: 24px; padding: 22px; background: var(--paper-2); transition: background-color 0.4s; }
.issue-promo:hover { background: var(--paper-3); }
.issue-promo .eyebrow { color: var(--accent); }
.issue-promo__t { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.15; }
.issue-promo .link-arrow { justify-self: start; }

.block { margin-top: var(--block-gap); }
.bhead { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.bhead__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 0.95; letter-spacing: -0.02em; }
.bhead__aside { font-size: 0.8125rem; color: var(--stone); padding-bottom: 0.45em; }
.bhead .link-arrow {
  margin-left: auto; height: 40px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 2px;
  transition: background-color 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.bhead .link-arrow::after { display: none; }
.bhead .link-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.block__a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); }
.block__lead { grid-column: 1 / 8; }
.block__list { grid-column: 8 / 13; padding-left: clamp(0px, 1vw, 12px); }
.block__list .story--row:first-child .story__link { padding-top: 0; }

.feature { margin-top: var(--block-gap); background: var(--night); color: var(--bone); }
.feature__link { display: block; position: relative; height: clamp(520px, 82vh, 780px); overflow: hidden; }
.feature__media { position: absolute; inset: 0; overflow: hidden; }
.feature__inner { position: absolute; inset: -8% 0; will-change: transform; }
.feature__inner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: opacity 0.8s, transform 1.6s var(--ease); }
@media (hover: hover) { .feature__link:hover .feature__inner img { opacity: 0.84; transform: scale(1.03); } }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 14, 0) 30%, rgba(18, 17, 14, 0.55) 62%, rgba(18, 17, 14, 0.9) 100%), linear-gradient(90deg, rgba(18, 17, 14, 0.45), rgba(18, 17, 14, 0) 60%); }
.feature__text { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vh, 64px); display: grid; gap: 16px; justify-items: start; }
.feature__text .eyebrow { color: rgba(243, 239, 232, 0.75); }
.feature__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 16ch; }
.feature__ex { max-width: 56ch; font-size: 0.9375rem; color: rgba(243, 239, 232, 0.8); }
@media (hover: hover) { .feature__link:hover .pill { background: var(--bone); color: var(--ink); } }

.duo { margin-top: var(--block-gap); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.duo__list { margin-top: 20px; }

.voices { margin-top: var(--block-gap); padding: clamp(56px, 7vw, 88px) 0; background: var(--paper-2); }

.hz { position: relative; margin-top: var(--block-gap); background: var(--night); color: var(--bone); }
.hz__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding-block: calc(var(--bar-h) + 28px) 32px; }
.hz__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hz__head .link-arrow { height: 40px; padding: 0 18px; border: 1px solid rgba(243, 239, 232, 0.3); border-radius: 2px; transition: background-color 0.4s, color 0.4s; }
.hz__head .link-arrow::after { display: none; }
.hz__head .link-arrow:hover { background: var(--bone); color: var(--ink); }
.hz__head .eyebrow { color: rgba(243, 239, 232, 0.55); margin-bottom: 10px; }
.hz__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.hz__track { display: flex; gap: clamp(16px, 2vw, 28px); align-items: center; padding-inline: calc((100vw - min(100vw - 2 * var(--gutter), var(--max))) / 2); width: max-content; will-change: transform; }
.hz__img { display: block; height: min(52vh, 520px); aspect-ratio: var(--ar); overflow: hidden; background: var(--night-2); }
.hz__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .hz__item a:hover img { transform: scale(1.04); } }
.hz__cap { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: rgba(243, 239, 232, 0.65); }
.hz__bar { height: 1px; background: rgba(243, 239, 232, 0.18); position: relative; }
.hz__bar i { position: absolute; inset: 0; background: var(--bone); transform-origin: left; transform: scaleX(0); }

.news-band { margin-top: var(--block-gap); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.news-band__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: end; padding: clamp(40px, 5vw, 64px) 0; }
.news-band .eyebrow { color: var(--accent); margin-bottom: 12px; }
.news-band__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.04; max-width: 16ch; }
.news { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; font-size: 1.0625rem; padding: 14px 0; outline: none; border-radius: 0; }
.news input::placeholder { color: var(--stone); }
.news__btn { display: inline-flex; align-items: center; gap: 10px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.news__btn:hover svg { transform: translateX(4px); }
.news__ok { position: absolute; top: calc(100% + 8px); left: 0; font-size: 0.8125rem; color: var(--stone); }

.mq { padding-block: clamp(40px, 5vw, 64px); overflow: hidden; }
.mq > .label { margin-bottom: 32px; color: var(--stone); border-color: var(--line); }
.mq__track { display: flex; width: max-content; animation: mq 70s linear infinite; }
@media (hover: hover) { .mq:hover .mq__track { animation-play-state: paused; } }
.mq__row { display: flex; align-items: center; gap: clamp(44px, 5vw, 96px); padding-right: clamp(44px, 5vw, 96px); }
.mq__logo { height: clamp(36px, 4vw, 56px); display: flex; align-items: center; }
.mq__logo img { height: 100%; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: 0.7; transition: opacity 0.4s, filter 0.4s; }
.mq__logo:hover img { opacity: 1; filter: none; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* ------------------------------------------------------------------ section page */
.shead { padding-top: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--ink); padding-bottom: 20px; }
.shead__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(3.4rem, 10vw, 8rem); line-height: 0.9; letter-spacing: -0.035em; margin: clamp(14px, 2vw, 24px) 0 clamp(18px, 2.4vw, 28px) -0.04em; }
.shead__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.shead__desc { font-family: var(--f-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; max-width: 34ch; color: var(--ink-2); }
.shead__tools { display: flex; align-items: center; gap: 20px; }
.shead__count { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--stone); }
.view { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 2px; }
.view button { height: 32px; padding: 0 14px; border-radius: 2px; font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; transition: background-color 0.4s var(--ease), color 0.4s; }
.view button.is-active { background: var(--ink); color: var(--paper); }
.views__list { display: none; }
.views[data-mode="list"] .views__grid { display: none; }
.views[data-mode="list"] .views__list { display: block; animation: viewin 0.7s var(--ease) both; }
.views[data-mode="grid"] .views__grid { animation: viewin 0.7s var(--ease) both; }
@keyframes viewin { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
.sgrid { margin-top: var(--block-gap); }
.idx { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--ink); }
.idx__row a { display: grid; grid-template-columns: 3em minmax(0, 2fr) minmax(0, 1fr) 4em; gap: var(--col-gap); align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease), color 0.3s; }
@media (hover: hover) { .idx__row a:hover { padding-left: 12px; color: var(--accent); } }
.idx__n, .idx__m { font-size: 0.6875rem; letter-spacing: 0.14em; font-weight: 500; color: var(--stone); }
.idx__m { justify-self: end; }
.idx__t { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.idx__k { font-size: 0.8125rem; color: var(--stone); }
.explore { margin-top: var(--block-gap); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 2px; border: 1px solid var(--line-2); font-size: 0.6875rem; transition: background-color 0.35s, color 0.35s, border-color 0.35s; }
.chip:hover, .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips--dark .chip { border-color: rgba(243, 239, 232, 0.25); }
.chips--dark .chip:hover, .chips--dark .chip.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ------------------------------------------------------------------ article */
.post__head { text-align: center; padding-top: clamp(32px, 5vw, 64px); display: grid; justify-items: center; gap: 18px; }
.post__kicker { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--accent); }
.post__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 18ch; }
.post__deck { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; max-width: 36ch; color: var(--ink-2); }
.post__byline { display: flex; flex-wrap: wrap; justify-content: center; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--stone); padding-top: 6px; }
.post__byline span + span::before { content: "·"; margin: 0 10px; }
.post__byline span:first-child { color: var(--ink); }
.post__hero { margin-top: clamp(28px, 4vw, 48px); }
.post__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(40px, 5vw, 64px); }
.post__rail { grid-column: 1 / 4; }
.rail { position: sticky; top: calc(var(--bar-h) + 28px); display: grid; gap: 18px; font-size: 0.8125rem; }
.rail__sec { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--accent); }
.rail__credits { display: grid; gap: 4px; color: var(--ink-2); }
.rail__time { color: var(--stone); }
.rail__share { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.rail__share .eyebrow { color: var(--stone); margin-bottom: 4px; }
.rail__share a, .rail__share button { justify-self: start; text-align: left; border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.rail__share a:hover, .rail__share button:hover { border-color: currentColor; color: var(--accent); }

.post__body { grid-column: 4 / 13; min-width: 0; --measure: 660px; }
.post__body > * + * { margin-top: 1.4em; }
.post__body > p, .post__body > .a-qa, .post__body > .a-sub, .post__body > .a-note { max-width: var(--measure); }
.a-lede { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.32; color: var(--ink); }
.a-lede::first-letter { float: left; font-size: 3.3em; line-height: 0.82; padding: 0.06em 0.1em 0 0; font-weight: 400; color: var(--accent); }
.a-p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75; }
.a-qa { display: grid; gap: 0.7em; }
.a-qa + .a-qa, .post__body > .a-q { margin-top: 2.2em; }
.a-q { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.25; color: var(--ink); }
.a-sub { margin-top: 2.4em !important; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.a-sub + * { margin-top: 1em !important; }
.a-note { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--stone); padding-top: 14px; border-top: 1px solid var(--line); margin-top: 2.4em !important; }
.a-note + .a-note { border-top: 0; padding-top: 0; margin-top: 0.5em !important; }
.a-quote { margin-block: clamp(2.6rem, 5vw, 4rem) !important; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.a-quote p { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; letter-spacing: -0.01em; }
.a-quote + * { margin-top: 0 !important; }
.a-fig { margin-block: clamp(2.2rem, 4.5vw, 3.6rem) !important; }
.a-fig + .a-fig { margin-top: 0 !important; }
.a-text { max-width: var(--measure); }
.a-right { width: 78%; margin-left: auto; }
.a-portrait { width: 62%; }
.a-portrait--r { margin-left: auto; }
.a-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: start; }
.a-pair > :nth-child(2) { margin-top: clamp(0px, 6vw, 80px); }
.a-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); align-items: start; }
.a-trio > :nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }

.a-gal { margin-block: clamp(2.2rem, 4.5vw, 3.6rem) !important; }
.a-gal__head { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--stone); }
.a-gal__count { font-size: 0.6875rem; letter-spacing: 0.16em; font-weight: 500; font-variant-numeric: tabular-nums; }
.gal { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.gal::-webkit-scrollbar { display: none; }
.gal.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gal__item { flex: 0 0 auto; scroll-snap-align: start; }
.gal__frame { height: clamp(280px, 52vh, 560px); aspect-ratio: var(--ar); overflow: hidden; background: var(--paper-2); }
.gal__frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.gal__cap { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--stone); max-width: 40ch; }
.a-gal__bar { margin-top: 18px; height: 1px; background: var(--line); position: relative; }
.a-gal__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0.1); }


.next { margin-top: var(--block-gap); }
.next__link { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: center; padding: clamp(24px, 3vw, 40px); background: var(--paper-2); }
.next__text { grid-column: 1 / 7; display: grid; gap: 18px; justify-items: start; }
.next__text .eyebrow { color: var(--accent); }
.next__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.next__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
@media (hover: hover) { .next__link:hover .next__cta svg { transform: translateX(6px); } }
.next__media { grid-column: 7 / 13; }
.more { margin-top: var(--block-gap); }

/* ------------------------------------------------------------------ magazine */
.mag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); padding-top: clamp(32px, 5vw, 64px); align-items: center; }
.mag__text { grid-column: 1 / 7; display: grid; gap: 22px; justify-items: start; }
.mag__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(3.4rem, 9vw, 7rem); line-height: 0.9; letter-spacing: -0.035em; }
.mag__lede { font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.3; color: var(--ink-2); max-width: 36ch; }
.mag__specs { width: 100%; border-top: 1px solid var(--line); }
.mag__specs div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.mag__specs dt { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--stone); padding-top: 0.2em; }
.mag__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 6px; }
.mag__cover { grid-column: 8 / 13; display: block; box-shadow: 0 40px 70px -40px rgba(21, 19, 15, 0.5); transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease); }
.arch { margin-top: var(--block-gap); }
.arch__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) var(--col-gap); }
.arch__img, .backs__img { display: block; overflow: hidden; background: var(--paper-2); transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease); }
@media (hover: hover) { .arch__item a:hover .arch__img, .backs__grid a:hover .backs__img { box-shadow: 0 26px 50px -28px rgba(21, 19, 15, 0.5); } }
.arch__cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.arch__cap span:last-child { color: var(--stone); }

/* ------------------------------------------------------------------ media kit */
.mkh { padding-top: clamp(32px, 5vw, 64px); display: grid; gap: 22px; }
.mkh__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 15ch; }
.mkh__desc { max-width: 58ch; color: var(--ink-2); font-size: 1.0625rem; }
.mkh__media { margin-top: 18px; }
.mk { margin-top: var(--block-gap); }
.mk__feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.mk__feats li { display: grid; gap: 22px; padding: 18px 18px 28px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; }
.mk__feats li span { font-family: var(--f-sans); font-size: 0.6875rem; letter-spacing: 0.16em; font-weight: 500; color: var(--accent); }
.mk--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); }
.mk__h { grid-column: 1 / 5; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.05; }
.mk__lede { grid-column: 5 / 13; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.15; }
.mk__list { grid-column: 5 / 13; }
.mk__list li { display: block; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.mk__list li:first-child { padding-top: 0; }
.mk__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.mk__card { background: var(--paper-2); padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; font-size: 0.875rem; color: var(--ink-2); }
.mk__card .eyebrow { color: var(--accent); }
.mk__big { font-family: var(--f-display); font-weight: 300; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 0.9; color: var(--ink); }
.mk__sub { margin-top: 10px; color: var(--stone) !important; }
.mk__racks li { padding-block: 7px; border-bottom: 1px solid var(--line); }
.mk__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk__tags li { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 2px; }
.specs > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); padding-block: 16px; border-bottom: 1px solid var(--line); }
.specs > div:first-child { padding-top: 0; }
.specs dt { grid-column: 1 / 5; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--stone); padding-top: 0.5em; }
.specs dd { grid-column: 5 / 13; font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.25; }
.mk__logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mk__logo { background: var(--paper); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 22px; }
.mk__logo img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: 0.75; transition: filter 0.4s, opacity 0.4s; }
.mk__logo:hover img { filter: none; opacity: 1; }

/* ------------------------------------------------------------------ contact & forms */
.cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); margin-top: var(--block-gap); }
.cta__text { grid-column: 1 / 6; display: grid; gap: 18px; align-content: start; }
.cta__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.cta__text p { color: var(--ink-2); max-width: 40ch; }
.cta__mail a { border-bottom: 1px solid currentColor; }
.form { grid-column: 7 / 13; display: grid; gap: 6px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; padding: 28px 0 10px; outline: none; border-radius: 0; resize: vertical; }
.field label { position: absolute; left: 0; top: 28px; color: var(--stone); pointer-events: none; transform-origin: left top; transition: transform 0.45s var(--ease), color 0.3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translate3d(0, -20px, 0) scale(0.72); color: var(--ink); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.8125rem; color: var(--stone); margin: 16px 0 12px; }
.check input { accent-color: var(--ink); margin-top: 3px; }
.check a { border-bottom: 1px solid currentColor; }
.form .btn { justify-self: start; }
.form__ok { font-size: 0.8125rem; min-height: 1.5em; }

.ch { padding-top: clamp(32px, 5vw, 64px); }
.ch__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 8vw, 6.4rem); line-height: 0.92; letter-spacing: -0.03em; margin: 16px 0 clamp(32px, 4vw, 56px); max-width: 12ch; }
.ch__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.ch__item { display: grid; gap: 10px; padding: 20px 20px 28px 0; border-bottom: 1px solid var(--line); transition: color 0.3s; }
.ch__item .eyebrow { color: var(--stone); }
.ch__item:hover { color: var(--accent); }
.ch__v { font-family: var(--f-display); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.05; overflow-wrap: anywhere; }

.sub { margin-top: var(--block-gap); background: var(--night); color: var(--bone); }
.sub__inner { padding-block: clamp(56px, 7vw, 96px); display: grid; gap: 22px; }
.sub .eyebrow { color: rgba(243, 239, 232, 0.55); }
.sub__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; max-width: 18ch; }
.sub__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: end; margin-top: 20px; padding-top: 24px; border-top: 1px solid rgba(243, 239, 232, 0.16); }
.sub__price { grid-column: 1 / 5; color: rgba(243, 239, 232, 0.7); font-size: 0.8125rem; }
.sub__price span { display: block; font-family: var(--f-display); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--bone); font-weight: 300; margin-bottom: 6px; }
.sub__row > div { grid-column: 5 / 10; display: grid; gap: 10px; }
.sub__row .btn { grid-column: 10 / 13; justify-self: end; }

.backs { margin-top: var(--block-gap); }
.backs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 44px) var(--col-gap); }
.backs__cap { display: block; margin-top: 10px; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--stone); }

.legal { padding-top: clamp(32px, 5vw, 64px); }
.legal__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.92; margin: 16px 0 clamp(28px, 4vw, 48px); }
.legal__body { max-width: 680px; display: grid; gap: 1.1em; color: var(--ink-2); }

/* ------------------------------------------------------------------ footer */
.ftr { margin-top: var(--block-gap); background: var(--night); color: var(--bone); padding-top: clamp(48px, 6vw, 80px); }
.ftr .eyebrow { color: rgba(243, 239, 232, 0.5); margin-bottom: 14px; }
.ftr__logo { color: var(--bone); padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid rgba(243, 239, 232, 0.14); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--col-gap); padding-top: clamp(32px, 4vw, 48px); font-size: 0.875rem; }
.ftr__about { display: grid; gap: 18px; align-content: start; color: rgba(243, 239, 232, 0.75); max-width: 36ch; }
.ftr__about .link-arrow { justify-self: start; color: var(--bone); }
.ftr__grid ul { display: grid; gap: 5px; }
.ftr__grid ul a { color: rgba(243, 239, 232, 0.78); transition: color 0.3s; }
.ftr__grid ul a:hover { color: var(--bone); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 28px; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(243, 239, 232, 0.12); font-size: 0.75rem; color: rgba(243, 239, 232, 0.55); }
.totop:hover { color: var(--bone); }

/* ------------------------------------------------------------------ below desktop (≤1279): sections collapse into the index menu */
@media (max-width: 1279px) {
  .hdr__nav { display: none; }
  .menu-btn { display: flex; }
}

/* ------------------------------------------------------------------ tablet (≤1023) */
@media (max-width: 1023px) {
  .front__lead, .front__side { grid-column: 1 / -1; }
  .front__side { padding-left: 0; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
  .front__side > .label, .front__side > .issue-promo { grid-column: 1 / -1; }
  .block__lead, .block__list { grid-column: 1 / -1; }
  .block__list { padding-left: 0; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
  .block__list .story--row:first-child .story__link { padding-top: 18px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__rail { grid-column: 1 / -1; }
  .rail { position: static; grid-template-columns: auto 1fr auto; align-items: start; column-gap: 28px; }
  .rail__share { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .rail__share .eyebrow { width: 100%; }
  .post__body { grid-column: 1 / -1; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__aside { grid-template-columns: 1fr 1fr; }
  .menu__preview { display: none; }
  .mag__text, .mag__cover { grid-column: 1 / -1; }
  .mag__cover { width: min(100%, 520px); }
  .arch__grid, .backs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk__cols { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__about { grid-column: 1 / -1; max-width: none; }
}

/* ------------------------------------------------------------------ large phone / small tablet (≤767) */
@media (max-width: 767px) {
  :root { --hdr-h: 64px; --bar-h: 56px; }
  .hdr__logo { width: 124px; }
  .hdr.is-scrolled .hdr__logo { width: 108px; }
  .grid--3 { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .news-band__in { grid-template-columns: 1fr; gap: 28px; }
  .bhead__aside { display: none; }
  .next__text, .next__media { grid-column: 1 / -1; }
  .next__media { order: -1; }
  .a-right, .a-portrait { width: 100%; }
  .a-pair > :nth-child(2) { margin-top: 0; }
  .a-trio { grid-template-columns: 1fr 1fr; }
  .a-trio > :nth-child(2) { margin-top: 0; }
  .a-trio > :nth-child(3) { grid-column: 1 / -1; }
  .idx__row a { grid-template-columns: 2.4em minmax(0, 1fr) auto; }
  .idx__k { display: none; }
  .mk__feats { grid-template-columns: 1fr 1fr; }
  .mk__h, .mk__lede, .mk__list { grid-column: 1 / -1; }
  .specs dt, .specs dd { grid-column: 1 / -1; }
  .mk__cols { grid-template-columns: 1fr; }
  .cta__text, .form { grid-column: 1 / -1; }
  .ch__grid { grid-template-columns: 1fr; }
  .sub__price, .sub__row > div, .sub__row .btn { grid-column: 1 / -1; justify-self: start; }
  .arch__grid, .backs__grid { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .menu__aside { grid-template-columns: 1fr; gap: 26px; }
  .menu__cover { display: none; }
  .hz__img { height: 44vh; }
  .hz__head { flex-wrap: wrap; }
  .rail { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ phone (≤479) */
@media (max-width: 479px) {
  .front__side, .block__list { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .voices .grid--4 { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .voices .story__title { font-size: 1.1rem; }
  .story--row .story__link { grid-template-columns: 1fr 80px; }
  .a-pair { grid-template-columns: 1fr; }
  .mk__feats { grid-template-columns: 1fr; }
  .shead__tools { width: 100%; justify-content: space-between; }
  .mag__specs div { grid-template-columns: 1fr; gap: 2px; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] .line__in, .js [data-reveal] .char__in, .js [data-reveal] .word, .js [data-reveal="fade"], .js [data-reveal="gal"] .gal__item { transform: none !important; opacity: 1 !important; }
  .js [data-reveal="img"] .media__frame, .js [data-reveal="logo"] .logo { clip-path: none !important; }
  .js [data-reveal="img"] .media__inner img { transform: none !important; }
  .mq__track { animation: none; }
}
