/* ============================================================
   Jump Cutters Video — documentary editorial theme
   Clean, calm, photo/footage-forward. Serif display + sans body.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --paper:     #ffffff;
  --paper-2:   #f6f5f2;   /* warm off-white */
  --paper-3:   #efede7;
  --ink:       #1a1a18;
  --ink-soft:  #5c5c57;
  --ink-faint: #8d8d86;
  --line:      #e6e3dc;
  --line-2:    #d8d4cb;
  --accent:    #2c649f;   /* brand blue, sampled from the logo */
  --accent-2:  #1e4d7e;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --maxw:  1180px;
  --radius: 4px;
  --ease:  cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); opacity: .6; }
.eyebrow.center::before { display: none; }

.lead { font-size: 20px; color: var(--ink-soft); line-height: 1.65; font-family: var(--sans); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .12s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; color: var(--ink); font-size: 15px;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px; transition: color .2s, border-color .2s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 14px rgba(0,0,0,.05); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.brand-icon { height: 40px; width: auto; display: block; }
.brand-word { height: 14px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 8px 15px; border-radius: var(--radius); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4.8vw, 52px); margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--ink-soft); }
.bg-2 { background: var(--paper-2); }

/* ---------- Documentary hero ---------- */
.hero-doc { position: relative; height: 90vh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; background: #111; }
.hero-doc video, .hero-doc .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-doc::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 42%, rgba(0,0,0,0) 78%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,.6) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: 80px; color: #fff; text-shadow: 0 1px 22px rgba(0,0,0,.45); }
.hero-content .eyebrow { color: #fff; }
.hero-content .eyebrow::before { background: #fff; }
.hero-content h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 7vw, 86px); line-height: 1.02; letter-spacing: -0.02em; max-width: 17ch; margin-bottom: 26px; }
.hero-content .lead { color: rgba(255,255,255,.85); max-width: 52ch; margin-bottom: 34px; font-size: clamp(18px,2.1vw,21px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Marquee ---------- */
.marquee { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-label { text-align: center; color: var(--ink-faint); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.marquee-track { display: flex; align-items: center; gap: 0; width: max-content; will-change: transform; }
.marquee-track.go { animation: scroll-x 42s linear infinite; }
.marquee-track > * { flex: none; margin-right: 64px; }
.marquee-track span { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: .01em; color: var(--ink-faint); white-space: nowrap; }
.client-logo { height: 34px; width: auto; max-width: 175px; object-fit: contain; opacity: .7; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.client-logo:hover { opacity: 1; filter: none; }
/* square / stacked logos need more height to match the wordmarks optically */
.client-logo.sq { height: 48px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Editorial intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.text-left { grid-template-columns: 1.05fr 1fr; }
.split h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 20px; }
.split p { color: var(--ink-soft); margin-bottom: 18px; font-size: 18px; }

/* ---------- Service overview cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper); padding: 40px 34px; transition: background .25s; display: flex; flex-direction: column; }
.card:hover { background: var(--paper-2); }
.card h3 { font-size: 26px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; flex: 1; }

/* ---------- Work / portfolio ---------- */
.work-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-item { cursor: pointer; }
.work-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); background-size: cover; background-position: center; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-item:hover .work-thumb img { transform: scale(1.045); }
.work-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.5)); opacity: 0; transition: opacity .3s; }
.work-item:hover .work-thumb::after { opacity: 1; }
.work-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; opacity: 0; transform: scale(.92); transition: opacity .3s, transform .3s var(--ease); z-index: 2; }
.work-item:hover .work-play { opacity: 1; transform: scale(1); }
.dur { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: 3px 8px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.work-meta { padding-top: 18px; }
.work-meta .tag { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.work-meta h3 { font-size: 22px; margin: 7px 0 5px; }
.work-meta p { color: var(--ink-soft); font-size: 15px; }

.work-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.work-feature .work-meta { padding-top: 0; }
.work-feature .work-meta h3 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; }
.work-feature .work-meta p { font-size: 18px; margin-bottom: 24px; }

/* category group heading */
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 22px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.cat-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cat-head .count { font-family: var(--sans); font-size: 14px; color: var(--ink-faint); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); }
.stat { padding: 8px 32px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(44px, 6vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.stat .num .accent { color: var(--accent); }
.stat .label { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }

/* ---------- Quote ---------- */
.quote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(26px, 3.8vw, 40px); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 28px; }
.quote .cite { font-family: var(--sans); font-weight: 600; font-size: 15px; }
.quote .cite span { display: block; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }

/* ---------- Services detail (production types) ---------- */
.svc-section { padding: 96px 0; border-top: 1px solid var(--line); }
.svc-intro { max-width: 720px; margin-bottom: 56px; }
.svc-intro h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 18px; }
.svc-intro .lead { font-size: 19px; }

