:root {
  --black: #080808;
  --black-soft: #0d0d0e;
  --panel: #121214;
  --panel-light: #18181b;
  --white: #f6f4f1;
  --muted: #a6a4a2;
  --line: rgba(255, 255, 255, 0.12);
  --red: #e4232c;
  --red-dark: #ad1119;
  --blue: #3270ff;
  --green: #25d366;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1200px, calc(100% - 48px));
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 em,
h2 em {
  color: var(--red);
  font-style: normal;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #000;
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 2px;
  background: #fff;
}

.brand-logo {
  display: block;
  width: 370px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: #fff;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 13px 18px;
  background: var(--red);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: #ff3039;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  color: #fff;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-image {
  background-image: url("assets/rotuning-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  animation: hero-push 14s ease-out both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.98) 0%, rgba(4, 4, 4, 0.9) 31%, rgba(4, 4, 4, 0.35) 63%, rgba(4, 4, 4, 0.15) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 25%);
}

@keyframes hero-push {
  from { transform: scale(1.07); }
  to { transform: scale(1.015); }
}

.hero-content {
  padding-top: 138px;
  padding-bottom: 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #d7d4d1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 3px;
  background: var(--red);
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 7.2vw, 7.3rem);
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 38px;
  color: #d0cecb;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button span {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover span {
  transform: translate(2px, -2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-primary:hover {
  background: #ff3039;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(5px);
}

.button-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: #111;
  background: #fff;
}

.button-light:hover {
  background: #eae7e2;
}

.hero-proof {
  display: flex;
  gap: clamp(34px, 5vw, 80px);
  margin-top: 78px;
}

.hero-proof div {
  display: grid;
  gap: 4px;
}

.hero-proof strong {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
}

.hero-proof span {
  max-width: 155px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: grid;
  width: 44px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  place-items: center;
}

.scroll-cue span {
  width: 2px;
  height: 18px;
  background: #fff;
  animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
  0%, 100% { transform: translateY(-6px); opacity: 0.4; }
  50% { transform: translateY(7px); opacity: 1; }
}

.intro {
  background:
    radial-gradient(circle at 0 5%, rgba(228, 35, 44, 0.12), transparent 29%),
    var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 130px);
}

.section-heading h2,
.contact-header h2,
.process-copy h2,
.cta-inner h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(3rem, 5.3vw, 5.7rem);
  letter-spacing: -0.035em;
}

.intro-copy {
  padding-top: 38px;
  color: var(--muted);
  font-size: 1rem;
}

.intro-copy .lead {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
}

.quality-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  margin-top: 100px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.04), transparent);
}

.quality-title {
  display: grid;
  align-content: center;
  padding: 40px;
  border-right: 1px solid var(--line);
}

.quality-title span,
.quality-title strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.quality-title strong {
  color: var(--red);
}

.quality-strip ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quality-strip li {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-weight: 600;
}

.quality-strip li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.quality-strip i {
  color: var(--red);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.1em;
}

.services {
  border-top: 1px solid var(--line);
  background: #0a0a0b;
}

.projects {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 15%, rgba(228, 35, 44, 0.1), transparent 25%),
    #080809;
}

.project-gallery {
  display: grid;
  gap: clamp(58px, 7vw, 92px);
}

.project-category {
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.project-category > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.project-category > header > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}

.project-category-index {
  color: var(--red);
  font-family: var(--display);
  font-size: 0.78rem;
}

.project-category h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-category header small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-slider-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.project-slider-controls button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  place-items: center;
}

.project-slider-controls button:hover,
.project-slider-controls button:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

.project-slider {
  display: flex;
  gap: clamp(12px, 1.5vw, 20px);
  overflow-x: auto;
  padding-bottom: 3px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.project-slider::-webkit-scrollbar {
  display: none;
}

.project-slider:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 5px;
}

.project-slide {
  position: relative;
  flex: 0 0 clamp(360px, 49vw, 620px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: #fff;
  background: #050505;
  cursor: zoom-in;
  scroll-snap-align: start;
  text-align: left;
}

.project-slider.is-single .project-slide {
  flex-basis: min(100%, 760px);
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.project-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 62%);
}

