/* Kent Web Design, 16 Nov 2026: her new homepage header, from her email of
   15 Nov ("new homepage header", lea-header.html in LEA-new-header.zip).
   Her design and sizes, with three changes for her live site:
   - her two fonts are served from her own server (cut down to the letters the
     site uses), so nothing loads from Google before anyone has agreed to it;
   - the header sits on the page's own green (she asked for the same green as
     the rest of the homepage), so it has no background of its own;
   - on phones the menu is an even two-column grid (she said to tidy the phone
     layout as works best), and every button is at least 44px tall.
   The "Currently casting" strip under the menu is styled in
   lea-currently-casting.css, beside the script that draws it. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/lea-fonts/cormorant-garamond-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/lea-fonts/inter-400-600-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root { --lea-green: #163B2C; --lea-gold: #D6B25A; --lea-gold-dark: #8A6A1F; --lea-cream: #F3ECD8; }

.lea-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  font-family: Inter, system-ui, sans-serif;
}
.lea-row { width: 100%; max-width: 1180px; min-width: 0; }

/* Logo line: the L box, the name, WORLDWIDE and the five flags, with the film
   button to the right, all centred. */
.lea-brand { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.lea-logo { display: flex; align-items: center; gap: 16px; min-width: 0; }
.lea-logo a { color: inherit; text-decoration: none; }
.lea-l {
  width: 62px; height: 62px; box-sizing: border-box; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--lea-gold);
  font: 700 40px/1 "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--lea-cream);
}
.lea-name {
  display: block;
  font: 700 42px/1 "Cormorant Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lea-cream);
}
.lea-name:focus-visible, .lea-nav a:focus-visible, .lea-film-btn:focus-visible { outline: 2px solid var(--lea-gold); outline-offset: 4px; }
.lea-sub { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.lea-ww { font-size: 12.5px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--lea-gold); }
.lea-countries { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 12px; color: #E9DFC6; }
.lea-countries li { display: flex; align-items: center; gap: 5px; }
.lea-countries svg { width: 20px; height: 12px; flex: none; }

/* "Watch our film": the gold cine camera. The page's own button style is
   undone here. */
.lea-film-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  min-height: 0; margin: 0; padding: 0; border: 0; background: none;
  color: var(--lea-gold); font: inherit; letter-spacing: normal; text-transform: none;
  cursor: pointer;
}
.lea-film-btn[hidden] { display: none; }
.lea-cam {
  width: 110px; height: 62px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--lea-gold);
  transition: background-color .2s;
}
.lea-cam svg { width: 92px; height: 56px; filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, .45)); }
.lea-film-btn:hover .lea-cam, .lea-film-btn:focus-visible .lea-cam { background: #1E4A37; }
.lea-film-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lea-gold); }

/* The film strip: gold edges with sprocket holes, the rolled-up end on the
   left, and her photo repeated eight times so the loop never shows a gap on
   wide screens (her note). Tapping it stops it; so does hovering. */
.lea-strip-row { display: flex; align-items: center; }
.lea-canister { flex-shrink: 0; width: 46px; height: 78px; margin-right: -3px; position: relative; z-index: 2; filter: drop-shadow(3px 5px 6px rgba(0, 0, 0, .55)); }
.lea-strip {
  flex: 1; min-width: 0; height: 64px; box-sizing: border-box;
  padding: 8px 0; position: relative; overflow: hidden;
  background: #0A0A0A; box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
.lea-band { position: absolute; left: 0; right: 0; height: 8px; z-index: 1; background: linear-gradient(180deg, #B8913C 0%, #F0D98E 45%, #C9A24A 100%); }
.lea-band::after { content: ""; position: absolute; top: 2.2px; left: 0; right: 0; height: 3.6px; background: repeating-linear-gradient(90deg, transparent 0 3px, #0A0A0A 3px 6.6px, transparent 6.6px 9.8px); }
.lea-band.top { top: 0; }
.lea-band.bottom { bottom: 0; }
.lea-track { display: flex; width: max-content; animation: lea-reel 70s linear infinite; }
.lea-track img { display: block; height: 48px; width: auto; max-width: none; filter: sepia(.12) contrast(1.05); }
.lea-strip:hover .lea-track, .lea-strip.is-paused .lea-track { animation-play-state: paused; }
@keyframes lea-reel { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Menu: Facebook on the left, the four pages, TikTok on the right. */
.lea-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lea-nav a {
  height: 40px; box-sizing: border-box; padding: 0 14px;
  display: flex; align-items: center; gap: 7px;
  border: 1px solid #5E6B3A;
  color: var(--lea-gold); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.lea-nav a.lea-social { padding: 0 12px; border-color: #3F6650; color: #E9DFC6; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.lea-nav a:hover, .lea-nav a:focus-visible { border-color: var(--lea-gold); color: #fff; }
.lea-nav a[hidden] { display: none; }
.lea-nav svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
@media (max-width: 1080px) { .lea-nav { justify-content: center; } }

/* Her film, larger, over the page. Close, Esc or a click outside shuts it. */
.lea-film-modal {
  box-sizing: border-box; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 20px; border: 0; background: transparent; color: var(--lea-cream);
}
.lea-film-modal[open] { display: flex; align-items: center; justify-content: center; }
.lea-film-modal::backdrop { background: rgba(5, 15, 10, .88); }
.lea-film-box { position: relative; width: min(1100px, 100%); padding-top: 48px; }
.lea-film-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--lea-gold); }
.lea-film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lea-film-close {
  position: absolute; top: 0; right: 0;
  min-height: 0; padding: 8px 14px;
  border: 1px solid var(--lea-gold); background: none; color: var(--lea-cream);
  font: 600 12px/1.2 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.lea-film-close:hover, .lea-film-close:focus-visible { background: rgba(214, 178, 90, .16); outline: 2px solid var(--lea-gold); outline-offset: 2px; }
html.lea-film-open { overflow: hidden; }

@media (max-width: 760px) {
  .lea-brand { gap: 14px; }
  /* Her phone layout (her email of 16 Nov, 11:50, values from her updated
     lea-header.html): the L box centred on its own line, the name on one line
     sized to the screen, then WORLDWIDE and the flags, all centred. */
  .lea-logo { flex-direction: column; align-items: center; text-align: center; gap: 10px; width: 100%; }
  .lea-logo-text { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .lea-name { font-size: clamp(20px, 6.4vw, 28px); white-space: nowrap; letter-spacing: .04em; }
  .lea-l { flex: 0 0 auto; width: 50px; height: 50px; font-size: 32px; }
  .lea-sub { flex-direction: column; align-items: center; gap: 8px; margin-top: 8px; }
  .lea-ww { font-size: 10.5px; letter-spacing: .3em; }
  .lea-countries { justify-content: center; gap: 6px 10px; font-size: 11.5px; }
  .lea-countries svg { width: 18px; height: 11px; }
  .lea-cam { width: 84px; height: 48px; }
  .lea-cam svg { width: 70px; height: 43px; }
  .lea-canister { width: 36px; height: 61px; }
  .lea-strip { height: 50px; padding: 6px 0; }
  .lea-band { height: 6px; }
  .lea-band::after { top: 1.5px; height: 3px; }
  .lea-track img { height: 38px; }
  .lea-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .lea-nav a, .lea-nav a.lea-social { justify-content: center; height: auto; min-height: 44px; padding: 6px 10px; text-align: center; line-height: 1.25; }
  .lea-nav a { font-size: 10.5px; }
  .lea-film-modal { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .lea-track { animation: none; }
  .lea-cam, .lea-nav a { transition: none; }
}
