/* ===== Verae Studios shared styles ===== */

:root {
  /* Brand blue sampled directly from the Verae logo artwork. */
  --blue: #004AAD;
  --blue-deep: #00397F;
  --blue-soft: #E1EAF7;
  --blue-light: #6E9BE0;

  --cream: #F7F3EA;
  /* Was #F1EBDC, a warmer beige. Unified to the page cream so the light
     sections read as one continuous surface, with only the black sections
     breaking it up. Kept as its own token so a second tone can return later
     without hunting through the file. */
  --cream-2: #F7F3EA;
  --ink: #0E0F12;
  --ink-soft: #2A2C32;
  --line: #E3DCC9;
  --line-dark: #3A3C43;
  --muted: #6B6A63;
  --muted-light: #A9A9B2;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headers and hero text are Poppins, all caps. Inter stays for body copy.
   Tracking is looser than it was for Inter: Poppins is geometric with wide
   round caps, so the tight negative spacing that suited mixed case closes
   the counters up at this size. */
h1, h2, h3, .display {
  font-family: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.statement {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow.on-dark { color: #8FB3E0; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-inner img.logo { height: 30px; width: auto; }

nav.links {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.links a.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.links a.nav-link:hover,
nav.links a.nav-link.active {
  color: var(--blue);
  border-color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

section.dark {
  background: var(--ink);
  color: var(--cream);
}
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: #C7C6C0; }
section.dark .muted { color: var(--muted-light); }

section.soft { background: var(--cream-2); }

.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
section.dark + section.dark .hr,
section.dark .divider { background: var(--line-dark); }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 90px;
  text-align: left;
}
.hero h1 { font-size: 58px; max-width: 800px; }
.hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 22px 0 34px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-sub {
  padding: 90px 0 60px;
  text-align: left;
}
.hero-sub h1 { font-size: 48px; }
.hero-sub .kicker {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin-top: 10px;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card .num {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Team teaser / photos ---------- */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---------- Client roster ---------- */
.roster {
  columns: 2;
  column-gap: 48px;
}
.roster .item {
  break-inside: avoid;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
section:not(.dark) .roster .item { border-bottom: 1px solid var(--line); }

/* ---------- Expertise / experience (about page) ---------- */
.exp-list { list-style: none; margin: 0; padding: 0; }
.exp-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 17px;
}
.exp-list li span.n { color: var(--blue); font-weight: 700; min-width: 26px; }

.job {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.job:last-child { border-bottom: none; }
.job .role { font-weight: 700; font-size: 17px; color: #fff; }
.job .meta { color: var(--muted-light); font-size: 14px; margin: 3px 0 10px; }
.job p { font-size: 15px; }

/* ---------- Contact ---------- */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.contact-pill:hover { background: rgba(255,255,255,0.12); border-color: #8FB3E0; }
.contact-pill .tag { color: var(--muted-light); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 2px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid img.logo { height: 26px; margin-bottom: 16px; }
.footer-grid p { font-size: 14.5px; max-width: 320px; }
.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.footer-grid a.flink { display: block; font-size: 14.5px; color: var(--muted-light); padding: 5px 0; }
.footer-grid a.flink:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
}
.footer-bottom a { color: var(--muted-light); }
.footer-bottom a:hover { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { font-size: 38px; max-width: 640px; margin: 0 auto 28px; }

/* ==========================================================================
   Home page, rebuilt to the 2026 creative brief.
   Media first, single typeface, cobalt accent, editorial spacing.
   ========================================================================== */

.nav-inner img.wordmark { height: 32px; width: auto; }

/* ---------- Hero with video ---------- */
/* Top padding is deliberately tight: it keeps the whole video frame above
   the fold on a 900px laptop screen, which is where most visitors land. */
.hero-media {
  padding: 34px 0 72px;
}
.hero-center { text-align: center; }
.hero-media h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.02;
  max-width: 17ch;
  margin: 0 auto;
}
.hero-media h1 .accent { color: var(--blue); }

/* All caps needs a little positive tracking at body size to stay readable. */
.hero-media .lede {
  font-family: "Poppins", "Inter", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  margin: 20px auto 26px;
}
.hero-media .cta-row {
  justify-content: center;
  margin-top: 28px;
}

/* The source clip is only 568x320, so anything above that width is an upscale.
   880px was chosen as the point where the size reads as a proper hero without
   the softness becoming obvious. Raise it once a larger export exists. */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 50px rgba(14, 15, 18, 0.16);
}
.video-frame video,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(14, 15, 18, 0.10);
  pointer-events: none;
}
.video-caption {
  margin: 14px auto 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 880px;
}

/* ---------- Full width statement ---------- */
.statement-band {
  background: var(--ink);
  color: var(--cream);
  padding: 84px 0;
}
.statement-band h2 {
  color: #fff;
  font-size: clamp(26px, 4.1vw, 50px);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.06;
  max-width: 19ch;
}
.statement-band h2 em {
  font-style: normal;
  color: var(--blue-light);
}

/* The name definition runs longer than a short slogan, so it gets a smaller
   size and a wider measure than the default statement headline. */
.statement-band h2.definition {
  font-size: clamp(22px, 3.1vw, 40px);
  max-width: 26ch;
  line-height: 1.14;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.statement-sub {
  margin: 24px auto 0;
  text-align: center;
  max-width: 48ch;
  font-family: "Poppins", "Inter", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  line-height: 1.75;
  color: #C7C6C0;
}
.statement-sub em {
  font-style: normal;
  color: var(--blue-light);
}

/* ---------- Brand banner ---------- */
.brand-banner {
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.brand-banner h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 20ch;
  margin: 0 auto 34px;
}
.eyebrow.on-blue { color: #BBD2F2; }

.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px 12px;
  max-width: 900px;
  margin: 0 auto;
}
.brand-list span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .brand-list { gap: 8px; }
  .brand-list span { font-size: 13px; padding: 7px 13px; }
}

/* ---------- Made for you ---------- */
.made-for-you { text-align: center; }
.made-for-you h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  margin-bottom: 38px;
}

/* The reel is 720x1280. Capped at 340px so it is never upscaled, and still
   sharp on a retina screen (340 x 2 = 680, inside the 720 available). */
/* Two reels side by side. 300px each keeps both inside their native width
   (720 and 1080) even at 2x, so neither is upscaled. */
.mfy-reels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 22px;
  justify-content: center;
  margin: 0 auto 38px;
}

.mfy-reel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  /* Not --ink. aspect-ratio produces a fractional height (483.55px at 272
     wide), and the browser antialiases that last sub-pixel row against this
     background, which showed as a dark seam under the video. Cream matches
     the page, so any residual sub-pixel edge is invisible. */
  background: var(--cream);
  box-shadow: 0 20px 55px rgba(14, 15, 18, 0.20);
}
/* Overfill by a pixel so the clipped edge is always video, never background. */
.mfy-reel video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 1px);
  object-fit: cover;
  display: block;
}

@media (max-width: 560px) {
  /* Kept side by side rather than stacked: two 9:16 videos stacked would make
     the section roughly 1000px tall on a phone. */
  .mfy-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ---------- Service groups ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--blue);
}
.svc-row .items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 17px;
  color: var(--ink);
}
.svc-row .items span {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 15px;
}

/* ---------- Positioning / audience ---------- */
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.audience span {
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--cream);
}

