/* ==========================================================================
   Tips Atelier - Fine Art Editorial Theme
   Deep charcoal surfaces, muted gold accents, serif headlines, sans body text.
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-soft: #111113;
  --surface: #171716;
  --surface-2: #20201e;
  --line: rgba(219, 191, 137, 0.18);
  --line-strong: rgba(219, 191, 137, 0.38);
  --gold: #d6b46a;
  --gold-soft: #a98e58;
  --cream: #f5efe2;
  --text: #ded8cc;
  --muted: #a9a094;
  --dim: #756f66;
  --danger: #b76557;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, rgba(214, 180, 106, 0.13), transparent 30rem),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.06), transparent 24rem),
    linear-gradient(135deg, #080808 0%, #11100f 52%, #0b0b0c 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at top, black, transparent 72%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.15rem);
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--gold);
  color: #111;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.advertisement-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0c;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 101;
  border-bottom: 1px solid rgba(214, 180, 106, 0.1);
}

.site-header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 300ms var(--ease);
}

.header__inner {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: padding 280ms var(--ease), border-color 280ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 9, 10, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header.is-scrolled .header__inner {
  padding: 13px 0;
  border-color: rgba(214, 180, 106, 0.13);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(214, 180, 106, 0.45);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.brand:hover .brand__mark {
  background: rgba(214, 180, 106, 0.1);
  border-color: var(--gold);
}

.brand__text {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 7px 14px;
  color: rgba(228, 220, 201, 0.55);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 200ms var(--ease);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease);
}

.main-nav a:hover {
  color: var(--cream);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--cream);
}

/* CTA link — last nav item gets a pill style */
.main-nav a:last-child {
  margin-left: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(214, 180, 106, 0.35);
  border-radius: 100px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.main-nav a:last-child::after {
  display: none;
}

.main-nav a:last-child:hover {
  background: rgba(214, 180, 106, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(214, 180, 106, 0.3);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold);
  background: rgba(214, 180, 106, 0.07);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.hero {
  position: relative;
  padding: 136px 0 66px;
  min-height: auto;
  overflow: hidden;
}

.hero__texture {
  position: absolute;
  inset: 88px 24px 30px;
  border: 1px solid var(--line);
  border-radius: 34px;
  opacity: 0.55;
  pointer-events: none;
}

.hero__texture::before,
.hero__texture::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  pointer-events: none;
}

.hero__texture::before {
  width: 36vw;
  height: 36vw;
  right: -7vw;
  top: -12vw;
  border-radius: 50%;
}

.hero__texture::after {
  left: 6vw;
  bottom: 8vw;
  width: 10rem;
  height: 10rem;
  transform: rotate(18deg);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.72fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(214, 180, 106, 0.16);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 0%, rgba(214, 180, 106, 0.08), transparent 24rem),
    rgba(11, 11, 12, 0.38);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero__copy {
  max-width: 680px;
  padding-top: 0;
}

.hero__copy h1 {
  max-width: 680px;
  font-size: clamp(2.85rem, 5.4vw, 5rem);
  line-height: 1.02;
}

.hero__copy p {
  max-width: 590px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  gap: 10px;
  margin-top: 24px;
}

.hero__stats span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__stats strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  border-color: rgba(214, 180, 106, 0.62);
  background: linear-gradient(135deg, #d8bc7a, #8f713c);
  color: #111;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(214, 180, 106, 0.08);
}

.hero-stack {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 8%, rgba(214, 180, 106, 0.14), transparent 16rem),
    rgba(23, 23, 22, 0.72);
  box-shadow: var(--shadow);
}

.hero-stack__label {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(214, 180, 106, 0.3);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-feature {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.28);
}

.hero-feature--2 {
  width: 100%;
  justify-self: end;
}

.hero-feature__image {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.hero-feature__image::after {
  display: none;
}

.hero-feature__image img,
.compact-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transition: transform 700ms var(--ease), filter 260ms var(--ease);
}

.hero-feature:hover img,
.compact-post:hover img {
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.08);
}

.hero-feature__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 0;
  max-width: none;
  padding: 18px 20px;
}

.hero-feature__number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(214, 180, 106, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.54);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

.hero-feature__body span,
.compact-post__body span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-feature__body h2 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.02;
}

.hero-feature__body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(23, 23, 22, 0.78);
  box-shadow: var(--shadow);
}

.hero-card__label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(245, 239, 226, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-card__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hero-card__image img,
.post-card__media img,
.article-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transition: transform 700ms var(--ease), filter 260ms var(--ease);
}

.hero-card:hover img,
.post-card:hover .post-card__media img {
  transform: scale(1.045);
  filter: saturate(0.88) contrast(1.08);
}

.hero-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 0.95));
}

.hero-card__content span,
.post-card__meta,
.article-meta,
.aside-card__label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-card__content h2 {
  margin-top: 10px;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
}

.hero-card__content p {
  margin-top: 14px;
  color: var(--muted);
}

/* ===== Editorial Front Page ===== */

.editorial-front {
  padding: 100px 0 60px;
}

