/* ==========================================================================
   Snowboard Guide — global design system
   Geometry, type scale and colour are measured from the reference site
   (docs/research/PAGE_TOPOLOGY.md) and rebranded.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  /* Brand */
  --teal: #0e8385;
  --teal-dark: #0b6f71;
  --teal-darker: #095a5c;
  --gold: #bf9849;
  --orange: #e8541e;

  /* Ink & neutrals */
  --ink: #111111;
  --ink-soft: #32373c;
  --black: #000000;
  --white: #ffffff;
  --grey-bg: #f0f0f0;
  --grey-bg-soft: #fafafa;
  --grey-line: #eaeaea;
  --grey-d8: #d8d8d8;
  --grey-bf: #bfbfbf;
  --grey-text: #929292;
  --grey-text-dark: #696969;
  --red: #ec2f38;

  /* Type */
  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap-max: 1440px;
  --wrap-pad: 68px;
  --wrap-narrow-max: 1186px;
  --content-max: 1304px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 160ms;
  --t-mid: 260ms;
  --t-slow: 600ms;
}

@media (max-width: 1439px) {
  :root { --wrap-pad: 40px; }
}
@media (max-width: 1024px) {
  :root { --wrap-pad: 28px; }
}
@media (max-width: 600px) {
  :root { --wrap-pad: 20px; }
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
svg { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

p { margin: 0 0 1.35em; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

::selection {
  background: var(--teal);
  color: var(--white);
}

/* --- layout helpers ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.wrap--narrow {
  max-width: var(--wrap-narrow-max);
}

/* The article template needs a tighter measure than the front page. */
.wrap--article {
  max-width: 1216px;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

/* Section headings — "FEATURED STORIES", "BOARDS", "GEAR" */
.section-heading {
  position: relative;
  margin: 0 0 30px;
  font-size: 30px;
  font-weight: 800;
  line-height: 40px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.section-heading__accent { color: var(--teal); }

.section-heading--ruled::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: var(--grey-line);
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 0;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.btn:hover { background: var(--teal-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--teal);
}
.btn--outline:hover { background: var(--teal); color: var(--white); }

.btn--light-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
}
.btn--light-outline:hover { background: var(--white); color: var(--ink); }

.btn--sm { padding: 11px 22px; font-size: 12px; }

.btn--block { width: 100%; }

/* Square icon button — chevrons, slider controls */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  transition: background-color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--teal-dark); }
.icon-btn--dark { background: var(--black); }
.icon-btn--dark:hover { background: #1c1c1c; }
.icon-btn svg { width: 20px; height: 20px; }

/* --- header ------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--white);
}

/* Brand banner occupying the reference's leaderboard slot */
.brand-banner {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
}
.brand-banner__media {
  position: absolute;
  inset: 0;
}
.brand-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.brand-banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 26, 0.82) 0%, rgba(8, 24, 26, 0.55) 45%, rgba(8, 24, 26, 0.12) 100%);
}
.brand-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 240px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.brand-banner__content { max-width: 560px; }
.brand-banner__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand-banner__eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--gold);
}
.brand-banner__title {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 54px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.brand-banner__title em {
  font-style: normal;
  color: var(--orange);
}
.brand-banner__body {
  margin: 0 0 20px;
  max-width: 470px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .brand-banner__inner { min-height: 200px; }
  .brand-banner__title { font-size: 40px; }
}
@media (max-width: 700px) {
  .brand-banner__inner { min-height: 0; padding-top: 26px; padding-bottom: 26px; }
  .brand-banner__title { font-size: 30px; }
  .brand-banner__body { display: none; }
}

/* Nav bar */
.site-nav {
  position: relative;
  border-bottom: 1px solid var(--grey-line);
  background: var(--white);
  transition: background-color var(--t-mid) var(--ease);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

/* Stacked wordmark logo */
.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.logo__box {
  display: inline-flex;
  flex-direction: column;
  padding: 6px 7px 5px;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.logo__line { display: block; font-size: 19px; }
.logo__line + .logo__line { margin-top: 1px; }
.logo__tagline {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.logo--footer .logo__box { background: var(--white); color: var(--ink); }
.logo--footer .logo__tagline { color: var(--gold); }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.primary-menu__item { position: static; }
.primary-menu__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.primary-menu__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--t-fast) var(--ease);
}
.primary-menu__item:hover > .primary-menu__link,
.primary-menu__item[data-open='true'] > .primary-menu__link { color: var(--teal); }
.primary-menu__item:hover > .primary-menu__link::after,
.primary-menu__item[data-open='true'] > .primary-menu__link::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--grey-d8);
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.social-row a:hover { color: var(--teal); }
.social-row svg { width: 18px; height: 18px; }

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
}
.icon-action:hover { color: var(--teal); }
.icon-action svg { width: 19px; height: 19px; }

