/* ===== ESQUE — premium editorial ===== */

:root {
  --accent: #00b9bd;
  --accent-dark: #009ea2;
  --accent-soft: rgba(0, 185, 189, 0.1);
  --text: #121212;
  --text-muted: #8b8b8b;
  --text-soft: #555;
  --border: #e8e8e8;
  --border-strong: #d4d4d4;
  --bg: #ffffff;
  --bg-soft: #f4f5f5;
  --bg-elevated: #ffffff;
  --shadow-sm: 0 6px 18px rgba(18, 18, 18, 0.05);
  --shadow-md: 0 14px 36px rgba(18, 18, 18, 0.08);
  --container: 1440px;
  --pad: clamp(12px, 2vw, 32px);
  --gap: clamp(10px, 1.2vw, 18px);
  --header-h: 72px;
  --hero-h: clamp(300px, 36vw, 420px);
  --img-ratio: 16 / 10;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-bp: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 185, 189, 0.05), transparent 55%),
    radial-gradient(900px 400px at 95% 5%, rgba(18, 18, 18, 0.03), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ----- Shared UI ----- */

.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover,
.btn--accent:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 18, 18, 0.12);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.arrow-btn:hover,
.arrow-btn:focus-visible {
  border-color: var(--text);
  transform: translateY(-1px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
}

.icon-btn:hover {
  color: var(--accent);
}

.logo {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
}

.logo span {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ----- Header ----- */

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.header__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 202;
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.header__meta {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
}

.header__city {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(0, 185, 189, 0.35);
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.header__city:hover,
.header__city:focus-visible {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 202;
}

/* Desktop nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav__mobile-head {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(4px, 0.8vw, 14px);
}

a.nav__trigger,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease);
  text-decoration: none;
}

.nav__trigger:hover,
.nav__trigger:focus-visible,
.has-dropdown:hover > .nav__trigger,
.has-dropdown.is-open > .nav__trigger {
  color: var(--accent);
}

.nav__chevron {
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.has-dropdown:hover > .nav__trigger .nav__chevron,
.has-dropdown.is-open > .nav__trigger .nav__chevron,
.nav__trigger[aria-expanded="true"] .nav__chevron {
  opacity: 1;
  transform: rotate(180deg);
  color: var(--accent);
}

.has-dropdown {
  position: relative;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 220;
  min-width: 360px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 12px 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.has-dropdown--right .dropdown {
  left: auto;
  right: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  border-left: 2px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  color: var(--accent-dark);
}

.dropdown__name {
  flex: 0 1 auto;
  line-height: 1.35;
}

.dropdown__desc {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.35;
}

.dropdown a:hover .dropdown__desc {
  color: var(--accent);
}

.dropdown__badge {
  flex-shrink: 0;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  white-space: nowrap;
}

/* Burger — hidden on desktop */

.burger {
  display: none;
  position: relative;
  z-index: 320;
}

.burger__close {
  display: none;
}

.burger.is-open .burger__menu {
  display: none;
}

.burger.is-open .burger__close {
  display: block;
}

.nav-overlay {
  display: none;
}

@media (min-width: 1181px) {
  .nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: min(920px, 72vw);
    height: var(--header-h);
    flex: none;
    z-index: 201;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    pointer-events: none;
  }

  .nav__list {
    pointer-events: auto;
  }

  .nav__trigger,
  .dropdown {
    pointer-events: auto;
  }
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .header {
  z-index: 100;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  overflow: hidden;
  background: #0f1214;
}

.hero__slider {
  position: relative;
  min-height: var(--hero-h);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero__slide[hidden] {
  display: block;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.72) 0%, rgba(8, 10, 12, 0.45) 38%, rgba(8, 10, 12, 0.12) 68%, transparent 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.18) 0%, transparent 35%, rgba(8, 10, 12, 0.35) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s linear;
}

.hero__slide.is-active .hero__media img {
  transform: scale(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--hero-h);
  padding-block: 40px 72px;
  padding-right: 34%;
  color: #fff;
}

.hero__content .label {
  color: var(--accent);
}

.hero__title {
  margin: 12px 0 14px;
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fff;
}

.hero__text {
  max-width: 40ch;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.hero__pager,
.hero__arrows {
  pointer-events: auto;
}

.hero__pager {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.hero__current {
  color: #fff;
  font-weight: 600;
}

.hero__arrows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero .arrow-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero .arrow-btn:hover {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

/* ----- Categories ----- */

.categories {
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(244, 245, 245, 0.65) 0%, rgba(244, 245, 245, 0) 100%);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
}

.cat-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.cat-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 200px;
  background: var(--bg-soft);
}

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.08) 0%, rgba(8, 10, 12, 0.55) 100%);
  pointer-events: none;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.06);
}