.ef-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}

.ef-cats a {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.ef-cats a:hover {
  color: var(--gold);
  border-color: rgba(214, 180, 106, 0.45);
  background: rgba(214, 180, 106, 0.06);
}

/* Main 2-col grid: lead (wider) + sidebar */
.ef-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.ef-lead {
  border-right: 1px solid var(--line);
}

.ef-lead__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ef-lead__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
  transition: filter 500ms var(--ease), transform 600ms var(--ease);
}

.ef-lead:hover .ef-lead__image img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.025);
}

.ef-lead__body {
  padding: 22px 24px 26px;
}

.ef-cat {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ef-lead__title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 12px;
}

.ef-lead__title a,
.ef-side-item__body h3 a,
.ef-strip-item__body h3 a {
  color: var(--cream);
  transition: color 200ms var(--ease);
}

.ef-lead__title a:hover,
.ef-side-item__body h3 a:hover,
.ef-strip-item__body h3 a:hover {
  color: var(--gold);
}

.ef-lead__excerpt {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ef-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

/* Sidebar */
.ef-sidebar {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.012);
}

.ef-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.ef-side-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 14px;
  align-items: start;
  padding: 20px 18px;
  flex: 1;
  transition: background 200ms var(--ease);
}

.ef-side-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ef-side-item__body h3 {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ef-side-item__body p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ef-side-item__image {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.ef-side-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transition: filter 300ms var(--ease), transform 400ms var(--ease);
}

.ef-side-item:hover .ef-side-item__image img {
  filter: saturate(1);
  transform: scale(1.05);
}

/* Bottom strip — 4 cards */
.ef-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}

.ef-strip-item {
  background: var(--bg);
  padding: 16px;
  transition: background 200ms var(--ease);
}

.ef-strip-item:hover {
  background: rgba(255, 255, 255, 0.035);
}

.ef-strip-item__image {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ef-strip-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transition: filter 300ms var(--ease), transform 400ms var(--ease);
}

.ef-strip-item:hover .ef-strip-item__image img {
  filter: saturate(0.95);
  transform: scale(1.04);
}

.ef-strip-item__body h3 {
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.15vw, 1.06rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

/* ===== End Editorial Front Page ===== */

.section {
  padding: 74px 0;
}

.section--tight {
  padding: 42px 0;
}

.section--offset {
  background:
    linear-gradient(180deg, rgba(214, 180, 106, 0.045), transparent 46%),
    rgba(255, 255, 255, 0.015);
  border-block: 1px solid rgba(214, 180, 106, 0.1);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.46fr);
  gap: 32px;
  align-items: end;
  max-width: none;
}

.section-head--compact {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: none;
  margin-bottom: 22px;
}

.section-head--compact h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.section-head--compact .eyebrow {
  flex-shrink: 0;
}

.section-head p,
.section-head--split > p {
  color: var(--muted);
}

.marquee-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.marquee-line span {
  padding: 8px 14px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 224px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.category-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -58px;
  right: -40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.7;
}

.category-card--2,
.category-card--5 {
  transform: translateY(34px);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(214, 180, 106, 0.12), rgba(255, 255, 255, 0.018));
}

.category-card--2:hover,
.category-card--5:hover {
  transform: translateY(24px);
}

.category-card__count {
  position: absolute;
  top: 20px;
  left: 22px;
  color: rgba(245, 239, 226, 0.2);
  font-family: var(--serif);
  font-size: 4.25rem;
  line-height: 1;
}

.category-card h3 {
  position: relative;
  z-index: 1;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted);
}

.category-card__link,
.post-card__link,
.text-link,
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.category-card__link svg,
.post-card__link svg,
.text-link svg {
  width: 18px;
  height: 18px;
}

.feature-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-grid--latest {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(23, 23, 22, 0.74);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.post-card--wide {
  grid-column: span 2;
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #050505;
}

.post-card--wide .post-card__media {
  aspect-ratio: 16 / 7;
}

.post-card__body {
  padding: 20px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
}

.post-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.post-card p {
  margin-top: 14px;
  color: var(--muted);
}

.category-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cat-col {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(23, 23, 22, 0.7);
  transition: border-color 200ms var(--ease);
}

.cat-col:hover {
  border-color: var(--line-strong);
}

.cat-col__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(214, 180, 106, 0.06);
}

.cat-col__name {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cat-col__link {
  display: grid;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.cat-col__link:hover {
  background: rgba(214, 180, 106, 0.12);
  border-color: var(--gold);
}

.cat-col__link svg {
  width: 14px;
  height: 14px;
}

.cat-col__posts {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(214, 180, 106, 0.08);
  transition: background 180ms var(--ease);
}

.cat-row:last-child {
  border-bottom: none;
}

.cat-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.cat-row__thumb {
  flex-shrink: 0;
  width: 62px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #050505;
}

.cat-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05);
  transition: filter 200ms var(--ease), transform 400ms var(--ease);
}

.cat-row:hover .cat-row__thumb img {
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.06);
}

