/* ============================================================
   THE CURVEBALL — styles.css
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --white:      #fafafa;
  --off-white:  #f2efe8;
  --accent:     #c8f04a;
  --gray-100:   #ebebeb;
  --gray-400:   #999;
  --gray-600:   #555;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --nav-h:      72px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:  1160px;
  --radius:     12px;
  --trans:      0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--black);
  background-image: url('nextone.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  background-attachment: scroll;
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: rgba(10,10,10,0.45);
  z-index: 0;
  pointer-events: none;
}
/* Ensure all sections sit above the body overlay */
.site-header, section, footer, main {
  position: relative;
  z-index: 1;
}

/* Fonts: self-hosted, loaded via assets/fonts.css */

/* ── Utilities ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.section { padding-block: var(--section-pad); }
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3rem;
  color: var(--white);
}
.center-btn { text-align: center; margin-top: 3rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform var(--trans), background var(--trans), color var(--trans);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: var(--black);
  border: 2px solid var(--accent);
}
.btn-primary:hover { background: #d8ff5a; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-full { width: 100%; text-align: center; }

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--trans);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.97);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--accent); }
.nav-socials {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.nav-socials a {
  display: flex;
  color: rgba(255,255,255,0.5);
  transition: color var(--trans);
}
.nav-socials a:hover { color: var(--accent); }
.nav-socials svg { width: 18px; height: 18px; }

/* ── Dashboard sign-in (person icon + window) ── */
.nav-account {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 1rem;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color var(--trans), border-color var(--trans);
}
.nav-account:hover, .nav-account:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }
.nav-account svg { width: 17px; height: 17px; }
body.acct-open { overflow: hidden; }
.acct-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.acct-modal[hidden] { display: none; }
.acct-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  animation: acctFade 0.2s ease;
}
.acct-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: acctIn 0.25s ease;
}
.acct-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
}
.acct-close:hover, .acct-close:focus-visible { color: var(--white); background: rgba(255,255,255,0.08); outline: none; }
.acct-close svg { width: 18px; height: 18px; }
.acct-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.acct-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--white);
}
.acct-lead { color: var(--gray-400); margin: 0.25rem 0 1.5rem; }
.acct-card label { display: block; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
.acct-card input {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-bottom: 1.1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: #0f0f0f;
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--white);
  font: inherit;
}
.acct-card input:focus { border-color: var(--accent); outline: none; }
.acct-error { color: #ff6b6b; font-size: 15px; min-height: 1.2em; margin: -0.4rem 0 0.8rem; }
.acct-submit { border: none; cursor: pointer; font-family: inherit; }
.acct-submit:disabled { opacity: 0.6; cursor: wait; }
.acct-hint { color: var(--gray-400); font-size: 14px; margin-top: 1.5rem; }
@keyframes acctFade { from { opacity: 0; } }
@keyframes acctIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-bottom: 0;
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 10;
  will-change: transform;
  /* The title sits over the photos: let the pointer reach them (the button stays clickable) */
  pointer-events: none;
  /* eyebrow and sub keep normal white, only title blends */
}
.hero-content .btn { pointer-events: auto; }
.hero-content .hero-eyebrow,
.hero-content .hero-sub,
.hero-content .btn {
  mix-blend-mode: normal;
}
.hero-title {
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.hero-bg-logo {
  display: none;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(200,240,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,240,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  z-index: 10;
  mix-blend-mode: overlay;
  /* Boost contrast so letters feel monochrome over images */
  filter: contrast(1.1);
}
.hero-sub {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: clamp(420px, 65vh, 680px);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  will-change: transform;
}
.gallery-card {
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* Side cards — shorter, slightly tilted inward */
.gallery-card:nth-child(1) {
  width: clamp(160px, 22%, 240px);
  height: 78%;
  transform: rotate(-3deg) translateY(5%);
}
.gallery-card:nth-child(3) {
  width: clamp(160px, 22%, 240px);
  height: 78%;
  transform: rotate(3deg) translateY(5%);
}
/* Middle card — tallest, centered, upright */
.gallery-card:nth-child(2) {
  width: clamp(200px, 28%, 300px);
  height: 100%;
  transform: rotate(0deg);
  z-index: 2;
}
.gallery-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  z-index: 3;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease, filter 0.8s ease;
  /* All three in full color while the pointer is away */
  filter: grayscale(0%) brightness(1);
}

/* ── Hover a card → it keeps its color, the other two go grayscale ── */
.hero-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) img {
  filter: grayscale(100%) brightness(0.85);
}
.gallery-card:hover img {
  transform: scale(1.04);
}

/* ── About ── */
.about { background: transparent; }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.about-text p {
  color: var(--gray-400);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.accent-block {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200,240,74,0.35);
  line-height: 1.1;
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(200,240,74,0.12);
  border-radius: var(--radius);
}

/* ── Services ── */
.services { background: transparent; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--trans), transform var(--trans);
}
.service-card:hover {
  border-color: rgba(200,240,74,0.3);
  transform: translateY(-4px);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,240,74,0.08);
  border-radius: 10px;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.service-card p { font-size: 14px; color: var(--gray-400); line-height: 1.6; }

