/* ============================================
   Announcement v2 — Royal Edition (refined)
   ============================================ */

:root {
  --a2-ivory: #faf6ec;
  --a2-ivory-2: #f1e9d6;
  --a2-cream: #fffdf6;
  --a2-ink: #1a140c;
  --a2-muted: #6f6450;
  --a2-line: #e3d8be;
  --a2-gold: #b58939;
  --a2-gold-deep: #8a6224;
  --a2-gold-soft: #d8b56b;
  --a2-red: #b74527;
  --a2-shadow: 0 24px 60px rgba(60, 40, 10, 0.14);
  --a2-radius: 4px;
  --a2-header-h: 104px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--a2-ivory);
  color: var(--a2-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body { display: flex; flex-direction: column; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Universal focus-visible — accessible, gold, no jank */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--a2-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.ann2-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ── Header ─────────────────────────────── */
.ann2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 236, 0.9);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--a2-line);
}

.ann2-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--a2-header-h);
  padding: 16px 0;
  gap: 24px;
}

.ann2-logo {
  display: inline-flex;
  align-items: center;
  height: 72px;
}

/* ── Elegant Stories nav link ─────────────── */
.ann2-nav { display: inline-flex; align-items: center; }

.ann2-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a2-ink);
  transition: color .35s ease;
}

.ann2-nav__ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--a2-gold);
  opacity: .55;
  transform: rotate(0deg) scale(.9);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}

.ann2-nav__label {
  position: relative;
  display: inline-block;
}

.ann2-nav__underline {
  position: absolute;
  left: 30px;
  right: 4px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--a2-gold) 20%,
    var(--a2-gold-deep) 50%,
    var(--a2-gold) 80%,
    transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.ann2-nav__link:hover,
.ann2-nav__link:focus-visible {
  color: var(--a2-gold-deep);
}
.ann2-nav__link:hover .ann2-nav__ornament,
.ann2-nav__link:focus-visible .ann2-nav__ornament {
  opacity: 1;
  transform: rotate(180deg) scale(1.05);
}
.ann2-nav__link:hover .ann2-nav__underline,
.ann2-nav__link:focus-visible .ann2-nav__underline {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .ann2-nav__link { font-size: 16px; letter-spacing: 0.14em; }
}

.ann2-logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 400ms ease;
}
.ann2-logo:hover img { transform: scale(1.03); }

/* ── Refined menu trigger (minimal, regal) ── */
.ann2-menu { position: relative; display: inline-flex; align-items: center; }

.ann2-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 8px 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--a2-ink);
  position: relative;
  transition: color 260ms ease, border-color 260ms ease;
}

.ann2-menu__lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 26px;
}
.ann2-menu__lines span {
  display: block;
  height: 1px;
  background: var(--a2-gold);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              width 320ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 240ms ease;
}
.ann2-menu__lines span:nth-child(1) { width: 100%; }
.ann2-menu__lines span:nth-child(2) { width: 70%; align-self: flex-end; }
.ann2-menu__lines span:nth-child(3) { width: 100%; }

.ann2-menu__trigger:hover .ann2-menu__lines span:nth-child(2),
.ann2-menu__trigger[aria-expanded="true"] .ann2-menu__lines span:nth-child(2) {
  width: 100%;
}

.ann2-menu__trigger[aria-expanded="true"] .ann2-menu__lines span:nth-child(1) {
  transform: translateY(5px) rotate(-12deg);
  width: 100%;
}
.ann2-menu__trigger[aria-expanded="true"] .ann2-menu__lines span:nth-child(2) {
  opacity: 0;
}
.ann2-menu__trigger[aria-expanded="true"] .ann2-menu__lines span:nth-child(3) {
  transform: translateY(-5px) rotate(12deg);
  width: 100%;
}

.ann2-menu__label {
  position: relative;
  padding-bottom: 4px;
}
.ann2-menu__label::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--a2-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ann2-menu__trigger:hover .ann2-menu__label::after,
.ann2-menu__trigger[aria-expanded="true"] .ann2-menu__label::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.ann2-menu__trigger:hover,
.ann2-menu__trigger[aria-expanded="true"] {
  color: var(--a2-gold-deep);
}

