/* Boone Creative Co. — shared site styles */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #1E3651;
  --cream: #F9F5EE;
  --accent: #81A3C4;
  --muted: rgba(30, 54, 81, 0.65);
  --border: rgba(30, 54, 81, 0.12);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

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

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin: 0;
}

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

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Nav ---------- */
.site-nav {
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 34px; width: auto; }
.brand span {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 40px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-links a.nav-cta {
  background: var(--navy); color: var(--cream);
  padding: 9px 18px; border-radius: 2px; font-weight: 600;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: #16283c; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: #16283c; }
.btn-secondary { border-color: rgba(30,54,81,0.3); }
.btn-secondary:hover { border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 64px;
}
.hero .eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.hero p.lede {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin: 28px 0 36px;
}
.hero .actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Featured project ---------- */
.feat {
  display: block;
  margin: 0 0 96px;
}
.feat-media {
  position: relative;
  height: 560px;
  border-radius: 2px;
  overflow: hidden;
}
.feat-media video,
.feat-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transition: transform .4s ease;
  display: block;
}
.feat:hover .feat-media video,
.feat:hover .feat-media img { transform: scale(1.03); }
.feat-media .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,0.88) 0%, rgba(10,10,8,0.15) 55%, rgba(10,10,8,0) 100%);
}
.feat-media .info {
  position: absolute; left: 40px; right: 40px; bottom: 32px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  color: var(--cream);
}
.feat-media .info .tag {
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--accent); margin-bottom: 10px;
}
.feat-media .info .title { font-family: 'Fraunces', serif; font-size: 38px; }
.feat-media .info .role { font-size: 15px; color: rgba(249,245,238,0.75); margin-top: 4px; }
.feat-stats { display: flex; gap: 32px; }
.feat-stats .num { font-family: 'Fraunces', serif; font-size: 26px; }
.feat-stats .label { font-size: 12px; color: rgba(249,245,238,0.7); }

/* ---------- Work grid ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 44px; flex-wrap: wrap; gap: 12px;
}
.section-head h2 { font-size: 32px; }
.section-head .meta { font-size: 15px; color: var(--muted); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.proj-card { display: flex; flex-direction: column; gap: 16px; }
.proj-media { height: 360px; border-radius: 2px; overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.proj-card:hover .proj-media img { transform: scale(1.03); }
.proj-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.proj-info .name { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.proj-info .name img { height: 22px; width: auto; max-width: 40px; object-fit: contain; }
.proj-info .role { font-size: 14px; color: var(--muted); margin-top: 2px; }
.proj-info .arrow { font-size: 19px; color: var(--accent); flex-shrink: 0; }

.growth-stats {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.growth-stats div { font-size: 13px; color: var(--muted); }
.growth-stats strong { display: block; font-size: 15px; color: var(--navy); font-weight: 600; }

.ext-link {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
}

/* ---------- Client showcase (Wingo Network / GSC style sections) ---------- */
.client-section { padding: 72px 0; }
.client-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; margin-bottom: 12px;
}
.client-head .brandmark { height: 34px; width: auto; }
.client-head .brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.client-head .brand-name { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; color: var(--navy); }
.client-head .role { font-size: 15px; color: var(--muted); margin-top: 4px; }

.client-layout {
  display: grid; grid-template-columns: 360px 1fr; gap: 56px;
  margin-top: 36px; align-items: stretch;
}
.client-layout.wide { grid-template-columns: 480px 1fr; }
.client-photo { border-radius: 2px; overflow: hidden; height: 100%; min-height: 280px; }
.client-photo img { width: 100%; height: 100%; object-fit: cover; }

.client-copy p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.client-copy p:first-child { color: var(--navy); }

.metric-row {
  display: flex; flex-wrap: wrap; gap: 36px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
}
.metric-row .num { font-family: 'Fraunces', serif; font-size: 28px; color: var(--navy); }
.metric-row .label { font-size: 13px; color: var(--muted); max-width: 140px; }

.show-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.show-card {
  background: #fff; border: 1px solid var(--border); border-radius: 2px;
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.show-card .logo-box { height: 64px; display: flex; align-items: center; }
.show-card .logo-box img { max-height: 100%; max-width: 100%; object-fit: contain; object-position: left center; }
.show-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.show-card .stage {
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--accent);
  margin-top: auto; padding-top: 10px;
}

.callout-box {
  margin-top: 48px; padding: 32px 36px; background: var(--navy); color: var(--cream);
  border-radius: 2px;
}
.callout-box p { margin: 0; font-size: 16px; line-height: 1.75; color: rgba(249,245,238,0.9); }
.callout-box strong { color: var(--accent); }

@media (max-width: 860px) {
  .client-layout, .client-layout.wide { grid-template-columns: 1fr; }
  .client-photo { max-width: 100%; height: auto; aspect-ratio: 3 / 2; min-height: 0; }
  .show-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .show-grid { grid-template-columns: 1fr !important; }
}