/* Mega menu */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 70;
  padding: 40px 0 34px;
  background: var(--white);
  border-top: 3px solid var(--teal);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
}
.primary-menu__item[data-open='true'] .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.mega-col__heading {
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--grey-line);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mega-col li + li { margin-top: 2px; }
.mega-col a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}
.mega-col a:hover { color: var(--teal); }
.mega-panel__footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-line);
}
.mega-panel__footer a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Sticky state */
.site-header__sticky {
  position: sticky;
  top: 0;
  z-index: 65;
}
.site-header[data-scrolled='true'] .site-nav {
  background: var(--teal);
  border-bottom-color: transparent;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}
.site-header[data-scrolled='true'] .primary-menu__link { color: var(--white); }
.site-header[data-scrolled='true'] .primary-menu__link::after { background: var(--white); }
.site-header[data-scrolled='true'] .primary-menu__item:hover > .primary-menu__link { color: var(--gold); }
.site-header[data-scrolled='true'] .social-row { border-left-color: rgba(255, 255, 255, 0.35); }
.site-header[data-scrolled='true'] .social-row a,
.site-header[data-scrolled='true'] .icon-action { color: var(--white); }
.site-header[data-scrolled='true'] .logo__box { background: var(--white); color: var(--teal); }
.site-header[data-scrolled='true'] .logo__tagline { color: var(--gold); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}
.site-header[data-scrolled='true'] .burger span { background: var(--white); }

@media (max-width: 1024px) {
  .primary-menu, .social-row { display: none; }
  .burger { display: flex; }
  .site-nav__inner { height: 68px; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 120;
  width: min(400px, 88vw);
  padding: 26px 24px 60px;
  background: var(--teal);
  color: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease);
}
.mobile-drawer[data-open='true'] { transform: translateX(0); }
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mobile-drawer__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.mobile-drawer__close svg { width: 22px; height: 22px; }
.mobile-nav__item { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  text-align: left;
}
.mobile-nav__toggle svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.mobile-nav__item[data-open='true'] .mobile-nav__toggle svg { transform: rotate(180deg); }
.mobile-nav__sub {
  display: none;
  padding: 0 0 16px 4px;
}
.mobile-nav__item[data-open='true'] .mobile-nav__sub { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 400;
}
.mobile-nav__sub a:hover { color: var(--white); }
.mobile-drawer .social-row {
  display: flex;
  margin-top: 26px;
  padding-left: 0;
  border-left: 0;
}
.mobile-drawer .social-row a { color: var(--white); }

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid);
}
.drawer-scrim[data-open='true'] { opacity: 1; visibility: visible; }