.project-slide > span {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 3vw, 30px);
  bottom: clamp(18px, 3vw, 28px);
  left: clamp(18px, 3vw, 30px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.project-slide small {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-slide strong {
  max-width: 76%;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}

.project-slide:hover img,
.project-slide:focus-visible img {
  filter: brightness(1.08);
  transform: scale(1.045);
}

.project-slide:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.gallery-loading,
.gallery-empty {
  display: grid;
  min-height: 260px;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

.gallery-empty strong {
  color: #fff;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading-wide > p {
  max-width: 430px;
  margin-bottom: 7px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  grid-column: span 4;
  min-height: 410px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.27);
  background: var(--panel-light);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-card-with-note {
  display: flex;
  flex-direction: column;
}

.service-card-featured {
  grid-column: span 7;
  background: linear-gradient(145deg, #171719, #101011);
}

.service-card-accent {
  grid-column: span 5;
  background:
    linear-gradient(rgba(139, 9, 16, 0.92), rgba(92, 5, 10, 0.96)),
    url("assets/rotuning-hero.jpg") 69% center / cover;
}

.service-card-accent::before {
  background: #fff;
}

.service-card-photo {
  grid-column: span 6;
  background:
    linear-gradient(110deg, rgba(15, 15, 16, 0.98) 0%, rgba(15, 15, 16, 0.82) 65%, rgba(15, 15, 16, 0.45)),
    url("assets/rotuning-hero.jpg") 85% center / cover;
}

.service-card:nth-last-child(2) {
  grid-column: span 6;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.service-number {
  color: var(--red);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.service-card-accent .service-number {
  color: #fff;
}

.service-label {
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: #cfcdca;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  letter-spacing: -0.025em;
}

.service-card > p,
.service-columns p {
  color: var(--muted);
}

.service-card-accent > p,
.service-card-accent .card-note {
  color: rgba(255, 255, 255, 0.78);
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 35px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.service-card h4 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plain-list,
.check-list,
.tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li,
.check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  color: #c6c3c0;
  font-size: 0.87rem;
}

.plain-list li::before {
  position: absolute;
  left: 0;
  content: "—";
  color: var(--red);
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--red);
  font-weight: 700;
}

.service-card-accent .check-list li::before {
  color: #fff;
}

.check-list.compact {
  margin-top: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e8e5e2;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-note {
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.process {
  background:
    linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%),
    radial-gradient(circle at 10% 70%, rgba(228, 35, 44, 0.1), transparent 30%),
    var(--black);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 10vw, 150px);
}

.process-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
  padding-top: 4px;
}

.process-list > li > span {
  padding-top: 7px;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.9rem;
}

.process-list h3 {
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.process-list p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 0 0 105px;
  background: var(--red);
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.68);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.ticker > div {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  animation: marquee 20s linear infinite;
}

.ticker i {
  color: #fff;
  font-size: 0.55em;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.cta-inner {
  padding-top: 90px;
  text-align: center;
}

.cta-inner > p {
  margin-bottom: 12px;
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cta-inner h2 {
  max-width: none;
  margin-bottom: 36px;
  color: #0b0b0b;
}

.cta-inner h2 em {
  color: #fff;
}

.contact {
  background:
    radial-gradient(circle at 85% 12%, rgba(50, 112, 255, 0.09), transparent 25%),
    #09090a;
}

.contact-header {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.contact-header .eyebrow,
.contact-header h2 {
  grid-column: 1;
}

.contact-header h2 {
  grid-row: 2;
}

.contact-header > p:last-child {
  grid-column: 2;
  grid-row: 2;
  max-width: 450px;
  margin: 0 0 7px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--line);
}

.contact-details,
.contact-form {
  padding: clamp(28px, 4vw, 52px);
}

.contact-details {
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.contact-primary {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 25px 45px 25px 0;
  border-bottom: 1px solid var(--line);
}

.contact-primary:first-child {
  padding-top: 0;
}

.contact-primary small,
.contact-meta small,
.social-row small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-primary strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-weight: 500;
}

.contact-primary > span {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--red);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.contact-primary:hover > span {
  transform: translate(3px, -3px);
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 34px;
}

.contact-meta p {
  margin: 6px 0 0;
  color: #d0cecc;
  font-size: 0.86rem;
  line-height: 1.65;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(2, 52px);
  gap: 12px;
  width: max-content;
  margin-top: 34px;
}

.social-row small {
  grid-column: 1 / -1;
  margin: 0 0 2px;
}

.social-row span,
.social-row a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: #d0cecc;
  font-size: 0.7rem;
}

.social-row a:not(.is-pending):hover {
  border-color: var(--red);
  color: #fff;
}

.social-row .social-link {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 25px;
  height: 25px;
  overflow: visible;
  stroke: none;
  transition: transform 180ms ease;
}

.social-link-instagram {
  background: linear-gradient(145deg, rgba(123, 60, 255, 0.1), rgba(240, 0, 115, 0.06) 55%, rgba(255, 184, 0, 0.08));
}

.social-link-tiktok {
  background: linear-gradient(145deg, rgba(37, 244, 238, 0.08), rgba(8, 8, 8, 0.2) 52%, rgba(254, 44, 85, 0.08));
}

.social-row .social-link-instagram:hover,
.social-row .social-link-instagram:focus-visible {
  border-color: rgba(240, 0, 115, 0.65);
  background: linear-gradient(145deg, rgba(123, 60, 255, 0.18), rgba(240, 0, 115, 0.12) 55%, rgba(255, 184, 0, 0.14));
  box-shadow: 0 10px 28px rgba(240, 0, 115, 0.12);
  transform: translateY(-2px);
}

.social-row .social-link-tiktok:hover,
.social-row .social-link-tiktok:focus-visible {
  border-color: rgba(37, 244, 238, 0.55);
  background: linear-gradient(145deg, rgba(37, 244, 238, 0.14), rgba(8, 8, 8, 0.2) 52%, rgba(254, 44, 85, 0.14));
  box-shadow: -5px 8px 22px rgba(37, 244, 238, 0.07), 5px 8px 22px rgba(254, 44, 85, 0.07);
  transform: translateY(-2px);
}

.social-link:hover svg,
.social-link:focus-visible svg {
  transform: scale(1.1);
}

.social-row .is-pending {
  opacity: 0.45;
  pointer-events: none;
}

.contact-form {
  display: grid;
  gap: 22px;
  background: #0e0e0f;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #d7d4d1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s ease;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
}

.contact-form textarea {
  min-height: 105px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form select option {
  color: #111;
  background: #fff;
}

.form-submit {
  justify-self: start;
  border: 0;
}

.form-note {
  margin: -9px 0 0;
  color: #777;
  font-size: 0.7rem;
}

.contact-form .privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.contact-form .privacy-check input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
  accent-color: var(--red);
}

.privacy-check a {
  border-bottom: 1px solid var(--red);
}

.map-wrap {
  position: relative;
  height: 390px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #171717;
}

.map-wrap::after {
  position: absolute;
  pointer-events: none;
  inset: 0;
  content: "";
  background: rgba(4, 4, 4, 0.22);
  mix-blend-mode: multiply;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.15);
}

.map-wrap > a {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 12px 18px;
  color: #fff;
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.map-consent {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(228, 35, 44, 0.12), transparent 35%),
    #131315;
  text-align: center;
}

.map-consent[hidden] {
  display: none;
}

.map-consent strong {
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.map-consent p {
  max-width: 430px;
  color: var(--muted);
}

.map-consent button {
  padding: 12px 18px;
  border: 1px solid var(--red);
  color: #fff;
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #070707;
}

.site-footer .brand {
  justify-self: start;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.footer-grid > p {
  margin: 0;
  color: #777;
  font-size: 0.72rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  justify-content: flex-end;
  color: #777;
  font-size: 0.68rem;
}

.footer-legal p {
  width: 100%;
  margin: 0;
  text-align: right;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-credit {
  display: flex;
  width: 100%;
  margin-top: 6px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #777;
}

.footer-credit img {
  width: 96px;
  height: auto;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-credit:hover img,
.footer-credit:focus-visible img {
  opacity: 1;
  transform: translateY(-1px);
}

.project-dialog,
.cookie-dialog {
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  color: #fff;
  background: #101011;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.75);
}

.project-dialog {
  width: min(1180px, calc(100% - 28px));
}

.project-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.65fr);
}

.cookie-dialog {
  width: min(920px, calc(100% - 28px));
}

.project-dialog::backdrop,
.cookie-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.project-dialog > img {
  width: 100%;
  height: min(82dvh, 820px);
  object-fit: contain;
  background: #050505;
}

.project-dialog > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 52px);
}

.project-dialog small,
.cookie-dialog small {
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-dialog small {
  font-size: 0.6rem;
}

.project-dialog h2 {
  margin: 9px 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.project-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  outline: none;
  color: #fff;
  background: rgba(5, 5, 5, 0.82);
  font-size: 0;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  place-items: center;
}

.dialog-close::before,
.dialog-close::after {
  position: absolute;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
}

.dialog-close::before {
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

.dialog-close:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.dialog-close:focus-visible {
  border-color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  z-index: 1500;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 15, 16, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.cookie-banner p {
  max-width: 680px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.cookie-banner p a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cookie-actions button,
.cookie-dialog-actions button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: #222225;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-actions [data-cookie-accept],
.cookie-actions [data-cookie-reject],
.cookie-dialog-actions [data-cookie-save] {
  border-color: var(--red);
  background: var(--red);
}

.cookie-actions [data-cookie-reject] {
  border-color: #fff;
  color: #111;
  background: #fff;
}

.cookie-dialog {
  max-width: 670px;
}

.cookie-dialog form {
  padding: clamp(24px, 5vw, 42px);
}

.cookie-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.cookie-dialog h2 {
  margin: 5px 0 0;
  font-size: 2.5rem;
}

.cookie-dialog-head > button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.cookie-option p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.cookie-option > span {
  color: #81dba1;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--red);
}

.cookie-dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 25px;
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.2);
}

.whatsapp-float svg {
  width: 27px;
  fill: #fff;
}

.js .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .js .main-nav {
    position: fixed;
    top: 106px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 8, 8, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .js .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .main-nav .nav-cta { margin-top: 12px; border: 0; text-align: center; }
  .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); }
}

@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 760px); }
  .section { padding: 90px 0; }

  .nav-wrap { min-height: 84px; }
  .brand-logo { width: 285px; }
  .js .main-nav { top: 84px; }

  .hero { min-height: 900px; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4, 4, 4, 0.98), rgba(4, 4, 4, 0.5)), linear-gradient(0deg, var(--black), transparent 35%); }
  .hero h1 { max-width: 700px; }
  .scroll-cue { display: none; }

  .intro-grid,
  .process-grid { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .quality-strip { grid-template-columns: 1fr; }
  .quality-title { border-right: 0; border-bottom: 1px solid var(--line); }
  .quality-strip li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .quality-strip li:nth-last-child(-n + 1) { border-bottom: 0; }

  .section-heading-wide,
  .contact-header { grid-template-columns: 1fr; gap: 30px; }
  .section-heading-wide > p { margin: 0; }
  .contact-header > p:last-child { grid-column: 1; grid-row: 3; }
  .service-card,
  .service-card-featured,
  .service-card-accent,
  .service-card-photo,
  .service-card:nth-last-child(2) { grid-column: span 6; }
  .service-card-featured { grid-column: span 12; }

  .process { background: radial-gradient(circle at 10% 70%, rgba(228, 35, 44, 0.1), transparent 30%), var(--black); }
  .process-copy { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p:first-of-type { display: none; }
  .footer-legal { justify-content: flex-end; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 28px); }
  .section { padding: 74px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-logo { width: 225px; }
  .js .main-nav { top: 72px; }

  .hero { min-height: 820px; }
  .hero-content { padding-top: 115px; padding-bottom: 40px; }
  .hero-image { background-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4, 4, 4, 0.97), rgba(4, 4, 4, 0.55)), linear-gradient(0deg, var(--black) 0%, rgba(4, 4, 4, 0.2) 48%, transparent); }
  .hero h1 { font-size: clamp(3.45rem, 16vw, 5.2rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
  .hero-proof strong { font-size: 1.5rem; }
  .hero-proof span { font-size: 0.6rem; }

  .section-heading h2,
  .contact-header h2,
  .process-copy h2,
  .cta-inner h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .quality-strip { margin-top: 60px; }
  .quality-title { padding: 28px; }
  .quality-strip ul { grid-template-columns: 1fr; }
  .quality-strip li { min-height: 68px; border-left: 0; }
  .quality-strip li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .quality-strip li:last-child { border-bottom: 0; }

  .section-heading-wide { margin-bottom: 45px; }
  .service-grid { display: block; }
  .service-card { min-height: auto; margin-bottom: 12px; padding: 27px; }
  .card-top { margin-bottom: 35px; }
  .service-columns { grid-template-columns: 1fr; gap: 22px; }
  .card-note { position: static; margin-top: 28px; }

  .process-list li { grid-template-columns: 45px 1fr; gap: 10px; }
  .project-gallery { gap: 58px; }
  .project-category { padding-top: 16px; }
  .project-category > header { align-items: center; margin-bottom: 18px; }
  .project-category > header > div:first-child { display: grid; gap: 4px 10px; }
  .project-category-index { grid-row: 1 / 3; align-self: start; padding-top: 6px; }
  .project-category h3 { font-size: clamp(2rem, 10vw, 3rem); }
  .project-category header small { grid-column: 2; }
  .project-slider-controls button { width: 39px; height: 39px; }
  .project-slide { flex-basis: min(88vw, 500px); aspect-ratio: 4 / 5; }
  .project-slider.is-single .project-slide { flex-basis: 100%; }
  .project-slide > span { display: grid; gap: 8px; }
  .project-slide strong { max-width: 100%; font-size: 1.75rem; }
  .project-slide small { padding: 0; }
  .project-dialog[open] { grid-template-columns: 1fr; }
  .project-dialog > img { height: auto; max-height: 62dvh; }
  .project-dialog > div { padding: 25px; }
  .ticker { font-size: 2.6rem; }
  .cta-band { padding-bottom: 78px; }
  .cta-inner { padding-top: 70px; }
  .contact-header { margin-bottom: 45px; }
  .field-row,
  .contact-meta { grid-template-columns: 1fr; }
  .contact-details,
  .contact-form { padding: 27px; }
  .map-wrap { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; }
  .footer-legal p { text-align: left; }
  .footer-credit { justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-option { align-items: start; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
