:root {
  --bg: #0e0e0e;
  --panel: #181818;
  --panel-2: #222;
  --ink: #f0ede8;
  --muted: #888;
  --red: #CE2029;
  --black: #000;
  --white: #fff;
  --max: 1185px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 28%, #15110c 0%, #0b0907 58%, #060402 100%) fixed;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

/* ── STICKER-FIELD BACKDROP (built in script.js) ── */
.sticker-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sticker-field img {
  position: absolute;
  border-radius: 10px;
  transform: rotate(var(--rot, 0deg));
  filter: brightness(0.7) saturate(0.9) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65));
}

.sticker-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(8, 6, 5, 0.3) 0%, rgba(8, 6, 5, 0.62) 100%),
    rgba(8, 6, 5, 0.32);
}

/* Lift real content above the fixed backdrop */
#main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 12vw, 6.15rem);
}

h2 {
  font-size: clamp(2.2rem, 8vw, 4.9rem);
}

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0;
}

/* ── SPLASH SCREEN ── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: block;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(206, 32, 41, 0.55), rgba(0, 0, 0, 0.65));
  opacity: 0;
  transform: translateY(50%);
  transition:
    opacity 0.5s ease,
    transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.splash.is-leaving {
  transform: translate3d(0, -105%, 0);
}

.splash.is-leaving::after {
  opacity: 1;
  transform: translateY(0);
}

.splash__inner {
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.7s ease,
    transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity, transform;
}

.splash.is-leaving .splash__inner {
  opacity: 0.92;
  transform: translate3d(0, -2.5rem, 0) scale(1.02);
}

.splash__image,
.splash__image img {
  width: 100%;
  height: 100%;
}

.splash__image {
  display: block;
}

.splash__image img {
  object-fit: cover;
  animation: splash-reveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes splash-reveal {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .splash,
  .splash::after,
  .splash__inner {
    transition: none;
  }

  .splash__image img {
    animation: none;
  }
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 10;
  transform: translateY(-120%);
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(1rem);
}

/* ── HEADER — mobile default ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0e0e0e;
  border-bottom: 2px solid var(--red);
}

.top-rail {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  min-height: 64px;
}

.top-rail__image {
  display: none;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 90px;
  height: 34px;
}

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

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.site-nav {
  display: none;
  flex-direction: column;
  background: var(--panel);
  border-top: 1px solid #2a2a2a;
}

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

.site-nav a {
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  color: var(--ink);
  border-left: 3px solid transparent;
}

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

/* ── UTILITIES ── */
.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.kicker {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow {
  font-size: 1.1rem;
}

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

/* ── BUTTONS ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 140px;
  padding: 0.75rem 1.5rem;
  border: 2px solid currentColor;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button--dark {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.button--dark:hover {
  background: #a8161e;
  border-color: #a8161e;
}

.button--light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.button--light:hover {
  background: var(--white);
  color: var(--black);
}

.text-link {
  font-style: italic;
  line-height: 1.1;
  text-underline-offset: 0.2rem;
  color: var(--muted);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Soft darkening behind the hero copy so it stays legible over the stickers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(6, 5, 4, 0.78) 0%,
    rgba(6, 5, 4, 0.42) 48%,
    transparent 78%
  );
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.hero__copy h1,
.hero__copy p {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

.hero__copy {
  order: 1;
  display: grid;
  gap: 1.8rem;
}

.hero__media {
  order: 2;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(206,32,41,0.25);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* ── MISSION BAND ── */
.mission-band {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.25rem;
  overflow: hidden;
}

.mission-card {
  position: relative;
  z-index: 1;
  width: min(90vw, 860px);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 1.8rem;
  background: rgba(12, 10, 8, 0.97);
  border: 1px solid rgba(206,32,41,0.3);
  border-top: 3px solid var(--red);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.04);
}

.mission-card h2 {
  color: var(--white);
}

.mission-card p:last-child {
  max-width: 720px;
  font-size: 1.08rem;
  color: #d0ccc6;
  line-height: 1.7;
}

/* ── SERVICES ── */
.services {
  position: relative;
  overflow: hidden;
}

.services__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  background: rgba(12, 10, 8, 0.93);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid rgba(206,32,41,0.2);
  box-shadow: 0 0 80px rgba(0,0,0,0.6);
}

/* ── CTA BAND ── */
.standard-cta {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.25rem;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.standard-cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding: 4rem 2.5rem;
  max-width: 640px;
  background: rgba(12, 10, 8, 0.97);
  border: 1px solid rgba(206,32,41,0.3);
  border-top: 3px solid var(--red);
  box-shadow: 0 32px 90px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}

.standard-cta__content h2,
.standard-cta__content p {
  color: var(--white);
}

.standard-cta__content::before {
  display: none;
}

