/* ==========================================================================
   DW Portfolio theme — main stylesheet
   Mobile-first. Breakpoints: 768px, 1024px, 1280px, 1600px
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --red: #E4001B;
  --red-dark: #B80016;
  --red-hot: #FF1F33;
  --grad-red: linear-gradient(100deg, #8A0A16 0%, #A50C1B 40%, #E4001B 100%);
  --black: #000000;
  --coal: #0E0E0E;
  --panel: #151515;
  --panel-line: #2A2A2A;
  --ink: #161616;
  --muted: #5C5C64;
  --muted-on-dark: #A9A9B0;
  --line: #E3E3E6;
  --mist: #F5F5F6;
  --white: #FFFFFF;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));

  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--red); color: var(--white); padding: .6rem 1rem; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--dark {
  color: var(--white);
  background: radial-gradient(ellipse 50% 60% at 0% 0%, rgba(228,0,27,.14), transparent 60%), linear-gradient(180deg, var(--coal), #141414);
}

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem);
  font-weight: 900; font-stretch: 115%; line-height: 1.06; letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead { font-size: 1.075rem; color: var(--muted); max-width: 62ch; margin-top: 1.1rem; }
.section--dark .lead, .team .lead { color: #CFCFD4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .55rem 1.1rem .55rem .9rem;
  background: linear-gradient(90deg, #7A1119 0%, #3A2A2A 45%, #34332F 100%);
  color: var(--white); font-size: .82rem; font-weight: 700; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1.1rem;
}
.slash { width: 26px; height: 11px; fill: var(--red-hot); flex-shrink: 0; }

.section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: none; }

/* Parallelogram divider (DeCo service-row detail) */
.divider { display: flex; gap: 6px; margin-block: 1.1rem 1.25rem; }
.divider::before, .divider::after {
  content: ""; height: 6px; transform: skewX(-30deg);
  background: var(--red);
}
.divider::before { width: 64px; }
.divider::after { width: 18px; background: var(--red-hot); opacity: .7; }

/* ---------- Buttons (chamfered) ---------- */
.btn {
  --btn-edge: rgba(255,255,255,.8);
  --btn-fill: var(--grad-red);
  --btn-text: var(--white);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 54px; padding: .85rem 2rem;
  border: 0; background: var(--btn-edge); color: var(--btn-text);
  clip-path: var(--cut);
  font-weight: 800; font-size: .92rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .09em; text-decoration: none; cursor: pointer;
  transition: color .2s ease, filter .2s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--btn-fill);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}