.cat-row__info {
  min-width: 0;
}

.cat-row__info span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cat-row__info p {
  margin-top: 4px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-post__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.compact-post__link svg {
  width: 18px;
  height: 18px;
}

.newsletter {
  padding: 98px 0;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: 44px;
  align-items: end;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(214, 180, 106, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
}

.newsletter__inner p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
}

.newsletter-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--cream);
  font-weight: 800;
}

.newsletter-form__row {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--cream);
}

.newsletter-form input::placeholder {
  color: var(--dim);
}

.form-note {
  margin-top: 12px !important;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  padding: 130px 0 70px;
  border-bottom: 1px solid rgba(214, 180, 106, 0.1);
}

.page-hero__inner {
  max-width: 900px;
}

.page-hero p {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.15rem;
}

.legal-body {
  max-width: 780px;
}

.legal-body h2 {
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  color: var(--cream);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1em;
}

.legal-body ul {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

.legal-body ul li {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.4em;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
}

.filter-panel__label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-panel p {
  margin-top: 4px;
  color: var(--muted);
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.category-filter button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.category-filter button:hover,
.category-filter button.is-active {
  border-color: var(--gold);
  background: rgba(214, 180, 106, 0.1);
  color: var(--cream);
}

.article-hero {
  padding: 150px 0 74px;
}

.article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(330px, 0.66fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.article-hero__copy p {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.15rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
}

.article-hero__image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 760px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding-bottom: 84px;
}

.article-aside {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
}

.aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.aside-card h2 {
  margin-top: 8px;
  font-size: 2.2rem;
}

.aside-card p {
  margin-top: 12px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-body {
  color: var(--text);
  font-size: clamp(1.03rem, 1.4vw, 1.13rem);
}

.article-body > * + * {
  margin-top: 1.2em;
}

.article-body h2,
.article-body h3 {
  margin-top: 1.4em;
}

.article-body h2 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
}

.article-body h3 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.article-body p,
.article-body li {
  color: var(--text);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 0.45rem;
}

.article-body strong {
  color: var(--cream);
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  border-radius: 0 22px 22px 0;
  background: rgba(214, 180, 106, 0.07);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.08;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
}

.empty-state p {
  margin: 12px auto 0;
  color: var(--muted);
}

.site-footer {
  padding: 60px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer__inner p {
  max-width: 360px;
  margin-top: 16px;
  color: var(--muted);
}

.footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer__inner nav a,
.footer__bottom {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__inner nav a:hover {
  color: var(--gold);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}

.footer__legal a {
  color: var(--muted);
  font-size: 0.84rem;
  transition: color 180ms var(--ease);
}

.footer__legal a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(214, 180, 106, 0.1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid rgba(214, 180, 106, 0.15);
    border-radius: 16px;
    background: rgba(9, 9, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 16px;
    border-radius: 10px;
    text-align: left;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    background: rgba(214, 180, 106, 0.07);
  }

  .main-nav a:last-child {
    margin-left: 0;
    margin-top: 6px;
    border-radius: 10px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__grid,
  .newsletter__inner,
  .filter-panel,
  .article-hero__grid,
  .article-layout,
  .section-head--split {
    grid-template-columns: 1fr;
  }

  .ef-grid {
    grid-template-columns: 1fr;
  }

  .ef-lead {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .ef-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 126px;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero-card__image,
  .article-hero__image {
    aspect-ratio: 16 / 10;
  }

  .hero-feature--2 {
    width: 100%;
  }

  .hero-feature__body {
    max-width: none;
  }

  .category-grid,
  .feature-grid,
  .post-grid,
  .post-grid--latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card,
  .post-card--wide {
    grid-column: span 1;
  }

  .category-card--2,
  .category-card--5,
  .category-card--2:hover,
  .category-card--5:hover {
    transform: none;
  }

  .category-filter {
    justify-content: flex-start;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header__inner {
    width: min(100% - 24px, 1280px);
    padding: 14px 0;
  }

  .brand__text {
    font-size: 1.25rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .hero__copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .hero__texture {
    inset: 82px 10px 16px;
    border-radius: 24px;
  }

  .hero,
  .page-hero,
  .article-hero {
    padding-top: 118px;
  }

  .section,
  .newsletter {
    padding: 66px 0;
  }

  .ef-strip {
    grid-template-columns: 1fr;
  }

  .ef-side-item {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .category-posts {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .feature-grid,
  .post-grid,
  .post-grid--latest,
  .article-aside {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stats span {
    min-height: 76px;
  }

  .hero-feature,
  .hero-feature__body {
    min-height: 0;
  }

  .hero-feature {
    grid-template-columns: 1fr;
  }

  .hero-feature__image {
    min-height: 170px;
  }

  .newsletter-form__row,
  .footer__inner,
  .footer__bottom {
    flex-direction: column;
  }

  .newsletter-form__row {
    align-items: stretch;
  }

  .newsletter-form__row .btn {
    width: 100%;
  }

  .footer__inner nav {
    justify-content: flex-start;
  }
}
