/* Raptor Local — shared styles for all pages */
:root{
  --ink:#161616;
  --ink-soft:#33312e;
  --muted:#7d7a73;
  --muted-2:#a8a399;
  --red:#d11f26;
  --red-deep:#a3161c;
  --cream:#f7f1e6;
  --cream-deep:#f1e9da;
  --line:#e8e0d1;
  --line-dark:#2c2c2c;
  --page:#fdfbf6;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color:var(--ink-soft);
  background:var(--page);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.serif{ font-family:"Playfair Display", Georgia, serif; }
img{ max-width:100%; display:block; }
a{ color:inherit; }

.wrap{ max-width:1140px; margin:0 auto; padding:0 28px; }
.narrow{ max-width:760px; }

section{ padding:96px 0; }
.eyebrow{
  font-size:12px; font-weight:700; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--red); margin:0 0 16px;
}
h1,h2,h3,h4{ font-family:"Playfair Display", Georgia, serif; color:var(--ink); letter-spacing:-0.01em; }
h2{ font-size:clamp(30px, 4vw, 44px); font-weight:700; line-height:1.08; margin:0 0 18px; }
h3{ font-size:22px; font-weight:600; margin:0 0 8px; }
p{ margin:0 0 16px; }
.lead{ font-size:19px; color:var(--ink-soft); }
.sub{ color:var(--muted); }
strong{ color:var(--ink); font-weight:600; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-size:16px; font-weight:600; text-decoration:none;
  padding:16px 30px; border-radius:10px; border:1.5px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height:1;
}
.btn-primary{ background:var(--red); color:#fff; box-shadow:0 8px 22px rgba(209,31,38,0.22); }
.btn-primary:hover{ background:var(--red-deep); transform:translateY(-2px); box-shadow:0 12px 28px rgba(209,31,38,0.30); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-2px); }
.btn-light{ background:#fff; color:var(--ink); }
.btn-light:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,0.25); }
.btn .arrow{ transition:transform .15s ease; }
.btn:hover .arrow{ transform:translateX(3px); }

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(253,251,246,0.86); backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid transparent; transition:border-color .2s ease, box-shadow .2s ease;
}
header.scrolled{ border-bottom-color:var(--line); box-shadow:0 4px 20px rgba(0,0,0,0.04); }
.nav{ display:flex; align-items:center; justify-content:space-between; height:88px; }
.nav .logo{ display:flex; align-items:center; }
.nav .logo img{ height:62px; width:auto; }
.nav .links{ display:flex; align-items:center; gap:34px; }
.nav .links a{ font-size:15px; font-weight:500; color:var(--ink-soft); text-decoration:none; transition:color .15s ease; }
.nav .links a:hover{ color:var(--red); }
.nav .links a.active{ color:var(--red); font-weight:600; }
.nav .btn{ padding:12px 22px; font-size:15px; }
.menu-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.menu-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.2s; }

/* ---------- video hero (home) ---------- */
.hero-video{
  position:relative; overflow:hidden; color:#fff;
  padding:150px 0 130px;
}
.hero-video video, .hero-video .vid-fallback{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.hero-video::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0.45) 45%, rgba(12,10,8,0.72) 100%);
}
.hero-video .wrap{ position:relative; z-index:2; }
.hero-video .tagline{ display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:600;
  letter-spacing:0.04em; color:#fff; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25);
  padding:8px 16px; border-radius:100px; margin-bottom:26px; backdrop-filter:blur(6px); }
