/* Ambassador Duty Free — public page.
   Built to the printed Certificate-A flyer: a deep red field with a radiating sunburst,
   charcoal panels doing the structural work, heavy condensed caps for display.
   Red is a FIELD here, not a sprinkle; charcoal carries the architecture. Tokens first (R-14). */

@font-face {
  font-family: 'Anton';
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/anton-400.woff2) format('woff2');
}
@font-face {
  font-family: 'InterADF';
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-400.woff2) format('woff2');
}

:root {
  --red: #bf0900;
  --ink: #141414;
  --ivory: #fbf9f6;
  --paper: #ffffff;
  --stone: #6b6b6b;
  --line: #e5e2dc;
  --c-accent: #bf0900;
  --c-line: #e5e2dc;
  --f-body: 'InterADF', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --shell: 70rem;
  --measure: 46rem;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: .98;
  margin: 0;
}
h2 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* masthead: the red field */
.masthead {
  position: relative;
  background: var(--red);
  overflow: hidden;
  padding: 3.5rem 0 4.75rem;
  text-align: center;
}
.masthead::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: repeating-conic-gradient(from 0deg at 50% 38%,
    rgba(255,255,255,.055) 0deg 6deg, rgba(255,255,255,0) 6deg 12deg);
  pointer-events: none;
}
.masthead .shell { position: relative; }
.masthead .logo { width: min(100%, 25rem); margin: 0 auto; }
.tagline {
  display: inline-block;
  margin: 1.6rem 0 0;
  padding: .55rem 1.4rem;
  background: var(--ink);
  color: #fff;
  border-radius: 99px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* bands */
.band { padding: 3.5rem 0; }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h2 { color: #fff; }

/* the first notice rides up into the red field: one deliberate overlap, not a motif */
.notices { margin-top: -3.5rem; position: relative; z-index: 1; padding: 0 0 1rem; }
.notice {
  background: var(--paper);
  border-top: 7px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(20,20,20,.14);
  padding: 2.25rem clamp(1.25rem, 4vw, 2.75rem) 2rem;
}
.notice + .notice { margin-top: 1.5rem; }
.notice { text-align: center; }
.notice h2 { color: var(--red); max-width: 16ch; margin-inline: auto; font-size: clamp(2.4rem, 7vw, 4.5rem); }
.notice .body { max-width: var(--measure); margin: 1.25rem auto 0; }
.notice .body p { margin: 0 0 .85rem; }
.notice .body p:last-child { margin-bottom: 0; }
.notice .fine { max-width: 54ch; margin: 1.25rem auto 0; color: var(--stone); font-size: .82rem; line-height: 1.5; }
.notice .cta-row { margin: 1.75rem 0 0; }

/* specials */
.grid { list-style: none; display: grid; gap: 1.5rem; padding: 0; margin: 1.75rem 0 0; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;                 /* positioning context for the stretched link below */
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .15s, transform .15s;
}
.card:hover, .card:focus-within { border-color: var(--red); transform: translateY(-2px); }

/* The visible button IS the card's only link. Its ::after covers the whole card, so the card
   stays clickable as before without nesting a button inside an anchor, which is invalid HTML
   and breaks keyboard and screen-reader navigation. */
.card-cta {
  margin: auto 1rem 1rem;             /* auto top pins it to the bottom on uneven cards */
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.1rem;
  background: var(--red); color: #fff; border-radius: 99px;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: 1rem; letter-spacing: .03em; line-height: 1;
  text-align: center; text-decoration: none;
  transition: background .15s;
}
.card-cta::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-cta, .card-cta:hover, .card-cta:focus-visible { background: var(--ink); }
.card img { aspect-ratio: 1 / 1.414; object-fit: cover; width: 100%; background: var(--ivory); }
.card-title { display: block; padding: 1rem 1rem .2rem; font-family: var(--f-display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.05; }
.card-sub { display: block; padding: .2rem 1rem; color: var(--stone); font-size: .9rem; }
.card-valid { display: block; padding: .35rem 1rem 1rem; color: var(--red); font-size: .82rem; }
.empty { margin: 1.5rem 0 0; color: var(--stone); max-width: var(--measure); }

/* banners */
.banners { padding-bottom: 0; }
.rotator { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.rotator .slide { margin: 0; display: block; }
.rotator.is-enhanced .slide { display: none; }
.rotator.is-enhanced .slide.is-active { display: block; }
.rotator img { width: 100%; }
.dots { display: none; justify-content: center; gap: .5rem; padding-top: .75rem; }
.dots.is-enhanced { display: flex; }
.dot { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; }
.dot::after { content: ""; position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dot.is-active::after { background: var(--red); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.6rem;
  border: 2px solid var(--ink); border-radius: 99px;
  background: transparent; color: var(--ink);
  font-family: var(--f-display); text-transform: uppercase; font-size: 1rem; letter-spacing: .03em;
  text-decoration: none; text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band-ink .btn { border-color: #fff; color: #fff; }
.band-ink .btn:hover { background: #fff; color: var(--ink); }
.band-ink .btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.band-ink .btn-primary:hover { background: #fff; border-color: #fff; color: var(--red); }

/* stay in the loop */
.loop-grid { display: grid; gap: 2rem 1.75rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.loop-item .btn { width: 100%; }
.consent { margin: .85rem 0 0; color: rgba(255,255,255,.62); font-size: .8rem; line-height: 1.5; }

/* visit */
.visit-grid { display: grid; gap: 2.5rem; margin-top: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .visit-grid { grid-template-columns: 1.1fr 1fr; } }
.actions { display: grid; gap: .85rem; grid-template-columns: 1fr; }
@media (min-width: 30rem) { .actions { grid-template-columns: repeat(2, 1fr); } }
.address { margin: 1.25rem 0 0; font-size: 1.05rem; }
.hours { border-collapse: collapse; width: 100%; }
.hours th[scope="col"] { font-family: var(--f-display); text-transform: uppercase; font-size: 1.15rem; padding-bottom: .5rem; }
.hours th { text-align: left; font-weight: 400; }
.hours td { padding: .45rem 0; border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 3rem 0 2.5rem; font-size: .85rem; }
.site-footer a { color: #fff; }
.site-footer p { max-width: var(--measure); margin: 0 0 .7rem; }
.site-footer .eligibility { color: #fff; }
.site-footer .rd { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.75rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.copy { color: rgba(255,255,255,.5); margin: 1rem 0 0; }

/* privacy page */
.doc { padding: 3.5rem 0 4rem; }
.doc .shell { max-width: var(--measure); }
.doc h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1.25rem; }
.doc h2 { font-size: 1.4rem; margin: 2.25rem 0 .6rem; }
.doc p, .doc li { margin: 0 0 .85rem; }
.doc ul { padding-left: 1.2rem; }
.back { display: inline-block; margin-bottom: 2rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* The analytics choice bar, on a class of its own. It used to share `.consent` with the small
   print under the WhatsApp buttons, and because this rule comes second in the file it caught
   those notes too - pinning each one to the bottom of the window as a charcoal bar over
   whatever was behind it. */
.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--ink); color: rgba(255,255,255,.88);
  padding: 1.1rem clamp(1rem, 4vw, 2rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .9rem 1.5rem; font-size: .9rem; line-height: 1.45;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
}
.consent-bar p { margin: 0; max-width: 46rem; }
.consent-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.consent-bar .btn { min-height: 44px; padding: .6rem 1.4rem; font-size: .9rem; border-color: #fff; color: #fff; }
.consent-bar .btn:hover { background: #fff; color: var(--ink); }
.consent-bar .btn-primary { background: var(--red); border-color: var(--red); }
.consent-bar .btn-primary:hover { background: #fff; border-color: #fff; color: var(--red); }
/* An author `display` declaration outranks the UA stylesheet's [hidden] { display: none }, so
   without this the attribute does nothing: the analytics bar stayed on screen however often the
   script set it, and the admin's preview image sat there as an empty bordered box. */
[hidden] { display: none !important; }
