:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #11100e;
  --panel: #181411;
  --panel-strong: #211a15;
  --paper: #f4efe4;
  --muted: #b8aa96;
  --line: rgba(244, 239, 228, 0.16);
  --amber: #ffb000;
  --red: #e43121;
  --metal: #95a09c;
  --green: #2d6f5e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.06) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(0deg, rgba(255, 176, 0, 0.04) 1px, transparent 1px) 0 0 / 76px 76px,
    radial-gradient(circle at 18% 18%, rgba(228, 49, 33, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(45, 111, 94, 0.22), transparent 24rem),
    var(--black);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
}

body::selection {
  background: var(--amber);
  color: var(--black);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.12;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(115deg, transparent 0 9px, rgba(255, 255, 255, 0.18) 10px 11px);
  mix-blend-mode: overlay;
}

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--amber);
  background: linear-gradient(145deg, rgba(255, 176, 0, 0.18), rgba(228, 49, 33, 0.16));
  color: var(--amber);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--amber);
}

.header-cta,
.primary-action,
.secondary-action,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.header-cta {
  padding: 0 16px;
  background: var(--paper);
  color: var(--black);
}

.header-cta svg,
.primary-action svg,
.secondary-action svg,
.lead-form button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 142px clamp(18px, 5vw, 72px) clamp(40px, 8vw, 86px);
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.62) 40%, rgba(5, 5, 5, 0.22) 78%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.98) 0%, transparent 42%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.62), transparent 30%);
}

.hero-grid {
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.12) 1px, transparent 1px) 0 0 / 112px 112px,
    linear-gradient(0deg, rgba(255, 176, 0, 0.09) 1px, transparent 1px) 0 0 / 112px 112px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
}

.kicker,
.section-label {
  margin: 0 0 16px;
  color: var(--amber);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 0.88;
}

h1 {
  max-width: 760px;
  font-size: clamp(4.3rem, 13vw, 12.5rem);
}

h2 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
}

.hero-copy {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: rgba(244, 239, 228, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.primary-action,
.secondary-action {
  padding: 0 22px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.primary-action {
  background: var(--red);
  color: white;
  box-shadow: 0 18px 46px rgba(228, 49, 33, 0.32);
}

.secondary-action {
  border: 1px solid rgba(244, 239, 228, 0.32);
  color: var(--paper);
  background: rgba(5, 5, 5, 0.32);
}

.primary-action:hover,
.secondary-action:hover,
.lead-form button:hover {
  transform: translateY(-2px);
}

.secondary-action:hover {
  background: var(--paper);
  color: var(--black);
}

.hero-instruments {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(26px, 7vw, 78px);
  z-index: 2;
  display: grid;
  gap: 14px;
  width: min(340px, 32vw);
}

.dial {
  position: relative;
  aspect-ratio: 1.4;
  border: 1px solid rgba(244, 239, 228, 0.22);
  background:
    conic-gradient(from 224deg, rgba(255, 176, 0, 0.18), rgba(228, 49, 33, 0.48), transparent 250deg),
    rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dial::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 4px;
  left: 14%;
  bottom: 26%;
  background: var(--red);
  transform: rotate(-14deg);
  transform-origin: 86% 50%;
  box-shadow: 0 0 22px rgba(228, 49, 33, 0.8);
}

.dial span,
.dial strong,
.dial small {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.dial span {
  align-self: start;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.9rem;
}

.dial strong {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.9;
}

.dial small {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(244, 239, 228, 0.18);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(12px);
}

.spec-strip span {
  padding: 16px 8px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.spec-strip span + span {
  border-left: 1px solid rgba(244, 239, 228, 0.14);
}

section:not(.hero) {
  padding: clamp(72px, 12vw, 138px) clamp(18px, 5vw, 72px);
}

.intro-section,
.ownership-section {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 176, 0, 0.08), rgba(45, 111, 94, 0.08));
}

.intro-copy {
  max-width: 980px;
}

.intro-copy p,
.engine-copy p,
.story-copy p,
.ownership-section p,
.contact-copy p {
  color: rgba(244, 239, 228, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.engine-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44vw);
  align-items: center;
  gap: clamp(38px, 7vw, 86px);
}

.engine-copy {
  max-width: 710px;
}

.engine-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.engine-highlights div,
.tech-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 239, 228, 0.07), rgba(244, 239, 228, 0.025));
}

