:root {
  --navy: #2f3c50;
  --navy2: #39485f;
  --mustard: #D4A017;
  --orange: #C3733A;
  --bg: var(--navy);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --border: rgba(255,255,255,0.14);
  --shadow: 0 14px 40px rgba(0,0,0,0.35);
  --maxw: 1200px;
  --radius2: 24px;
  --gap2: 28px;
  --pad: 24px;
  --font-body: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --font-head: "Bebas Neue", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --navOffset: 92px;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 78px 0; background: var(--navy); }
.section.tight { padding: 56px 0; }
.section.light { background: #fff; color: #101418; }
.section.light .muted { color: rgba(16,20,24,0.72); }
.section.light .kicker { color: rgba(16,20,24,0.60) !important; }
.section.light .h2, .section.light .h3 { color: #101418; }
.section.light a { color: #101418; }

.muted { color: var(--muted); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(47,60,80,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  font-size: 14px; letter-spacing: 0.03em; color: rgba(255,255,255,0.82);
  padding: 10px 10px; border-radius: 10px;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  /* Match navigation font for CTA buttons */
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta.primary {
  background: var(--mustard);
  border-color: var(--mustard);
  color: #101418;
}
.cta.primary:hover { filter: brightness(1.03); }
.cta.ghost {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.84);
  padding: 12px 10px;
}
.cta.ghost:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-media { position: absolute; inset: 0; background: #0b0f14; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Ensure the hero background video covers the container just like the image */
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%; /* favor top framing so heads aren’t cut off */
  display: block;
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(47,60,80,0.55),
    rgba(47,60,80,0.65)
  );
}
.hero-inner { position: relative; padding: 0 0 66px; }

.kicker {
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 10px 0 14px;
}
.lede {
  max-width: 760px;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  line-height: 1.48;
  margin: 0 0 24px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.grid { display: grid; gap: var(--gap2); }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0f14; }
.thumb img { width:100%; height:100%; object-fit:cover; transition: transform 320ms ease, filter 320ms ease; }
.card:hover .thumb img { transform: scale(1.02); filter: brightness(0.90); }
.card-body { padding: 18px 18px 20px; }
.card-title { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.card-sub { font-size: 14px; color: var(--muted); margin: 0; }

/* Horizontal carousel for featured work on the home page */
.carousel {
  display: flex;
  gap: var(--gap2);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel .card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  min-width: 300px;
}

/* Grid layout for featured work cards on home page */
.featured-grid {
  display: grid;
  gap: var(--gap2);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.h2 {
  font-family: var(--font-head);
  font-size: 46px;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  line-height: 0.95;
  color: #fff;
}
.h3 {
  font-family: var(--font-head);
  font-size: 34px;
  margin: 0 0 12px;
  line-height: 0.95;
  color: #fff;
}
.title-accent { display:inline-block; color: var(--mustard); }
.p { font-size: 16px; line-height: 1.7; max-width: 860px; margin: 0 0 14px; }

.list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.list li { padding-left: 26px; position: relative; }
.list li::before{
  content: "🎬";
  position: absolute;
  left: 0;
  top: 0.18em;
  line-height: 1;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px;
  background: rgba(255,255,255,0.05);
}
.step h4 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.step p { margin:0; font-size:14px; line-height:1.6; color: rgba(255,255,255,0.72); }

.split { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items:center; }
.portrait {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0f14;
}
.portrait img { aspect-ratio: 16/12; object-fit:cover; width:100%; height:100%; }

.callout {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  padding: 22px;
  background: rgba(255,255,255,0.06);
}
.panel-light {
  background: rgba(255,255,255,0.92);
  color: #101418;
  border-color: rgba(47,60,80,0.14);
}
.panel-light .muted { color: rgba(16,20,24,0.72); }

.footer { padding: 54px 0; background: var(--navy); }
.footer-grid { display:grid; grid-template-columns: 1fr auto; gap:24px; align-items:flex-start; }
.footer img { height: 84px; width:auto; }
.footer a { color: rgba(255,255,255,0.78); font-size:14px; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer .links { display:flex; gap:18px; flex-wrap:wrap; justify-content:flex-end; }
.footer .small { line-height: 1.6; }
.footer-business { display:flex; flex-direction:column; gap:4px; }
.footer-business__name strong { color: rgba(255,255,255,0.92); }

.small { font-size: 13px; color: rgba(255,255,255,0.72); margin-top:12px; }

.form { display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top:18px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field label {
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color: rgba(255,255,255,0.78);
}
.section.light .field label { color: rgba(16,20,24,0.72); }
.field input, .field textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  font-size: 15px;
  outline: none;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.92);
}
.section.light .field input, .section.light .field textarea {
  background:#fff;
  color:#101418;
  border-color: rgba(47,60,80,0.14);
}
.field textarea { min-height: 120px; grid-column: 1 / -1; resize: vertical; }
.form .full { grid-column: 1 / -1; }

section[id] { scroll-margin-top: var(--navOffset); }

@media (max-width: 980px) {
  .work-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav-links { display:none; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer .links { justify-content:flex-start; }
}
@media (max-width: 520px) {
  .section { padding: 58px 0; }
  .hero-inner { padding-bottom: 46px; }
  .lede { font-size: 16px; }
  .list { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hero-media video { object-position: 50% 25%; }
}

/* Nav uses brand headline font */
.nav-links a{
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ensure brand colors are exact */
:root{
  --navy: #2f3c50;
  --mustard: #D4A017;
}

/* Hero subtle slow push-in (disabled for reduced motion) */
.hero-media img{
  transform-origin: center;
  animation: heroPush 18s ease-in-out infinite alternate;
}
@keyframes heroPush{
  from{ transform: scale(1); }
  to{ transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce){
  .hero-media img{ animation: none !important; }
}

/* Section image overlay utility */
.image-overlay{
  position: relative;
}
.image-overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(47,60,80,0.35); /* navy overlay */
  pointer-events:none;
}
.image-overlay img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Large ghosted 55 mark in background */
.ghost-55{
  position: relative;
  overflow: hidden;
}
.ghost-55::before{
  content:"";
  position:absolute;
  right: -10%;
  top: 10%;
  width: 620px;
  height: 620px;
  background: url('/assets/img/55mark.svg') no-repeat center/contain;
  opacity: 0.18;
  transform: rotate(-6deg);
  pointer-events:none;
  filter: saturate(1.1);
}
@media (max-width: 980px){
  .ghost-55::before{
    width: 420px;
    height: 420px;
    right: -25%;
    top: 6%;
    opacity: 0.06;
  }
}

/* Header logo: larger + high contrast */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand .logo-mark{
  height: 44px;
  width: auto;
  opacity: 0.95;
}
.brand .logo-word{
  height: 36px;
  width: auto;
  /* turn dark artwork into white for nav */
  
  opacity: 0.98;
}

/* Footer logo: full logo, white for readability */
.footer .footer-logo{
  height: 76px !important;
  width: auto;
  filter: none;
  opacity: 0.98;
}


/* Site-wide ghosted 55 pattern */
}

/* Footer links match header nav style */


/* Unified slanted 55 background (less dense, more spacing). Light sections cover it with solid backgrounds. */
html{ scroll-behavior: smooth; }

}

/* Slanted 55 background: seamless across navy sections. Light sections cover it with solid backgrounds. */


body > *{ position: relative; z-index: 1; }

@media (max-width: 980px){
  
}

/* Footer menu matches header (Bebas Neue) */
.footer .links a{
  font-family: "Bebas Neue", var(--font-head) !important;
  font-size: 18px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82) !important;
  padding: 10px 10px;
  border-radius: 10px;
  display: inline-block;
}
.footer .links a:hover{
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,1) !important;
  text-decoration: none !important;
}

/* Global slanted 55 background layer (always visible behind navy sections) */
html, body {
  background-color: var(--navy);
}

main, header, footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  }



html, body { background-color: var(--navy); }

/* Header logo uses mustard cutout version for consistency */
.brand .logo-mark, .brand .logo-word{
  filter: none !important;
}
.brand .header-logo{
  height: 46px;
  width: auto;
}

/* Force header logo mustard + larger */
.brand img.header-logo{
  height: 56px !important;
  width: auto !important;
  display: block;
}


/* Slanted 55 background - high visibility, seamless */
main, header, footer { position: relative; z-index: 1; }
@media (max-width: 980px){
  }



/* Navy texture (visible but subtle): film grain + soft vignette on navy sections only */
.section{
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.14) 72%, rgba(0,0,0,0.22) 100%),
    url('/assets/img/grain.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
}
.footer, .nav{
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.18) 78%, rgba(0,0,0,0.28) 100%),
    url('/assets/img/grain.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
}
.section.light{
  background: #fff !important;
  background-image: none !important;
}

/* Process cards styling update */
.step{
  background: var(--mustard) !important;
  border: 2px solid var(--navy) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.step h4{
  font-family: var(--font-head) !important;
  font-size: 20px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  margin-bottom: 10px !important;
  position: relative;
}
.step h4::after{
  content:"";
  display:block;
  width: 34px;
  height: 2px;
  background: var(--navy);
  margin-top: 8px;
  opacity: 0.85;
}
.step p{
  color: rgba(47,60,80,0.88) !important;
  font-size: 14.5px !important;
}

/* Footer menu - authoritative */
.footer .links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer .links a{
  font-family: var(--font-head) !important;
  font-size: 18px !important;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86) !important;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1;
}
.footer .links a:hover{
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,1) !important;
  text-decoration: none !important;
}

/* Subtle scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Footer menu final lock */
.footer .links a{
  font-family: "Bebas Neue", var(--font-head) !important;
  font-size: 18px !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
}

/* Active state for Blog navigation */
.nav-links a.active { background: rgba(255,255,255,0.08); color: #fff; }
