:root {
  color-scheme: dark;
  --bg: #070809;
  --panel: #0d0e11;
  --text: #f5f3ef;
  --muted: #aaa8a4;
  --gold: #c9aa70;
  --line: rgba(255,255,255,.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -15%, rgba(201,170,112,.07), transparent 48%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); /* room for floating buttons */
}
.masthead {
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 18px/1 var(--serif);
  letter-spacing: .14em;
  white-space: nowrap;
}
.brand span { font-size: .82em; }
.brand sup, .footer-brand sup { color: var(--gold); font: 9px var(--sans); vertical-align: top; margin-left: 2px; }
.masthead-note, .eyebrow {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}
.intro {
  padding: clamp(58px, 8vw, 104px) 20px clamp(26px, 3vw, 36px);
  text-align: center;
}
.eyebrow { margin: 0 0 18px; }
h1 {
  margin: 0;
  font: clamp(42px, 7vw, 82px)/.98 var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
}
h1 em { color: var(--gold); font-weight: 400; }
.intro-copy {
  margin: 18px auto 0;
  color: var(--muted);
  font: 15px/1.65 var(--serif);
}
.film-collection {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 56px) clamp(70px, 8vw, 110px);
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}
.film-card { min-width: 0; }
.film-frame {
  position: relative;
  overflow: hidden;
  background: #101114;
  border: 1px solid rgba(201,170,112,.32);
  border-radius: 3px;
  aspect-ratio: 16 / 9;
}
.film-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #08090a;
}
.film-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px 0;
}
.film-title {
  margin: 0;
  color: #eeeae3;
  font: 16px/1.35 var(--serif);
}
.film-category {
  margin: 3px 0 0;
  color: #85827d;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.film-number {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .12em;
  padding-top: 3px;
}
.empty-state {
  padding: 58px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  font: 16px var(--serif);
}
.footer {
  padding: 25px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand { font: 16px var(--serif); letter-spacing: .08em; }
.footer p { margin: 0; color: #85827d; font: 13px var(--serif); }
@media (max-width: 680px) {
  .masthead { min-height: 58px; }
  .brand { font-size: 15px; }
  .masthead-note { font-size: 8px; }
  .intro { padding-top: 56px; }
  .intro-copy { max-width: 300px; font-size: 14px; }
  .film-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .film-title { font-size: 15px; }
  .footer { padding-top: 20px; padding-bottom: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .film-card { animation: arrive .55s ease both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

[hidden] { display: none !important; }

/* =========================================================
   SECTION SWITCHER  (Wedding Highlights / Wedding Films)
   ========================================================= */
.view-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 16px clamp(28px, 4vw, 44px);
}
.tabs {
  --pad: 5px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(540px, 100%);
  padding: var(--pad);
  border: 1px solid rgba(201,170,112,.38);
  border-radius: 999px;
  background: rgba(13,14,17,.85);
}
.tab-thumb {
  position: absolute;
  top: var(--pad); bottom: var(--pad); left: var(--pad);
  width: calc(50% - var(--pad));
  border-radius: 999px;
  background: linear-gradient(135deg, #f1dba4 0%, #c9aa70 50%, #a88444 100%);
  box-shadow: 0 4px 18px rgba(201,170,112,.28);
  transition: transform .45s cubic-bezier(.65,.05,.2,1);
}
.tabs[data-active="films"] .tab-thumb { transform: translateX(100%); }
.tab {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d9c9a2;
  padding: 14px 8px;
  font: 700 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s ease;
}
.tab[aria-selected="true"] { color: #17120a; }
.tab:focus-visible { outline: 2px solid #f1dba4; outline-offset: 2px; }

.tab-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--gold);
  font: italic 13px/1.4 var(--serif);
  letter-spacing: .02em;
  transition: opacity .45s ease, transform .45s ease;
}
.tab-hint b { font-weight: 700; font-style: normal; }
.tab-hint svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.tab-hint.gone { opacity: 0; transform: translateY(-6px); }

/* Attention animation: only while the visitor has not switched yet */
@media (prefers-reduced-motion: no-preference) {
  .tabs:not(.hint-off) {
    animation: tabsGlow 2.6s ease-in-out infinite;
  }
  .tabs:not(.hint-off) .tab[aria-selected="false"]::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -60%;
    width: 50%;
    background: linear-gradient(100deg, transparent, rgba(241,219,164,.38), transparent);
    transform: skewX(-18deg);
    animation: tabShimmer 2.6s ease-in-out infinite;
    pointer-events: none;
  }
  .tabs:not(.hint-off) .tab[aria-selected="false"] {
    animation: tabNudge 2.6s ease-in-out infinite;
  }
  .tab-hint:not(.gone) svg { animation: arrowNudge 1.3s ease-in-out infinite; }
  .tab-hint:not(.gone) { animation: hintFade 2.6s ease-in-out infinite; }
  .film-panel:not([hidden]) { animation: arrive .5s ease both; }
}
@keyframes tabsGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,170,112,0); }
  50%      { box-shadow: 0 0 22px 2px rgba(201,170,112,.38); }
}
@keyframes tabShimmer {
  0%, 35% { left: -60%; }
  80%, 100% { left: 130%; }
}
@keyframes tabNudge {
  0%, 100% { color: #d9c9a2; text-shadow: none; }
  50%      { color: #fff1c9; text-shadow: 0 0 12px rgba(241,219,164,.9); }
}
@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
@keyframes hintFade {
  0%, 100% { opacity: .65; }
  50%      { opacity: 1; }
}

/* =========================================================
   GOLDEN PLAY BUTTON  (centre of every video)
   ========================================================= */
.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(rgba(7,8,9,.12), rgba(7,8,9,.28));
  cursor: pointer;
  transition: opacity .3s ease, visibility .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.film-frame.started .play-btn { background: transparent; pointer-events: none; }
.film-frame.started .play-icon { pointer-events: auto; }
.film-frame.is-playing .play-btn,
.film-frame.is-loading .play-btn { opacity: 0; visibility: hidden; }

.play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(58px, 8vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6e4b0 0%, #d4b378 48%, #a88444 100%);
  box-shadow: 0 0 0 0 rgba(212,179,120,.55), 0 8px 26px rgba(0,0,0,.5);
  transition: transform .25s ease;
}
.play-icon svg {
  width: 42%;
  height: 42%;
  margin-left: 6%;           /* optical centring of the triangle */
  fill: #17120a;
}
.play-btn:hover .play-icon,
.play-btn:focus-visible .play-icon { transform: scale(1.08); }
.play-btn:focus-visible { outline: 2px solid #f1dba4; outline-offset: -4px; }

@media (prefers-reduced-motion: no-preference) {
  .play-icon { animation: goldBlink 2.4s ease-in-out infinite; }
  .play-icon::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1.5px solid rgba(246,228,176,.8);
    animation: goldRing 2.4s ease-out infinite;
    pointer-events: none;
  }
}
@keyframes goldBlink {
  0%, 100% { box-shadow: 0 0 10px 0 rgba(212,179,120,.35), 0 8px 26px rgba(0,0,0,.5); filter: brightness(.92); }
  50%      { box-shadow: 0 0 34px 8px rgba(246,228,176,.75), 0 8px 26px rgba(0,0,0,.5); filter: brightness(1.12); }
}
@keyframes goldRing {
  0%   { transform: scale(1);    opacity: .85; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* Loading ring while the video buffers after pressing play */
.spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border: 3px solid rgba(201,170,112,.25);
  border-top-color: #f1dba4;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
}
.film-frame.is-loading .spinner {
  opacity: 1;
  visibility: visible;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   FLOATING BUTTONS  (Portfolio · Order Now · Contact)
   ========================================================= */
.dock {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  pointer-events: none;      /* only the buttons catch taps */
}
.dock-btn {
  pointer-events: auto;
  flex: 1 1 0;
  max-width: 168px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1dba4 0%, #c9aa70 52%, #a88444 100%);
  color: #17120a;
  font: 700 12px/1 var(--sans);
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,236,181,.35) inset;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.dock-btn svg {
  flex: none;
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.dock-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 28px rgba(0,0,0,.6), 0 0 18px rgba(201,170,112,.45); }
.dock-btn:active { transform: translateY(0) scale(.97); }
.dock-btn:focus-visible { outline: 2px solid #fff1c9; outline-offset: 2px; }

@media (max-width: 680px) {
  .tab { font-size: 10px; letter-spacing: .08em; padding: 13px 4px; }
  .dock { gap: 8px; padding: 0 10px; }
  .dock-btn { font-size: 11.5px; padding: 12px 6px; gap: 6px; }
  .dock-btn svg { width: 16px; height: 16px; }
}
