/* Voice Films brand palette */
:root {
  --black: #181818;
  --cream: #FEF9EE;
  --brass: #C2A26B;
  --deep-brass: #8C6F3F;
  --tile: #2a2723;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

section { padding-block: 88px; }
section > .inner { display: flex; flex-direction: column; gap: 20px; }

.dark { background: var(--black); color: var(--cream); }
.cream { background: var(--cream); color: var(--black); }

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 14ch; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 22ch; }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; }

.label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brass { color: var(--brass); }
.deep { color: var(--deep-brass); }

.rule { display: block; width: 44px; height: 2px; background: var(--brass); }

.lead { font-size: 1.15rem; max-width: 36ch; }

/* Buttons */
.btn {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn-brass { background: var(--brass); color: var(--black); }
.btn-dark { background: var(--black); color: var(--cream); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.cream a:focus-visible, .brass-band a:focus-visible { outline-color: var(--black); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid rgba(254, 249, 238, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 2rem; line-height: 1; letter-spacing: -0.03em; text-decoration: none; }
.logo.small { font-size: 1.4rem; }
.menu { display: flex; gap: 32px; font-size: 0.95rem; }
.menu a { text-decoration: none; opacity: .85; }
.menu a:hover { opacity: 1; color: var(--brass); }
.menu-btn { display: none; }

/* Hero */
.hero { padding-block: 120px 104px; }
.hero > .inner { gap: 24px; }

/* Approach */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; max-width: 900px; }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid rgba(254, 249, 238, 0.14);
}
.services article {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid rgba(254, 249, 238, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.services p { font-size: 0.98rem; opacity: .85; }

/* Work */
.work { padding-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tile {
  aspect-ratio: 16 / 9;
  background: var(--tile);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}
.tile-name { font-size: 1.15rem; }

/* Video tiles */
.tile-video {
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  color: var(--cream);
  width: 100%;
}
.tile-video > span { position: relative; z-index: 2; }
.tile-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tile-shade {
  position: absolute !important;
  inset: 0;
  z-index: 1 !important;
  background: linear-gradient(to top, rgba(24, 24, 24, 0.85), rgba(24, 24, 24, 0.1) 60%);
}
.play {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--brass);
  line-height: 0;
  filter: drop-shadow(0 1px 3px rgba(24, 24, 24, 0.6));
  transition: transform .2s ease;
}
.play svg { display: block; }
.tile-video:hover .tile-thumb { transform: scale(1.03); }
.tile-video:hover .play { transform: translate(-50%, -50%) scale(1.15); }
.tile-still { cursor: default; }
.tile-still:hover .tile-thumb { transform: none; }
.tile-playing { padding: 0; overflow: hidden; }
.tile-playing iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-reduced-motion: reduce) {
  .tile-thumb, .play { transition: none; }
}
.tile-note { font-size: 0.8rem; color: var(--brass); }

/* Contact band */
.brass-band { background: var(--brass); color: var(--black); }
.contact-line { max-width: 40ch; }
.contact-small { font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.contact-small a { text-underline-offset: 3px; }
.dot { opacity: .6; }

/* Footer */
.footer { padding-block: 32px; font-size: 0.85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; opacity: .8; }

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding-block: 64px; }
  .hero { padding-block: 80px 72px; }

  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
  }
  .menu-btn span { display: block; height: 1.5px; background: var(--cream); transition: transform .2s ease; }
  .menu-btn.open span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn.open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    padding: 8px max(24px, env(safe-area-inset-left, 0px)) 20px;
    border-bottom: 1px solid rgba(254, 249, 238, 0.08);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; font-size: 1.15rem; }

  .btn { align-self: stretch; text-align: center; }
  .services article { padding-right: 0; }
}

/* Hover light sweep instead of play icon */
.tile-video .play { display: none; }
.tile-video[data-yt] { transition: transform .35s ease; }
.tile-video[data-yt]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(254, 249, 238, 0.26) 47%, rgba(194, 162, 107, 0.12) 54%, transparent 70%);
  transform: translateX(-130%);
}
.tile-video[data-yt]:hover,
.tile-video[data-yt]:focus-visible { transform: scale(1.02); }
.tile-video[data-yt]:hover::after,
.tile-video[data-yt]:focus-visible::after { transform: translateX(130%); transition: transform .9s ease; }
@media (prefers-reduced-motion: reduce) {
  .tile-video[data-yt], .tile-video[data-yt]:hover { transform: none; transition: none; }
  .tile-video[data-yt]::after { display: none; }
}

/* Black wash fades over the other films while one is hovered */
.tile-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: var(--black);
  opacity: 0;
  transition: opacity 1.1s ease;
}
@media (hover: hover) {
  .grid:has(.tile-video:hover) .tile-video:not(:hover)::before { opacity: 0.65; }
}
