/* ============================================================
   MIND SHIFT — CINEMATIC REBUILD
   Inspired by red.com / shotdeck.com / territorystudio.com
   Dark, near-black, clean sans, generous negative space
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --bg-3: #131313;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --text: #f4f4f4;
  --muted: #8a8a8a;
  --dim: #5a5a5a;
  --accent: #ff1f2d;          /* RED red */
  --accent-hover: #ff4751;
  --max: 1600px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--text); text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

.skip-to-main {
  position: absolute; top: -100px; left: 0;
  background: var(--accent); color: #fff; padding: .75rem 1rem; z-index: 9999;
}
.skip-to-main:focus { top: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 3.25rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--muted); font-size: 1rem; line-height: 1.7; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

.secondary-text { color: var(--muted); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container-wide {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: clamp(4rem, 10vh, 8rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vh, 5rem) 0; }

.text-center { text-align: center; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================================
   NAV
   ============================================================ */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s ease, border-color .3s ease;
}

header.scrolled {
  background: rgba(5,5,5,0.92);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  line-height: 0;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity .3s ease;
}
.logo:hover { color: var(--accent); }
.logo:hover img { opacity: .8; }
@media (max-width: 640px) {
  .logo img { height: 36px; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  position: relative;
  padding: .25rem 0;
}
.nav-menu a:hover { color: var(--accent); }

.nav-menu a:not(.social-icon):after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s ease;
}
.nav-menu a:not(.social-icon):hover:after { width: 100%; }

.social-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.social-links a {
  color: var(--dim);
  font-size: 0.95rem;
}
.social-links a:hover { color: var(--accent); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: .35rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 1.6rem; height: 1.5px;
  background: #fff;
  transition: all .3s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.7,0,.3,1);
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu a { font-size: 1.5rem; letter-spacing: .1em; }
  .social-links { border-left: 0; padding-left: 0; margin-top: 1rem; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(.4rem, .4rem); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(.4rem, -.4rem); }
}

/* ============================================================
   HERO SLIDER (cinematic, full-bleed)
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

/* Interior page hero — shorter, single static image */
.hero-page {
  height: clamp(420px, 60vh, 620px);
  min-height: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.9) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-page .hero-content {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) clamp(2.5rem, 6vh, 4rem);
  max-width: var(--max);
  margin: 0 auto;
}
.hero-page .hero-content h1 {
  margin-bottom: 1rem;
  max-width: 22ch;
}
.hero-page .hero-content p,
.hero-page .hero-content .subtitle {
  max-width: 60ch;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* gradient overlays for legibility */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) clamp(3rem, 8vh, 6rem);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-content .eyebrow {
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}

.hero-content h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .9s .35s ease forwards;
}

.hero-content .quote {
  max-width: 540px;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1s .55s ease forwards;
}