.cat-card__num {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

.cat-card__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  margin: 0;
  color: #fff;
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 16px 16px 18px;
}

.cat-card h2 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.22;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.cat-card:hover h2 {
  color: var(--accent-dark);
}

.cat-card__meta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.cat-card__link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.cat-card:hover .cat-card__link {
  color: var(--accent-dark);
}

.cat-card:hover .cat-card__link::after {
  transform: translateX(3px);
}

/* ----- Articles ----- */

.articles {
  padding: clamp(20px, 2.5vw, 32px) 0 clamp(36px, 4vw, 56px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.section-link:hover {
  color: var(--accent);
}

.articles__featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: calc(var(--gap) + 8px);
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--img-ratio);
  max-height: 180px;
  background: var(--bg-soft);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.post-card--lg .post-card__media {
  max-height: 220px;
}

.post-card:hover .post-card__media img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 0 4px;
}

.post-card--lg .post-card__body {
  padding-top: 16px;
}

.post-card .label {
  margin-bottom: 10px;
}

.post-card__title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.22;
}

.post-card--lg .post-card__title {
  font-size: clamp(18px, 1.5vw, 22px);
  margin-bottom: 14px;
}

.post-card:not(.post-card--lg) .post-card__title {
  font-size: clamp(16px, 1.2vw, 19px);
  margin-bottom: 10px;
}

.post-card__title a {
  transition: color 0.2s var(--ease);
}

.post-card__title a:hover {
  color: var(--accent-dark);
}

.post-card time {
  margin-top: auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.post-card__meta time {
  margin-top: 0;
}

.post-card__arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.post-card__arrow:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(2px);
}

.articles__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

.articles__more .btn {
  min-width: 220px;
}

/* ----- Picks (Подборки) ----- */

.picks {
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.picks__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 14px;
}

.picks__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 4px;
}

.picks__track::-webkit-scrollbar {
  display: none;
}

.pick-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.pick-card__media {
  overflow: hidden;
  aspect-ratio: var(--img-ratio);
  max-height: 160px;
  background: var(--bg-soft);
}

.pick-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.pick-card:hover .pick-card__media img {
  transform: scale(1.05);
}

.pick-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}

.pick-card .label {
  margin-bottom: 8px;
}

.pick-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 500;
  line-height: 1.22;
  transition: color 0.2s var(--ease);
}

.pick-card:hover h3 {
  color: var(--accent-dark);
}

