/* Jubilant Media Studios — homepage, 2026 redesign. Self-contained, no CDNs. */

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-italic-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0c0b0a;
  --bg-elev: #141210;
  --bg-card: #1a1714;
  --bg-soft: #211e1a;
  --cream: #f6f1e8;
  --cream-dim: #cfc6b8;
  --muted: #9b9286;
  --line: rgba(246, 241, 232, 0.12);
  --line-strong: rgba(246, 241, 232, 0.22);
  --orange: #f5a01a;
  --orange-hot: #ff6a12;
  --orange-soft: #f8c45a;
  --ha-gold: #d4b48a;
  --ha-ink: #10110f;
  --focus: #f5a01a;
  --radius: 1.15rem;
  --radius-sm: 0.75rem;
  --max: 72rem;
  --header: 4.5rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  padding-bottom: 0.5rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--orange);
  color: #1a1204;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 0.4rem;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.lede {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 40rem;
}

.section {
  padding: 5.5rem 0;
}

.section-head { margin-bottom: 2.5rem; max-width: 40rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-soft), var(--orange) 45%, var(--orange-hot));
  color: #1a1204;
  box-shadow: 0 8px 24px rgba(245, 160, 26, 0.22);
}

.btn-primary:hover { filter: brightness(1.05); }

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

.btn-ghost:hover { background: rgba(246, 241, 232, 0.06); }

.btn-ha {
  background: var(--ha-gold);
  color: var(--ha-ink);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(12, 11, 10, 0.92);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.brand img {
  width: 2.55rem;
  height: auto;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-dim);
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--cream); }

.nav-cta { margin-left: 0.4rem; padding-inline: 1rem; min-height: 2.5rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.25rem 0 3.25rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55vw;
  height: 55vw;
  max-width: 44rem;
  max-height: 44rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 160, 26, 0.22), rgba(255, 106, 18, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange-soft), var(--orange) 40%, var(--orange-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-art {
  position: relative;
  min-height: 22rem;
}

.hero-mark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(100%, 26rem);
  opacity: 0.95;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 23, 20, 0.7);
  font-size: 0.8rem;
  color: var(--cream-dim);
  margin-bottom: 1.25rem;
}

.hero-chip img { width: 1.35rem; height: 1.35rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.stat dt {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.stat dd {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Services */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.45rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service:hover {
  border-color: rgba(245, 160, 26, 0.45);
  transform: translateY(-3px);
  background: var(--bg-soft);
}

.service-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.service h3 { margin-bottom: 0.7rem; }

.service ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  color: var(--cream-dim);
  font-size: 0.92rem;
  flex: 1;
}

.service li { padding: 0.15rem 0 0.15rem 0.9rem; position: relative; }

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.4rem;
  height: 1px;
  background: var(--orange);
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange-soft);
}

/* HereAnswer */
.hereanswer {
  padding: 0 0 5.5rem;
  background: var(--bg-elev);
}

.ha-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 180, 138, 0.16), transparent 40%),
    linear-gradient(160deg, #161714, #0e0f0d 60%);
  border: 1px solid rgba(212, 180, 138, 0.28);
  box-shadow: var(--shadow);
}

.ha-logo { width: min(16rem, 70%); margin-bottom: 1.1rem; }

.ha-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.ha-panel .kicker { color: var(--ha-gold); }

.ha-panel p { color: var(--cream-dim); }

.ha-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.ha-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(212, 180, 138, 0.18);
  border-radius: 0.85rem;
  background: rgba(16, 17, 15, 0.5);
  color: var(--cream-dim);
}

.ha-list strong { color: var(--cream); font-weight: 600; display: block; margin-bottom: 0.15rem; }

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding: 1.3rem 1.1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 100%;
}

