/* Visit Museum Egypt — 2026 Editorial Layer */

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-soft: 0 24px 80px -32px rgba(10, 14, 23, 0.18);
  --shadow-lift: 0 40px 100px -40px rgba(10, 14, 23, 0.28);
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
}

.font-display {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

.editorial-page {
  background: var(--ivory);
}

.editorial-page .site-header.header-solid,
.editorial-page .site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
}

.editorial-page .page-with-fixed-header .trust-notice,
.editorial-page .trust-notice { display: none; }

.editorial-page .ed-hero__grid {
  padding-top: clamp(6.5rem, 12vw, 9.5rem);
}

/* Legacy card grid → showcase layout */
.showcase > .grid { display: contents; }

.showcase > .grid > img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 20rem;
  height: 100%;
  object-fit: cover;
}

.showcase--flip > .grid > img { grid-column: 2; }

.showcase > .grid > div {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase--flip > .grid > div { grid-column: 1; }

.showcase > .grid > div .eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.showcase > .grid > div h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.showcase > .grid > div > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-muted);
  font-weight: 300;
}

.showcase > .grid > div dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase > .grid > div a[class*="text-"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.5rem;
}

.showcase-list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }

.showcase-list .showcase::before {
  counter-increment: museum;
  content: counter(museum, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.showcase-list { counter-reset: museum; }

.showcase { position: relative; }

/* Guided tours editorial-card grid */
.ed-tours-grid .editorial-card {
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.ed-tours-grid .editorial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.ed-tours-grid .editorial-card img {
  display: block;
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.ed-tours-grid .editorial-card:hover img { transform: scale(1.05); }

.ed-tours-grid .editorial-card .font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
}


/* ── Cinematic hero ── */
.ed-hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  margin-top: 0;
}

.ed-hero__media {
  position: absolute;
  inset: -8% 0 0 0;
  will-change: transform;
}

.ed-hero__img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: scale(1.08);
  animation: edHeroReveal 1.8s var(--ease-out-expo) forwards;
}

@keyframes edHeroReveal {
  to { transform: scale(1); }
}

.ed-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.55) 42%, rgba(10, 14, 23, 0.25) 100%),
    linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, transparent 50%);
  pointer-events: none;
}

.ed-hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7.5rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .ed-hero__grid { padding: 9rem 1.5rem 6.5rem; }
}

.ed-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: edFadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.ed-hero__num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.ed-hero__line {
  flex: 1;
  max-width: 5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brass-light), transparent);
}

.ed-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1rem;
  opacity: 0;
  animation: edFadeUp 1s var(--ease-out-expo) 0.35s forwards;
}

.ed-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 14ch;
  opacity: 0;
  animation: edFadeUp 1.1s var(--ease-out-expo) 0.45s forwards;
}

.ed-hero__lead {
  margin-top: 1.75rem;
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  font-weight: 300;
  opacity: 0;
  animation: edFadeUp 1.1s var(--ease-out-expo) 0.6s forwards;
}

.ed-hero__lead a {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

.ed-hero__lead a:hover { color: var(--white); }

.ed-hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: edFadeUp 1s var(--ease-out-expo) 1.1s forwards;
}

@media (min-width: 768px) {
  .ed-hero__scroll-hint { display: flex; }
}

.ed-hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--brass-light), transparent);
  animation: edScrollPulse 2s ease-in-out infinite;
}

@keyframes edScrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes edFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Disclosure bar */
.ed-disclosure {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.55;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-disclosure strong { color: rgba(255, 255, 255, 0.9); font-weight: 500; }

.ed-disclosure__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.ed-disclosure i { color: var(--brass-light); margin-top: 0.2rem; }

/* Marquee */
.ed-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 1.125rem 0;
}

.ed-marquee__track {
  display: flex;
  width: max-content;
  animation: edMarquee 40s linear infinite;
}