/* ── Portfolio ── */
.portfolio { background: transparent; }
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 1;
}
.portfolio-item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans);
}
.portfolio-overlay span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.04); }

/* ── Our Field ── */
.field { background: transparent; }
.field-content {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.field-content p { color: var(--gray-400); font-size: 15px; line-height: 1.8; }

/* ── Contact ── */
.contact-section { background: transparent; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.contact-info > p {
  color: var(--gray-400);
  margin-bottom: 2.5rem;
}
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
}
.contact-details svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.form-group input,
.form-group textarea {
  background: rgba(10,10,10,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--trans);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-600); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #ff5555; }
.field-error {
  font-size: 12px;
  color: #ff5555;
  min-height: 16px;
}
.form-success {
  display: none;
  font-size: 14px;
  color: var(--accent);
  text-align: center;
  padding: 0.8rem;
  border: 1px solid rgba(200,240,74,0.3);
  border-radius: 6px;
}
.form-success.visible { display: block; }

/* ── Footer ── */
.site-footer {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.footer-brand > p { font-size: 14px; color: var(--gray-600); margin-bottom: 1.5rem; }
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  color: rgba(255,255,255,0.4);
  transition: color var(--trans);
}
.footer-socials a:hover { color: var(--accent); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 0.5rem;
}
.footer-nav a {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--trans);
  width: fit-content;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--gray-600); }

/* ── YouTube Videos ── */
.videos-section { background: transparent; }