/* --- image cards ------------------------------------------------------- */
.media-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--black);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.72) 100%);
}
.media-card:hover img { transform: scale(1.04); }
.media-card__eyebrow {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.media-card__title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
.media-card--center .media-card__title {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  text-align: center;
}

/* --- hero slider ------------------------------------------------------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero-slider__track {
  display: flex;
  transition: transform var(--t-slow) var(--ease);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 661px;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.68) 100%);
}
.hero-slide__content {
  position: absolute;
  left: var(--wrap-pad);
  right: var(--wrap-pad);
  bottom: 92px;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-slide__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-slide__title {
  margin: 0 0 18px;
  max-width: 640px;
  color: var(--white);
  font-size: 68px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.hero-slider__controls {
  position: absolute;
  top: 26px;
  right: var(--wrap-pad);
  z-index: 4;
  display: flex;
  gap: 12px;
}
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.hero-slider__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color var(--t-fast) var(--ease);
}
.hero-slider__dot[aria-current='true'] { background: var(--teal); }

@media (max-width: 1024px) {
  .hero-slide { height: 460px; }
  .hero-slide__title { font-size: 42px; }
  .hero-slide__content { bottom: 76px; }
}
@media (max-width: 600px) {
  .hero-slide { height: 380px; }
  .hero-slide__title { font-size: 30px; }
  .hero-slide__content { bottom: 66px; }
  .hero-slider__controls { top: auto; bottom: 12px; right: 14px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* --- featured stories -------------------------------------------------- */
.feature-stories {
  padding: 62px 0 66px;
}
.feature-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-stories .media-card { height: 290px; }

@media (max-width: 1024px) {
  .feature-stories__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-stories .media-card { height: 240px; }
}
@media (max-width: 600px) {
  .feature-stories__grid { grid-template-columns: 1fr; }
  .feature-stories .media-card { height: 220px; }
  .media-card__eyebrow { font-size: 16px; }
  .media-card__title { font-size: 20px; }
}

/* --- full-width promo band -------------------------------------------- */
.promo-band {
  position: relative;
  background: var(--teal);
  color: var(--white);
}
.promo-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.promo-band__media {
  position: relative;
  height: 100%;
  min-height: 399px;
  overflow: hidden;
}
.promo-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-band__body {
  position: relative;
  padding: 54px 96px 54px 60px;
}
.promo-band__eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.promo-band__title {
  margin: 0;
  color: var(--white);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
}
.promo-band__text {
  max-width: 74%;
  margin: 16px 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.9;
}
.promo-band__cta {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

@media (max-width: 1024px) {
  .promo-band__inner { grid-template-columns: 1fr; }
  .promo-band__media { min-height: 280px; }
  .promo-band__body { padding: 40px var(--wrap-pad) 46px; }
  .promo-band__title { font-size: 32px; }
  .promo-band__text { max-width: 100%; }
  .promo-band__cta { position: static; transform: none; margin-top: 22px; }
}
@media (max-width: 600px) {
  .promo-band__media { min-height: 200px; }
  .promo-band__title { font-size: 26px; }
  .promo-band__text { font-size: 15px; }
}

/* --- card slider ------------------------------------------------------- */
.card-slider { padding: 62px 0 66px; }
.card-slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
}
.card-slider__head .section-heading { margin-bottom: 0; }
.card-slider__viewport { position: relative; }
.card-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 34px) / 4);
  gap: 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.card-slider__track::-webkit-scrollbar { display: none; }
.card-slider__track > * { scroll-snap-align: start; }
.card-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
}
.card-slider__nav--prev { left: -22px; }
.card-slider__nav--next { right: -22px; }
.card-slider__nav[hidden] { display: none; }
.card-slider__nav .icon-btn { width: 44px; height: 44px; }

.card-slider__foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 1199px) {
  .card-slider__track { grid-auto-columns: calc((100% - 2 * 26px) / 3); gap: 26px; }
  .card-slider__nav--prev { left: -14px; }
  .card-slider__nav--next { right: -14px; }
}
@media (max-width: 991px) {
  .card-slider__track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; }
}
@media (max-width: 640px) {
  .card-slider { padding: 46px 0 50px; }
  .card-slider__head { margin-bottom: 34px; }
  .card-slider__track { grid-auto-columns: 78%; gap: 16px; }
  .card-slider__nav { display: none; }
}

/* --- product / article card ------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-line);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.card:hover { border-color: var(--grey-bf); }
.card:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-bg);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }

.card__badges {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 12px 0 0 12px;
}
.card__badge {
  padding: 3px 9px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--teal);
}
.card__badge--year { background: var(--white); color: var(--ink); }
.card__badge--gold { background: var(--gold); }
.card__badge--orange { background: var(--orange); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 18px 22px;
}
.card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}
.card__title a:hover { color: var(--teal); }
.card__excerpt {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.card__meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--grey-text);
  font-size: 14px;
  font-weight: 300;
}
.card__author {
  margin-top: 10px;
  color: var(--grey-text-dark);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card--compact .card__title { font-size: 20px; line-height: 26px; }
.card--wide { flex-direction: row; }
.card--wide .card__media { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
.card--wide .card__body { padding: 40px 44px; justify-content: center; }
.card--wide .card__title { font-size: 32px; line-height: 1.2; }
.card--wide .card__excerpt { font-size: 16px; }

@media (max-width: 900px) {
  .card--wide { flex-direction: column; }
  .card--wide .card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .card--wide .card__body { padding: 24px 20px 26px; }
  .card--wide .card__title { font-size: 24px; }
}
@media (max-width: 600px) {
  .card__title { font-size: 20px; line-height: 26px; }
}

/* --- category strip ---------------------------------------------------- */
.category-strip {
  margin: 50px 0 70px;
}
.category-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.category-tile {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--black);
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background-color var(--t-fast) var(--ease);
}
.category-tile:hover img { transform: scale(1.05); }
.category-tile:hover::after { background: rgba(14, 131, 133, 0.55); }
.category-tile__label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .category-strip__grid { grid-template-columns: repeat(3, 1fr); }
  .category-tile { height: 160px; }
}
@media (max-width: 600px) {
  .category-strip { margin: 36px 0 46px; }
  .category-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .category-tile { height: 130px; }
  .category-tile__label { font-size: 15px; left: 14px; bottom: 12px; }
}

