:root {
  --red: #e50922;
  --red-d: #c9071d;
  --ink: #171719;
  --muted: #66666b;
  --paper: #f5f4f1;
  --line: #e2e0db;
  --bs-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bs-body-color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.55; }
h1, h2, h3 { letter-spacing: -.03em; margin: 0; }
a { color: inherit; }
.ico { flex: none; vertical-align: -.125em; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--red); color: #fff; padding: .6rem 1rem; z-index: 2000; transition: top .2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.advantage :focus-visible, .about :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 78px; }
.brand { display: inline-flex; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo-img { height: 56px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 700; font-size: 1.75rem; letter-spacing: -.045em; }
.logo-name b { color: var(--red); font-weight: 700; }
.logo-text small { font-weight: 600; font-size: .72rem; letter-spacing: -.01em; margin-top: .25rem; }
.main-nav { display: flex; gap: 2.2rem; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; padding: .3rem 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .3s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.progress-bar-top { height: 3px; }
.progress-bar-top span { display: block; height: 100%; width: 0; background: var(--red); }

/* Buttons */
.btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: .95rem 1.4rem; border: 0; border-radius: 3px; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-red:hover { background: var(--red-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(229,9,34,.28); }
.btn-red .ico { transition: transform .25s; }
.btn-red:hover .ico { transform: translate(3px, -3px); }
.btn-red-lg { padding: 1.2rem 1.6rem; }
.btn-block { width: 100%; padding: 1.1rem; }
.link-underline { text-decoration: none; font-size: .95rem; padding-bottom: .5rem; border-bottom: 1.5px solid #b9b7b1; transition: border-color .2s, color .2s; }
.link-underline:hover { border-color: var(--red); color: var(--red); }

/* Type helpers */
.eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 1.4rem; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.lead-text { color: var(--muted); font-size: 1.15rem; line-height: 1.6; max-width: 34rem; }
.narrow { max-width: 30rem; }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 400; line-height: 1.08; margin-bottom: 1.6rem; }
.num { font-size: .78rem; color: var(--red); letter-spacing: .06em; font-weight: 500; }

/* Hero */
.hero { background: var(--paper); padding: 5rem 0 4.5rem; }
.hero-title { font-size: clamp(2.8rem, 7.4vw, 5.6rem); font-weight: 700; line-height: 1.02; margin-bottom: 2rem; }
.hero-title .line { display: block; }
.hero-title .accent { color: var(--red); }
.hero-title .line { opacity: 0; transform: translateY(26px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-title .line:nth-child(2) { animation-delay: .12s; }
.hero-title .line:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2.2rem; margin-top: 2.4rem; }

/* Advantage card */
.advantage { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 4px; margin-top: 4.5rem; padding: 2rem 2rem 2rem; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; }
.adv-top { display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; position: relative; z-index: 2; }
.adv-u { position: absolute; right: 8%; top: -12%; width: min(430px, 55%); transform: rotate(8deg); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); opacity: .95; }
.advantage:hover .adv-u { transform: rotate(3deg) translateY(10px); }
.adv-card { position: relative; z-index: 2; background: rgba(245,244,241,.96); color: var(--ink); border-radius: 3px; padding: 2rem; margin-top: 8rem; max-width: 100%; }
.adv-kicker { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.adv-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 400; line-height: 1.12; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; }
.tags li { border: 1px solid #cfcdc7; background: #fff; border-radius: 999px; padding: .3rem .85rem; font-size: .78rem; transition: background .2s, color .2s, border-color .2s; }
.tags li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Promise strip */
.promises { border-bottom: 1px solid var(--line); background: #fff; }
.promises-row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0; font-size: .85rem; color: var(--muted); }
.promises .strong { color: var(--ink); font-weight: 700; }

/* Sections */
.section { padding: 6rem 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 3.4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { display: flex; flex-direction: column; min-height: 290px; padding: 1.8rem 1.8rem 1.6rem; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .25s, color .25s; position: relative; overflow: hidden; }
.service::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .35s; }
.service:hover::before { width: 100%; }
.service:hover { background: #fcfbfa; }
.service h3 { font-size: 1.55rem; font-weight: 400; margin: 2.2rem 0 .8rem; }
.service p { color: var(--muted); font-size: .98rem; margin: 0 0 auto; max-width: 22rem; }
.service-link { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 700; margin-top: 2rem; }
.service-link .ico { transition: transform .25s, color .25s; }
.service:hover .service-link .ico { transform: translate(3px, -3px); color: var(--red); }
.service.start { background: var(--paper); border-left: 0; }
.service.start h3 { margin-top: 0; }
@media (min-width: 992px) { .service-grid { grid-template-columns: repeat(3, 1fr); } .service.start { grid-column: span 2; } }

/* About */
.about { background: var(--ink); color: #fff; padding: 6rem 0; }
.about .lead-text { color: #b3b3b8; }
.about-list { list-style: none; margin: 3.5rem 0 0; padding: 0; border-top: 1px solid #38383c; }
.about-list li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .4rem 1.5rem; padding: 2rem 0; border-bottom: 1px solid #38383c; }
.about-list h3 { font-size: 1.5rem; font-weight: 400; grid-column: 2; }
.about-list p { grid-column: 2; margin: 0; color: #b3b3b8; }
@media (min-width: 900px) {
  .about-list li { grid-template-columns: 5rem 1fr 1.3fr; align-items: baseline; }
  .about-list h3, .about-list p { grid-column: auto; }
}

/* Approach */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.4rem; margin: 3.4rem 0 0; padding: 0; }
.steps li { border-top: 2px solid var(--ink); padding-top: 1.4rem; transition: border-color .3s; }
.steps li:hover { border-color: var(--red); }
.steps h3 { font-size: 1.5rem; font-weight: 400; margin: 1rem 0 .7rem; }
.steps p { color: var(--muted); margin: 0; }

/* Contact */
.contact { background: var(--paper); padding: 6rem 0; }
.details { margin: 2.6rem 0 3rem; border-top: 1px solid var(--line); }
.details div { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.details dt { font-weight: 700; }
.details dd { margin: 0; color: var(--muted); }
.brief { background: #fff; padding: 2.6rem; max-width: 980px; box-shadow: 0 1px 0 var(--line); }
.brief h3 { font-size: 2rem; font-weight: 400; margin-bottom: .9rem; }
.brief fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.brief legend { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; padding: 0; float: none; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip-input { position: absolute; opacity: 0; pointer-events: none; }
.chip { border: 1px solid var(--line); background: #fff; padding: .7rem 1rem; font-size: .85rem; cursor: pointer; border-radius: 2px; transition: all .2s; user-select: none; }
.chip:hover { border-color: var(--ink); }
.chip-input:checked + .chip { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-input:focus-visible + .chip { outline: 3px solid var(--red); outline-offset: 2px; }
.brief label:not(.chip) { display: block; font-size: .86rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.brief input[type=text], .brief textarea { width: 100%; font: inherit; font-size: .95rem; padding: .95rem 1rem; border: 1px solid var(--line); background: #faf9f7; border-radius: 2px; transition: border-color .2s, background .2s; }
.brief input[type=text]:focus, .brief textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(229,9,34,.12); }
.brief .btn-block { margin-top: 1.5rem; }
.note { color: var(--muted); font-size: .8rem; margin: 1.2rem 0 0; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 2.6rem 0; font-size: .82rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.back-top { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.back-top:hover { color: var(--red); }

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

@media (max-width: 899.98px) { .main-nav { display: none; } .header-row { justify-content: space-between; } .promises-row { flex-direction: column; gap: .6rem; } }
@media (max-width: 575.98px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 3.4rem 0; }
  .section, .about, .contact { padding: 4rem 0; }
  .logo-img { height: 44px; }
  .btn-red:not(.btn-block) { padding: .8rem 1rem; gap: 1rem; font-size: .82rem; }
  .advantage { padding: 1.4rem; margin-top: 3rem; }
  .adv-card { padding: 1.4rem; margin-top: 7rem; }
  .brief { padding: 1.6rem; }
  .details div { flex-direction: column; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .hero-title .line { opacity: 1; transform: none; animation: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---- v4 refinements ---- */

/* Mobile menu */
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 3px; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav[hidden] { display: none; }
.mobile-nav .container { display: flex; flex-direction: column; padding: .6rem 0 1.4rem; }
.mobile-nav a:not(.btn-red) { padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; }
.mobile-nav .btn-red { margin-top: 1.2rem; }
@media (max-width: 899.98px) {
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .header-row { gap: 1rem; }
}
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

/* Hero two-column with visual */
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.25fr .75fr; } }
.hero-visual { position: relative; background: var(--red); border-radius: 4px; aspect-ratio: 4 / 4.4; width: 100%; max-width: 440px; justify-self: end; overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 60px rgba(229,9,34,.22); }
.hero-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 55%); }
.hv-u { width: 46%; position: relative; filter: drop-shadow(0 14px 24px rgba(0,0,0,.25)); }
.hv-card { position: absolute; display: inline-flex; align-items: center; gap: .55rem; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700; padding: .65rem .95rem; border-radius: 3px; box-shadow: 0 12px 28px rgba(0,0,0,.2); animation: floaty 6s ease-in-out infinite; }
.hv-card .ico { color: var(--red); }
.hv-1 { top: 11%; left: 7%; }
.hv-2 { top: 46%; right: 6%; animation-delay: -2s; }
.hv-3 { bottom: 10%; left: 9%; animation-delay: -4s; }
.hv-badge { position: absolute; top: 9%; right: 7%; background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.15; padding: .7rem .9rem; border-radius: 3px; }
.hv-badge small { font-weight: 400; opacity: .7; font-size: .72rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) { .hero-visual { justify-self: start; max-width: 100%; aspect-ratio: 16 / 9; } .hv-u { width: 20%; } }

/* Advantage card, tightened */
.advantage { min-height: 0; padding: 2rem; display: block; }
.adv-body { display: grid; gap: 2rem; align-items: center; margin-top: 2.4rem; }
.adv-card { margin-top: 0; }
.adv-u { position: static; width: 100%; max-width: 210px; transform: none; justify-self: center; opacity: 1; filter: drop-shadow(0 20px 40px rgba(229,9,34,.35)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.advantage:hover .adv-u { transform: translateY(-8px) scale(1.04); }
@media (min-width: 800px) { .adv-body { grid-template-columns: 1.5fr .6fr; } .adv-u { max-width: 240px; } }
@media (max-width: 799.98px) { .adv-u { order: -1; max-width: 120px; justify-self: start; } }

/* Promise strip: four columns */
.promises-row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 0; margin-block: 0; font-size: .9rem; color: var(--ink); }
.promises-row li { display: flex; align-items: center; gap: .8rem; padding: 1.4rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.promises-row .pn { color: var(--red); font-size: .75rem; font-weight: 700; }
@media (min-width: 900px) {
  .promises-row { grid-template-columns: repeat(4, 1fr); }
  .promises-row li { border-bottom: 0; padding: 1.8rem 1rem; border-left: 1px solid var(--line); }
  .promises-row li:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 575.98px) { .promises-row { grid-template-columns: 1fr; } }

/* Service icons */
.service-head { display: flex; justify-content: space-between; align-items: center; }
.s-ico { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.service:hover .s-ico { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }

@media (prefers-reduced-motion: reduce) { .hv-card { animation: none; } }
.details a { color: var(--ink); text-underline-offset: 3px; } .details a:hover { color: var(--red); }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.45fr .75fr; } .hero-title { font-size: clamp(2.8rem, 5.4vw, 5rem); } .hero-title .line { white-space: nowrap; } }

/* Contact form additions */
.field-row { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.brief input[type=email] { width: 100%; font: inherit; font-size: .95rem; padding: .95rem 1rem; border: 1px solid var(--line); background: #faf9f7; border-radius: 2px; transition: border-color .2s, background .2s; }
.brief input[type=email]:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(229,9,34,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 1rem 0 0; color: var(--red-d); font-weight: 600; font-size: .9rem; }
.brief-done { max-width: 980px; }
.brief-done h3 { margin-bottom: .6rem; }
.brief-done p { color: var(--muted); margin: 0; }
.note a { color: var(--ink); }

/* Real logo U (PNG cut-outs) */
.hv-u { width: 38%; height: auto; display: block; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.adv-u { width: 100%; max-width: 190px; height: auto; filter: drop-shadow(0 18px 40px rgba(229,9,34,.3)); }
@media (min-width: 800px) { .adv-u { max-width: 210px; } }
@media (max-width: 991.98px) { .hv-u { width: auto; height: 78%; } }
@media (max-width: 799.98px) { .adv-u { max-width: 100px; } }

/* Contact: side by side */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 992px) {
  .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; }
  .contact-info { position: sticky; top: 110px; }
}
.contact .details { margin-bottom: 0; }
.contact .brief, .contact .brief-done { max-width: none; }