.ed-marquee__track span {
  flex-shrink: 0;
  padding: 0 2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.ed-marquee__track span::after {
  content: '◆';
  margin-left: 2rem;
  color: var(--brass);
  font-size: 0.5rem;
  vertical-align: middle;
}

@keyframes edMarquee {
  to { transform: translateX(-50%); }
}

/* Sections */
.ed-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.ed-section--dark {
  background: var(--ink);
  color: var(--white);
}

.ed-section--parchment { background: var(--parchment); }

.ed-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ed-wrap--narrow { max-width: 52rem; }

/* Split layout */
.ed-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ed-split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
  }
}

.ed-split__visual {
  position: relative;
  margin: 0;
}

@media (min-width: 1024px) {
  .ed-split__visual { position: sticky; top: 7rem; }
}

.ed-split__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 1.2s var(--ease-out-expo), filter 0.6s ease;
}

.ed-split__visual:hover .ed-split__img {
  transform: scale(1.02);
  filter: saturate(1) contrast(1.06);
}

.ed-split__caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10, 14, 23, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
}

/* Prose */
.ed-prose p {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.ed-prose h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ed-prose h2:first-child { margin-top: 0; }

.ed-prose a {
  color: var(--brass);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

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

.ed-quote {
  position: relative;
  margin: 3rem 0;
  padding: 2rem 0 2rem 2.5rem;
}

.ed-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brass), var(--brass-light));
}

.ed-quote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

/* Showcase cards (museums, tours) */
.showcase-list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }

.showcase {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.showcase:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

@media (min-width: 768px) {
  .showcase { grid-template-columns: 1.05fr 1fr; }
  .showcase--flip { direction: rtl; }
  .showcase--flip > * { direction: ltr; }
}

.showcase__visual {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
}

.showcase__visual img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}

.showcase:hover .showcase__visual img { transform: scale(1.06); }

.showcase__index {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.showcase__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.showcase__body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase__location {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.showcase__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.showcase__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.showcase__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase__meta dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.showcase__meta dd {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.showcase__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.showcase__tags li {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  padding: 0.35rem 0;
  font-weight: 300;
}

.showcase__tags i {
  color: var(--brass);
  width: 1.25rem;
  margin-right: 0.5rem;
}

.showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  transition: gap 0.35s var(--ease-out-expo), color 0.25s ease;
}

.showcase:hover .showcase__link { gap: 0.85rem; color: var(--terracotta); }

/* FAQ editorial */
.ed-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-faq-grid .faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease-out-expo);
}

.ed-faq-grid .faq-item:hover {
  border-color: var(--brass-light);
  box-shadow: var(--shadow-soft);
}

.ed-faq-grid .faq-btn { padding: 1.5rem 0; }

/* Glass panel (planner, contact) */
.ed-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(221, 213, 200, 0.8);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.ed-panel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* Feature chips */
.ed-chips { display: flex; flex-wrap: wrap; gap: 0.625rem; }

.ed-chip {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.ed-chip:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.ed-chip.is-active,
[data-planner-days].border-2,
[data-planner-style].border-2 {
  border-color: var(--brass) !important;
  background: var(--ink) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

/* Section header */
.ed-section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.ed-section-head .eyebrow { margin-bottom: 0.75rem; }

.ed-section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Tips grid */
.ed-tips-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ed-tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ed-tips-grid { grid-template-columns: repeat(3, 1fr); }
}

.ed-tip-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease, border-color 0.3s ease;
}

.ed-tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brass-light);
}

.ed-tip-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  color: var(--brass);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.ed-tip-card:hover .ed-tip-card__icon {
  background: var(--ink);
  color: var(--brass-light);
}

.ed-tip-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.ed-tip-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-muted);
  font-weight: 300;
}

/* Notes / blog cards */
.ed-note-card {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.ed-note-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .ed-note-card { grid-template-columns: 1fr 1.2fr; }
}