.video-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.video-featured-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10,10,10,0.55);
}
.video-featured-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-featured-info { display: flex; flex-direction: column; gap: 1.2rem; }
.video-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  width: fit-content;
}
.video-featured-info h3 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.video-featured-info p { font-size: 14px; color: var(--gray-400); line-height: 1.7; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.video-card {
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans);
}
.video-card:hover {
  border-color: rgba(200,240,74,0.3);
  transform: translateY(-4px);
}
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
}
.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Click-to-play cover (our own image; the real player loads on click) */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at center, #1c1c1c 0%, #0a0a0a 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.video-facade-play {
  position: relative;
  color: rgba(23,23,23,0.82);
  transition: color var(--trans), transform var(--trans);
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}
.video-facade-play svg path { fill: #fff; }
.video-facade--yt:hover .video-facade-play,
.video-facade--yt:focus-visible .video-facade-play { color: #FF0000; transform: scale(1.08); }
.video-facade--fb:hover .video-facade-play,
.video-facade--fb:focus-visible .video-facade-play { color: #1877F2; transform: scale(1.08); }
.video-facade:hover img { transform: scale(1.03); filter: brightness(1.05); }
.video-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.video-card-info {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.video-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.video-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}

/* ── Responsive ── */
/* ═══════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
═══════════════════════════════════ */
@media (max-width: 900px) {

  /* Nav */
  .nav-links,
  .nav-socials { display: none; }
  .hamburger { display: flex; margin-left: 0.75rem; }
  .nav-account { margin-left: auto; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
    font-size: 1.1rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-h) + 1.5rem);
    min-height: 100svh;
    padding-bottom: 3rem;
    justify-content: center;
  }
  .hero-content { bottom: auto; position: relative; padding-bottom: 2rem; }
  .hero-gallery {
    position: relative;
    top: auto; left: auto; right: auto;
    transform: none;
    height: clamp(300px, 45vh, 440px);
    width: 100%;
  }
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(3) { width: clamp(130px, 26%, 200px); }
  .gallery-card:nth-child(2) { width: clamp(160px, 32%, 240px); }

  /* Sections */
  .about-grid,
  .contact-inner,
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item--wide { grid-column: auto; aspect-ratio: 4/3; }

  /* Videos */
  .video-featured { grid-template-columns: 1fr; gap: 2rem; }
  .video-grid { grid-template-columns: 1fr 1fr; }

  /* Facebook */
  .fb-featured { grid-template-columns: 1fr; gap: 2rem; }
  .fb-grid { grid-template-columns: 1fr 1fr; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
═══════════════════════════════════ */
@media (max-width: 600px) {

  /* Base */
  :root { --nav-h: 60px; }
  body { font-size: 15px; }

  /* Nav */
  .nav-logo { font-size: 14px; }
  .nav-links.open { padding: 1.5rem 1.25rem; gap: 1.25rem; font-size: 1rem; }

  /* Hero — stack vertically, text below cards */
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-inline: 1rem;
    min-height: 100svh;
    gap: 1.5rem;
  }
  .hero-content {
    position: relative;
    bottom: auto;
    order: 2;
    padding-bottom: 1.5rem;
    transform: none !important;
  }
  .hero-title { font-size: clamp(2.8rem, 13vw, 5rem); }
  .hero-sub { font-size: 11px; }
  .hero-gallery {
    order: 1;
    position: relative;
    top: auto; left: auto; right: auto;
    transform: none !important;
    height: clamp(240px, 50vw, 320px);
    gap: 8px;
    width: 100%;
  }
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(3) { width: 28%; }
  .gallery-card:nth-child(2) { width: 36%; }
  .gallery-card:nth-child(1) { transform: rotate(-2deg) translateY(4%); }
  .gallery-card:nth-child(3) { transform: rotate(2deg) translateY(4%); }

  /* Sections padding */
  .section { padding-block: 4rem 3rem; }
  .container { padding-inline: 1.25rem; }

  /* Typography */
  .section-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Videos */
  .video-grid { grid-template-columns: 1fr; }
  .video-featured { gap: 1.5rem; }
  .video-featured-embed { aspect-ratio: 16/9; }

  /* Facebook */
  .fb-grid { grid-template-columns: 1fr; }
  .fb-featured { gap: 1.5rem; }

  /* About */
  .about-image { max-height: 320px; }

  /* Contact */
  .contact-inner { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group textarea { font-size: 16px; } /* prevents iOS zoom */

  /* Footer */
  .footer-inner { text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-socials { justify-content: center; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 12px; }
}

/* ═══════════════════════════════════
   RESPONSIVE — SMALL PHONES (≤380px)
═══════════════════════════════════ */
@media (max-width: 380px) {
  .hero-title { font-size: 2.4rem; }
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(3) { width: 25%; }
  .gallery-card:nth-child(2) { width: 42%; }
}


/* ── Facebook Videos ── */
.fb-section { background: transparent; }

.fb-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.fb-featured-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.fb-featured-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.fb-featured-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #1877F2;
  padding: 6px 14px;
  border-radius: 4px;
  width: fit-content;
}
.fb-featured-info h3 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.fb-featured-info p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

.fb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.fb-card {
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans);
}
.fb-card:hover {
  border-color: #1877F2;
  transform: translateY(-4px);
}
.fb-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
}
.fb-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.fb-card-info {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fb-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1877F2;
}
.fb-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}



/* ── Hero intro: plays every time the page opens or is reloaded ──
   Uses the separate translate property so it doesn't fight the parallax, which sets transform. */
@keyframes hero-rise {
  from { opacity: 0; translate: 0 70px; }
  to   { opacity: 1; translate: 0 0; }
}
.hero .gallery-card,
.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-sub,
.hero-content .btn {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero .gallery-card:nth-child(1) { animation-delay: 0.05s; }
.hero .gallery-card:nth-child(2) { animation-delay: 0.15s; }
.hero .gallery-card:nth-child(3) { animation-delay: 0.25s; }
.hero .gallery-card:nth-child(n+4) { animation-delay: 0.35s; }
.hero-content .hero-eyebrow { animation-delay: 0.45s; }
.hero-content .hero-title   { animation-delay: 0.55s; animation-duration: 1.1s; }
.hero-content .hero-sub     { animation-delay: 0.75s; }
.hero-content .btn          { animation-delay: 0.9s; }
.no-intro .hero .gallery-card,
.no-intro .hero-content > * { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hero .gallery-card, .hero-content > * { animation: none; }
}

/* ── Scroll reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── Dashboard-driven additions ── */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.portfolio-link { display: block; width: 100%; height: 100%; }
.contact-inner--solo { grid-template-columns: 1fr; }
.contact-details a { color: inherit; text-decoration: none; }
.contact-details a:hover { color: var(--accent); }
.form-fail { text-align: center; }
.fb-frame { border: none; overflow: hidden; }
.btn-ico { margin-right: 8px; vertical-align: middle; }