.hero-content .quote .secondary-text {
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-content .btn {
  opacity: 0;
  animation: fadeUp 1s .75s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line-strong);
  width: 56px; height: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.hero-arrow.prev { left: var(--pad); }
.hero-arrow.next { right: var(--pad); }

.hero-arrow svg { width: 18px; height: 18px; }

/* slider dots / progress */
.hero-dots {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: clamp(3rem, 8vh, 6rem);
  display: flex;
  gap: .65rem;
  align-items: center;
}

.hero-dot {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.25);
  border: 0; padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hero-dot.active {
  background: rgba(255,255,255,0.25);
}
.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  width: 0;
  animation: dotProgress 6s linear forwards;
}
@keyframes dotProgress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-counter {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  bottom: clamp(3rem, 8vh, 6rem);
  font-size: .75rem;
  letter-spacing: .25em;
  color: var(--muted);
  font-weight: 500;
}
.hero-counter .current { color: #fff; }

@media (max-width: 700px) {
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow.prev { left: .75rem; }
  .hero-arrow.next { right: .75rem; }
  .hero-dots { display: none; }
  .hero-counter { bottom: 1.5rem; }
  .hero-content { padding-bottom: 4rem; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  background: transparent;
  color: #fff;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: #fff;
  color: var(--bg);
  border-color: #fff;
}

.btn::after {
  content: '→';
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover::after { transform: translateX(4px); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--accent);
}
.btn-link:hover { color: var(--accent); }
.btn-link::after {
  content: '→';
  transition: transform .25s ease;
}
.btn-link:hover::after { transform: translateX(4px); }

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */

.section h2 { margin-bottom: 1rem; }
.section .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 3rem;
  max-width: 800px;
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* alt section background */
.bg-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ============================================================
   VIDEO BLOCKS
   ============================================================ */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-3);
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-item h3 {
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}

/* feature video block (BURN) */
.feature-video {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.feature-video .video-wrapper { padding-bottom: 42%; }

@media (min-width: 1000px) {
  .feature-video {
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 4rem;
  }
}

/* ============================================================
   SERVICES (grid)
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
  position: relative;
}
.service-card:hover { background: var(--bg-2); }
.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  letter-spacing: .05em;
}
.service-card p { font-size: .95rem; margin-bottom: 1.25rem; }
.service-card .num {
  display: block;
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: .3em;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ============================================================
   PROJECTS GRID
   ============================================================ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  display: block;
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  color: #fff;
  transition: transform .35s ease;
}
.project-card:hover { transform: translateY(-4px); color: #fff; }

.project-card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #050505;
  overflow: hidden;
}
.project-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.project-card-image.fill img { object-fit: cover; }
.project-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}

.project-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  z-index: 2;
}
.project-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: .35rem;
  letter-spacing: .02em;
}
.project-card-content .tagline {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.45;
}
.project-card-content .btn-link {
  font-size: .7rem;
  border-bottom-color: var(--accent);
}

/* ============================================================
   OVERHAUL CALLOUT
   ============================================================ */

.overhaul-callout {
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../images/mindshift-bg.jpg');
  background-size: cover;
  background-position: center 18%;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.overhaul-callout h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}
.overhaul-callout p {
  max-width: 60ch;
  margin: 0;
}
.overhaul-callout .btn { align-self: start; }

@media (min-width: 800px) {
  .overhaul-callout {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 3rem;
  }
  .overhaul-callout h2 { grid-column: 1; grid-row: 1; }
  .overhaul-callout p { grid-column: 1; grid-row: 2; }
  .overhaul-callout .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* ============================================================
   PHOTO GALLERIES (photography page)
   ============================================================ */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
}
.gallery-tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .7rem 1.4rem;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.gallery-tab:hover { color: var(--text); border-color: var(--muted); }
.gallery-tab.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-panel[hidden] { display: none; }
.photo-item {
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.photo-item { cursor: pointer; }
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
  filter: grayscale(15%) contrast(1.02);
}
.photo-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.05);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 2rem;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 10px 60px rgba(0,0,0,.6);
  user-select: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(0,0,0,.75); border-color: #fff; }
.lightbox-close {
  top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  font-size: 1.5rem; line-height: 1;
  border-radius: 50%;
}
.lightbox-prev, .lightbox-next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.75rem;
  border-radius: 50%;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 640px) {
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
}

/* ============================================================
   LONG-FORM SEO BLOCK
   ============================================================ */

.longform { max-width: 760px; margin: 0 auto; }
.longform p { margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.75; color: var(--muted); }
.longform h3 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.25rem; letter-spacing: .05em; }
.longform ul { color: var(--muted); margin: 0 0 1.75rem 1.5rem; }
.longform ul li { margin-bottom: .5rem; line-height: 1.7; }
.longform strong { color: #fff; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .3em;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}
.footer-nav a {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  color: var(--dim);
  font-size: 1rem;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.footer-social a:hover { color: #fff; border-color: var(--accent); background: var(--accent); }

.footer-copyright {
  color: var(--dim);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .footer-content {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
  }
  .footer-copyright {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   UTIL
   ============================================================ */

.divider {
  height: 1px;
  background: var(--line);
  margin: 4rem 0;
}

/* push body content below the fixed header on non-hero pages — safety */
.no-hero main { padding-top: 90px; }

/* ============================================================
   CARD (interior page detail blocks)
   ============================================================ */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.card h2 { margin-bottom: 1rem; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.card p { margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }

/* h2 inside section default left-align (override center where needed) */
.section h2 { letter-spacing: -0.01em; }

/* responsive iframe inside .container */
.section .container .video-wrapper { margin: 1rem 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Blog post hero image */
.blog-hero-image {
  margin: 1.5rem 0 2rem;
}
.blog-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

/* ============================================================
   CONTACT FORM — larger form, frosted-glass inputs
   ============================================================ */
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.contact-form h3 {
  font-size: 1.6rem;
  letter-spacing: .04em;
  margin-bottom: 2rem;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  margin-bottom: .6rem;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text);
}
.contact-form label span {
  color: var(--accent);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text);
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--dim);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.10);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,31,45,0.15);
}
.contact-form textarea {
  min-height: 220px;
  resize: vertical;
  line-height: 1.6;
}
.contact-form .btn {
  margin-top: .5rem;
}
@media (max-width: 600px) {
  .contact-form textarea { min-height: 180px; }
}
