/* ==========================================================================
   GIFIT — Design System
   Concept: "Frame by Frame" — a GIF is a sequence of frames, looped.
   The whole site borrows the vocabulary of film: sprocket holes, frame
   counters, loop ticks, flash-pop colour. Numbered "FRAME 0x" eyebrows are
   used deliberately because the product IS literally sequential frames.
   ========================================================================== */

:root{
  --ink:        #14121F;   /* near-black ink, primary text + borders */
  --ink-soft:   #211D2E;   /* card / alt surface on dark sections */
  --flash:      #FBF9F6;   /* warm paper white, main background */
  --flash-dim:  #F1ECE3;   /* slightly deeper paper for alt sections */
  --pink:       #FF3D7F;   /* boomerang pink — primary accent */
  --yellow:     #FFD23F;   /* flash yellow — secondary accent */
  --violet:     #6C4CF1;   /* frame violet — tertiary accent */
  --line:       #14121F;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  --radius: 22px;
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-hard-sm: 3px 3px 0 var(--ink);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--flash);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  line-height:1.08;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem,6vw,4.4rem); }
h2{ font-size:clamp(1.9rem,4vw,2.9rem); }
h3{ font-size:1.35rem; }
p{ margin:0 0 1em; }
.lede{ font-size:1.2rem; color:#4a4457; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--violet); outline-offset:3px;
}

/* -------------------------------------------------- eyebrow / frame label */
.frame-label{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--font-mono);
  font-size:.8rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--pink);
  margin-bottom:.9em;
}
.frame-label::before{
  content:"";
  width:10px; height:10px;
  background:var(--pink);
  border-radius:2px;
  display:inline-block;
}
.frame-label.on-dark{ color:var(--yellow); }
.frame-label.on-dark::before{ background:var(--yellow); }