.btn--red:hover { filter: brightness(1.12); }
.btn--dark { --btn-edge: #3A3A3A; --btn-fill: var(--black); }
.btn--dark:hover { --btn-fill: var(--grad-red); --btn-edge: rgba(255,255,255,.8); }
.btn--ghost { --btn-edge: rgba(255,255,255,.6); --btn-fill: #0C0C0C; }
.btn--ghost:hover { --btn-fill: var(--white); --btn-text: var(--black); }
.btn--outline { --btn-edge: #9C9CA3; --btn-fill: var(--white); --btn-text: var(--ink); }
.btn--outline:hover { --btn-edge: var(--black); --btn-fill: var(--black); --btn-text: var(--white); }
.section--dark .btn--outline, .footer .btn--outline { --btn-edge: rgba(255,255,255,.6); --btn-fill: #0C0C0C; --btn-text: var(--white); }
.section--dark .btn--outline:hover, .footer .btn--outline:hover { --btn-fill: var(--white); --btn-text: var(--black); }
.section--dark .form .btn--outline { --btn-edge: #9C9CA3; --btn-fill: var(--white); --btn-text: var(--ink); }
.section--dark .form .btn--outline:hover { --btn-edge: var(--black); --btn-fill: var(--black); --btn-text: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Icon boxes ---------- */
.icon-box {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
  background: var(--panel); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.icon-box svg { width: 20px; height: 20px; }
.icon-box--red { background: linear-gradient(135deg, #8A0A16, #E4001B); }
.icon-box--lg { flex-basis: 64px; width: 64px; height: 64px; }
.icon-box--lg svg { width: 30px; height: 30px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--grad-red); color: var(--white); font-size: .88rem; font-weight: 600; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 2rem; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.topbar__item:hover { text-decoration: underline; }
.topbar__item--email { display: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: var(--black); border-bottom: 1px solid var(--panel-line); color: var(--white); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; }
.brand img { width: auto; height: 34px; }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: none; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; }
.header__phone small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: .08em; }
.header__phone:hover { color: var(--red-hot); }
.header__cta { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 48px; padding: 0 .9rem; background: var(--panel); border: 1px solid var(--panel-line);
  color: var(--white); cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
}
.menu-btn:hover { border-color: var(--red); }
.menu-btn__bars { display: grid; gap: 4px; }
.menu-btn__bars span { display: block; width: 20px; height: 2px; background: currentColor; }
.menu-btn__bars span:nth-child(2) { width: 14px; background: var(--red-hot); }
.menu-btn__label { display: none; }

/* ---------- Popup menu ---------- */
.menu { position: fixed; inset: 0; z-index: 100; }
.menu[hidden] { display: none; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto;
  padding: 1.5rem var(--gutter) 2rem; background: var(--coal); color: var(--white);
  border-left: 3px solid var(--red);
  animation: menu-in .28s ease both;
}
@keyframes menu-in { from { transform: translateX(40px); opacity: 0; } }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu__head img { height: 32px; width: auto; }
.menu__close {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--panel); border: 1px solid var(--panel-line); cursor: pointer;
}
.menu__close svg { width: 20px; height: 20px; }
.menu__close:hover { background: var(--red); border-color: var(--red); }
.menu__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 0; border-bottom: 1px solid var(--panel-line);
  font-size: 1.15rem; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
}
.menu__list a::after { content: ""; width: 18px; height: 6px; background: var(--red); transform: skewX(-30deg); opacity: 0; transition: opacity .2s ease; }
.menu__list a:hover { color: var(--red-hot); }
.menu__list a:hover::after { opacity: 1; }
.menu__foot { display: grid; gap: .9rem; margin-top: auto; }
.menu__foot a:not(.btn) { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #D6D6DA; overflow-wrap: anywhere; }
.menu__foot svg { color: var(--red-hot); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--black) var(--hero-bg, none) center / cover no-repeat;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(5rem, 9vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 15% 30%, rgba(228,0,27,.25), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.92));
}
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__reviews {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .55rem 1.1rem .55rem .6rem; margin-bottom: 1.75rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  clip-path: var(--cut); text-align: left;
}
.hero__reviews p { display: flex; flex-direction: column; line-height: 1.25; }
.hero__reviews strong { font-size: .98rem; }
.hero__reviews span { font-size: .8rem; color: var(--muted-on-dark); }
.avatars { display: flex; }
.avatars li + li { margin-left: -10px; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--black); background: var(--panel); }
.hero__title {
  font-size: clamp(2rem, 1rem + 4vw, 4.1rem);
  font-weight: 900; font-stretch: 118%; line-height: 1.03; letter-spacing: -0.015em;
  text-transform: uppercase; max-width: 24ch; text-wrap: balance;
}
.hero__lead { margin-block: 1.4rem 2.25rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: #D6D6DA; max-width: 60ch; }
.hero .btn-row { justify-content: center; }

.hero__tools { width: 100%; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero__tools-title { font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.tool-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tool-strip li { min-width: 0;
  display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: left;
}
.tool-strip img { width: 36px; height: 36px; object-fit: contain; }
.tool-strip span { min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; font-weight: 700; font-size: .92rem; line-height: 1.25; }
.tool-strip b { color: var(--red-hot); font-stretch: 112%; }

.scroll-down {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; color: var(--white);
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  animation: nudge 2.4s ease-in-out infinite;
}
.scroll-down svg { width: 22px; height: 22px; }
.scroll-down:hover { background: var(--red); border-color: var(--red); }
@keyframes nudge { 50% { transform: translate(-50%, 6px); } }

/* ---------- About + mission ---------- */
.about { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__mark {
  display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; margin-inline: auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(228,0,27,.12), transparent 65%),
    repeating-linear-gradient(135deg, #F3F3F4 0 14px, #FAFAFA 14px 28px);
  border: 1px solid var(--line);
}
.about__mark img { width: 58%; filter: drop-shadow(0 24px 40px rgba(138,10,22,.35)); }
.checks { display: grid; gap: .85rem; margin-block: 1.75rem 2.25rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; font-weight: 600; }
.checks svg {
  width: 26px; height: 26px; padding: 5px; margin-top: .05rem; color: var(--white);
  background: var(--grad-red); clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 25% 100%, 0 75%);
}

.mission { position: relative; margin-top: clamp(3rem, 7vw, 6rem); }
.mission__media { overflow: hidden; background: var(--line); }
.mission__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mission__card {
  position: relative; margin: -3rem 1rem 0; padding: 2rem 1.5rem;
  background: var(--black); color: var(--white); border-left: 4px solid var(--red);
}
.mission__title { font-size: 1.6rem; font-weight: 900; font-stretch: 115%; text-transform: uppercase; margin-block: 1.1rem .75rem; }
.mission__card p { color: #CFCFD4; }

/* ---------- Services (alternating rows) ---------- */
.svc-list { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.svc { display: grid; gap: 2rem; align-items: center; }
.svc__visual {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 85% 85%, rgba(228,0,27,.45), transparent 55%),
    repeating-linear-gradient(135deg, #171717 0 16px, #121212 16px 32px);
  border: 1px solid var(--panel-line);
}
.svc__visual::after {
  content: ""; position: absolute; top: 24px; right: -6px; width: 10px; height: 92px;
  background: repeating-linear-gradient(160deg, var(--red) 0 16px, transparent 16px 30px);
}
.svc__word {
  font-size: clamp(2.6rem, 1.2rem + 5.5vw, 5rem); font-weight: 900; font-stretch: 125%;
  line-height: .95; text-transform: uppercase; letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85);
}
.svc__icon { width: clamp(56px, 8vw, 84px); height: auto; align-self: flex-end; fill: var(--red-hot); }
.svc__tag { color: var(--red-hot); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.svc__title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 900; font-stretch: 115%; line-height: 1.1; text-transform: uppercase; margin-top: .4rem; }
.svc__body > p:not(.svc__tag) { color: #CFCFD4; max-width: 60ch; }
.features { display: grid; gap: .65rem 1.5rem; margin-block: 1.5rem 2rem; }
.features li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.features svg { width: 18px; height: 18px; color: var(--red-hot); }

/* ---------- Why me ---------- */
.trust { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.trust__note { color: var(--muted); margin-bottom: 1.25rem; }
.trust__media { position: relative; padding: 0 0 18% 12%; }
.trust__img { width: 100%; object-fit: cover; background: var(--line); }
.trust__img--a { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.trust__img--b {
  position: absolute; left: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3;
  border: 8px solid var(--white); box-shadow: 0 24px 50px -20px rgba(0,0,0,.4);
}

/* ---------- Projects: monitor mockups with hover scroll ---------- */
.projects { display: grid; gap: clamp(2rem, 4vw, 2.75rem) 1.75rem; }
.project { display: flex; flex-direction: column; align-items: center; }

.mac { display: block; width: 100%; text-decoration: none; }
.mac:focus-visible { outline-offset: 6px; }

/* Screen: black bezel around the screenshot */
.mac__screen {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0A0A0A;
  border: 10px solid #0A0A0A; border-bottom-width: 12px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 0 1px #2B2B2B inset;
}

/* The screenshot: fills the width, scrolls by moving background-position.
   Hover-in uses the long --scroll-time (set by script.js from the image height);
   hover-out snaps back quickly. */
.mac__shot {
  position: absolute; inset: 0; display: block;
  background-color: #111; background-repeat: no-repeat;
  background-size: 100% auto; background-position: 50% 0%;
  transition: background-position .9s ease-in-out;
}
.mac:hover .mac__shot,
.mac:focus-visible .mac__shot,
.project.is-scrolling .mac__shot {
  background-position: 50% 100%;
  transition: background-position var(--scroll-time, 6s) linear;
}

/* Chin + stand */
.mac__chin {
  display: grid; place-items: center; height: clamp(26px, 3.4vw, 40px);
  background: linear-gradient(180deg, #ECECEF 0%, #D2D2D7 60%, #B9B9BF 100%);
  border-radius: 0 0 12px 12px;
}
.mac__chin img { width: clamp(12px, 1.3vw, 18px); height: auto; opacity: .85; }
.mac__stand { position: relative; display: block; height: clamp(34px, 4.4vw, 54px); }
.mac__stand::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 26%; height: 82%;
  background: linear-gradient(90deg, #A9A9AF, #E2E2E6 45%, #C4C4CA 70%, #9D9DA3);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.mac__stand::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 30%; height: 18%; border-radius: 2px 2px 6px 6px;
  background: linear-gradient(180deg, #F1F1F3, #B5B5BB);
  box-shadow: 0 6px 10px -6px rgba(0,0,0,.45);
}


.project__caption { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: .9rem; }
.project__name { font-weight: 900; font-stretch: 112%; font-size: 1.1rem; text-transform: uppercase; }
.project__type { font-size: .88rem; color: var(--muted); }
.section--dark .project__type { color: var(--muted-on-dark); }
.project.is-pending .project__caption { display: none; }

/* ---------- Team ---------- */
.team { color: var(--white); background: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(228,0,27,.12), transparent 60%), linear-gradient(180deg, var(--coal), #141414); }
.team .lead { margin-block: 1.25rem 2rem; }
.team__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.team__cards { display: grid; gap: 1.5rem; }
.team-card { position: relative; padding: 12px; background: #0B0B0B; border: 1px solid #2E2E2E; max-width: 560px; width: 100%; }
.team-card::before, .team-card::after {
  content: ""; position: absolute; width: 10px; height: 92px; z-index: 2;
  background: repeating-linear-gradient(160deg, var(--red) 0 16px, transparent 16px 30px);
}
.team-card::before { left: -6px; top: 26px; }
.team-card::after { right: -6px; bottom: 26px; }
.team-card__photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team-card__photo--fallback {
  display: grid; justify-items: center; align-content: start; padding-top: 17%;
  background: radial-gradient(circle at 50% 42%, rgba(228,0,27,.35), transparent 62%), repeating-linear-gradient(135deg, #151515 0 14px, #111 14px 28px);
}
.team-card__photo--fallback img { width: 34%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.team-card__caption {
  position: absolute; left: 36px; right: 36px; bottom: 36px; display: flex; flex-direction: column; gap: .35rem;
  padding: 1rem 1.25rem; border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(70,18,22,.92) 0%, rgba(150,14,26,.88) 60%, rgba(214,10,32,.85) 100%);
}
.team-card__name { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #F1F1F3; }
.team-card__role { font-size: clamp(1.15rem, .9rem + 1.1vw, 1.6rem); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 1.1; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; gap: 1.25rem; }
.review {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem;
  padding: 2rem 1.75rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
}
.review blockquote { position: relative; padding-top: 2.25rem; }
.review blockquote::before { content: "“"; position: absolute; top: -.6rem; left: -.1rem; font-size: 4.5rem; line-height: 1; font-weight: 900; color: var(--red); }
.review__who { display: flex; align-items: center; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.review__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--line); }
.review__who p { display: flex; flex-direction: column; line-height: 1.3; }
.review__who span { font-size: .88rem; color: var(--muted); }

/* ---------- Quote ---------- */
.quote { display: grid; gap: 1.5rem; align-items: stretch; }
.quote__card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--black); border: 1px solid var(--panel-line); border-top: 3px solid var(--red); }
.quote__logo { height: 36px; width: auto; }
.quote__title { font-size: 1.3rem; font-weight: 800; font-stretch: 110%; line-height: 1.25; margin-block: 1.5rem; }
.quote__list { display: grid; gap: 1rem; }
.quote__list li { display: flex; align-items: center; gap: 1rem; }
.quote__list p { display: flex; flex-direction: column; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.quote__list p span { font-size: .78rem; font-weight: 600; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: .07em; }
.quote__list a { text-decoration: none; }
.quote__list a:hover { color: var(--red-hot); }
.quote__follow { margin-block: 2rem .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }

.social { display: flex; gap: .5rem; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; background: var(--panel); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background-color .2s ease;
}
.social a:hover { background: var(--red); }
.social svg { width: 18px; height: 18px; }

.form { background: var(--white); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 3px solid var(--red); }
.form__title { font-size: 1.4rem; font-weight: 900; font-stretch: 112%; text-transform: uppercase; margin-bottom: 1.5rem; }
.form__grid { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; font-size: .9rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1px solid #CFCFD4; border-radius: 0; background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,0,27,.18); }
.field [aria-invalid="true"] { border-color: var(--red); }
.form__status { min-height: 1.5em; margin-block: 1rem; font-size: .95rem; color: var(--red-dark); font-weight: 600; }
.form__status.is-ok { color: #1E7A3C; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: .85rem; max-width: 900px; margin-inline: auto; }
.qa { border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease; }
.qa[open] { border-color: var(--red); border-left-width: 4px; }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.05rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: 0 0 32px; height: 32px; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 25% 100%, 0 75%);
  transition: background-color .2s ease;
}
.qa[open] summary::after {
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.qa__body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.qa__body ul { display: grid; gap: .4rem; list-style: disc; padding-left: 1.15rem; }

/* ---------- Footer ---------- */
.footer {
  color: var(--muted-on-dark); border-top: 3px solid var(--red);
  background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(228,0,27,.2), transparent 60%), var(--black);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer__grid { display: grid; gap: 2.75rem; padding-bottom: 3rem; }
.footer__brand .brand img { height: 46px; }
.footer__brand p { margin-block: 1.25rem 1.75rem; max-width: 46ch; }
.footer__title {
  display: flex; align-items: center; gap: .6rem; color: var(--white); font-size: 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1.2rem;
}
.footer__title .slash { width: 22px; height: 9px; }
.footer__title--sub { margin-top: 1.75rem; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; transition: color .2s ease; }
.footer__links svg { width: 16px; height: 16px; color: var(--red); transition: transform .2s ease; }
.footer__links a:hover { color: var(--white); }
.footer__links a:hover svg { transform: translateX(3px); }
.footer__info { display: grid; gap: .6rem; }
.footer__info b { color: var(--white); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.footer__info a { text-decoration: none; overflow-wrap: anywhere; }
.footer__info a:hover { color: var(--white); }
.footer__cta { margin-top: 1.75rem; }

.footer__tools {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.5rem;
  padding-block: 2rem; border-top: 1px solid var(--panel-line);
}
.footer__tools img { width: 40px; height: 40px; object-fit: contain; opacity: .75; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.footer__tools img:hover { opacity: 1; filter: none; }

.footer__bar { background: linear-gradient(90deg, #7A1119 0%, #2A1A1B 40%, #141414 100%); }
.footer__bottom { display: flex; flex-direction: column; gap: .75rem; padding-block: 1.2rem; font-size: .9rem; color: #E2E2E6; }
.footer__bottom a { color: var(--white); text-decoration: none; font-weight: 700; }
.footer__bottom a:hover { color: #FF8A95; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; text-transform: uppercase; letter-spacing: .07em; font-size: .82rem; }
.to-top svg { width: 16px; height: 16px; }

/* ==========================================================================
   ≥ 480px
   ========================================================================== */
@media (min-width: 480px) {
  .tool-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Tablet ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  .topbar__inner { justify-content: space-between; }
  .topbar__item--email { display: inline-flex; }
  .header__cta { display: inline-flex; }
  .menu-btn__label { display: inline; }
  .brand img { height: 38px; }
  .section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .reviews, .projects { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
  .mission__card { position: absolute; right: 2rem; bottom: -2.5rem; margin: 0; max-width: 460px; }
  .mission { padding-bottom: 2.5rem; }
  .team__cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ==========================================================================
   Laptop ≥ 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .brand img { height: 44px; }
  .header__phone { display: inline-flex; }
  .tool-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tool-strip li { flex-direction: column; text-align: center; padding: 1rem .5rem; }
  .tool-strip span { align-items: center; }

  .about { grid-template-columns: 5fr 6fr; }
  .mission__media img { aspect-ratio: 21 / 9; }

  .svc { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .svc:nth-child(even) .svc__visual { order: 2; }
  .svc:nth-child(even) .svc__visual::after { right: auto; left: -6px; }

  .trust { grid-template-columns: 6fr 5fr; }
  .reviews, .projects { grid-template-columns: repeat(3, 1fr); }
  .team__inner { grid-template-columns: 5fr 7fr; }
  .team__cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .team-card:only-child { justify-self: end; }
  .quote { grid-template-columns: 5fr 7fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
}

/* ==========================================================================
   Large desktop ≥ 1600px
   ========================================================================== */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
  body { font-size: 1.0625rem; }
}

/* ---------- Small phones ≤ 360px ---------- */
@media (max-width: 360px) {
  .btn-row .btn { width: 100%; }
  .brand img { height: 30px; }
  .menu-btn { padding: 0 .7rem; }
  .review { padding: 1.6rem 1.25rem; }
  .team-card__caption { left: 24px; right: 24px; bottom: 24px; padding: .8rem 1rem; }
}

/* ==========================================================================
   Subpages
   ========================================================================== */
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.menu__list a[aria-current="page"] { color: var(--red-hot); }
.menu__list a[aria-current="page"]::after { opacity: 1; }

/* Framed image with red stripes (shared by page heroes + profile) */
.frame { position: relative; margin: 0; padding: 12px; background: #0B0B0B; border: 1px solid #2E2E2E; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 10px; height: 92px; z-index: 2;
  background: repeating-linear-gradient(160deg, var(--red) 0 16px, transparent 16px 30px);
}
.frame::before { left: -6px; top: 26px; }
.frame::after { right: -6px; bottom: 26px; }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }

/* ---------- Page hero ---------- */
.page-hero {
  color: var(--white);
  background:
    radial-gradient(ellipse 55% 80% at 0% 20%, rgba(228,0,27,.24), transparent 62%),
    linear-gradient(180deg, #050505, #121212);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--panel-line);
}
.page-hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.page-hero__title {
  font-size: clamp(2rem, 1.1rem + 3.2vw, 3.5rem); font-weight: 900; font-stretch: 118%;
  line-height: 1.03; letter-spacing: -0.015em; text-transform: uppercase; text-wrap: balance;
}
.page-hero__lead { margin-block: 1.25rem 2rem; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: #D2D2D7; max-width: 58ch; }

.crumbs { margin-bottom: 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-on-dark); }
.crumbs li + li::before { content: ""; width: 14px; height: 5px; background: var(--red); transform: skewX(-30deg); }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--red-hot); }
.crumbs [aria-current="page"] { color: var(--red-hot); }

/* ---------- Experience timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; display: grid; gap: 2rem; border-left: 2px solid var(--panel-line); }
.job { position: relative; display: grid; gap: 1rem; }
.job::before {
  content: ""; position: absolute; left: calc(-1.25rem - 7px); top: .35rem; width: 12px; height: 12px;
  background: var(--red); clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
}
.job__meta { display: flex; flex-direction: column; gap: .3rem; }
.job__years {
  align-self: flex-start; padding: .35rem .85rem; background: var(--grad-red); color: var(--white);
  font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.job__company { font-size: 1.15rem; font-weight: 800; font-stretch: 112%; color: var(--white); }
.job__card { padding: clamp(1.25rem, 3vw, 2rem); background: #0B0B0B; border: 1px solid var(--panel-line); border-top: 3px solid var(--red); }
.job__role { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 900; font-stretch: 115%; text-transform: uppercase; margin-bottom: 1rem; }
.job__points { display: grid; gap: .7rem; }
.job__points li { display: flex; gap: .7rem; color: #CFCFD4; }
.job__points svg { width: 18px; height: 18px; margin-top: .25rem; color: var(--red-hot); }

/* ---------- Profile (about) ---------- */
.profile { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.profile__media img { aspect-ratio: 4 / 4.5; }

/* ---------- Tools with bars (services) ---------- */
.tools { display: grid; gap: 1rem; }
.tool {
  position: relative; display: flex; align-items: center; gap: 1.1rem; overflow: hidden;
  padding: 1.35rem 1.5rem 1.6rem; background: var(--black); border: 1px solid var(--panel-line); color: var(--white);
}
.tool img { width: 52px; height: 52px; object-fit: contain; }
.tool__body { display: flex; justify-content: space-between; align-items: baseline; flex: 1; gap: 1rem; }
.tool__name { font-weight: 800; font-size: 1.1rem; }
.tool__pct { font-size: 1.6rem; font-weight: 900; font-stretch: 115%; color: var(--red-hot); }
.tool__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--panel-line); }
.tool__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pct); background: var(--grad-red); }

/* ---------- Ways to reach me (contact) ---------- */
.ways { display: grid; gap: 1rem; }
.way {
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; height: 100%;
  padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
  text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.way .icon-box { margin-bottom: .75rem; }
.way__label { font-weight: 900; font-stretch: 112%; font-size: 1.2rem; text-transform: uppercase; }
.way__value { color: var(--muted); overflow-wrap: anywhere; }
.way:hover { border-color: var(--red); box-shadow: 0 18px 40px -26px rgba(228,0,27,.6); }

.svc-light .svc__body > p:not(.svc__tag) { color: var(--muted); }
.svc-light .svc__tag { color: var(--red); }
.svc-light .features svg { color: var(--red); }

@media (min-width: 768px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .page-hero__inner { grid-template-columns: 6fr 5fr; }
  .timeline { padding-left: 2rem; gap: 2.5rem; }
  .job { grid-template-columns: 220px 1fr; gap: 2rem; }
  .job::before { left: calc(-2rem - 7px); }
  .profile { grid-template-columns: 5fr 6fr; }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .ways { grid-template-columns: repeat(4, 1fr); }
  .packages { grid-template-columns: repeat(3, 1fr); }
  .package--featured { transform: translateY(-14px); }
}

/* ==========================================================================
   WordPress theme additions
   ========================================================================== */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.brand img, .custom-logo { width: auto; height: 34px; }
.brand--menu img { height: 32px; }
.quote__logo img { height: 36px; width: auto; }
.footer__brand .brand img { height: 46px; }
.admin-bar .header, .admin-bar .header2 { top: 32px; }
@media (max-width: 782px) { .admin-bar .header, .admin-bar .header2 { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header, .admin-bar .header2 { top: 0; } }

.menu__list .current-menu-item > a, .menu__list a[aria-current="page"] { color: var(--red-hot); }
.menu__list .current-menu-item > a::after { opacity: 1; }
.footer__links a[aria-current="page"] { color: var(--white); }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.empty-note { padding: 2rem; background: var(--white); border: 1px dashed #C9C9CF; text-align: center; color: var(--muted); }
.empty-note a { color: var(--red); font-weight: 700; }

/* Blog / default page content */
.entry { max-width: 820px; }
.entry > * + * { margin-top: 1.1rem; }
.entry h2, .entry h3 { font-weight: 900; font-stretch: 112%; line-height: 1.15; margin-top: 2rem; }
.entry a { color: var(--red); }
.entry img { height: auto; }
.entry ul, .entry ol { padding-left: 1.25rem; list-style: revert; }
.entry__meta { color: var(--muted); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.entry__thumb { margin-block: 1.5rem; }
.post-list { display: grid; gap: 2rem; margin-top: 2rem; }
.post-list__item { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.post-list__title { font-size: 1.5rem; font-weight: 900; font-stretch: 112%; margin-block: .3rem .6rem; }
.post-list__title a { text-decoration: none; }
.post-list__title a:hover { color: var(--red); }
.page-hero--404 { min-height: 60vh; display: grid; align-items: center; }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 1.5rem; align-items: stretch; }
.package {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--red);
}
.package__tag {
  align-self: flex-start; margin-bottom: 1.1rem; padding: .35rem .85rem;
  background: var(--mist); color: var(--ink); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.package__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 900; font-stretch: 115%; line-height: 1.1; text-transform: uppercase; }
.package__price { margin-top: 1rem; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 900; font-stretch: 118%; line-height: 1; color: var(--red); }
.package__note { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
.package .divider { margin-block: 1.4rem 1.2rem; }
.package__features { display: grid; gap: .75rem; margin-bottom: 2rem; }
.package__features li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.package__features svg {
  width: 22px; height: 22px; padding: 4px; margin-top: .1rem; color: var(--white); background: var(--grad-red);
  clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 25% 100%, 0 75%);
}
.package__btn { margin-top: auto; width: 100%; }
.package--featured { background: var(--black); color: var(--white); border-color: var(--panel-line); border-top-color: var(--red); }
.package--featured::before, .package--featured::after {
  content: ""; position: absolute; width: 10px; height: 92px;
  background: repeating-linear-gradient(160deg, var(--red) 0 16px, transparent 16px 30px);
}
.package--featured::before { left: -6px; top: 26px; }
.package--featured::after { right: -6px; bottom: 26px; }
.package--featured .package__tag { background: var(--grad-red); color: var(--white); }
.package--featured .package__price { color: var(--red-hot); }
.package--featured .package__note { color: var(--muted-on-dark); }
.packages__note { margin-top: 2rem; text-align: center; color: var(--muted); }
.packages__note a { color: var(--red); font-weight: 700; }

/* ---------- Header v2 (bordered cells, inline menu) ---------- */
.topbar2 { background: var(--black); color: var(--white); border-bottom: 1px solid var(--panel-line); font-size: .9rem; }
.topbar2__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; padding-inline: var(--gutter); }
.topbar2__info { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.topbar2__info li, .topbar2__info a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.topbar2__info svg { width: 16px; height: 16px; color: var(--red-hot); }
.topbar2__info a:hover { color: var(--red-hot); }
.topbar2__loc { display: none !important; }
.topbar2 .social a { background: transparent; clip-path: none; width: 34px; height: 34px; }
.topbar2 .social a:hover { background: transparent; color: var(--red-hot); }
.topbar2 .social svg { width: 19px; height: 19px; }

.header2 {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: stretch;
  background: rgba(0,0,0,.88); backdrop-filter: blur(6px); color: var(--white);
  border-bottom: 1px solid var(--panel-line);
}
.header2__cell { display: flex; align-items: center; }
.header2__cell--logo { flex: 0 0 auto; padding: .9rem var(--gutter); border-right: 1px solid var(--panel-line); }
.header2__cell--logo .brand img { height: 40px; }
.header2__cell--nav { flex: 1 1 auto; justify-content: flex-end; padding-inline: var(--gutter); }
.header2__cell--cta { display: none; flex: 0 0 auto; padding: 1rem; border-left: 1px solid var(--panel-line); }
.nav2 { display: none; }
.header2__cta {
  display: flex; align-items: center; justify-content: center; min-width: 220px; min-height: 68px; padding-inline: 1.5rem;
  background: #E8161F; color: var(--white); text-decoration: none;
  font-weight: 800; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .14em; transition: background-color .2s ease;
}
.header2__cta:hover { background: var(--red-dark); }

@media (min-width: 768px) {
  .topbar2__loc { display: inline-flex !important; }
}
@media (min-width: 1024px) {
  .header2__toggle { display: none; }
  .nav2 { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem clamp(.6rem, 1.2vw, 1.4rem); }
  .nav2 a {
    display: block; position: relative; padding: .6rem 0; text-decoration: none;
    font-weight: 800; font-size: clamp(.86rem, .55rem + .45vw, 1.05rem); text-transform: uppercase; letter-spacing: .02em;
  }
  .nav2 a::after { content: ""; position: absolute; left: 0; bottom: .25rem; width: 0; height: 2px; background: var(--red); transition: width .2s ease; }
  .nav2 a:hover, .nav2 .current-menu-item > a, .nav2 a[aria-current="page"] { color: var(--red-hot); }
  .nav2 a:hover::after { width: 100%; }
  .header2__cell--cta { display: flex; }
  .header2__cell--logo .brand img { height: 46px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header2__cta { min-width: 0; letter-spacing: .1em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mac__shot, .mac:hover .mac__shot, .mac:focus-visible .mac__shot, .project.is-scrolling .mac__shot { transition: none !important; background-position: 50% 0% !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}