.engine-highlights div {
  padding: 20px;
}

.engine-highlights strong,
.engine-highlights span,
.tech-item strong,
.tech-item span {
  display: block;
}

.engine-highlights strong,
.tech-item strong {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.engine-highlights span,
.tech-item span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.engine-visual {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.boost-ring {
  position: relative;
  width: min(520px, 86vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--black) 0 36%, transparent 37%),
    conic-gradient(from 225deg, var(--green), var(--amber), var(--red), transparent 265deg);
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 228, 0.16),
    0 0 90px rgba(255, 176, 0, 0.12);
}

.boost-ring::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(244, 239, 228, 0.2);
  border-radius: 50%;
}

.needle {
  position: absolute;
  width: 42%;
  height: 5px;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: var(--red);
  transform: rotate(-34deg);
  transform-origin: 0 50%;
  box-shadow: 0 0 26px rgba(228, 49, 33, 0.78);
  animation: spool 3200ms ease-in-out infinite;
}

.boost-center {
  position: relative;
  z-index: 1;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 228, 0.22);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.86);
  display: grid;
  place-items: center;
  align-content: center;
  box-shadow: inset 0 0 40px rgba(255, 176, 0, 0.08);
}

.boost-center strong {
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.84;
}

.boost-center small {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-lines {
  position: absolute;
  inset: auto 0 4%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.pulse-lines span {
  height: 68px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  background: linear-gradient(180deg, rgba(255, 176, 0, 0.24), transparent);
  transform-origin: bottom;
  animation: cylinder 1100ms ease-in-out infinite;
}

.pulse-lines span:nth-child(2) {
  animation-delay: 90ms;
}

.pulse-lines span:nth-child(3) {
  animation-delay: 180ms;
}

.pulse-lines span:nth-child(4) {
  animation-delay: 270ms;
}

.pulse-lines span:nth-child(5) {
  animation-delay: 360ms;
}

.tech-section {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 72px);
  align-items: start;
  margin-bottom: 40px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tech-item {
  min-height: 166px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-item strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  box-shadow: var(--shadow);
}

.photo-panel::after {
  content: "Preto Vesúvio";
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(5, 5, 5, 0.7);
  color: var(--amber);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.05);
}

.story-copy {
  max-width: 720px;
}

.selling-points {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
}

.selling-points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(244, 239, 228, 0.86);
}

.selling-points svg {
  width: 22px;
  color: var(--amber);
}

.ownership-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: clamp(34px, 8vw, 92px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(228, 49, 33, 0.18), transparent 46%),
    linear-gradient(90deg, var(--black), var(--panel));
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(244, 239, 228, 0.18);
  background: rgba(244, 239, 228, 0.06);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 239, 228, 0.18);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.58);
  color: var(--paper);
  padding: 14px 14px;
  outline: none;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.16);
}

.lead-form button {
  width: 100%;
  min-height: 52px;
  background: var(--amber);
  color: var(--black);
  transition: transform 180ms ease;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px) 34px;
  border-top: 1px solid var(--line);
  color: rgba(244, 239, 228, 0.5);
  background: #030303;
  font-size: 0.82rem;
}

.site-footer p {
  max-width: 980px;
  margin: 0;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes spool {
  0%,
  100% {
    transform: rotate(-42deg);
  }
  48% {
    transform: rotate(22deg);
  }
  58% {
    transform: rotate(12deg);
  }
}

@keyframes cylinder {
  0%,
  100% {
    transform: scaleY(0.34);
    opacity: 0.35;
  }
  48% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: 920px;
  }

  .hero-instruments {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(540px, 100%);
    margin-top: 44px;
  }

  .dial {
    display: none;
  }

  .engine-section,
  .story-section,
  .contact-section,
  .ownership-section {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 10px 10px auto;
    padding: 8px;
  }

  .brand small,
  .nav-links,
  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 42px;
    padding: 0;
  }

  .hero {
    min-height: 850px;
    padding-top: 118px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.52)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.98) 0%, transparent 58%);
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .intro-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .engine-highlights,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .engine-visual {
    min-height: 380px;
  }

  .pulse-lines {
    display: none;
  }

  .photo-panel {
    min-height: 360px;
  }

  .spec-strip {
    grid-template-columns: 1fr;
  }

  .spec-strip span + span {
    border-left: 0;
    border-top: 1px solid rgba(244, 239, 228, 0.14);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
