/* ─────────────────────────────────────────
   Seif Studios — Shared Stylesheet
   style.css
───────────────────────────────────────── */

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

:root {
  /* Colors */
  --black: #000000;
  --white: #ffffff;
  --gray-50: #f5f5f7;
  --gray-100: #e8e8ed;
  --gray-300: #a1a1a6;
  --gray-500: #6e6e73;
  --gray-700: #1d1d1f;
  --accent: #ff0000;
  --accent-hover: #dc0000;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-mono: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
  --font-dossis: 'Dossis Ele', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

  --fs-sm: 0.75rem;
  --fs-base: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: clamp(2.5rem, 7vw, 5.5rem);

  /* Spacing & Borders */
  --radius: 18px;
  --radius-sm: 12px;
  --container-max: 1080px;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  position: fixed;
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.section-eyebrow {
  display: block;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.section-sub {
  font-size: var(--fs-lg);
  color: var(--gray-500);
  max-width: 540px;
  font-weight: 4 bodies;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1080px;
  margin: 0 auto;
}

section {
  padding: 96px 24px;
}

/* ─── BUTTONS ─── */
.btn-primary,
.btn-ghost-white,
.btn-submit {
  padding: 14px 28px;
  border-radius: 980px;
  font-size: var(--fs-base);
  color: var(--gray-700);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary,
.btn-submit {
  background: var(--accent);
  color: var(--gray-700);
}

.btn-primary:hover,
.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ─── FADE-UP ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
/* ════════════════════════════════════
    SITE HEADER & NAVIGATION
   ════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0;
  /* Remove padding to allow nav background to touch edges */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

.site-header nav,
.site-header .logo-wrap {
  pointer-events: auto;
  /* Re-enable clicks for items */
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 60px;
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled nav {
  background: var(--gray-700);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 20px 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
  pointer-events: none;
  /* Prevents huge logo container from blocking navigation clicks */
}

.nav-logo {

  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  pointer-events: auto;
  /* Re-enable clicks for the logo text itself */
}

.nav-logo-text {
  display: flex;
  margin-top: 10px;
  flex-direction: column;
  align-items: flex-start;
  /* Align name and sub-text to the left */
  line-height: 0.9;
}

.nav-logo-name {
  font-size: 12rem;

  /* 2x increase */
  font-weight: 900;
  color: var(--white);
  margin-left: 0px;
  margin-top: -30px;
  /* White for visibility on video */
  letter-spacing: 15px;
  text-transform: uppercase;
}

.home .nav-logo-name {
  color: var(--black);
}

.nav-logo-sub {
  font-size: 3.5rem;
  font-family: var(--font-dossis);
  font-weight: 600;
  display: inline-block;
  transform: scaleY(1.1);
  color: var(--accent);
  letter-spacing: 36px;
  text-transform: uppercase;
  margin-top: 0px;
  margin-left: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  font-weight: 400;
  gap: 23px;
  /* Reduced gap to account for increased link padding */
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: var(--fs-lg);
  font-weight: 500;
  transition: all 0.2s;
  padding: 10px 6px;
  /* Increased hover hitbox */
  border-radius: 4px;
}

body.subpage .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}


.home .nav-links a {
  color: var(--black);
}

.nav-links a:hover,
.nav-links a.active,
body.subpage .nav-links a:hover,
body.subpage .nav-links a.active {
  color: var(--accent);
  opacity: 1;
}

.nav-sub-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;

}

.nav-sub-logo:hover {
  opacity: 0.8;
}

.nav-sub-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Removed body.subpage .nav-sub-logo color rule as it's now an image */




/* ─── SUBPAGE HEADER ─── */
body.subpage .site-header nav {
  background: var(--black);
  /* Solid black as requested */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.subpage .logo-wrap {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

.nav-cta {
  position: absolute;
  right: 60px;
  /* Match horizontal padding for edge alignment */


  background: var(--accent);
  color: var(--black);
  padding: 6px 22px;
  border-radius: 980px;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
  pointer-events: auto;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

body.home .nav-cta {
  display: none;
}

@media (max-width: 850px) {
  .nav-logo-name {
    font-size: 9rem;
    margin-top: 10px;
    letter-spacing: 8px;
  }

  .nav-logo-sub {
    font-size: 2.2rem;
    letter-spacing: 30px;
    margin-left: 10px;
  }
}

/* Hide hero logo when menu is open */
body.menu-open .logo-wrap {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
    /* Hide Use AI button on small screens to save space, or move into menu */
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 301;
    pointer-events: auto;
    position: relative;
    top: auto;
    right: auto;
    margin-right: -10px;
    width: 32px;
    height: 32px;
  }

  .menu-toggle span {
    width: 32px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    display: block;
  }

  /* Transform into X when open */
  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-sub-logo {
    position: relative;
    left: 0;
    top: auto;
    transform: none;
  }

  .nav-sub-logo img {
    height: 24px;
  }

  nav {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
  }

  .home nav {
    justify-content: flex-end;
  }

  .dot {
    display: none;
  }

  body.subpage.menu-open .menu-toggle span {
    background: var(--white);
  }
}

/* ─── MOBILE OVERLAY ─── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

body.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-links a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -1px;
}

.mobile-nav-links a.active {
  color: var(--accent);
}

.mobile-nav-cta {
  margin-top: 48px;
  width: 100%;
}

/* ════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 0;
}

.home .marquee-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.home .marquee-item {
  color: rgba(255, 255, 255, 0.8);
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 24s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ════════════════════════════════════
   HERO (index.html)
════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  /* Dynamic viewport height for mobile browsers */
  width: 100%;
  overflow: hidden;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* Move content to the bottom */
  text-align: center;
  padding: 0 24px 10vh;
  /* Reduced bottom padding to move content further down */
}

/* Ensure the center of the screen stays clear */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 10vh;
  /* Optional spacing */
}

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

.hero-carousel .hc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-carousel .hc-slide.active {
  opacity: 1;
}

.hero-carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;

  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.05) 40%,
      rgba(0, 0, 0, 0.70) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;

}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  animation: blink 2s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