/* Royal panel */
.ann2-menu__panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 340px;
  background: linear-gradient(180deg, #fffdf6 0%, #fbf4e1 100%);
  border: 1px solid var(--a2-gold-soft);
  border-radius: var(--a2-radius);
  box-shadow: var(--a2-shadow);
  padding: 22px 14px 14px;
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ann2-menu__panel::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(181, 137, 57, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

.ann2-menu__panel::after {
  content: '';
  position: absolute;
  top: -7px; right: 22px;
  width: 12px; height: 12px;
  background: #fffdf6;
  border-left: 1px solid var(--a2-gold-soft);
  border-top: 1px solid var(--a2-gold-soft);
  transform: rotate(45deg);
}

.ann2-menu__panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Eyebrow inside panel */
.ann2-menu__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 8px 14px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 360ms ease 100ms, transform 360ms ease 100ms;
}
.ann2-menu__eyebrow span {
  flex: 1;
  height: 1px;
  background: var(--a2-gold);
  opacity: 0.45;
}
.ann2-menu__eyebrow em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--a2-gold-deep);
  white-space: nowrap;
}
.ann2-menu__panel.is-open .ann2-menu__eyebrow {
  opacity: 1;
  transform: translateY(0);
}

/* Items */
.ann2-menu__link {
  display: grid;
  grid-template-columns: 32px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 2px;
  color: var(--a2-ink);
  position: relative;
  opacity: 0;
  transform: translateX(8px);
  transition:
    background 220ms ease,
    color 220ms ease,
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ann2-menu__panel.is-open .ann2-menu__link { opacity: 1; transform: translateX(0); }
.ann2-menu__panel.is-open .ann2-menu__link:nth-of-type(1) { transition-delay: 180ms; }
.ann2-menu__panel.is-open .ann2-menu__link:nth-of-type(2) { transition-delay: 260ms; }

.ann2-menu__link::before {
  content: '';
  position: absolute;
  left: 6px; top: 50%;
  width: 3px; height: 0;
  background: var(--a2-gold);
  transform: translateY(-50%);
  transition: height 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ann2-menu__link:hover,
.ann2-menu__link:focus-visible,
.ann2-menu__link.is-active {
  background: rgba(181, 137, 57, 0.09);
  color: var(--a2-red);
  outline: none;
}

.ann2-menu__link:hover::before,
.ann2-menu__link:focus-visible::before,
.ann2-menu__link.is-active::before {
  height: 60%;
}

.ann2-menu__link-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--a2-gold);
  text-align: center;
  letter-spacing: 0.05em;
  transition: color 220ms ease, transform 280ms ease;
}

.ann2-menu__link:hover .ann2-menu__link-num,
.ann2-menu__link:focus-visible .ann2-menu__link-num,
.ann2-menu__link.is-active .ann2-menu__link-num {
  color: var(--a2-red);
  transform: scale(1.08);
}

.ann2-menu__link-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.ann2-menu__link-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.ann2-menu__link-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a2-muted);
}

.ann2-menu__link-arrow {
  font-family: 'Cormorant Garamond', serif;
  color: var(--a2-gold);
  font-size: 20px;
  transform: translateX(-6px);
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease, color 220ms ease;
}

.ann2-menu__link:hover .ann2-menu__link-arrow,
.ann2-menu__link:focus-visible .ann2-menu__link-arrow,
.ann2-menu__link.is-active .ann2-menu__link-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--a2-red);
}

.ann2-menu__divider {
  height: 1px;
  margin: 4px 16px;
  background: linear-gradient(90deg, transparent, var(--a2-gold-soft), transparent);
  opacity: 0.55;
}

/* ── Hero ────────────────────────────────── */
.ann2-main { flex: 1; display: flex; flex-direction: column; }

.ann2-hero {
  position: relative;
  min-height: calc(100vh - var(--a2-header-h) - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.ann2-hero__media { position: absolute; inset: 0; z-index: 0; }

.ann2-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.95) brightness(1.02);
  transform-origin: center 55%;
  animation: ann2-kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes ann2-kenburns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  50%  { transform: scale(1.08) translate3d(-0.6%, -0.8%, 0); }
  100% { transform: scale(1.12) translate3d(0.6%, -1.2%, 0); }
}

.ann2-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(250,246,236,0.55) 0%, rgba(250,246,236,0.85) 60%, rgba(250,246,236,0.95) 100%),
    linear-gradient(180deg, rgba(250,246,236,0.7) 0%, rgba(250,246,236,0.55) 50%, rgba(250,246,236,0.92) 100%);
}

.ann2-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  animation: ann2-fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ann2-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ann2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--a2-gold-deep);
  margin-bottom: 36px;
  font-weight: 500;
}
.ann2-hero__eyebrow-line { width: 48px; height: 1px; background: var(--a2-gold); opacity: 0.6; }

.ann2-hero__title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 32px;
  color: var(--a2-ink);
}
.ann2-hero__title em { font-style: italic; color: var(--a2-red); font-weight: 500; }

