@font-face {
  font-family: Good Times;
  src: url("../fonts/Good-Times-Rg.otf") format("opentype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --surface: #101525;
  --surface-raised: #1b2440;
  --accent: #29c9ed;
  --ink: #f4f7fd;
  --muted: #c6cee0;
  --outline: #536887;
  --width: 1170px;
  font: 16px / 1.6 "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--surface); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.skip-link:focus { position: fixed; z-index: 9; inset: 1rem auto auto 1rem; padding: .7rem; background: #000; }
.shell { width: min(calc(100% - 3rem), var(--width)); margin-inline: auto; }
.button {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content;
  min-height: 42px; padding: .55rem 1rem; color: #071727; background: var(--accent);
  font-weight: 700; border: 1px solid transparent; border-radius: 8px; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button.outline { background: transparent; border-color: var(--outline); color: var(--ink); }
.eyebrow {
  color: var(--accent); text-transform: uppercase; font-weight: 700; letter-spacing: .12em;
  font-size: .8rem; margin-bottom: .8rem;
}
.preview-bar { padding: .45rem 1.5rem; display: flex; gap: 1rem; background: #573523; }
.site-header {
  position: sticky; z-index: 5; top: 0; background: #101522f5; border-bottom: 1px solid #ffffff17;
}
.nav-bar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(136px, 18vw, 202px); height: 48px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(.65rem, 1.3vw, 1.4rem); }
.primary-nav > a:not(.button), .services-menu > summary {
  text-decoration: none; font-size: .88rem; font-weight: 700; letter-spacing: .035em;
}
.primary-nav a[aria-current="page"], .services-menu[open] > summary { color: var(--accent); }
.social-links { display: flex; gap: .55rem; align-items: center; }
.social-links > * {
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid #ffffff40; border-radius: 50%;
}
.social-links > span { opacity: .55; }
.social-links img { object-fit: contain; }
.mobile-toggle { display: none; }
.services-menu > summary { cursor: pointer; }
.mega-menu {
  position: absolute; top: 100%; right: max(1.5rem, calc((100% - var(--width)) / 2));
  width: min(calc(100vw - 3rem), 760px); padding: 1.5rem;
  border: 1px solid var(--outline); border-radius: 0 0 14px 14px;
  background: linear-gradient(135deg,#111a31,#21435a); box-shadow: 0 1rem 2rem #0005;
}
.mega-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: .8rem; }
.mega-menu a { display: block; text-decoration: none; padding: .2rem 0; }
.mega-menu a:hover { text-decoration: underline; }
.menu-group, .overview-link { font-weight: 700; color: var(--accent); }
.hero { position: relative; display: grid; min-height: 370px; align-content: center; overflow: hidden; isolation: isolate; }
.hero-home { min-height: clamp(530px, 72vh, 860px); }
.hero-image, .hero-image img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#080c17ed 0%,#080c1790 47%,#080c1733 100%); }
.hero-inner { padding-block: 3.5rem; }
.hero h1 { font: clamp(2.25rem, 5vw, 4.8rem) / 1.12 "Good Times", "Segoe UI", sans-serif; max-width: 16ch; }
.hero p:not(.eyebrow) { color: #edf3fb; margin-block: 1.3rem; max-width: 56ch; }
.hero-controls { display: flex; gap: .5rem; margin-top: 1rem; }
.hero-controls button { min-width: 32px; min-height: 32px; border: 0; background: transparent; }
.hero-controls span { display: block; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: #c6cee0; }
.hero-controls button[aria-pressed=true] span { background: var(--accent); }
.site-section { padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.site-section + .site-section { border-top: 1px solid #ffffff17; }
.site-section h2 + p, .section-copy { margin-top: .9rem; }
.copy { white-space: pre-line; color: var(--muted); }
.section-copy { max-width: 78ch; }
.site-section > .button { margin-top: 1rem; }
.section-art { max-height: 400px; object-fit: contain; object-position: left; margin-top: 1rem; }
.text-grid, .spotlight-grid, .work-grid { display: grid; gap: 1rem; margin-top: 1.4rem; }
.text-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.spotlight-grid, .work-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.spotlight {
  position: relative; min-height: 170px; aspect-ratio: .68; isolation: isolate; overflow: hidden;
  background: var(--surface-raised); border: 1px solid var(--outline); border-radius: 12px;
}
.spotlight img, .spotlight::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.spotlight img { object-fit: cover; }
.spotlight::after { content: ""; background: linear-gradient(transparent 56%,#080e1c); }
.spotlight h3 { position: absolute; inset: auto .75rem 1rem; text-align: center; }
.spotlight a { text-decoration: none; }
.spotlight a::after { content: ""; position: absolute; inset: 0; }
.text-card { min-width: 0; padding: 1.15rem; margin: 0; background: var(--surface-raised); border: 1px solid var(--outline); border-radius: 12px; }
.text-card p, .text-card .copy { margin-top: .75rem; }
.card-number, .metric { display: block; color: var(--accent); margin-bottom: .5rem; font-weight: 700; }
.metric { font-size: 2rem; }
.card-media { max-width: 100%; max-height: 110px; margin-bottom: .75rem; }
.split-section { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0,1fr); align-items: center; gap: 1rem; }
.logo-list { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 1.4rem 0 0; }
.logo-list li {
  display: grid; place-items: center; min-width: 110px; height: 76px; padding: .6rem;
  background: var(--surface-raised); border-radius: 10px; border: 1px solid #ffffff25;
}
.logo-list img { width: 90px; height: 53px; object-fit: contain; }
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(264px, calc((100% - 2rem) / 3)); overflow-x: auto;
  gap: 1rem; margin-top: 1.4rem; padding: 4px 4px 14px; scroll-snap-type: x proximity; }
.testimonials figure { scroll-snap-align: start; }
.testimonials figcaption small { display: block; color: var(--muted); }
.testimonials blockquote { margin: .9rem 0; }
.avatar { object-fit: cover; border-radius: 50%; margin-bottom: .5rem; }
.category-cards { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.category-card {
  min-height: 225px; position: relative; display: flex; align-items: center; justify-content: end;
  overflow: hidden; isolation: isolate; padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--outline); border-radius: 14px; background: #142239;
}
.category-card:nth-child(even) { justify-content: start; }
.category-card picture, .category-card img, .category-card::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.category-card img { object-fit: cover; }
.category-card::after { content: ""; z-index: -1; background: linear-gradient(90deg,transparent,#091522d9 62%); }
.category-card:nth-child(even)::after { background: linear-gradient(270deg,transparent,#091522d9 62%); }
.category-card > div { width: min(50%, 430px); }
.category-card h3 { font-size: clamp(1.25rem, 2vw, 1.9rem); }
.category-card p { margin-block: .55rem .85rem; }
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.45rem; }
.filter-pills a { padding: .35rem .75rem; border: 1px solid var(--outline); border-radius: 20px; font-size: .88rem; text-decoration: none; }
.filter-pills a[aria-current=page] { color: #071921; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.work-card { min-width: 0; overflow: hidden; border: 1px solid var(--outline); border-radius: 10px; background: var(--surface-raised); }
.work-card img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.work-card > div { padding: .75rem; }
.work-card h3 { font-size: 1rem; }
.load-more { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.lightbox { max-width: min(94vw, 1200px); max-height: 94vh; padding: 1rem; background: #101828; color: white; border: 1px solid var(--outline); border-radius: 12px; }
.lightbox::backdrop { background: #03050be6; }
.lightbox img { width: auto; max-width: 100%; max-height: 75vh; margin: auto; object-fit: contain; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .4rem; }
.lightbox h2 { font-size: 1.1rem; }
.lightbox button { background: var(--surface-raised); color: white; border: 1px solid var(--outline); padding: .35rem .65rem; border-radius: 6px; }
.contact-form { max-width: 650px; display: grid; gap: .8rem; margin-top: 1.2rem; }
.contact-form label { display: grid; gap: .25rem; }
.contact-form input:not([type=checkbox]), .contact-form textarea, .contact-form select {
  width: 100%; background: #0d182a; border: 1px solid var(--outline); border-radius: 8px; padding: .55rem .75rem; color: var(--ink);
}
.consent label { display: inline-flex; align-items: center; }
.form-status { padding: .75rem 1rem; border: 1px solid var(--outline); margin-block-start: 1rem; }
.site-footer { background: #0b1020; border-top: 1px solid #ffffff20; padding-block: 3rem 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,minmax(0,1fr)); gap: 1.35rem; }
.footer-grid nav { display: grid; align-content: start; gap: .4rem; }
.footer-grid h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.footer-grid nav a { font-size: .93rem; color: var(--muted); text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-grid .social-links { margin-block: .6rem; }
.copyright { border-top: 1px solid #ffffff1c; padding-top: 1rem; margin-top: 2rem; color: var(--muted); font-size: .88rem; }
.chat { position: fixed; z-index: 4; inset: auto 10px 18px auto; display: grid; gap: .5rem; }
.chat a { display: grid; place-items: center; min-width: 42px; min-height: 42px; border-radius: 50%; background: #15263b; box-shadow: 0 2px 6px #0004; }
@media (max-width: 900px) {
  .shell { width: min(calc(100% - 2rem), var(--width)); }
  .nav-bar { flex-wrap: wrap; min-height: 68px; }
  .mobile-toggle { display: block; border-radius: 7px; border: 1px solid var(--outline); color: var(--ink); background: #111a2b; padding: .35rem .75rem; }
  .primary-nav { display: none; width: 100%; gap: .75rem; padding: .4rem 0 1rem; }
  .primary-nav.is-open { display: grid; max-height: 74vh; overflow-y: auto; }
  .mega-menu { position: static; width: auto; margin-top: .5rem; padding: 1rem; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .text-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .hero { min-height: 310px; }
  .hero-home { min-height: 520px; align-content: end; }
  .hero::after { background: linear-gradient(0deg,#070c17f5,#080d1760 70%); }
  .hero-inner { padding-block: 2rem; }
  .mega-groups { grid-template-columns: 1fr; gap: .65rem; }
  .spotlight-grid, .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .text-grid, .split-section { grid-template-columns: 1fr; }
  .category-card { min-height: 244px; align-items: end; }
  .category-card > div { width: 100%; }
  .category-card::after, .category-card:nth-child(even)::after { background: linear-gradient(0deg,#091421f5,transparent 85%); }
  .chat { position: static; display: flex; justify-content: center; background: #0b1020; padding: 0 1rem 1rem; }
}

@media (min-width: 641px) {
  .hero-category .hero-content{width:min(47%, 510px);margin-inline-start:auto}
  .hero-category::after{background:linear-gradient(270deg,#080c17e0,#080c1730 75%)}
  .hero-category h1{font-size:clamp(1.65rem,3.8vw,3.55rem);max-width:17ch}
}
.testimonial-controls{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1rem}