#hero h1 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

#hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero carousel dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* ════════════════════════════════════
   SERVICES (index.html)
════════════════════════════════════ */
#services {
  background: var(--gray-50);
}

.services-header {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  padding: 0;
  /* Remove padding to handle inner split */
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex !important;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  min-height: 320px;
}

.service-card:hover {
  background: var(--gray-50);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.service-info {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.service-media {
  width: 40%;
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}

.service-media img,
.service-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img,
.service-card:hover .service-media video {
  transform: scale(1.05);
}

.service-num {
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gray-300);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--gray-700);
}

.service-card p {
  font-size: var(--fs-base);
  color: var(--gray-500);
  line-height: 1.6;
}

.service-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  /* Push to bottom of info area */
  padding-top: 24px;
}

.service-tool-tag {
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gray-500);
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--gray-700);
  border-radius: 980px;
  padding: 4px 12px;
}

@media (max-width: 900px) {
  .service-card {
    flex-direction: column;
  }

  .service-media {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
  }
}

/* ════════════════════════════════════
   VIDEO REEL CAROUSEL (index.html)
════════════════════════════════════ */
#reel {
  background: var(--black);
  padding: 96px 0;
  overflow: hidden;
}

.reel-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 56px;
}

.reel-header .section-title {
  color: var(--white);
}

.reel-header .section-sub {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
}

.reel-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #111;
}

.reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.reel-slide.active {
  opacity: 1;
}

.reel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  padding: 0 24px;
}

.reel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.reel-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.reel-dots {
  display: flex;
  gap: 8px;
}