/* --- archive ----------------------------------------------------------- */
.archive-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  overflow: hidden;
  background: var(--ink);
}
.archive-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.72) 100%);
}
.archive-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 42px;
}
.archive-hero__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.archive-hero__title {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}
.archive-hero__desc {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.75;
}

.breadcrumbs {
  padding: 20px 0 0;
  color: var(--grey-text);
  font-size: 13px;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--grey-bf); }
.breadcrumbs a:hover { color: var(--teal); }

.archive-body { padding: 40px 0 70px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.archive-grid--3 { grid-template-columns: repeat(3, 1fr); }
.archive-feature { margin: 46px 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--grey-line);
}
.filters__label {
  margin-right: 6px;
  color: var(--grey-text-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.filters a {
  padding: 7px 15px;
  border: 1px solid var(--grey-line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.filters a:hover { border-color: var(--teal); color: var(--teal); }
.filters a[aria-current='page'] { border-color: var(--teal); background: var(--teal); color: var(--white); }

.archive-count {
  margin-bottom: 22px;
  color: var(--grey-text);
  font-size: 14px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--grey-line);
  font-size: 14px;
  font-weight: 600;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination [aria-current='page'] { background: var(--teal); border-color: var(--teal); color: var(--white); }

@media (max-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-hero__title { font-size: 34px; }
  .archive-hero { min-height: 240px; }
}
@media (max-width: 560px) {
  .archive-grid, .archive-grid--3 { grid-template-columns: 1fr; }
}

/* --- article ----------------------------------------------------------- */
.article-hero {
  position: relative;
  height: 504px;
  overflow: hidden;
  background: var(--ink);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero__credit {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .article-hero { height: 320px; }
}
@media (max-width: 600px) {
  .article-hero { height: 220px; }
}

.article-layout {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 46px 0 20px;
}
.article-rail__eyebrow {
  display: block;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}
.article-rail__eyebrow a:hover { color: var(--teal-dark); }
.article-main { min-width: 0; }

.article-title {
  margin: 0 0 26px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.article-standfirst {
  margin: 0 0 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--grey-line);
  color: var(--ink-soft);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}
.byline__author {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.byline__date,
.byline__updated {
  color: var(--grey-text);
  font-size: 13px;
  font-weight: 300;
}

.article-body { max-width: 720px; }
.article-body p { font-size: 17px; line-height: 1.75; }
.article-body > p:first-of-type { font-size: 18px; }
.article-body a:not(.btn):not(.cta-button) {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:not(.btn):not(.cta-button):hover { color: var(--teal-dark); }
.article-body h2 {
  margin: 46px 0 16px;
  color: var(--teal);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.article-body h3 {
  margin: 34px 0 12px;
  font-size: 22px;
  font-weight: 700;
}
.article-body h4 {
  margin: 26px 0 10px;
  font-size: 18px;
  font-weight: 700;
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 0;
}
.article-body ul li,
.article-body ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.7;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--teal);
}
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before {
  content: counter(ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 15px;
}
.article-body blockquote {
  margin: 30px 0;
  padding: 6px 0 6px 24px;
  border-left: 4px solid var(--teal);
  color: var(--ink-soft);
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
}
.article-body figure { margin: 34px 0; }
.article-body figure img { width: 100%; }
.article-body figcaption {
  margin-top: 10px;
  color: var(--grey-text-dark);
  font-size: 13px;
  line-height: 1.5;
}
.article-body strong { font-weight: 700; }

.table-wrap { margin: 30px 0; overflow-x: auto; }
.data-table { min-width: 520px; font-size: 15px; }
.data-table caption {
  margin-bottom: 10px;
  color: var(--grey-text-dark);
  font-size: 13px;
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  border: 1px solid var(--grey-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.data-table thead th {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.data-table tbody tr:nth-child(even) { background: var(--grey-bg-soft); }

/* Verdict / callout */
.verdict {
  margin: 34px 0;
  padding: 24px 26px;
  border-left: 4px solid var(--teal);
  background: var(--grey-bg-soft);
}
.verdict__label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.verdict p:last-child { margin-bottom: 0; }

/* Affiliate disclosure */
.disclosure {
  display: flex;
  gap: 14px;
  margin: 0 0 30px;
  padding: 16px 18px;
  border: 1px solid var(--grey-line);
  background: var(--grey-bg-soft);
  color: var(--grey-text-dark);
  font-size: 13px;
  line-height: 1.6;
}
.disclosure svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--teal); }
.disclosure p { margin: 0; }
.disclosure a { color: var(--teal); text-decoration: underline; }

/* Product pick block */
.pick {
  margin: 30px 0;
  border: 1px solid var(--grey-line);
  background: var(--white);
}
.pick__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-line);
  background: var(--grey-bg-soft);
}
.pick__label {
  padding: 3px 9px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pick__name { font-size: 19px; font-weight: 700; }
.pick__brand { margin-left: auto; color: var(--grey-text); font-size: 13px; }
.pick__body { padding: 20px; }
.pick__verdict { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.pick__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 20px;
}
.pick__heading {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pick__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.55;
}
.pick__list li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}
.pick__list--pro li::before { content: '+'; color: var(--teal); }
.pick__list--con li::before { content: '−'; color: var(--grey-text); }
.pick__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 0 0;
  border-top: 1px solid var(--grey-line);
}
.pick__spec dt {
  color: var(--grey-text-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pick__spec dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.pick__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-line);
}
.pick__price { color: var(--grey-text-dark); font-size: 14px; }
.pick__note { margin: 12px 0 0; color: var(--grey-text); font-size: 12px; line-height: 1.5; }

@media (max-width: 600px) {
  .pick__grid { grid-template-columns: 1fr; }
}

/* CTA rows */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.cta-button:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); }
.cta-button svg { width: 15px; height: 15px; }

/* FAQ */
.faq { margin: 42px 0 0; }
.faq__item {
  border-bottom: 1px solid var(--grey-line);
}
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item[open] summary { color: var(--teal); }
.faq__answer { padding: 0 0 20px; }
.faq__answer p { font-size: 16px; line-height: 1.7; }
.faq__answer p:last-child { margin-bottom: 0; }

/* Sources */
.sources {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--grey-line);
}
.sources__heading {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text-dark);
}
.sources li { margin-bottom: 6px; font-size: 13px; line-height: 1.5; }
.sources a { color: var(--grey-text-dark); text-decoration: underline; }
.sources a:hover { color: var(--teal); }

/* Sidebar */
.article-sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 24px; }
.sidebar-heading {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.most-read__item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-line);
}
.most-read__item:first-child { padding-top: 0; }
.most-read__item img {
  width: 130px;
  height: 86px;
  object-fit: cover;
  background: var(--grey-bg);
}
.most-read__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.most-read__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.most-read__item:hover .most-read__title { color: var(--teal); }

