:root {
  --bg: #0b0b0c;
  --surface: #161618;
  --surface-2: #1e1e21;
  --border: #2a2a2e;
  --text: #f5f5f3;
  --muted: #9a9a9e;
  --accent: #ff6a3d;
  --accent-dim: #4a2c1f;
  --whatsapp: #25d366;
  --radius: 14px;

  /* Layout: one container width and one side gutter for every section */
  --max-width: 1800px;
  --gutter: 32px;
  --section-y: clamp(64px, 7vw, 104px);
  --nav-h: 74px;
  --promo-h: 46px;

  /* Type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.75rem, 2.4vw, 2.25rem);
  --fs-h1: clamp(3.25rem, 6.4vw, 6.5rem);
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-padding-top: 80px; /* keeps section headings clear of the sticky nav */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

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

/* Shared container */
.hero,
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter) 0;
}

main > .section:last-child { padding-bottom: var(--section-y); }

/* Recent winners sits right below the full-screen hero, so start it sooner */
.hero + .section { padding-top: 48px; }

.section-head { margin: 0 0 32px; }

.section-head h2 {
  font-size: var(--fs-h2);
  margin: 0 0 10px;
}

.section-sub {
  color: var(--muted);
  font-size: var(--fs-md);
  max-width: 640px;
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Full-width white bar; content still lines up with --max-width */
  padding: 18px max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter)));
  background: #fff;
  color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wordmark {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--fs-base);
  font-weight: 500;
  color: #4a4a4f;
}

.site-header nav a:hover { color: var(--accent); }

.nav-cta {
  color: var(--text) !important;
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: 999px;
  padding: 8px 18px;
}

.nav-cta:hover { background: var(--surface-2); }

/* Promo banner: scrolls end to end under the nav */
.promo-bar {
  display: block;
  height: var(--promo-h);
  overflow: hidden;
  background: var(--accent);
  color: var(--bg);
}

.promo-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: promo-scroll 40s linear infinite;
}

.promo-bar:hover .promo-track { animation-play-state: paused; }

.promo-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.promo-item {
  padding: 0 28px;
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-item strong {
  margin-left: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg);
  color: #fff;
}

.promo-sep { font-size: var(--fs-sm); }

@keyframes promo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-track { animation: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-base);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #14100d;
}

.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

/* Hero: headline/copy on the left, 4:3 intro video on the right.
   Fills the first screen (minus the sticky nav and promo bar) so Recent winners starts below the fold. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  align-content: center;
  gap: 64px;
  max-width: 1320px; /* keeps text and video close together on wide screens */
  min-height: calc(100vh - var(--nav-h) - var(--promo-h));
  min-height: calc(100svh - var(--nav-h) - var(--promo-h));
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero .eyebrow {
  font-size: var(--fs-base);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 28px;
}

.hero .btn {
  padding: 16px 32px;
  font-size: var(--fs-md);
}

.hero-tagline {
  color: var(--muted);
  font-size: 1.4rem;
  max-width: 680px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: 440px; /* intro clip, kept modest */
  justify-self: end;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stack on tablets/phones: text centered on top, video below */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-top: var(--section-y);
    padding-bottom: 0;
    text-align: center;
  }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-video { max-width: 560px; justify-self: center; }
}

/* Work grids */
.work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1280px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* Recent winners: 4 larger cards */
.winners-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

/* Highlighted monthly label, e.g. "Month of October's Ad Winners!" */
.winners-month {
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: var(--fs-base);
  font-weight: 800;
  box-shadow: 0 0 24px rgba(255, 106, 61, 0.45);
}

.winners-eyebrow {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.winners-grid { grid-template-columns: repeat(4, 1fr); }

.winners-grid .work-card { border-color: var(--accent-dim); }

@media (max-width: 1024px) {
  .winners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .winners-grid { grid-template-columns: 1fr; }
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.work-card .video-frame {
  --player-scale: 0.6;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

/* Drive's player crops the video when its iframe is narrow, so render it
   larger than the card and scale it down to fit. */
.work-card .video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / var(--player-scale));
  height: calc(100% / var(--player-scale));
  border: 0;
  transform: scale(var(--player-scale));
  transform-origin: 0 0;
}

/* Blocks clicks on Google Drive's built-in "open file" icon without visually covering it */
.work-card .video-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  z-index: 2;
}

.work-card .meta {
  padding: 12px 16px 14px;
}

.work-card .tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Results */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.results-grid img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* About */
.about {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.about-name {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin: 0 0 8px;
}

.about-title {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-md);
  margin: 0 0 32px;
}

.about-quote {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin: 0 0 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.stat-label {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.about-body p {
  color: var(--muted);
  font-size: var(--fs-base);
  margin: 0 0 24px;
}

.about-subhead {
  font-size: var(--fs-h3);
  margin: 48px 0 20px;
}

.about-checklist {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-checklist li {
  color: var(--muted);
  font-size: var(--fs-base);
  padding-left: 30px;
  position: relative;
}

.about-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 0 48px;
}

.about-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.about-item h4 {
  font-size: var(--fs-base);
  margin: 0 0 8px;
}

.about-item p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: 0;
}

.about-closing {
  color: var(--muted);
  font-size: var(--fs-base);
  margin: 0 0 12px;
}

.about-cta {
  font-size: var(--fs-md);
  font-weight: 600;
  margin: 0;
}

.about-cta a {
  color: var(--accent);
  text-decoration: underline;
}

/* Contact */
.contact {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
  text-align: center;
}

.quote-line {
  font-size: var(--fs-h2);
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto 12px;
}

.hero-attribution {
  color: var(--muted);
  font-style: italic;
  font-size: var(--fs-md);
  margin: 0 0 32px;
}

.hero-sub {
  color: var(--muted);
  font-size: var(--fs-md);
  max-width: 620px;
  margin: 0 auto 40px;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.whatsapp-cta,
.email-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.whatsapp-cta {
  background: var(--whatsapp);
  color: #06210f;
}

.whatsapp-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }

.email-cta {
  border: 1px solid var(--border);
  color: var(--text);
}

.email-cta:hover { transform: translateY(-1px); border-color: var(--accent); }

.whatsapp-icon svg { width: 28px; height: 28px; display: block; }

.email-icon svg { width: 26px; height: 26px; display: block; color: var(--accent); }

.whatsapp-text,
.email-text { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }

.whatsapp-text strong,
.email-text strong { font-size: var(--fs-md); }

.whatsapp-text span,
.email-text span { font-size: var(--fs-sm); opacity: 0.85; }

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-icon svg { width: 22px; height: 22px; display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--gutter);
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.site-footer p { margin: 0; }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header nav { gap: 16px; font-size: var(--fs-sm); }
  .section-head { margin-bottom: 24px; }
}
