@font-face {
  font-family: "Aileron";
  src: url("./assets/aileron-regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Aileron";
  src: url("./assets/aileron-bold.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "PoppinsLocal";
  src: url("./assets/poppins-regular.woff2") format("woff2");
  font-weight: 400;
}

:root {
  color-scheme: dark;
  --bg: #141414;
  --surface: #1a1a1a;
  --text: #fffef4;
  --muted: #9b9b9b;
  --accent: #e8b84a;
  --line: rgba(255, 255, 255, 0.08);
  --shell: 1080px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Aileron", system-ui, sans-serif;
  line-height: 1.5;
}

main {
  overflow-x: clip;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

/* Hero — full bleed, content aligned to shell */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 680px);
  background:
    linear-gradient(105deg, rgba(20, 20, 20, 0.72) 0%, rgba(20, 20, 20, 0.35) 55%),
    url("./assets/hero-bg.jpg") center 38% / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.15) 0%,
    rgba(20, 20, 20, 0.55) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(40px, 6vw, 72px);
}

.hero__tagline {
  color: var(--muted);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin-top: clamp(40px, 7vw, 88px);
  font-family: "PoppinsLocal", "Aileron", sans-serif;
  font-size: clamp(2.75rem, 7.5vw, 6.25rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
}

.hero__brand {
  margin-top: clamp(12px, 2vw, 20px);
  font-family: "PoppinsLocal", "Aileron", sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* Shared panels below hero */
.panel {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.panel:first-of-type {
  border-top: none;
  padding-top: clamp(48px, 7vw, 72px);
}

.panel__eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel__name {
  color: var(--accent);
  font-family: "PoppinsLocal", "Aileron", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.05;
}

.panel__lead {
  margin-top: 14px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.panel__body {
  margin-top: 12px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.panel__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f12;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.panel__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(340px, 42vw);
  object-fit: cover;
  object-position: top center;
}

/* Product: text + image in two columns on wide screens */
.panel--product {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
  .panel--product {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .panel__figure {
    align-self: stretch;
  }

  .panel__figure img {
    max-height: 380px;
  }
}

/* Venture row */
.panel--venture {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
}

.panel__text--compact {
  min-width: 0;
}

.link-venture {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.panel__hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device {
  position: relative;
  width: min(168px, 28vw);
  flex-shrink: 0;
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

.device__wordmark {
  position: absolute;
  left: 46%;
  bottom: -4%;
  margin: 0;
  color: var(--text);
  font-family: "PoppinsLocal", "Aileron", sans-serif;
  font-size: clamp(0.75rem, 1.6vw, 1.15rem);
  line-height: 0.92;
  text-transform: uppercase;
}

/* Contact */
.panel--contact {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 0;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: min(420px, 52vh);
}

.contact__photo {
  min-height: 280px;
  background:
    linear-gradient(0deg, rgba(20, 20, 20, 0.12), rgba(20, 20, 20, 0.12)),
    url("./assets/contact-photo.jpg") center / cover no-repeat;
}

.contact__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
}

.contact__title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
}

.contact__label {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__email {
  margin-top: 8px;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 720px) {
  .hero {
    min-height: min(92vh, 640px);
  }

  .panel--venture {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .device {
    width: min(140px, 40vw);
  }

  .device__wordmark {
    left: 44%;
  }

  .panel--contact {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .contact__photo {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .panel__figure img {
    max-height: 260px;
  }
}