.pick-card__count {
  margin-top: auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----- Footer ----- */

.footer {
  border-top: 1px solid var(--accent);
  background:
    linear-gradient(180deg, #f7f8f8 0%, #f2f3f3 100%);
  padding: 0 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(36px, 4vw, 56px) 0 clamp(36px, 5vw, 56px);
}

.footer__brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer__brand p {
  max-width: 32ch;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.footer__col h3 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__col--contact a[href^="mailto:"] {
  font-weight: 500;
  color: var(--text);
}

.subscribe {
  display: flex;
  max-width: 340px;
  border: 1px solid var(--border-strong);
  background: #fff;
  overflow: hidden;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.subscribe input::placeholder {
  color: #aaa;
}

.subscribe button {
  width: 52px;
  flex-shrink: 0;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.subscribe button:hover {
  background: var(--accent-dark);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid #e4e5e5;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__age {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

/* ----- Search modal ----- */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: 14vh 16px 16px;
  background: rgba(10, 12, 14, 0.42);
  backdrop-filter: blur(10px);
}

.search-modal[hidden] {
  display: none;
}

.search-modal__dialog {
  width: min(680px, 100%);
}

.search-modal__form {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.search-modal__form input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 22px;
  font-family: var(--serif);
}

.search-modal__close {
  border: 0;
  background: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.search-modal__close:hover {
  color: var(--text);
}

/* ----- City modal ----- */

.city-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(10, 12, 14, 0.42);
  backdrop-filter: blur(10px);
}

.city-modal[hidden] {
  display: none;
}

.city-modal__dialog {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.city-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.city-modal__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.city-modal__close {
  border: 0;
  background: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.city-modal__close:hover {
  color: var(--text);
}

.city-modal__list {
  display: grid;
  gap: 0;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding: 8px 0;
}

.city-modal__option {
  display: block;
  width: 100%;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.city-modal__option:hover,
.city-modal__option:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.city-modal__option.is-active {
  color: var(--accent-dark);
  background: rgba(0, 185, 189, 0.06);
}

/* ----- Shared section extras ----- */

.eyebrow {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.section-head--stack {
  align-items: flex-end;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.section-head__intro {
  max-width: 640px;
}

.section-title--serif {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.05;
}

.section-title--light {
  color: #fff;
}

.section-lead {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
}

.live-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 185, 189, 0.5);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 185, 189, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(0, 185, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 185, 189, 0); }
}

/* ----- Trends grid ----- */

.trends {
  padding: clamp(36px, 5vw, 56px) 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafa 100%);
}

.trends__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "hero hero hero hero stack stack"
    "c3 c3 c4 c4 feat feat";
  gap: var(--gap);
}

.trends__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap);
  min-height: 0;
}

.trend-card--hero { grid-area: hero; }
.trends__stack { grid-area: stack; }
.trends__grid > .trend-card:nth-child(3) { grid-area: c3; }
.trends__grid > .trend-card:nth-child(4) { grid-area: c4; }
.trend-card--featured { grid-area: feat; }

.trend-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.trend-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.trend-card--hero .trend-card__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.trend-card--hero .trend-card__media {
  max-height: none;
  min-height: 200px;
  aspect-ratio: auto;
  height: 100%;
}

.trend-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trend-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--img-ratio);
  max-height: 130px;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.trends__stack .trend-card__media {
  max-height: 110px;
}

.trend-card--hero .trend-card__body {
  justify-content: center;
  padding: 18px 20px;
}

.trend-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.trend-card:hover .trend-card__media img {
  transform: scale(1.04);
}

.trend-card__rank {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.trend-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
}

.trend-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.trend-card h3 {
  margin: 6px 0 6px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.2;
}

.trend-card--hero h3 {
  font-size: clamp(20px, 2vw, 26px);
}

.trend-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}

.trend-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

@media (max-width: 992px) {
  .trends__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero hero"
      "stack stack"
      "c3 c4"
      "feat feat";
  }

  .trends__stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .trend-card--hero .trend-card__link {
    grid-template-columns: 1fr;
  }

  .trend-card--hero .trend-card__media {
    max-height: 180px;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .trends__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "stack"
      "c3"
      "c4"
      "feat";
  }

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

/* ----- Spotlight ----- */

.spotlight {
  padding: clamp(28px, 4vw, 48px) 0;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.spotlight__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--img-ratio);
  max-height: 320px;
  background: var(--bg-soft);
}

.spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.spotlight__text {
  margin: 14px 0 18px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.spotlight__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
}