.reel-dot {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.reel-dot.active {
  background: #fff;
  width: 36px;
}

.reel-counter {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  min-width: 40px;
  text-align: center;
}

/* ════════════════════════════════════
   GALLERY (index.html)
════════════════════════════════════ */
#gallery {
  background: var(--white);
  padding: 96px 24px;
}

.gallery-header {
  margin-bottom: 48px;
}

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

@media (max-width: 850px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-50);
}

.gallery-item.landscape {
  aspect-ratio: 16 / 9;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-label {
  color: #fff;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  align-items: center;
  /* Center items vertically if they have different heights */
}

@media (max-width: 850px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════
   LIGHTBOX (index.html)
════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  color: #fff;
}

/* ════════════════════════════════════
   CONTACT / WAITLIST (index.html)
════════════════════════════════════ */
#contact {
  background: var(--gray-50);
  padding: 96px 24px;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-sub {
  margin: 0 auto 48px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 12px;
}

@media (max-width: 520px) {
  .form-row {
    flex-direction: column;
  }
}

.form-field {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--gray-700);
  font-size: var(--fs-base);
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  width: 100%;
}

.form-field::placeholder {
  color: var(--gray-300);
}

.form-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(137, 217, 0, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%236e6e73' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--white);
  cursor: pointer;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: scale(1.01);
}

.form-note {
  text-align: center;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  color: var(--gray-300);
  margin-top: 12px;
}

.form-error {
  text-align: center;
  font-size: var(--fs-sm);
  color: #c0392b;
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-top: 12px;
}

.success-msg {
  display: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 500;
}

/* ─── NEW CONTACT PAGE STYLES ─── */
/* ─── MINIMALISTIC CONTACT STYLES ─── */
.contact-minimal {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-header {
  margin-bottom: 10px;
}

.contact-header .section-title {
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: -4px;
  line-height: 0.9;
}

.email-copy-wrap {
  margin-bottom: 100px;
}

.big-contact-text {
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: -2px;
  cursor: text;
  user-select: all;
  /* Makes it easy to click and copy the whole thing */
}

.contact-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}

.copy-note {
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--gray-100);
  padding-top: 40px;
  gap: 40px;
}

.social-links-minimal {
  display: flex;
  gap: 24px;
}

.about-location {
  margin-top: 0 !important;
  font-size: 0.85rem !important;
  color: var(--gray-300) !important;
  text-align: right;
}

@media (max-width: 680px) {
  .contact-footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .about-location {
    text-align: left;
  }
}

/* ════════════════════════════════════
   FOOTER (shared)
════════════════════════════════════ */
/* ─── SOCIAL ICON STYLES ─── */
.social-icon-link {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.social-icon {
  width: 28px;
  height: 28px;
  filter: grayscale(1) invert(0);
  /* Black by default */
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-icon-link:hover .social-icon {
  opacity: 1;
}

footer {
  background: var(--black);
  padding: 10px 10px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 1px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* ════════════════════════════════════
   WORKFLOW PAGE — page hero
════════════════════════════════════ */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.page-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.page-hero p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}

/* ════════════════════════════════════
   WORKFLOW PAGE — process steps
════════════════════════════════════ */
#process {
  background: var(--white);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -3px;
  color: var(--gray-100);
  line-height: 1;
  user-select: none;
  padding-top: 4px;
}

.step-num {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -3px;
  color: var(--gray-100);
  line-height: 1;
  user-select: none;
}

.step-tag {
  display: inline-block;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.step h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--gray-700);
  margin-bottom: 14px;
}

.step p {
  font-size: var(--fs-base);
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 24px;
}

.step-pill {
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 980px;
  padding: 5px 14px;
}

@media (max-width: 600px) {
  .step {
    grid-template-columns: 48px 1fr;
    gap: 0 20px;
  }

  .step-num {
    font-size: 2.5rem;
  }
}

/* ════════════════════════════════════
   WORKFLOW PAGE — apart section
════════════════════════════════════ */
#apart {
  background: var(--gray-50);
}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 768px) {
  .apart-grid {
    grid-template-columns: 1fr;
  }
}