.hero-video .tagline .dot{ width:8px; height:8px; border-radius:50%; background:var(--red); }
.hero-video h1{ font-size:clamp(40px, 6.2vw, 72px); font-weight:800; line-height:1.04; margin:0 0 24px; max-width:17ch; color:#fff; }
.hero-video h1 .accent{ color:#ff9599; }
.hero-video .lead{ max-width:56ch; margin-bottom:34px; color:rgba(255,255,255,0.92); font-size:20px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.hero-video .reassure{ margin-top:24px; font-size:14.5px; color:rgba(255,255,255,0.85); display:flex; flex-wrap:wrap; gap:8px 22px; }
.hero-video .reassure span{ display:inline-flex; align-items:center; gap:7px; }
.hero-video .reassure .chk{ color:#ff9599; font-weight:700; }

/* ---------- page hero (subpages) ---------- */
.page-hero{ padding:84px 0 56px; }
.page-hero h1{ font-size:clamp(36px, 5vw, 56px); font-weight:800; line-height:1.05; margin:0 0 18px; }
.page-hero .lead{ max-width:62ch; }

/* ---------- section helpers ---------- */
.band-cream{ background:var(--cream); }
.band-ink{ background:var(--ink); color:#cbc8c2; }
.band-ink h2, .band-ink h3{ color:#fff; }
.band-ink .eyebrow{ color:#ff7b80; }
.center{ text-align:center; }
.center .lead{ margin-left:auto; margin-right:auto; }
.sec-head{ max-width:680px; margin-bottom:48px; }
.sec-head.center{ margin-left:auto; margin-right:auto; }

/* ---------- cards grid ---------- */
.grid{ display:grid; gap:22px; }
.g3{ grid-template-columns:repeat(3,1fr); }
.g2{ grid-template-columns:repeat(2,1fr); }
.card{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:0;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(22,22,22,0.07); }
.card .card-photo{ aspect-ratio:16/9; overflow:hidden; background:var(--cream-deep); }
.card .card-photo img{ width:100%; height:100%; object-fit:cover; }
.card .card-body{ padding:26px 26px 28px; }
.card h3{ font-size:19px; margin-bottom:9px; }
.card p{ font-size:15px; color:var(--muted); margin:0 0 10px; line-height:1.6; }
.card p:last-child{ margin:0; }
.card .plain{ font-size:14px; color:var(--ink-soft); background:var(--cream); border-left:3px solid var(--red);
  padding:10px 14px; border-radius:0 8px 8px 0; }
.card .plain em{ font-style:normal; font-weight:600; color:var(--ink); }

/* problem cards */
.prob{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:8px; }
.prob .item{ padding:22px; background:var(--cream); border:1px solid var(--line); border-radius:14px; }
.prob .item .x{ color:var(--red); font-weight:700; font-size:18px; margin-bottom:10px; }
.prob .item p{ margin:0; font-size:15px; color:var(--ink-soft); }

/* ---------- photo strip ---------- */
.photo-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:56px; }
.photo-strip .ph{ border-radius:14px; overflow:hidden; aspect-ratio:3/4; }
.photo-strip .ph img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.photo-strip .ph:hover img{ transform:scale(1.04); }
.photo-strip .ph:nth-child(even){ margin-top:26px; }

/* ---------- full-bleed photo banners ---------- */
.banner{
  position:relative; padding:0; min-height:54vh;
  background-size:cover; background-position:center;
  display:flex; align-items:flex-end;
}
.banner::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,10,8,0.05) 25%, rgba(12,10,8,0.66) 100%);
}
.banner .wrap{ position:relative; z-index:1; padding-top:140px; padding-bottom:54px; width:100%; }
.banner .line{
  font-family:"Playfair Display", Georgia, serif; font-size:clamp(26px, 3.6vw, 44px);
  font-weight:700; color:#fff; line-height:1.12; margin:0; max-width:24ch;
  text-shadow:0 2px 18px rgba(0,0,0,0.35);
}
.banner .who{ margin:12px 0 0; font-size:14.5px; color:rgba(255,255,255,0.85); }
@media (max-width:860px){ .banner{ min-height:44vh; } }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.step .num{
  width:46px; height:46px; border-radius:12px; background:var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px;
  font-family:"Playfair Display",serif; margin-bottom:18px;
}
.step.r .num{ background:var(--red); }
.step h3{ font-size:18px; margin-bottom:7px; }
.step p{ font-size:14.5px; color:var(--muted); margin:0; }

/* ---------- why list ---------- */
.why{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 56px; }
.why .row{ display:flex; gap:18px; padding:24px 0; border-bottom:1px solid var(--line-dark); }
.why .row:nth-last-child(1), .why .row:nth-last-child(2){ border-bottom:0; }
.why .ic{ flex:0 0 auto; width:40px; height:40px; border-radius:10px; background:rgba(209,31,38,0.14);
  color:#ff7b80; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px; }
.why h3{ font-size:18px; margin-bottom:5px; }
.why p{ font-size:14.5px; color:#a8a39b; margin:0; }

/* ---------- expectations timeline ---------- */
.timeline{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:10px; }
.tl{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px; border-top:3px solid var(--red); }
.tl .when{ font-size:12px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--red); margin-bottom:10px; }
.tl h3{ font-size:18px; margin-bottom:8px; }
.tl p{ font-size:14.5px; color:var(--muted); margin:0; }

/* ---------- faq ---------- */
.faq{ max-width:820px; margin:0 auto; }
details{ border-bottom:1px solid var(--line); padding:6px 0; }
details summary{
  list-style:none; cursor:pointer; padding:22px 44px 22px 0; position:relative;
  font-family:"Playfair Display",serif; font-size:20px; font-weight:600; color:var(--ink);
}
details summary::-webkit-details-marker{ display:none; }
details summary::after{
  content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%);
  font-family:-apple-system,sans-serif; font-size:26px; font-weight:300; color:var(--red); transition:transform .2s ease;
}
details[open] summary::after{ content:"–"; }
details .ans{ padding:0 44px 24px 0; font-size:16px; color:var(--muted); }
details .ans p{ margin:0 0 12px; }
details .ans p:last-child{ margin:0; }

/* ---------- CTA / form ---------- */
.cta-band{ background:var(--ink); color:#cbc8c2; }
.form-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:start; }
.form-grid .pitch h2{ color:#fff; }
.form-grid .pitch .lead{ color:#cbc8c2; }
.form-grid .pitch ul{ list-style:none; padding:0; margin:24px 0 0; }
.form-grid .pitch li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; font-size:15.5px; color:#dedbd5; }
.form-grid .pitch li .chk{ color:#ff7b80; font-weight:700; flex:0 0 auto; }
.form-grid .pitch .closer{ margin-top:26px; font-style:italic; color:#a8a39b; font-size:15px; }

.form-card{ background:var(--cream); border-radius:20px; padding:38px 34px; box-shadow:0 24px 60px rgba(0,0,0,0.30); }
.form-card h3{ font-size:22px; margin-bottom:6px; }
.form-card .fc-sub{ font-size:14.5px; color:var(--muted); margin-bottom:24px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:7px; letter-spacing:0.01em; }
.field label .opt{ color:var(--muted-2); font-weight:400; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; font-size:15.5px; font-family:inherit; color:var(--ink);
  background:#fff; border:1.5px solid var(--line); border-radius:10px; transition:border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(209,31,38,0.12);
}
.field textarea{ resize:vertical; min-height:92px; }
.form-card .btn-primary{ width:100%; justify-content:center; margin-top:6px; }
.form-card .fineprint{ font-size:12.5px; color:var(--muted); text-align:center; margin:16px 0 0; }
.hp{ position:absolute; left:-5000px; }
.form-success{ display:none; text-align:center; padding:30px 10px; }
.form-success.show{ display:block; }
.form-success .big{ font-size:46px; color:var(--red); margin-bottom:10px; }
.form-success h3{ font-size:24px; margin-bottom:8px; }
.form-success p{ font-size:15px; color:var(--muted); margin:0; }

/* ---------- footer ---------- */
footer{ background:#111; color:#8c897f; padding:60px 0 40px; }
.foot{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; }
.foot .brand img{ height:76px; margin-bottom:16px; }
.foot .brand p{ font-size:14px; color:#7d7a73; max-width:34ch; margin:0; }
.foot .col h4{ font-family:-apple-system,sans-serif; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:#a8a399; margin:0 0 14px; }
.foot .col a, .foot .col span{ display:block; font-size:14.5px; color:#b9b5ab; text-decoration:none; margin-bottom:9px; }
.foot .col a:hover{ color:#fff; }
.foot-bottom{ margin-top:46px; padding-top:24px; border-top:1px solid #262626; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:#6f6c64; }

/* ---------- work / portfolio ---------- */
.work-card{
  display:block; background:#fff; border:1px solid var(--line); border-radius:18px;
  overflow:hidden; text-decoration:none; color:inherit;
  transition:transform .2s ease, box-shadow .2s ease;
}
.work-card:hover{ transform:translateY(-5px); box-shadow:0 20px 48px rgba(22,22,22,0.13); }
.work-shot{ aspect-ratio:16/10; overflow:hidden; background:#e9e2d4; }
.work-shot img{ width:100%; height:100%; object-fit:cover; object-position:top center; transition:transform .5s ease; }
.work-card:hover .work-shot img{ transform:scale(1.04); }
.work-meta{ padding:26px 30px 30px; }
.work-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; }
.work-meta h3{ margin:0; font-size:22px; }
.work-link{ font-size:13px; color:var(--red); font-weight:600; white-space:nowrap; }
.work-tag{ font-size:13px; color:var(--muted); margin:6px 0 12px; font-weight:600; letter-spacing:0.02em; }
.work-meta p:last-child{ font-size:15px; color:var(--muted); margin:0; line-height:1.6; }

/* result block (no-site case studies) */
.result-band{
  background:var(--ink); color:#cbc8c2; border-radius:20px; padding:36px 40px;
  display:flex; flex-wrap:wrap; align-items:center; gap:18px 36px; position:relative; overflow:hidden;
}
.result-band::before{
  content:""; position:absolute; top:-120px; right:-90px; width:360px; height:360px;
  background:radial-gradient(circle, rgba(209,31,38,0.22), transparent 68%);
}
.result-band .rb-body{ flex:1 1 440px; position:relative; z-index:1; }
.result-band h3{ color:#fff; font-size:24px; margin:0 0 10px; }
.result-band p{ margin:0; font-size:15.5px; color:#cbc8c2; line-height:1.62; max-width:74ch; }
.result-band strong{ color:#fff; }
.result-band .big-num{ font-family:"Playfair Display",serif; font-size:64px; font-weight:800; color:#ff7b80; line-height:1; position:relative; z-index:1; }

/* ---------- about page ---------- */
.about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
.about-photo{ border-radius:20px; overflow:hidden; background:var(--cream-deep); aspect-ratio:4/5; }
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-photo .placeholder{ width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color:var(--muted-2); font-size:14px; text-align:center; padding:20px; }
.about-body .lead{ margin-bottom:20px; }
.about-body p{ margin-bottom:18px; }

/* ---------- contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:56px; align-items:start; }
.contact-ways{ display:flex; flex-direction:column; gap:18px; margin-top:8px; }
.cway{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 22px; }
.cway .cw-label{ font-size:12px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--red); margin-bottom:6px; }
.cway a{ font-family:"Playfair Display",serif; font-size:20px; font-weight:600; color:var(--ink); text-decoration:none; }
.cway p{ font-size:14px; color:var(--muted); margin:6px 0 0; }
.contact-grid .form-card{ box-shadow:0 18px 44px rgba(22,22,22,0.10); }

/* ---------- reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .form-grid, .contact-grid, .about-grid{ grid-template-columns:1fr; gap:40px; }
  .why{ grid-template-columns:1fr; }
  .why .row{ border-bottom:1px solid var(--line-dark) !important; }
  .why .row:last-child{ border-bottom:0 !important; }
}
@media (max-width:860px){
  .nav{ height:76px; }
  .nav .logo img{ height:52px; }
  .nav .links{ display:none; }
  .menu-toggle{ display:block; }
  .nav .links.open{
    display:flex; flex-direction:column; align-items:flex-start; gap:20px;
    position:absolute; top:76px; left:0; right:0; background:var(--page);
    padding:24px 28px; border-bottom:1px solid var(--line); box-shadow:0 12px 24px rgba(0,0,0,0.06);
  }
  .nav .links.open .btn{ width:100%; justify-content:center; }
  .g3, .g2{ grid-template-columns:1fr; }
  .prob{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:1fr; }
  .photo-strip{ grid-template-columns:repeat(2,1fr); }
  section{ padding:72px 0; }
  .hero-video{ padding:110px 0 90px; }
}
@media (max-width:480px){
  .prob{ grid-template-columns:1fr; }
  .hero-cta .btn{ width:100%; justify-content:center; }
  .wrap{ padding:0 20px; }
  .form-card{ padding:30px 22px; }
}
@media (prefers-reduced-motion:reduce){
  *{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .hero-video video{ display:none; }
}