/* -------------------------------------------------------------- buttons */
.btn{
  font-family:var(--font-display);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:.85em 1.6em;
  border-radius:999px;
  border:3px solid var(--ink);
  background:var(--yellow);
  color:var(--ink);
  box-shadow:var(--shadow-hard);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
  font-size:1rem;
}
.btn:hover{ transform:translate(-2px,-2px); box-shadow:7px 7px 0 var(--ink); }
.btn:active{ transform:translate(0,0); box-shadow:2px 2px 0 var(--ink); }
.btn.btn-pink{ background:var(--pink); color:#fff; }
.btn.btn-outline{ background:transparent; }
.btn.btn-on-dark{ border-color:var(--flash); box-shadow:5px 5px 0 var(--flash); }
.btn.btn-on-dark:hover{ box-shadow:7px 7px 0 var(--flash); }
.btn.btn-sm{ padding:.6em 1.2em; font-size:.9rem; }

/* ------------------------------------------------------------------ nav */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,249,246,.92);
  backdrop-filter:blur(8px);
  border-bottom:3px solid var(--ink);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
  max-width:var(--container); margin:0 auto;
}
.nav-logo{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.5rem;
  display:flex; align-items:center; gap:.4em;
}
.nav-logo .dot{ color:var(--pink); }
.nav-logo .logo-img{ height:38px; width:auto; display:block; }
.nav-logo .logo-img--lg{ height:46px; }
.nav-links{
  display:flex; gap:28px;
  list-style:none; margin:0; padding:0;
  font-family:var(--font-mono);
  font-size:.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.nav-links a{ position:relative; padding:6px 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:3px;
  background:var(--pink); transition:width .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width:100%; }
.nav-links a[aria-current="page"]{ color:var(--pink); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none;
  background:none; border:2px solid var(--ink); border-radius:10px;
  width:44px; height:40px; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{ width:22px; height:3px; background:var(--ink); border-radius:2px; }

@media (max-width: 880px){
  /* .site-header is position:sticky, which makes it the containing block
     for this absolutely-positioned panel — so it always starts exactly
     at the bottom of the real header (nav row + ticker), no matter how
     tall either of those end up on a given screen. No hardcoded offset. */
  .nav-links{
    position:absolute; top:100%; left:0; right:0; z-index:99;
    background:var(--flash);
    flex-direction:column; gap:0;
    padding:10px 24px 30px;
    max-height:80vh;
    overflow-y:auto;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
    font-size:1.05rem;
    border-bottom:3px solid var(--ink);
    box-shadow:var(--shadow-hard);
  }
  .nav-links.open{ opacity:1; visibility:visible; transform:translateY(0); }
  .nav-links li{ border-bottom:1px solid #e4ddd0; }
  .nav-links a{ display:block; padding:16px 4px; }
  .nav-cta .btn-sm{ display:none; }
  .nav-toggle{ display:flex; }
}

/* Belt-and-braces: whenever the mobile panel is open, stop the page
   underneath from scrolling too (JS adds this class to <body>). */
body.nav-open{ overflow:hidden; }

/* --------------------------------------------------------------- ticker */
.ticker{
  background:var(--ink); color:var(--flash);
  overflow:hidden; white-space:nowrap;
  border-bottom:3px solid var(--ink);
}
.ticker-track{
  display:inline-flex;
  animation:tick 26s linear infinite;
}
.ticker-track span{
  font-family:var(--font-mono);
  font-size:.85rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:10px 24px;
  display:inline-block;
}
.ticker-track span b{ color:var(--yellow); }
@keyframes tick{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ------------------------------------------------------------------ hero */
.hero{
  padding:64px 0 40px;
  position:relative;
  overflow:hidden;
}
.hero .wrap{
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
}
.hero-copy .btn-row{ display:flex; gap:16px; flex-wrap:wrap; margin-top:1.6em; }
.hero-media{ position:relative; }
.filmstrip{
  border:3px solid var(--ink);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-hard);
  position:relative;
  background:var(--ink);
}
.filmstrip::before, .filmstrip::after{
  content:"";
  position:absolute; left:0; right:0; height:20px;
  background-image:radial-gradient(circle, var(--flash) 4px, transparent 4.5px);
  background-size:22px 20px;
  background-repeat:repeat-x;
  background-position:6px center;
  z-index:2;
}
.filmstrip::before{ top:0; }
.filmstrip::after{ bottom:0; }
.filmstrip img{ width:100%; height:340px; object-fit:cover; }

/* Video variant of the filmstrip — same sprocket-hole frame, but sized
   by aspect ratio instead of a fixed image height. */
.filmstrip.video-strip{ background:var(--ink); }
.video-embed{ position:relative; width:100%; aspect-ratio:16/9; }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

@media (max-width:900px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero{ padding:40px 0 24px; text-align:left; }
}

/* --------------------------------------------------------------- section */
section{ padding:72px 0; }
.section-dark{ background:var(--ink); color:var(--flash); }
.section-alt{ background:var(--flash-dim); }
.section-head{ max-width:640px; margin-bottom:2.2em; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ------------------------------------------------------------- features */
.feature-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.feature-card{
  background:#fff; border:3px solid var(--ink); border-radius:18px;
  padding:24px; box-shadow:var(--shadow-hard-sm);
}
.feature-card .num{ font-family:var(--font-mono); color:var(--pink); font-size:.8rem; letter-spacing:.1em; }
.feature-card h3{ margin:.4em 0 .3em; font-size:1.1rem; }
.feature-card p{ font-size:.95rem; color:#4a4457; margin:0; }
@media (max-width:900px){ .feature-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .feature-grid{ grid-template-columns:1fr; } }

/* -------------------------------------------------------------- gallery */
.gif-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.gif-card{
  border:3px solid var(--ink); border-radius:18px; overflow:hidden;
  box-shadow:var(--shadow-hard-sm); background:#fff;
}
.gif-card img{ width:100%; height:260px; object-fit:cover; }
.gif-card .cap{ padding:12px 16px; font-family:var(--font-mono); font-size:.8rem; letter-spacing:.05em; }
@media (max-width:900px){ .gif-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .gif-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------- testimonials */
.testi-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.testi-card{
  background:var(--ink-soft); border-radius:18px; padding:22px;
  position:relative; color:#fff;
}
.testi-card .quote{ font-size:.98rem; color:#fff; }
.testi-card .who{ font-family:var(--font-mono); font-size:.78rem; color:var(--yellow); letter-spacing:.06em; text-transform:uppercase; margin-top:1em; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .testi-grid{ grid-template-columns:1fr; } }

/* ------------------------------------------------------------ areas list */
.area-pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:1.6em; }
.area-pills span{
  font-family:var(--font-mono); font-size:.82rem; letter-spacing:.04em;
  border:2px solid var(--ink); border-radius:999px; padding:8px 16px;
  background:#fff;
}

/* ------------------------------------------------------------------ faq */
.faq{ max-width:820px; margin:0 auto; }
.faq details{
  border:3px solid var(--ink); border-radius:16px; padding:18px 22px;
  margin-bottom:14px; background:#fff;
}
.faq summary{
  cursor:pointer; font-family:var(--font-display); font-weight:700; font-size:1.05rem;
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:1.6rem; color:var(--pink); line-height:1; }
.faq details[open] summary::after{ content:"–"; }
.faq details p{ margin-top:14px; color:#4a4457; }

/* ------------------------------------------------------------- packages */
.pkg-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.pkg-card{
  border:3px solid var(--ink); border-radius:var(--radius); padding:32px;
  background:#fff; box-shadow:var(--shadow-hard); position:relative;
}
.pkg-card.featured{ background:var(--yellow); }
.pkg-card .price{ font-family:var(--font-display); font-size:2.6rem; margin:.2em 0; }
.pkg-card ul{ padding-left:1.2em; }
.pkg-card li{ margin-bottom:.5em; }
.extras-table{ width:100%; border-collapse:collapse; margin-top:1em; }
.extras-table td{ padding:14px 8px; border-bottom:1px solid #ddd3c2; }
.extras-table td:last-child{ text-align:right; font-family:var(--font-mono); font-weight:700; color:var(--pink); }
@media (max-width:800px){ .pkg-grid{ grid-template-columns:1fr; } }

/* ------------------------------------------------------------------ CTA */
.cta-band{
  background:var(--violet); color:#fff; text-align:center;
  border-top:3px solid var(--ink); border-bottom:3px solid var(--ink);
}
.cta-band h2{ color:#fff; }

/* --------------------------------------------------------------- forms */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1/-1; }
label{ font-family:var(--font-mono); font-size:.8rem; letter-spacing:.05em; text-transform:uppercase; display:block; margin-bottom:6px; }
input, select, textarea{
  width:100%; padding:12px 14px; border:2px solid var(--ink); border-radius:10px;
  font-family:var(--font-body); font-size:1rem; background:#fff; color:var(--ink);
}
textarea{ resize:vertical; min-height:120px; }
.consent{ display:flex; align-items:flex-start; gap:10px; font-size:.9rem; }
.consent input{ width:auto; margin-top:4px; }
.hp-field{ position:absolute; left:-9999px; }
.form-msg{ padding:14px 18px; border-radius:12px; margin-bottom:20px; font-family:var(--font-mono); font-size:.9rem; }
.form-msg.ok{ background:#dff5e1; border:2px solid #1e9d3f; }
.form-msg.err{ background:#ffe1e1; border:2px solid #d92c2c; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }

/* ----------------------------------------------------------------- info */
.info-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.info-card{ border:3px solid var(--ink); border-radius:18px; padding:26px; background:#fff; }
.map-frame{ border:3px solid var(--ink); border-radius:18px; overflow:hidden; box-shadow:var(--shadow-hard-sm); }
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }
@media (max-width:900px){ .info-grid{ grid-template-columns:1fr; } }

/* ------------------------------------------------------------------ footer */
.site-footer{ background:var(--ink); color:var(--flash); padding:60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px; }
.footer-grid h4{ color:var(--yellow); font-size:.95rem; font-family:var(--font-mono); letter-spacing:.08em; text-transform:uppercase; }
.footer-grid ul{ list-style:none; padding:0; margin:0; }
.footer-grid li{ margin-bottom:.6em; }
.footer-grid a:hover{ color:var(--pink); }
.footer-bottom{
  border-top:1px solid #33304a; padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-family:var(--font-mono); font-size:.78rem; color:#a9a3bd;
}
.social-row{ display:flex; gap:14px; margin-top:6px; }
.social-row a{ border:2px solid var(--flash); border-radius:50%; width:36px; height:36px; display:flex; align-items:center; justify-content:center; font-size:.85rem; }
.social-row a:hover{ background:var(--pink); border-color:var(--pink); }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }

/* -------------------------------------------------------------- skip link */
.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--pink); color:#fff;
  padding:12px 18px; z-index:1000; border-radius:0 0 10px 0;
}
.skip-link:focus{ left:0; }

/* --------------------------------------------------------- pink cursor
   Only on devices with a real mouse (hover + fine pointer) and only
   when the person hasn't asked the OS for reduced motion — on touch
   devices, or with a keyboard/switch device, the native cursor/focus
   ring is left completely alone. JS adds .cursor-ready to <html> once
   it's confirmed both conditions, so nothing shifts before that check. */
.cursor-dot{ display:none; }
html.cursor-ready{ cursor:none; }
html.cursor-ready a, html.cursor-ready button, html.cursor-ready summary,
html.cursor-ready input, html.cursor-ready textarea, html.cursor-ready select{ cursor:none; }
html.cursor-ready .cursor-dot{
  display:block; position:fixed; top:0; left:0;
  width:14px; height:14px; margin:-7px 0 0 -7px;
  background:var(--pink); border-radius:50%;
  pointer-events:none; z-index:9999;
  transition:width .15s ease, height .15s ease, margin .15s ease, background .15s ease;
}
html.cursor-ready .cursor-dot.grow{
  width:34px; height:34px; margin:-17px 0 0 -17px;
  background:var(--violet); opacity:.8;
}