/* ---------- Expressive mark, used sparingly ---------- */
.script-mark {
  display: block;
  width: min(360px, 62vw);
  height: auto;
  margin: 0 auto 26px;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   Work page: case studies, vertical reels, gallery, grouped roster.
   ========================================================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.case {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14,15,18,.12); }
.case .shot {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}
.case .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case .meta { padding: 20px 22px 24px; }
.case .meta h3 { font-size: 20px; margin-bottom: 7px; }
.case .meta p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Vertical 9:16 reels, shown at their native orientation rather than cropped. */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 330px));
  gap: 26px;
  justify-content: center;
}
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 50px rgba(14,15,18,.18);
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-caption {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery figure { margin: 0; }
.gallery .shot {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cream-2);
}
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.roster-group { margin-bottom: 34px; }
.roster-group h3 {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}
.roster-group .names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.roster-group .names span {
  font-size: 16px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
}
section:not(.dark) .roster-group .names span { border-color: var(--line); background: var(--cream); }

@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .reel-grid { grid-template-columns: minmax(0, 300px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .video-frame, .video-caption { max-width: 100%; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

@media (max-width: 860px) {
  .hero h1 { font-size: 40px; }
  .hero-sub h1 { font-size: 34px; }
  .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .roster { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 20px; flex-wrap: wrap; row-gap: 10px; }
  nav.links { gap: 18px; }
  nav.links .btn { padding: 9px 16px; font-size: 13px; }
  .wrap { padding: 0 20px; }
  .cta-band h2 { font-size: 28px; }
  section { padding: 64px 0; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* Phone widths: keep the whole nav on one line instead of letting
   the Get in Touch button break across two. */
@media (max-width: 560px) {
  .nav-inner { padding: 12px 16px; flex-wrap: nowrap; row-gap: 0; gap: 12px; }
  .nav-inner img.logo { height: 26px; flex-shrink: 0; }
  nav.links { gap: 14px; flex-wrap: nowrap; }
  nav.links a.nav-link { font-size: 13.5px; }
  nav.links .btn { padding: 8px 14px; font-size: 12.5px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 17px; }
}

@media (max-width: 400px) {
  nav.links { gap: 11px; }
  nav.links a.nav-link { font-size: 12.5px; }
  nav.links .btn { padding: 7px 12px; font-size: 12px; }
}