/* ── MISSION BAND ── */
.mission-band {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mission-card {
  position: relative;
  width: min(92vw, 1025px);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 1.8rem;
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  padding: 3rem 1.5rem;
  text-align: center;
}

.mission-card p:last-child {
  max-width: 760px;
  font-size: 1.05rem;
  color: #bbb;
  line-height: 1.65;
}

/* ── SERVICES SECTION HEADING ── */

.section-heading {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.section-heading--left {
  margin: 0;
  justify-items: start;
  text-align: left;
}

.section-heading p:last-child {
  max-width: 680px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: #1f1c18;
  border: 1px solid rgba(206,32,41,0.2);
  border-top: 3px solid var(--red);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card div {
  min-height: 90px;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.4rem;
}

.service-card h3 {
  color: var(--white);
}

.service-card p {
  color: #b0aca5;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── CTA BAND ── */
.standard-cta {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.standard-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25);
}

.standard-cta__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
}

.standard-cta__content::before {
  content: '';
  width: 3rem;
  height: 3px;
  background: var(--red);
  margin-bottom: 0.5rem;
}

/* ── PORTFOLIO ── */
.portfolio-intro {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.portfolio-intro .section-heading h1,
.portfolio-intro .section-heading p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.portfolio-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── CONTACT PAGE ── */
.contact-hero {
  position: relative;
  padding-bottom: 2rem;
}

.contact-hero div {
  position: relative;
  z-index: 1;
  max-width: 900px;
  display: grid;
  gap: 1.5rem;
}

.contact-hero h1,
.contact-hero p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.contact-hero h1 {
  font-size: clamp(2.6rem, 10vw, 4.9rem);
}

.contact-hero p {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.65;
}

.contact-layout {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-list h2,
.contact-card h2,
.inquiry-section h2 {
  font-size: clamp(2rem, 7vw, 3.1rem);
}

.service-list {
  padding-top: 1rem;
}

.service-list h2 {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #2a2a2a;
}

.service-list ul {
  margin: 1.5rem 0 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 1rem;
  font-size: 1.1rem;
  color: #bbb;
}

.contact-card {
  display: grid;
  gap: 0.65rem;
  padding: 2rem;
}

.contact-card--red {
  background: var(--red);
  color: var(--white);
}

.contact-card--red a {
  color: var(--white);
}

.contact-card--pale {
  align-content: center;
  justify-items: center;
  background: var(--panel);
  border: 1px solid #2a2a2a;
  text-align: center;
  padding: 2.5rem 2rem;
}

.contact-card .label {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.contact-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  margin-top: 1.25rem;
  object-fit: cover;
}

/* ── INQUIRY FORM ── */
.inquiry-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 1.5rem;
}

.inquiry-copy {
  display: grid;
  gap: 1.5rem;
}

.inquiry-copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.75rem 0 0;
}

.inquiry-copy dt {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}

.inquiry-copy dd {
  margin: 0.3rem 0 0;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  padding: 2rem;
}

.inquiry-form h3 {
  font-size: 1.85rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #333;
  background: #111;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 0;
  border-color: transparent;
}

/* ── FOOTER ── */
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  padding: 3.5rem 1.25rem 4rem;
  background: #090909;
  color: var(--ink);
  border-top: 3px solid var(--red);
}

.footer-brand img {
  width: 100px;
  height: auto;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #222;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--red);
}

.social-links a:nth-child(1) { background: #1877f2; }
.social-links a:nth-child(2) { background: #e4405f; }
.social-links a:nth-child(3) { background: #ff0000; }
.social-links a:nth-child(5) { background: #0a66c2; }

.footer-story {
  display: grid;
  gap: 1.1rem;
}

.footer-story h2,
.footer-story h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-story h3 {
  color: var(--red);
}

.footer-story p {
  font-size: 0.9rem;
  color: #777;
}

.footer-story .tagline {
  color: #555;
  font-style: italic;
  margin-top: -0.5rem;
}

.footer-legal {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #555;
}

.footer-legal a {
  color: #666;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--red);
}

/* ────────────────────────────────
   TABLET — 560px+
──────────────────────────────── */
@media (min-width: 560px) {
  .section-pad {
    padding: 5rem 1.5rem;
  }

  .hero__body {
    padding: 7rem 1.5rem 6rem;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .mission-card {
    padding: 3.5rem 3rem;
  }
}

/* ────────────────────────────────
   DESKTOP — 900px+
──────────────────────────────── */
@media (min-width: 900px) {
  .section-pad {
    padding: 7.25rem 1.25rem;
  }

  /* Header: inline nav */
  .top-rail {
    position: relative;
    display: block;
    height: 64px;
    padding: 0;
    overflow: hidden;
  }

  .header-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    position: absolute;
    inset: 0 0 0 120px;
    background: transparent;
    border: none;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .site-nav a {
    padding: 0;
    border-left: none;
    border-bottom: 2px solid transparent;
    font-size: 0.88rem;
    white-space: nowrap;
    color: #aaa;
  }

  .site-nav a[aria-current="page"],
  .site-nav a:hover {
    border-left-color: transparent;
    border-bottom-color: var(--red);
    color: var(--white);
  }

  /* Hero: two-column */
  .hero__body {
    padding: 9rem 1.25rem 8rem;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 434px);
    align-items: center;
    gap: clamp(3rem, 6vw, 8rem);
  }

  .hero__copy {
    gap: 2.2rem;
  }

  .hero__media img {
    aspect-ratio: 434 / 579;
    height: auto;
  }


  /* Services */
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Portfolio */
  .portfolio-gallery {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1rem;
  }

  .portfolio-gallery img {
    height: 390px;
    aspect-ratio: unset;
  }

  .portfolio-gallery img:first-child {
    grid-row: span 2;
    height: 100%;
    min-height: 390px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: minmax(280px, 1fr) minmax(250px, 290px) minmax(250px, 290px);
    align-items: start;
    gap: 2.5rem;
    padding-top: 2rem;
  }

  .contact-card {
    min-height: 395px;
  }

  .contact-card--pale {
    min-height: 350px;
  }

  .service-list {
    padding-top: 2.6rem;
  }

  /* Inquiry */
  .inquiry-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 3rem;
    align-items: start;
  }

  /* Footer: three-column */
  .site-footer {
    grid-template-columns: 240px minmax(300px, 1fr) 220px;
    gap: 3rem;
    padding: 5rem max(2.5rem, calc((100vw - var(--max)) / 2)) 6rem;
  }

  .footer-story {
    justify-self: center;
    text-align: center;
    max-width: 570px;
  }

  .footer-legal {
    justify-items: end;
    text-align: right;
  }
}