.ed-note-card__img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.ed-note-card:hover .ed-note-card__img { transform: scale(1.05); }

.ed-note-card__body { padding: clamp(1.75rem, 3vw, 2.5rem); }

/* CTA band */
.ed-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  color: var(--white);
}

.ed-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease-out-expo);
}

.ed-cta:hover .ed-cta__bg { transform: scale(1.12); }

.ed-cta__veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.82);
}

.ed-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ed-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.ed-cta p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Operator transparency */
.ed-operator {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.ed-operator h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.ed-operator p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-muted);
  font-weight: 300;
  margin-bottom: 1rem;
}

.ed-operator dl {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .ed-operator dl { grid-template-columns: repeat(2, 1fr); }
}

.ed-operator dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.ed-operator dd {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.55;
}

/* Official museum links */
.ed-official {
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.ed-official__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .ed-official__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ed-official__grid { grid-template-columns: repeat(3, 1fr); }
}

.ed-official__link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.ed-official__link:hover {
  border-color: var(--brass-light);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.ed-official__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  color: var(--brass);
  font-size: 1rem;
}

.ed-official__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.ed-official__meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.45;
}

.ed-official__meta span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.ed-official__note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-muted);
  font-weight: 300;
}

/* Animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(n+6) { transition-delay: 0.4s; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ed-hero__img,
  .ed-hero__meta,
  .ed-hero__eyebrow,
  .ed-hero__title,
  .ed-hero__lead,
  .ed-hero__scroll-hint,
  .ed-marquee__track { animation: none; opacity: 1; transform: none; }

  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger-children > * { opacity: 1; transform: none; transition: none; }
}

/* ── Homepage (enlarged editorial) ── */
.page-home .ed-hero--home {
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 768px) {
  .page-home .ed-hero--home {
    min-height: 108vh;
    min-height: 108dvh;
  }
}

.page-home .ed-hero--home .ed-hero__title {
  font-size: clamp(3.25rem, 8.5vw, 7.25rem);
  max-width: 15ch;
}

.page-home .ed-hero--home .ed-hero__lead {
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  max-width: 42rem;
}

.page-home .ed-hero--home .ed-hero__grid {
  padding: 10rem 1.5rem 7rem;
}

@media (min-width: 768px) {
  .page-home .ed-hero--home .ed-hero__grid {
    padding: 12rem 1.5rem 9rem;
  }
}

.ed-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.75rem;
  opacity: 0;
  animation: edFadeUp 1.1s var(--ease-out-expo) 0.75s forwards;
}

.home-stat-strip .stat-strip__item {
  padding: clamp(2.5rem, 5vw, 3.5rem) 2rem;
}

.home-stat-strip .stat-strip__num {
  font-size: clamp(3rem, 6vw, 4.5rem);
}

.home-stat-strip .stat-strip__label {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.home-bento {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-bento {
    grid-auto-rows: minmax(240px, auto);
  }

  .home-bento .bento-item--quarter {
    grid-column: span 4;
  }
}

.page-home .home-bento .museum-card {
  min-height: 340px;
}

.page-home .home-bento .bento-item--lg.museum-card {
  min-height: 560px;
}

.page-home .home-bento .museum-card__title {
  font-size: 1.875rem;
}

.page-home .home-bento .bento-item--lg .museum-card__title {
  font-size: 2.5rem;
}

.ed-split--home .ed-prose h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.home-tools-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .home-tools-grid { grid-template-columns: repeat(3, 1fr); }
}

a.home-tool-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ed-section--dark a.home-tool-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.ed-section--dark a.home-tool-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--brass-light);
}

.ed-section--dark .home-tool-card h3 {
  color: var(--white);
}

.ed-section--dark .home-tool-card p {
  color: rgba(255, 255, 255, 0.55);
}

.ed-section--dark .home-tool-card .ed-tip-card__icon {
  background: rgba(201, 169, 98, 0.15);
  color: var(--brass-light);
}