.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.prod {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; background: var(--paper); display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
}
.prod:hover { border-color: var(--line-2); box-shadow: 0 12px 36px rgba(0,0,0,.05); }
.prod .prod-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.prod h3 { font-size: 23px; }
.prod .len { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.prod .desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 22px; }
.prod ul { list-style: none; display: grid; gap: 10px; margin-top: auto; }
.prod li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
.prod li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .65; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.about-grid p { color: var(--ink-soft); margin-bottom: 22px; font-size: 18px; }
.about-grid p strong { color: var(--ink); font-weight: 600; }
.about-photo { aspect-ratio: 4/3; border-radius: var(--radius); background-size: cover; background-position: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; padding: 13px 15px; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(44,100,159,.15); }
.field textarea { resize: vertical; min-height: 140px; }
.contact-info { display: grid; gap: 28px; align-content: start; }
.contact-info .k { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 6px; }
.contact-info .v { font-family: var(--serif); font-size: 22px; }
.contact-info .v a:hover { color: var(--accent); }
.form-note { font-size: 14px; color: var(--ink-faint); margin-top: 14px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 152px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero.bg-2 { background: var(--paper-2); }
.page-hero h1 { font-size: clamp(40px, 6.5vw, 72px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 18ch; }
.page-hero .lead { max-width: 58ch; }

/* ---------- Insights listing (card grid) ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.insight-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 34px 30px; background: var(--paper);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.insight-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0,0,0,.06); }
.insight-card .ic-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.insight-card .ic-tag { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.insight-card .ic-date { font-family: var(--sans); font-size: 13px; color: var(--ink-faint); }
.insight-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink); transition: color .2s; }
.insight-card:hover h3 { color: var(--accent); }
.insight-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin-bottom: 26px; flex: 1; }
.insight-card .ic-read { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.insight-card:hover .ic-read { color: var(--accent); }
.insight-card:hover .ic-read .arrow { transform: translateX(3px); }
@media (max-width: 720px) { .insight-grid { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-head { padding: 148px 0 0; }
.article-head .container, .article-narrow { max-width: 780px; }
.article-eyebrow { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: block; }
.article-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 22px; }
.article-byline { font-family: var(--sans); font-size: 14px; color: var(--ink-faint); border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.article-body { padding-top: 4px; }
.article-body p { font-size: 18px; line-height: 1.75; margin-bottom: 24px; color: #2b2b28; }
.article-body h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; margin: 50px 0 16px; }
.article-body h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 36px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 24px 0; padding-left: 22px; }
.article-body li { font-size: 18px; line-height: 1.7; margin-bottom: 10px; color: #2b2b28; }
.article-body a { color: var(--accent); border-bottom: 1px solid var(--line-2); }
.article-body a:hover { border-color: var(--accent); }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 22px; margin: 32px 0; font-family: var(--serif); font-size: 23px; line-height: 1.4; color: var(--ink-soft); }
.article-body strong { font-weight: 600; color: var(--ink); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px 0; }
.proscons .col { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--paper); }
.proscons h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.proscons .pros h4 { color: #1f7a4d; }
.proscons .cons h4 { color: var(--accent); }
.proscons ul { margin: 0; padding-left: 18px; }
.proscons li { font-size: 15.5px; line-height: 1.55; margin-bottom: 9px; color: var(--ink-soft); }
.article-figure { margin: 34px 0; }
.article-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.article-figure figcaption { font-family: var(--sans); font-size: 13px; color: var(--ink-faint); margin-top: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.back-link:hover { color: var(--accent); }
@media (max-width: 640px){ .proscons { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d9d4; padding: 80px 0 36px; }
.site-footer .brand { color: #fff; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { color: #9b9b94; font-size: 15px; max-width: 34ch; margin-top: 18px; }
.footer-col h5 { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #7c7c75; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: #c4c4be; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); color: #7c7c75; font-size: 14px; flex-wrap: wrap; gap: 12px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,15,14,.9); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 32px; opacity: 0; transition: opacity .25s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox-inner { position: relative; width: 100%; max-width: 1080px; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.lightbox-inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-msg { color: #c4c4be; text-align: center; padding: 40px; font-size: 15px; }
.lightbox-msg strong { font-family: var(--serif); color: #fff; display: block; font-size: 22px; margin-bottom: 10px; font-weight: 500; }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; cursor: pointer; font-family: var(--sans); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.lightbox-close:hover { color: #fff; opacity: .7; }

/* ---------- Footer logo ---------- */
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo .brand-icon { height: 38px; }
.footer-logo .brand-word { height: 13px; }

/* ---------- Page transition ---------- */
.page-transition { position: fixed; inset: 0; z-index: 300; background: var(--paper); pointer-events: none; animation: pt-out .55s var(--ease) forwards; }
@keyframes pt-out { from { opacity: 1; } to { opacity: 0; } }
.page-transition.leaving { animation: none; opacity: 1; pointer-events: all; transition: opacity .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .page-transition { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track.go { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .split, .about-grid, .contact-grid, .work-feature { grid-template-columns: 1fr; gap: 40px; }
  .cards, .work-row, .prod-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .container { padding: 0 22px; }
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 22px; gap: 2px; }
  .nav-links.open a { padding: 13px; font-size: 17px; color: var(--ink-soft); }
  .cards, .work-row, .prod-grid, .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .stat:first-child { border-top: 0; }
  .hero-content { padding-bottom: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   Contact form — "message sent" confirmation animation
   ============================================================ */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
  animation: fs-rise .55s var(--ease) both;
}
@keyframes fs-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.form-success .sc-wrap { position: relative; width: 66px; height: 66px; }
/* soft ring that pulses outward once, like a sent "ping" */
.form-success .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent);
  animation: fs-ring .9s var(--ease) .18s both;
}
@keyframes fs-ring { 0% { transform: scale(.45); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }

.form-success svg.success-check { position: relative; width: 66px; height: 66px; display: block; }
.success-check .sc-circle {
  stroke: var(--accent); stroke-width: 2.5; fill: none;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: sc-draw .6s var(--ease) .05s forwards;
}
.success-check .sc-check {
  stroke: var(--accent); stroke-width: 3.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: sc-draw .4s var(--ease) .52s forwards;
}
@keyframes sc-draw { to { stroke-dashoffset: 0; } }

.form-success h3 { font-family: var(--serif); font-size: 1.55rem; margin: 0; color: var(--ink); }
.form-success p { color: var(--ink-soft); margin: 0; max-width: 42ch; }
.form-success .send-another {
  background: none; border: 0; padding: 0; margin-top: 4px;
  color: var(--accent); font: inherit; font-weight: 600; cursor: pointer;
}
.form-success .send-another:hover { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  .form-success, .form-success .ring,
  .success-check .sc-circle, .success-check .sc-check { animation: none; }
  .success-check .sc-circle, .success-check .sc-check { stroke-dashoffset: 0; }
  .form-success .ring { opacity: 0; }
}