section { padding: 72px 0; }
section.bordered { border-top: 1px solid var(--border); }

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}
.about-photo {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-facts { margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.about-copy p { font-size: 19px; line-height: 1.7; margin: 0 0 22px; }
.about-copy p:first-child { color: var(--navy); }
.about-copy p { color: var(--muted); }
.resume-list { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 32px; }
.resume-item { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.resume-item:last-child { border-bottom: none; }
.resume-item .when { flex: 0 0 160px; font-size: 14px; color: var(--muted); }
.resume-item .what strong { display: block; font-size: 17px; margin-bottom: 4px; }
.resume-item .what span { font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-hero { text-align: left; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info a.email {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  display: inline-block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.contact-info .phone { color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.social-list { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }

form.contact-form { display: flex; flex-direction: column; gap: 20px; }
form.contact-form label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: block; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: var(--navy);
}
form.contact-form input,
form.contact-form textarea {
  transition: border-color .25s ease, box-shadow .25s ease;
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(129,163,196,0.25);
}
form.contact-form textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Full-bleed video break ---------- */
.video-break {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.video-break video {
  width: 100%;
  height: auto;
  display: block;
}
.video-break .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  color: #F9F5EE;
  line-height: 1.4;
}
.video-break .caption .film-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
}
.video-break .caption .film-credit {
  font-size: 13px;
  color: rgba(249,245,238,0.7);
}
@media (max-width: 560px) {
  .video-break .caption { padding: 18px 20px; }
  .video-break .caption .film-title { font-size: 16px; }
}

/* ---------- Trusted By ---------- */
.trusted-by {
  background: var(--navy);
  padding: 56px 0;
}
.trusted-by .label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(249,245,238,0.55); text-align: center; margin-bottom: 40px;
}
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 44px 56px;
}
.logo-strip img {
  height: 34px; width: auto; max-width: 120px; object-fit: contain;
  opacity: 0.85;
}
@media (max-width: 700px) {
  .logo-strip { gap: 28px 32px; }
  .logo-strip img { height: 26px; max-width: 90px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--cream);
}
.site-footer .wrap { padding: 80px 32px 40px; }
.site-footer h2 { font-size: 40px; margin-bottom: 16px; }
.site-footer img.tagline { height: 20px; width: auto; opacity: 0.9; margin-bottom: 24px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 80px; flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(249,245,238,0.15);
}
.footer-bottom .social-list a { color: rgba(249,245,238,0.75); }
.footer-bottom .legal { font-size: 14px; color: rgba(249,245,238,0.5); display: flex; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { gap: 24px; font-size: 14px; }
  .work-grid { grid-template-columns: 1fr; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .feat-media { height: 440px; }
  .feat-media .info { flex-direction: column; align-items: flex-start; }
  .resume-item { flex-direction: column; gap: 6px; }
  .resume-item .when { flex: none; }
}

@media (max-width: 480px) {
  .site-nav .wrap { height: auto; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; row-gap: 12px; }
  .brand span { font-size: 16px; }
  .brand img { height: 28px; }
  .nav-links { gap: 18px; font-size: 13px; width: 100%; }
  .feat-stats { gap: 20px; width: 100%; }
  .feat-media { height: 480px; }
  .feat-media .info { left: 24px; right: 24px; bottom: 24px; }
  .feat-media .info .title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========== Modern polish: motion, sheen, depth ========== */

@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFadeIn .5s ease both; }

/* Sticky, frosted nav that gains depth on scroll */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(249,245,238,0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: box-shadow .35s ease, background-color .35s ease;
}
.site-nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(30,54,81,0.08), 0 18px 30px -22px rgba(30,54,81,0.35);
  background: rgba(249,245,238,0.92);
}

/* Cinematic zoom-in for hero media on load */
@keyframes heroSettle {
  from { transform: scale(1.07); filter: saturate(0.94); }
  to   { transform: scale(1);    filter: saturate(1); }
}
.feat-media video, .feat-media img { animation: heroSettle 1.6s cubic-bezier(.16,1,.3,1) both; }

/* Shine sweep on primary buttons */
.btn-primary, .nav-cta {
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background-color .2s ease;
}
.btn-primary::after, .nav-cta::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(249,245,238,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .65s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.btn-primary:hover::after, .nav-cta:hover::after { left: 130%; }
.btn-primary:hover, .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(30,54,81,0.45);
}
.btn-secondary { transition: transform .25s ease, border-color .2s ease, background-color .2s ease; }
.btn-secondary:hover { transform: translateY(-2px); background: rgba(30,54,81,0.04); }

/* Card lift + glow on hover */
.proj-card, .show-card {
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.proj-card:hover, .show-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -28px rgba(30,54,81,0.32);
}
.show-card:hover { border-color: rgba(30,54,81,0.22); }
.proj-media { position: relative; }
.proj-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(249,245,238,0.16), transparent 40%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.proj-card:hover .proj-media::after { opacity: 1; }

/* Trusted-by logos: brighten and lift on hover */
.logo-strip img { transition: opacity .3s ease, transform .3s ease; }
.logo-strip img:hover { opacity: 1; transform: translateY(-2px) scale(1.06); }

/* Featured tag: soft pulse to draw the eye */
@keyframes softPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.feat-media .info .tag { animation: softPulse 2.4s ease-in-out infinite; }

/* Metric numbers: gentle count-in feel via reveal */
.metric-row .num, .feat-stats .num, .growth-stats strong { transition: color .3s ease; }

/* Scroll-reveal system (driven by main.js) */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .23s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .30s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .37s; }

/* Client brand marks: subtle shimmer on the mark itself */
.brand-row img, .client-head .brandmark { transition: transform .3s ease; }
.client-head:hover .brand-row img { transform: scale(1.06); }

/* Smooth underline sweep on inline text links */
.ext-link { position: relative; }
.ext-link::before {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--accent); transition: right .3s ease;
}
.ext-link:hover::before { right: 0; }