.process-letter {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.process-list h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.process-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

/* About */
.about { background: var(--bg-elev); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p { color: var(--cream-dim); }

.about-copy p + p { margin-top: 1rem; }

.about-photo {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-photo img { width: 100%; height: auto; object-fit: cover; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}

.why {
  padding: 1.2rem 1.15rem;
  border-top: 2px solid var(--orange);
  background: var(--bg-card);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.why p { margin: 0; font-size: 0.9rem; color: var(--cream-dim); }

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.work-card {
  grid-column: span 2;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card:nth-child(1),
.work-card:nth-child(2) { grid-column: span 3; }

.work-card:hover { transform: translateY(-3px); border-color: rgba(245, 160, 26, 0.4); }

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #111;
}

.work-card figcaption {
  padding: 0.9rem 1rem 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.work-card figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Clients */
.clients { background: var(--cream); color: #1a1714; }

.clients .kicker { color: #9a6a12; }

.clients h2 { color: #141210; }

.clients .lede { color: #4d463d; }

.clients .section-head a { color: #9a6a12; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.logo-grid li {
  list-style: none;
  margin: 0;
  background: #fff;
  border-radius: 0.85rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  border: 1px solid rgba(26, 23, 20, 0.06);
}

.logo-grid { padding: 0; margin: 0; }

.logo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.quote {
  grid-column: span 2;
  margin: 0;
  padding: 1.4rem 1.3rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote:nth-child(1),
.quote:nth-child(2) { grid-column: span 3; }

.quote h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--orange-soft);
}

.quote p { margin: 0 0 1.1rem; color: var(--cream-dim); font-size: 0.95rem; }

.quote footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.quote img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  object-fit: cover;
}

.quote cite { font-style: normal; font-weight: 600; font-size: 0.92rem; display: block; }

.quote .role { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.review-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.review-row img { width: 10rem; height: auto; border-radius: 0.4rem; }

/* Contact */
.contact { background: var(--bg-elev); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card,
.contact form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.6rem;
}

.contact dl { margin: 0; }

.contact dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1rem 0 0.25rem;
}

.contact dt:first-child { margin-top: 0; }

.contact dd { margin: 0; }

.contact a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.contact a:hover { color: var(--orange-soft); }

.field { margin-bottom: 0.9rem; }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--cream-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #100e0c;
  color: var(--cream);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 1rem;
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 0;
  border-color: var(--orange);
}

.form-note {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.35rem 0; }

.site-footer a { text-decoration: none; color: var(--cream-dim); }

.site-footer a:hover { color: var(--cream); }

.social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.social a {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.social a:hover { border-color: var(--orange); color: var(--orange); }

.legal {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.wa-float img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .ha-panel,
  .about-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-art { min-height: 16rem; order: -1; }
  .hero-mark { position: relative; top: auto; right: auto; transform: none; margin-inline: auto; width: min(70%, 18rem); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) { grid-column: span 3; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .quote,
  .quote:nth-child(1),
  .quote:nth-child(2) { grid-column: span 6; }
}

@media (max-width: 720px) {
  .wrap, .header-inner { width: min(100% - 1.5rem, var(--max)); }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(12, 11, 10, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }

  .nav-cta { margin: 0.9rem 0 0; width: 100%; }

  .service-grid,
  .process-list,
  .why-grid { grid-template-columns: 1fr; }

  .work-grid { grid-template-columns: 1fr; }
  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) { grid-column: auto; }

  .logo-grid { grid-template-columns: repeat(3, 1fr); }

  .hero { padding: 2.2rem 0 3.2rem; }
  .section { padding: 3.5rem 0; }
  .ha-panel { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

 .deg-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 0 1rem;
  border-radius: 50%;
  border: 2px solid var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.03em;
  color: var(--orange-soft);
}

@media (max-width: 720px) {
  .hero-art { display: none; }
  body { padding-bottom: 4.5rem; }
  .wa-float { width: 3rem; height: 3rem; right: 0.85rem; bottom: 0.85rem; }
  .hero { padding: 1.6rem 0 2.2rem; }
  .brand-name { font-size: 0.86rem; }
}