.sidebar-cta {
  margin-top: 30px;
  padding: 24px 22px;
  background: var(--teal);
  color: var(--white);
}
.sidebar-cta__title {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.sidebar-cta p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.sidebar-cta .btn { background: var(--white); color: var(--teal); }
.sidebar-cta .btn:hover { background: var(--gold); color: var(--white); }

.related-stories {
  padding: 62px 0 70px;
  border-top: 1px solid var(--grey-line);
}
.related-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .related-stories__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
  .article-layout { grid-template-columns: 120px minmax(0, 1fr) 280px; gap: 30px; }
  .article-title { font-size: 48px; }
}
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-rail { margin-bottom: 16px; }
  .article-sidebar { margin-top: 50px; }
  .sidebar-sticky { position: static; }
  .article-title { font-size: 40px; }
}
@media (max-width: 600px) {
  .article-title { font-size: 31px; }
  .article-body p, .article-body ul li, .article-body ol li { font-size: 16px; }
  .article-body h2 { font-size: 24px; }
  .sidebar-heading { font-size: 24px; }
}

/* --- trust / single pages --------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  overflow: hidden;
  background: var(--teal);
}
.page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 48, 49, 0.55) 0%, rgba(6, 48, 49, 0.82) 100%);
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 54px; padding-bottom: 40px; }
.page-hero__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-hero__title {
  margin: 0;
  color: var(--white);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
}
.page-hero__desc {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .page-hero { min-height: 200px; }
  .page-hero__title { font-size: 30px; }
}

.page-single { padding: 52px 0 74px; }
.prose { max-width: 820px; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; }
.prose h2 {
  margin: 46px 0 14px;
  color: var(--teal);
  font-size: 28px;
  font-weight: 700;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-size: 20px; font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 22px; }
.prose ul li, .prose ol li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--teal);
}
.prose ol { counter-reset: i; }
.prose ol li { counter-increment: i; }
.prose ol li::before {
  content: counter(i) '.';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}
.prose a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose table { margin: 24px 0; font-size: 15px; }
.prose th, .prose td { padding: 11px 13px; border: 1px solid var(--grey-line); text-align: left; vertical-align: top; }
.prose th { background: var(--grey-bg-soft); font-weight: 700; }

.review-note {
  margin: 30px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--grey-bg-soft);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-text-dark);
}
.review-note strong { color: var(--ink); }

.legal-meta {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-line);
  color: var(--grey-text);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 50px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}
.form-field .req { color: var(--red); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--grey-bf);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--teal); outline: none; }
.form-field input[aria-invalid='true'],
.form-field textarea[aria-invalid='true'] { border-color: var(--red); }
.form-hint { margin: 6px 0 0; color: var(--grey-text); font-size: 13px; }
.form-error {
  margin: 6px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.form-error[hidden] { display: none; }

.form-status {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: var(--grey-bg-soft);
  font-size: 15px;
  line-height: 1.6;
}
.form-status[hidden] { display: none; }
.form-status strong { display: block; margin-bottom: 6px; }

.info-list { margin: 0; }
.info-list dt {
  margin-top: 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.info-list dd { margin: 4px 0 0; font-size: 15px; line-height: 1.6; }

/* --- footer ------------------------------------------------------------ */
.site-footer {
  background: var(--black);
  color: var(--white);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding: 50px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-col__heading {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: 9px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 300;
}
.footer-col a:hover { color: var(--white); }
.footer-about p {
  margin: 16px 0 0;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.65;
}
.footer-about .logo__box { background: var(--white); color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 119px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-bottom__legal {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.7;
}
.footer-bottom__legal a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom__legal a:hover { color: var(--white); }
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
  font-size: 13px;
}
.footer-bottom .social-row { padding-left: 0; border-left: 0; }
.footer-bottom .social-row a { color: var(--white); }
.footer-bottom .social-row a:hover { color: var(--gold); }

@media (max-width: 1024px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; min-height: 0; }
}

