/* Websites by Film It · brand: Film It Brand Book v1.0 (black / white / #0097D9, Anton + Satoshi) */

@font-face { font-family: 'Anton'; src: url('/fonts/Anton.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/Satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --ink: #050505;
  --paper: #f4f1ec;
  --blue: #0097D9;
  --grey: #b9b4ad;
  --cell: #101012;
  --line: rgba(244,241,236,.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; /* the drift must never widen the layout viewport (JUDGMENT killer 1) */ }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Satoshi', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: clip;
}
h1, h2, h3 { font-family: 'Anton', 'Arial Narrow', sans-serif; font-weight: 400; letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* content visible by default; JS sets initial states (motion-system rule) */
.reveal { opacity: 1; transform: none; }

/* ── header ─────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5,5,5,.92), rgba(5,5,5,0));
}
.wordmark { display: flex; align-items: baseline; gap: 7px; font-family: 'Anton'; font-size: 21px; }
.wm-film { color: var(--paper); letter-spacing: .06em; }
.wm-it { color: var(--blue); }
.wm-div { color: var(--grey); font-size: 13px; letter-spacing: .34em; margin-left: 4px; }
.top-phone {
  text-decoration: none; font-weight: 700; font-size: 15px;
  border: 1px solid var(--line); border-radius: 99px; padding: 10px 20px;
  transition: border-color .25s, color .25s;
}
.top-phone:hover { border-color: var(--blue); color: var(--blue); }

/* ── hero ───────────────────────────────────────── */
.hero {
  min-height: clamp(560px, 92svh, 880px); /* capped: an ultra tall viewport should not get an empty 3000px hero */
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(20px, 5vw, 72px) 60px;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(0,151,217,.16), transparent 65%),
    var(--ink);
}
.kicker {
  color: var(--blue); font-weight: 700; font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: .28em; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(52px, 8.4vw, 124px); line-height: 1.02; text-transform: uppercase; max-width: 13ch; }
.blue { color: var(--blue); }
.hero .sub { margin-top: 30px; max-width: 56ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--grey); }
.cta-row { margin-top: 44px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-alt { color: var(--grey); font-size: 15px; }

/* ── the ONE button effect: specular shine sweep ── */
.btn {
  position: relative; overflow: hidden; display: inline-block;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: clamp(16px, 1.4vw, 19px);
  padding: 18px 34px; border-radius: 10px;
}
.btn-shine::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%;
  width: 34%; transform: skewX(-22deg) translateX(-160%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}
.btn-shine:hover::after, .btn-shine:focus-visible::after { transition: transform .7s ease; transform: skewX(-22deg) translateX(520%); }
@media (prefers-reduced-motion: reduce) { .btn-shine::after { display: none; } }

/* ── the film strip ─────────────────────────────── */
.work { padding-top: clamp(60px, 9vw, 120px); }
.work-head { padding: 0 clamp(20px, 5vw, 72px); max-width: 900px; }
.work h2, .prices h2, .human h2, .ask h2 { font-size: clamp(38px, 5vw, 72px); text-transform: uppercase; }
.work .sub, .prices .sub, .ask .sub { margin-top: 16px; color: var(--grey); max-width: 52ch; }
.strip-hint { margin-top: 14px; color: var(--blue); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }

.strip-pin { margin-top: 40px; }
.strip {
  display: flex; gap: clamp(18px, 2.4vw, 34px);
  padding: 0 clamp(20px, 5vw, 72px) 26px;
  overflow-x: auto; /* native horizontal scroll = the fallback AND the touch behavior */
  scrollbar-width: thin; scrollbar-color: var(--blue) transparent;
}
.frame { flex: 0 0 auto; width: clamp(300px, 44vw, 620px); }
.cell {
  position: relative; background: var(--cell); border-radius: 10px;
  padding: 26px 12px; border: 1px solid var(--line);
  /* sprocket holes, top and bottom: the film tell */
  background-image:
    radial-gradient(circle 4px, rgba(244,241,236,.28) 3px, transparent 4px),
    radial-gradient(circle 4px, rgba(244,241,236,.28) 3px, transparent 4px);
  background-size: 34px 8px, 34px 8px;
  background-position: 8px 9px, 8px calc(100% - 9px);
  background-repeat: repeat-x, repeat-x;
}
.cell img { border-radius: 4px; }
.fr-num {
  position: absolute; top: 30px; left: 20px; z-index: 2;
  font-family: 'Anton'; font-size: 12px; letter-spacing: .2em;
  color: var(--ink); background: var(--blue); padding: 4px 9px; border-radius: 3px;
}
.fr-tag {
  position: absolute; top: 30px; right: 20px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  padding: 5px 10px; border-radius: 99px;
}
.tag-client { background: rgba(0,151,217,.18); color: #7fd0f2; border: 1px solid rgba(0,151,217,.5); }
.tag-live { background: rgba(84,214,123,.14); color: #86e0a3; border: 1px solid rgba(84,214,123,.45); }
.tag-concept { background: rgba(244,241,236,.1); color: var(--grey); border: 1px solid var(--line); }
.frame figcaption { margin-top: 16px; color: var(--grey); font-size: 15px; line-height: 1.55; }
.frame figcaption strong { display: block; color: var(--paper); font-size: 17px; margin-bottom: 4px; }

/* ── prices ─────────────────────────────────────── */
.prices { padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 72px) 0; }
.price-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px; background: #0b0b0d; }
.card-sig { border-color: rgba(0,151,217,.55); }
.card h3 { font-size: 24px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.price { font-family: 'Anton'; font-size: clamp(38px, 4vw, 52px); margin-top: 10px; }
.then { font-family: 'Satoshi'; font-weight: 500; font-size: 16px; color: var(--grey); margin-left: 8px; }
.card ul { margin-top: 22px; list-style: none; }
.card li { padding: 9px 0 9px 26px; position: relative; color: var(--paper); border-top: 1px solid rgba(244,241,236,.07); }
.card li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.fine { margin-top: 26px; color: var(--grey); font-size: 15px; max-width: 60ch; }

/* ── human ──────────────────────────────────────── */
.human {
  margin-top: clamp(90px, 12vw, 160px);
  padding: 0 clamp(20px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(28px, 5vw, 70px); align-items: center; max-width: 1200px;
}
.human-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.human-text p { margin-top: 18px; color: var(--grey); max-width: 54ch; }
.human-text p strong { color: var(--paper); }
.textlink { color: var(--blue); text-decoration-color: rgba(0,151,217,.4); text-underline-offset: 4px; }
@media (max-width: 760px) { .human { grid-template-columns: 1fr; } .human-photo { max-width: 340px; } }

/* ── ask + footer ───────────────────────────────── */
.ask { padding: clamp(90px, 12vw, 170px) clamp(20px, 5vw, 72px); }
.ask .btn { margin-top: 34px; }
footer {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line); color: var(--grey); font-size: 14px;
}
footer a { color: var(--grey); text-underline-offset: 3px; }
footer a:hover { color: var(--paper); }

/* a11y skip link */
.skip { position: fixed; left: 12px; top: -60px; z-index: 40; background: var(--blue); color: #fff;
  padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
/* mobile call bar: thumb-reach action on phones only */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; }
  .callbar a { display: block; text-align: center; background: var(--blue); color: #fff; font-weight: 700;
    padding: 16px; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
  footer { padding-bottom: 90px; }
}

/* compact header on small phones: the number must never clip */
@media (max-width: 480px) {
  .wm-div { display: none; }
  .wordmark { font-size: 18px; }
  .top { padding: 14px 16px; }
  .top-phone { font-size: 13px; padding: 8px 13px; }
  .then { display: block; margin-left: 0; margin-top: 4px; }
}

/* live-build links: the tap of proof (JUDGMENT killer 3) */
.frame-link { display: inline-block; margin-top: 8px; color: var(--blue); font-weight: 700;
  text-decoration: none; border-bottom: 1px solid rgba(0,151,217,.45); padding-bottom: 1px; }
.frame-link:hover { border-bottom-color: var(--blue); }
/* the last frame must be fully reachable on mobile */
.strip::after { content: ""; flex: 0 0 clamp(20px, 5vw, 72px); }

/* ghost secondary: the texter's path (JUDGMENT killer 3) */
.btn-ghost { display: inline-block; color: var(--paper); text-decoration: none; font-weight: 700;
  font-size: clamp(15px, 1.3vw, 18px); padding: 17px 26px; border: 1.5px solid rgba(244,241,236,.35);
  border-radius: 10px; transition: border-color .25s, color .25s; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 700px) {
  .callbar { display: flex; gap: 8px; }
  .callbar .cb-call { flex: 1; display: block; text-align: center; background: var(--blue); color: #fff;
    font-weight: 700; padding: 16px; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
  .callbar .cb-sms { flex: 0 0 auto; display: block; text-align: center; background: #16161a; color: var(--paper);
    font-weight: 700; padding: 16px 22px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line); }
}
