/* ==========================================================================
   Italian Wedding Ceremonies — Editorial Luxury Design System
   ========================================================================== */

:root {
  --bg-alabaster: #faf7f2;
  --bg-linen: #f2ebe0;
  --bg-stone: #e8ded0;
  --surface: #ffffff;
  --ink: #1f1a17;
  --ink-soft: #4e453e;
  --ink-muted: #6e645b;
  --terracotta: #964830;
  --terracotta-dark: #753420;
  --terracotta-tint: rgba(150, 72, 48, 0.08);
  --sage: #515e49;
  --sage-tint: rgba(81, 94, 73, 0.1);
  --border: #dfd4c3;
  --border-strong: #c8b8a2;
  --shadow-sm: 0 2px 10px rgba(31, 26, 23, 0.05);
  --shadow-md: 0 12px 32px rgba(31, 26, 23, 0.08);
  --shadow-lg: 0 24px 56px rgba(31, 26, 23, 0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1200px;
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  background-color: var(--bg-alabaster);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

[hidden] {
  display: none !important;
}

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--terracotta-dark);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: min(var(--container-max), 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(860px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
}

.section-linen {
  background-color: var(--bg-linen);
  border-block: 1px solid var(--border);
}

.section-dark {
  background-color: var(--ink);
  color: var(--bg-alabaster);
}

.section-dark .eyebrow {
  color: #d7b49e;
}

.section-dark p,
.section-dark li {
  color: #ddd4ca;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--bg-alabaster);
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--surface);
  box-shadow: 0 6px 18px rgba(150, 72, 48, 0.24);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  color: var(--surface);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  background-color: rgba(31, 26, 23, 0.04);
}

.btn-light {
  background-color: var(--surface);
  color: var(--ink);
}

.btn-light:hover {
  background-color: var(--bg-linen);
  color: var(--ink);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--surface);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.95);
  border-bottom: 1px solid var(--border);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.05rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding-block: 0.35rem;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--terracotta);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.nav-cta {
  padding: 0.56rem 1.05rem;
  font-size: 0.84rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--surface);
  white-space: nowrap;
}

.lang-switch a,
.lang-switch span {
  text-decoration: none;
  padding: 0.1rem 0.25rem;
}

.lang-switch .is-active {
  color: var(--terracotta);
  font-weight: 700;
}

.lang-switch a {
  color: var(--ink-muted);
}

.lang-switch a:hover {
  color: var(--terracotta);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.86rem;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    background: var(--bg-alabaster);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    overflow-y: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-links a {
    display: block;
    font-size: 1.15rem;
    padding-block: 0.65rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(540px, 76vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: #241c17;
  color: var(--surface);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(24, 18, 14, 0.88) 0%,
    rgba(24, 18, 14, 0.52) 48%,
    rgba(24, 18, 14, 0.28) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 6vw, 5rem);
  max-width: 780px;
}

.hero-content .eyebrow {
  color: #f0cbb8;
}

.hero-content h1 {
  color: var(--surface);
  margin-bottom: 1rem;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  max-width: 650px;
}

.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 1.15rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--terracotta);
  line-height: 1.15;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Page Sub-Hero */
.page-hero {
  background: var(--bg-linen);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-stone);
}

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

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.45rem;
}

.card-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-stone);
}

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

/* Pill / Chip lists */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.chip-accent {
  background: var(--terracotta-tint);
  border-color: rgba(150, 72, 48, 0.25);
  color: var(--terracotta-dark);
}

/* Check list */
.check-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage);
  font-weight: 700;
}

/* Rites grid */
.rite-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rite-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--terracotta);
}

.rite-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.rite-card p {
  margin: 0;
  font-size: 0.93rem;
}

/* Steps / Process */
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-card {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.step-card::before {
  content: "0" counter(step);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.65rem;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.25rem 1.35rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding-block: 1rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--terracotta);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding-bottom: 1.15rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--bg-linen);
  padding-top: 0.85rem;
}

/* Gallery & Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-trigger img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.gallery-caption strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

/* Native Lightbox Dialog */
dialog.lightbox {
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  max-width: min(94vw, 1080px);
  max-height: 92vh;
  background: #171311;
  color: var(--surface);
  box-shadow: var(--shadow-lg);
}

dialog.lightbox::backdrop {
  background: rgba(15, 12, 10, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox-inner {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
}

.lightbox-img {
  max-height: 78vh;
  width: 100%;
  object-fit: contain;
  background: #100d0b;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  color: #e6ddd2;
}

.lightbox-controls {
  display: flex;
  gap: 0.5rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-full {
  grid-column: 1 / -1;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-alabaster);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  background: var(--surface);
  outline: none;
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #b42318;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.checkbox-row input {
  margin-top: 0.22rem;
  width: 18px;
  height: 18px;
  accent-color: var(--terracotta);
}

.form-status {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--sage-tint);
  border: 1px solid rgba(81, 94, 73, 0.3);
  color: var(--ink);
}

.form-status h3 {
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e6ddd2;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.site-footer h3 {
  color: var(--surface);
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #cfc5b9;
  font-size: 0.92rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #f0cbb8;
  text-decoration: underline;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.collab-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.collab-badge img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  object-fit: contain;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: #a99f94;
}

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

/* Blog & Articles */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-top: 1rem;
}

.article-hero-img {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: 480px;
}

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

.article-body {
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-body h2 {
  margin-top: 2.35rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.article-body h3 {
  margin-top: 1.65rem;
  margin-bottom: 0.6rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.35rem;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}

.article-body li + li {
  margin-top: 0.45rem;
}

.article-callout {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg-linen);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-callout h3 {
  margin-top: 0;
}

.author-box {
  margin-top: 3rem;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.author-box img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