/* --- 404 --------------------------------------------------------------- */
.not-found {
  padding: 90px 0 110px;
  text-align: center;
}.not-found__code {
  margin: 0;
  color: var(--teal);
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
}
.not-found__title { margin: 14px 0 14px; font-size: 34px; font-weight: 800; }
.not-found__body { max-width: 560px; margin: 0 auto 28px; color: var(--ink-soft); font-size: 17px; }
.not-found__suggestions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  text-align: left;
}
@media (max-width: 860px) {
  .not-found__suggestions { grid-template-columns: 1fr; }
}

/* --- search ------------------------------------------------------------ */
.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  max-width: 720px;
  margin-bottom: 40px;
}
.search-form .form-field { margin-bottom: 0; }
.search-form .btn { padding: 15px 30px; }
@media (max-width: 560px) {
  .search-form { grid-template-columns: 1fr; }
}

/* --- in-article gallery ------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; }
.gallery figcaption {
  margin-top: 8px;
  color: var(--grey-text-dark);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
}

/* --- contact sidebar card ---------------------------------------------- */
.contact-card {
  padding: 26px 24px;
  border: 1px solid var(--grey-line);
  background: var(--grey-bg-soft);
}
.contact-card__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}
.contact-card .info-list dd { margin-bottom: 0; }

/* --- reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .media-card:hover img,
  .card:hover .card__media img,
  .category-tile:hover img { transform: none; }
}