.spotlight__list li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spotlight__list li::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent);
}

/* ----- Persona ----- */

.persona {
  padding: clamp(28px, 4vw, 48px) 0;
  background: var(--bg-soft);
}

.persona__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.persona__text {
  margin: 14px 0 22px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.persona__portrait {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--img-ratio);
  max-height: 280px;
  background: #ddd;
}

.persona__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.persona__portrait:hover img {
  transform: scale(1.04);
}

.persona__tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
}

/* ----- Projects ----- */

.projects {
  padding: clamp(28px, 4vw, 48px) 0;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.project-card--accent {
  background: linear-gradient(160deg, rgba(0, 185, 189, 0.12) 0%, rgba(0, 185, 189, 0.04) 100%);
  border-color: rgba(0, 185, 189, 0.25);
}

.project-card__num {
  margin-bottom: auto;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
}

.project-card h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.project-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* ----- Footer newsletter ----- */

.footer__newsletter {
  padding: clamp(32px, 4vw, 48px) 0;
  background:
    radial-gradient(800px 300px at 0% 50%, rgba(0, 185, 189, 0.18), transparent 60%),
    linear-gradient(135deg, #0e1214 0%, #151b1e 55%, #101618 100%);
  color: #fff;
}

.footer__newsletter-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.footer__newsletter-copy p:last-child {
  margin-top: 12px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.subscribe--dark {
  max-width: none;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.subscribe--dark input {
  color: #fff;
}

.subscribe--dark input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.subscribe--dark button {
  width: auto;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----- Responsive / Mobile drawer ----- */

@media (max-width: 1200px) {
  .articles__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .picks__track {
    grid-auto-columns: calc((100% - 18px) / 3);
  }
}

@media (max-width: 1180px) {
  .burger {
    display: inline-flex;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(10, 12, 14, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .nav-overlay.is-open,
  .nav-overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-overlay[hidden] {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 310;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(400px, 88vw);
    max-width: 88vw;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    flex: none;
    min-width: 0;
    left: auto;
    right: 0;
    background: #fff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
    transform: translate3d(104%, 0, 0);
    transition: transform 0.35s var(--ease);
    overflow: hidden;
    pointer-events: auto;
  }

  .nav.is-open {
    transform: translate3d(0, 0, 0);
  }

  .nav__mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: var(--header-h);
    padding: 0 22px;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid var(--border);
    background: #fff;
  }

  .nav__mobile-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
  }

  .nav__list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 24px;
  }

  .nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 16px 22px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
  }

  .has-dropdown::after {
    display: none;
  }

  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    max-width: none;
    padding: 0 0 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: #fafafa;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 12px 22px 12px 28px;
    border-left: 0;
    border-bottom: 1px solid #efefef;
  }

  .dropdown__desc {
    text-align: left;
  }
}

@media (max-width: 992px) {
  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .spotlight__grid,
  .persona__grid {
    grid-template-columns: 1fr;
  }

  .persona__portrait {
    order: -1;
    max-height: 240px;
  }

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

  .footer__newsletter-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .hero__content {
    padding-right: 18%;
  }

  .picks__track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 76px;
  }

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

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

  .hero__content {
    padding-right: var(--pad);
    padding-block: 36px 64px;
  }

  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(8, 10, 12, 0.35) 0%, rgba(8, 10, 12, 0.55) 45%, rgba(8, 10, 12, 0.82) 100%);
  }

  .hero__title {
    max-width: 14ch;
  }

  .hero__arrows {
    flex-direction: row;
  }

  .picks__wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .picks__prev,
  .picks__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .picks__prev {
    left: 8px;
  }

  .picks__next {
    right: 8px;
  }

  .picks__track {
    grid-auto-columns: 78%;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .categories__grid,
  .articles__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cat-card:nth-child(n + 4) {
    display: none;
  }

  .picks__track {
    grid-auto-columns: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero__media img,
  .hero__slide.is-active .hero__media img {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