.ann2-hero__rule {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 36px auto;
}
.ann2-hero__rule span { width: 70px; height: 1px; background: var(--a2-gold); opacity: 0.55; }
.ann2-hero__rule svg { color: var(--a2-gold); }

.ann2-hero__body {
  font-size: 18px; line-height: 1.8;
  color: #4a4030; max-width: 580px; margin: 0 auto 28px;
  font-weight: 300;
}

.ann2-hero__sign {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 17px;
  color: var(--a2-gold-deep); letter-spacing: 0.04em;
}

/* ── Footer (compact) ───────────────────── */
.ann2-footer {
  border-top: 1px solid var(--a2-line);
  padding: 22px 0 18px;
  background: #fdfaee;
  position: relative;
  z-index: 2;
}

.ann2-footer__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}

.ann2-footer__copy {
  font-size: 12px;
  color: var(--a2-muted);
  letter-spacing: 0.02em;
}

.ann2-footer__socials { display: inline-flex; align-items: center; gap: 4px; }

.ann2-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 2px;
  color: var(--a2-muted);
  transition: color 180ms ease, background 180ms ease, transform 220ms ease;
}
.ann2-social:hover,
.ann2-social:focus-visible {
  color: var(--a2-red);
  background: var(--a2-ivory-2);
  transform: translateY(-1px);
  outline: none;
}
.ann2-social svg { width: 16px; height: 16px; }

.ann2-footer__legal {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--a2-muted);
}
.ann2-footer__legal a {
  color: var(--a2-muted);
  position: relative;
  padding-bottom: 1px;
  transition: color 180ms ease;
}
.ann2-footer__legal a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--a2-red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ann2-footer__legal a:hover,
.ann2-footer__legal a:focus-visible {
  color: var(--a2-red);
  outline: none;
}
.ann2-footer__legal a:hover::after,
.ann2-footer__legal a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.ann2-footer__legal-sep { margin: 0 8px; opacity: 0.5; }

/* ── Cookie banner ──────────────────────── */
.ann2-cookie {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 140%);
  width: min(700px, calc(100% - 32px));
  background: #fffdf6;
  border: 1px solid var(--a2-gold-soft);
  border-top: 2px solid var(--a2-gold);
  border-radius: var(--a2-radius);
  box-shadow: 0 18px 50px rgba(60, 40, 10, 0.18);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  z-index: 100;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ann2-cookie.is-visible { transform: translate(-50%, 0); }

.ann2-cookie__text { flex: 1 1 320px; font-size: 13px; line-height: 1.6; color: var(--a2-ink); }
.ann2-cookie__text a { color: var(--a2-red); text-decoration: underline; text-underline-offset: 2px; }

.ann2-cookie__actions { display: inline-flex; gap: 10px; flex-shrink: 0; }

.ann2-btn {
  border-radius: var(--a2-radius);
  padding: 10px 22px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; font-weight: 500;
  border: 1px solid transparent;
  transition: all 220ms ease;
}
.ann2-btn--ghost { background: transparent; border-color: var(--a2-line); color: var(--a2-muted); }
.ann2-btn--ghost:hover { border-color: var(--a2-ink); color: var(--a2-ink); }
.ann2-btn--primary {
  background: linear-gradient(180deg, var(--a2-gold) 0%, var(--a2-gold-deep) 100%);
  color: #fffdf6;
  border-color: var(--a2-gold-deep);
}
.ann2-btn--primary:hover {
  background: linear-gradient(180deg, var(--a2-red) 0%, #8e3318 100%);
  border-color: #8e3318;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  :root { --a2-header-h: 88px; }
  .ann2-logo, .ann2-logo img { height: 60px; }
}

@media (max-width: 640px) {
  :root { --a2-header-h: 72px; }
  .ann2-container { padding: 0 20px; }
  .ann2-logo, .ann2-logo img { height: 48px; }
  .ann2-menu__trigger { font-size: 14px; letter-spacing: 0.28em; gap: 10px; }
  .ann2-menu__lines { width: 22px; }
  .ann2-menu__panel { min-width: 280px; right: -8px; }
  .ann2-hero { padding: 56px 0 80px; min-height: auto; }
  .ann2-hero__img { object-position: center 50%; }
  .ann2-footer__row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ann2-cookie { padding: 16px; bottom: 16px; }
  .ann2-cookie__actions { width: 100%; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .ann2-hero__img { animation: none; transform: scale(1.04); }
  .ann2-hero__content { animation: none; }
  .ann2-menu__panel,
  .ann2-menu__link,
  .ann2-menu__eyebrow { transition: opacity 0.01ms !important; transform: none !important; }
}
