/* ============================================================
   VENETIAN HERITAGE LAYER
   Shared across both directions. Authentic devices:
   ogee arches · terrazzo · wax seal · gold leaf · the
   Murano-glass craft story. Uses --v-* aliases each theme sets:
     --v-ink  --v-soft  --v-paper  --v-cream  --v-terra
     --v-line --gold
   ============================================================ */

/* ---------- ogee (Venetian Gothic) arch frame ---------- */
.ogee {
  position: relative;
  -webkit-clip-path: url(#ogee-arch);
  clip-path: url(#ogee-arch);
  background: var(--slot-bg, #e3d3b6);
}
.ogee > image-slot,
.ogee > img { width: 100%; height: 100%; display: block; }

/* gold keyline drawn as a layered frame behind the clipped image */
.ogee-wrap { position: relative; }
.ogee-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  -webkit-clip-path: url(#ogee-arch);
  clip-path: url(#ogee-arch);
  background: var(--gold);
  opacity: .55;
  z-index: 0;
}
.ogee-wrap .ogee { z-index: 1; }

/* ---------- gold hairline rule ---------- */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.gold-rule::before,
.gold-rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.gold-rule.left::before { display: none; }
.gold-rule.left { justify-content: flex-start; }
.gold-rule.left::after { max-width: 120px; }

/* ---------- Italian phrase ---------- */
.it-phrase {
  font-family: var(--serif, var(--disp));
  font-style: italic;
  color: var(--v-terra);
  line-height: 1.1;
}
.it-phrase small {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.46em;
  letter-spacing: 0.04em;
  color: var(--v-soft);
  margin-top: 10px;
  text-transform: none;
}

/* ============================================================
   HERITAGE BAND — the Venice → Sandy / Murano craft story
   ============================================================ */
.heritage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 85% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 55%),
    var(--v-cream);
}
.heritage-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.heritage-media { position: relative; }
.heritage-media .ogee-wrap { max-width: 360px; }
.heritage-media .ogee { aspect-ratio: 3 / 4.4; }
.heritage-seal-float {
  position: absolute;
  right: -18px;
  bottom: 8px;
  width: 122px; height: 122px;
  z-index: 3;
}

.heritage-copy .eyebrow,
.heritage-copy .gold-rule { margin-bottom: 22px; }
.heritage-copy h2 {
  font-family: var(--serif, var(--disp));
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.heritage-copy h2 .accent { color: var(--v-terra); }
.heritage-copy p { color: var(--v-soft); line-height: 1.7; margin-bottom: 16px; max-width: 54ch; }
.heritage-copy p .gold-word { color: var(--gold); font-weight: 600; }
.heritage-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.heritage-pillar { }
.heritage-pillar .pic {
  width: 38px; height: 38px;
  color: var(--gold);
  margin-bottom: 12px;
}
.heritage-pillar .pic svg { width: 38px; height: 38px; }
.heritage-pillar h4 { font-family: var(--serif, var(--disp)); font-weight: 600; font-size: 18px; margin-bottom: 5px; }
.heritage-pillar p { font-size: 13.5px; line-height: 1.5; margin: 0; }

/* ============================================================
   WAX SEAL emblem
   ============================================================ */
.vseal { display: block; }
.vseal .ring-text { fill: var(--v-terra); font-family: var(--sans); font-size: 6.6px; font-weight: 700; letter-spacing: 1.2px; }
.vseal .disc { fill: color-mix(in srgb, var(--v-terra) 12%, var(--v-paper)); }
.vseal .ring { fill: none; stroke: var(--v-terra); }
.vseal .gold { stroke: var(--gold); fill: none; }
.vseal .glyph { fill: none; stroke: var(--v-terra); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vseal .glyph-fill { fill: var(--v-terra); }
.vseal .star { fill: var(--gold); }

/* ============================================================
   TERRAZZO texture (footer overlay)
   ============================================================ */
.terrazzo-top {
  position: relative;
}
.terrazzo-top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 12% 22%, var(--gold) 0 2px, transparent 2.5px),
    radial-gradient(circle at 78% 14%, var(--v-terra) 0 2.5px, transparent 3px),
    radial-gradient(circle at 32% 68%, color-mix(in srgb,var(--gold) 70%, #fff) 0 1.6px, transparent 2px),
    radial-gradient(circle at 64% 80%, var(--v-terra) 0 1.8px, transparent 2.3px),
    radial-gradient(circle at 88% 56%, var(--gold) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 6% 76%, var(--v-terra) 0 1.6px, transparent 2px),
    radial-gradient(circle at 46% 34%, color-mix(in srgb,var(--gold) 70%, #fff) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 22% 92%, var(--gold) 0 1.6px, transparent 2.1px);
  background-size: 220px 180px;
}

/* a thin gold seam used to separate the heritage band */
.gold-seam { height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); opacity: .7; }

/* welcome chip pairing Italian + English */
.benvenuti {
  display: inline-flex; align-items: baseline; gap: 9px;
  font-family: var(--serif, var(--disp));
  font-style: italic;
  color: var(--v-terra);
  font-size: 20px;
}
.benvenuti small { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--v-soft); }

@media (max-width: 860px) {
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-media .ogee-wrap { max-width: 300px; margin-inline: auto; }
  .heritage-pillars { grid-template-columns: 1fr; gap: 14px; }
  .heritage-seal-float { width: 92px; height: 92px; right: 0; }
}

/* ============================================================
   BOLD ITALIAN LAYER — make the Venice unmistakable
   ============================================================ */

/* ---------- Tricolore (Italian flag) accents ---------- */
.tricolore {
  display: inline-block; width: 34px; height: 13px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(90deg, #1B7A3D 0 33.34%, #F7F4EE 33.34% 66.67%, #C8102E 66.67% 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.25); vertical-align: middle; flex: none;
}
.tricolore.sm { width: 24px; height: 9px; }
.tricolore.lg { width: 46px; height: 17px; border-radius: 3px; }

/* ---------- LOUD top announcement (bilingual) ---------- */
.bar-venetia {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  white-space: nowrap;
}
.bar-venetia .it { font-style: italic; font-family: var(--serif, var(--disp)); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.bar-venetia .en { opacity: .8; }
.bar-venetia .star { color: var(--gold); }
@media (max-width: 720px) { .bar-venetia .en { display: none; } }
/* on phones the top bar collapses to a single tappable phone number */
@media (max-width: 560px) {
  .bar-venetia .it, .bar-venetia .star { display: none; }
  .bar-venetia { gap: 10px; }
  .bar-venetia a { font-size: 13.5px; font-weight: 700; }
}

/* ---------- Venetian arcade frieze (repeating ogee loggia) ---------- */
.arcade {
  height: 72px;
  background-color: var(--v-terra);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23F3E8D4' stroke-width='2'%3E%3Cpath d='M3,86 L3,48 C3,26 22,34 30,20 C35,11 38,4 42,2 C46,4 49,11 54,20 C62,34 81,26 81,48 L81,86'/%3E%3Ccircle cx='42' cy='22' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center bottom -6px;
  background-size: auto 84px;
  position: relative;
  border-block: 2px solid var(--gold);
}
.arcade.tall { height: 96px; background-size: auto 104px; }

/* ---------- Italianate keystone ornament over hero arch ---------- */
.ogee--hero { aspect-ratio: 4 / 5; }
.hero-arch { position: relative; }
.hero-arch .keystone {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 46px; height: 46px; color: var(--gold);
}
.hero-arch .keystone svg { width: 46px; height: 46px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.2)); }

/* ---------- "Prenota" bilingual button label ---------- */
.it-sub { font-style: italic; opacity: .85; font-weight: 600; }

/* ---------- DOGE banner: bold Venetian ribbon ---------- */
.doge-banner {
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, color-mix(in srgb,#fff 4%, transparent) 18px 36px),
    var(--v-ink);
  color: var(--v-paper);
  overflow: hidden;
  border-block: 2px solid var(--gold);
}
.doge-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  padding: 16px 0; animation: doge-marquee 34s linear infinite;
}
.doge-banner:hover .doge-track { animation-play-state: paused; }
.doge-item {
  display: inline-flex; align-items: center; gap: 16px; white-space: nowrap;
  font-family: var(--serif, var(--disp)); font-style: italic; font-size: 22px; color: var(--v-paper);
}
.doge-item .lion { width: 30px; height: 30px; color: var(--gold); flex: none; }
.doge-item .sep { color: var(--gold); font-style: normal; }
@keyframes doge-marquee { to { transform: translateX(-50%); } }

/* ---------- big standalone seal with motto ring ---------- */
.crest { display: inline-grid; place-items: center; text-align: center; gap: 14px; }
.crest .vseal { width: 132px; height: 132px; }
.crest .motto { font-family: var(--serif, var(--disp)); font-style: italic; font-size: 22px; color: var(--v-terra); }
.crest .motto small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--v-soft); margin-top: 6px; }