.apart-card {
  background: var(--white);
  padding: 40px 32px;
}

.apart-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: block;
}

.apart-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.apart-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ════════════════════════════════════
   WORKFLOW PAGE — tools section
════════════════════════════════════ */
#tools {
  background: var(--black);
  padding: 96px 24px;
}

#tools .section-title {
  color: var(--white);
}

#tools .section-sub {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 56px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

@media (max-width: 850px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

.tool-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 28px;
  transition: background 0.2s;
}

.tool-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.tool-category {
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
}

.tool-card h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.tool-card p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* ════════════════════════════════════
   WORKFLOW PAGE — timeline / delivery
════════════════════════════════════ */
#delivery {
  background: var(--white);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.timeline-item {
  display: flex;
  gap: 28px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--gray-100);
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gray-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-content h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  line-height: 1.6;
}

.timeline-content .duration {
  display: inline-block;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  background: rgba(137, 217, 0, 0.1);
  border-radius: 980px;
  padding: 4px 12px;
  margin-top: 12px;
}

/* ════════════════════════════════════
   WORKFLOW PAGE — CTA band
════════════════════════════════════ */
.cta-band {
  background: var(--gray-50);
  padding: 80px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--gray-700);
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ════════════════════════════════════
   RESPONSIVE HELPERS
════════════════════════════════════ */
@media (max-width: 600px) {
  footer {
    padding: 40px 24px 28px;
  }
}

/* ── Portfolio Page Spacing ── */
body.portfolio main {
  padding-top: 240px;
  /* Show "Our Work" below the giant logo on desktop */
}

body.portfolio main>.section-eyebrow {
  padding-left: 24px;
  /* Align with sections gutter on desktop */
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* ── Mobile section spacing — portfolio page only ── */
@media (max-width: 850px) {

  /* Clear fixed mobile nav (75px) */
  body.portfolio main {
    padding-top: 96px;
  }

  /* Compact vertical spacing — scoped to portfolio only.
     !important overrides the inline style="padding-top:140px" on each section */
  body.portfolio main section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Align eyebrow with section content on mobile */
  body.portfolio main>.section-eyebrow {
    padding-left: 20px;
    margin-left: 0;
  }

  /* Tighten gallery header gap */
  body.portfolio .gallery-header {
    margin-bottom: 18px;
  }

  /* Eyebrow "Our Work" sits in main padding area — zero extra gap */
  body.portfolio main>.section-eyebrow {
    margin-bottom: 0;
  }
}

/* ════════════════════════════════════
   MOBILE SWIPE CAROUSEL (portfolio)
════════════════════════════════════ */
@media (max-width: 850px) {

  /* Hide the desktop grid on mobile */
  .gallery-grid,
  .video-grid {
    display: none !important;
  }

  /* Wrapper injected by JS around each grid */
  .mob-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    touch-action: pan-y;
    /* allow vertical scroll, capture horizontal */
    user-select: none;
    -webkit-user-select: none;
  }

  /* The sliding track */
  .mob-swiper-track {
    display: flex;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  /* Each slide */
  .mob-swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
  }

  /* Portrait (9:16) slide */
  .mob-swiper-slide.is-portrait {
    aspect-ratio: 9 / 16;
  }

  /* Landscape (16:9) slide */
  .mob-swiper-slide.is-landscape {
    aspect-ratio: 16 / 9;
  }

  /* Fill the slide */
  .mob-swiper-slide img,
  .mob-swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Label always visible at bottom */
  .mob-swiper-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
    color: #fff;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    pointer-events: none;
  }

  /* ── Arrow buttons ── */
  .mob-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .mob-swiper-btn:active {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(0.93);
  }

  .mob-swiper-btn.prev {
    left: 12px;
  }

  .mob-swiper-btn.next {
    right: 12px;
  }

  .mob-swiper-btn svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* dots and counter removed — arrows only */
}