/* Aument Bionics — Times Event–inspired home */

:root {
  --bg: #141414;
  --bg-elevated: #1a1a1a;
  --text: #F2F2F2;
  --text-muted: #B3B3B3;
  --accent: #F2F2F2;
  --border: rgba(242, 242, 242, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "ivyora-display", "ivyora-text", Georgia, serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-marquee: "Archivo SemiExpanded", "Archivo", system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

em {
  font-style: italic;
  color: var(--text-muted);
}

/* ——— Main layout ——— */
.page {
  position: relative;
  min-height: 100vh;
}

.page > section,
.page > .section {
  position: relative;
  z-index: 1;
}

/* Side textures — alexander.jpg from viewport edges, runs down the page */
.page-texture {
  position: absolute;
  top: 100vh;
  bottom: 0;
  width: min(32vw, 420px);
  pointer-events: none;
  z-index: 0;
  background-image: url("/alexander.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.28) saturate(0.7);
  opacity: 0.88;
}

.page-texture--left {
  left: 0;
  background-position: left center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 6%, transparent 94%);
  mask-image: linear-gradient(to right, #000 0%, #000 6%, transparent 94%);
}

.page-texture--left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 20, 20, 0.94) 0%,
    rgba(20, 20, 20, 0.65) 40%,
    rgba(20, 20, 20, 0.2) 72%,
    transparent 100%
  );
}

.page-texture--right {
  right: 0;
  background-position: right center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 6%, transparent 94%);
  mask-image: linear-gradient(to left, #000 0%, #000 6%, transparent 94%);
}

.page-texture--right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(20, 20, 20, 0.94) 0%,
    rgba(20, 20, 20, 0.65) 40%,
    rgba(20, 20, 20, 0.2) 72%,
    transparent 100%
  );
}

/* ——— Top bar ——— */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  pointer-events: none;
}

.top-bar > * {
  pointer-events: auto;
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-brand img {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  opacity: 0.95;
}

.top-brand-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn-icon {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  position: relative;
}

.menu-btn-icon::before,
.menu-btn-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.menu-btn-icon::before { top: -5px; }
.menu-btn-icon::after { top: 5px; }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem clamp(1.5rem, 4vw, 3rem) 3rem;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.hero-marquee-wrap {
  position: absolute;
  top: 22%;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero-marquee-wrap .marquee-scroll {
  display: flex;
  will-change: transform;
}

.hero-marquee-wrap .marquee-content {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-marquee-wrap .marquee-item {
  font-family: var(--font-marquee);
  font-size: clamp(4.5rem, 14vw, 11rem);
  font-weight: 800;
  font-stretch: semi-expanded;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  padding-right: 0.15em;
  flex-shrink: 0;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

.hero-visual img {
  width: min(88vw, 1100px);
  max-width: none;
  height: auto;
  max-height: min(58vh, 720px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.5));
  transform-origin: 50% 85%;
  will-change: transform;
}

.hero-title {
  position: relative;
  z-index: 3;
  will-change: transform, opacity;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 2.5rem;
}

/* ——— Image strip marquee ——— */
.strip-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  background: var(--bg-elevated);
}

.strip-track {
  display: flex;
  gap: 1.5rem;
  animation: strip-scroll 40s linear infinite;
  width: max-content;
}

.strip-track img {
  width: clamp(200px, 22vw, 320px);
  height: clamp(140px, 16vw, 220px);
  object-fit: contain;
  background: #0a0a0a;
  border-radius: 4px;
  flex-shrink: 0;
}

@keyframes strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ——— Sections ——— */
.section {
  padding: clamp(5rem, 12vh, 9rem) clamp(2rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section--wide {
  max-width: none;
  padding-left: clamp(2rem, 5vw, 4rem);
  padding-right: clamp(2rem, 5vw, 4rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 2rem;
  max-width: 18ch;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 500;
}

/* ——— About (sticky panel — next section slides over) ——— */
.about-scroll-stage {
  position: relative;
  height: 200vh;
}

.section--about-stagger {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.section--about-stagger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #141414 url("/alexander.jpg") center 42% / cover no-repeat;
  filter: brightness(0.4) saturate(0.9);
  transform: scale(1.02);
}

.section--about-stagger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.35) 0%,
    rgba(20, 20, 20, 0.55) 45%,
    rgba(20, 20, 20, 0.82) 100%
  );
  pointer-events: none;
}

.about-statements-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(4rem, 10vh, 7rem) clamp(2rem, 5vw, 4rem);
}

.about-statements-bg {
  position: absolute;
  left: -8%;
  bottom: -25%;
  width: min(50vw, 480px);
  max-width: none;
  height: auto;
  opacity: 0.22;
  filter: blur(6px) brightness(0.45);
  pointer-events: none;
  z-index: 0;
}

.about-statements {
  position: relative;
  z-index: 1;
}

.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 1.35rem;
  max-width: 38rem;
  color: var(--text);
}

.about-statement:last-child {
  margin-bottom: 0;
}

.about-statement em {
  font-style: italic;
  color: var(--text);
}

.about-statement--1 {
  margin-left: 0;
}

.about-statement--2 {
  margin-left: clamp(2.5rem, 14vw, 10rem);
}

.about-statement--3 {
  margin-left: clamp(5rem, 26vw, 18rem);
}

.impact-block--solo {
  grid-template-columns: 1fr;
}

.contact-section--solo {
  grid-template-columns: 1fr;
  display: block;
}

.contact-section--solo .contact-details {
  max-width: 52rem;
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.service-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background 0.35s var(--ease);
}

.service-card:hover {
  background: var(--bg-elevated);
}

.service-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 0.5rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ——— Stats + image ——— */
.impact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-top: 2rem;
}

.impact-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 380px;
  background: #0a0a0a;
}

.impact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.impact-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 0;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ——— Testimonials ——— */
.testimonials {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials h2 {
  max-width: none;
}

.testimonial-slider {
  position: relative;
  margin-top: 2.5rem;
  min-height: 220px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 1.5rem;
  max-width: 52rem;
}

.testimonial-slide cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dots button {
  width: 2rem;
  height: 2px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.testimonial-dots button.is-active {
  background: var(--text);
  width: 3rem;
}

/* ——— Contact ——— */
.contact-section {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: 4rem;
}

.contact-visual img {
  max-height: 70vh;
  width: auto;
  margin: 0 auto;
  opacity: 0.9;
}

.contact-details {
  padding-bottom: 2rem;
}

.contact-copy-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  cursor: pointer;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s;
}

.contact-copy-btn:hover {
  opacity: 0.7;
}

.contact-copy-btn .hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-copy-btn.copied .hint {
  opacity: 1;
}

.contact-marquee {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  overflow: hidden;
  opacity: 0.15;
  pointer-events: none;
}

.contact-marquee .marquee-scroll {
  display: flex;
  will-change: transform;
}

.contact-marquee .marquee-content {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
}

.contact-marquee .marquee-item {
  font-family: var(--font-marquee);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  font-stretch: semi-expanded;
  text-transform: uppercase;
  color: #fff;
  padding-right: 0.15em;
  flex-shrink: 0;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
  max-width: 2.5rem;
  max-height: 2.5rem;
  object-fit: contain;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-sub {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
}

.footer-sub a {
  color: var(--text-muted);
}

/* ——— Fullscreen menu overlay ——— */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: clamp(1.5rem, 4vw, 3rem);
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
}

.menu-overlay-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-overlay-nav li {
  margin: 0.5rem 0;
}

.menu-overlay-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.menu-overlay-nav a .num {
  font-family: var(--font-body);
  font-size: 0.65em;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.menu-overlay-nav a:hover {
  opacity: 0.5;
}

.menu-overlay-divider {
  height: 1px;
  width: 3rem;
  background: var(--border);
  margin: 1.5rem auto !important;
  list-style: none;
}

.menu-overlay-logo {
  margin-top: 3rem;
}

.menu-overlay-logo img {
  height: 4rem;
  width: auto;
  max-width: 4rem;
  max-height: 4rem;
  object-fit: contain;
  margin: 0 auto;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ——— Mobile ——— */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.15rem, 1.2vh, 0.5rem);
    padding: 5.25rem 1.25rem 1.5rem;
    min-height: auto;
    min-height: unset;
  }

  .hero-marquee-wrap {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    order: 1;
    flex-shrink: 0;
    margin: 0;
  }

  .hero-marquee-wrap .marquee-item {
    font-size: clamp(2.35rem, 11.5vw, 4.25rem);
    line-height: 0.88;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: clamp(-0.35rem, -1vh, 0) 0;
    flex-shrink: 1;
  }

  .hero-visual img {
    width: min(92vw, 520px);
    max-height: min(40vh, 380px);
    margin: 0 auto;
  }

  .hero-title {
    order: 3;
    margin: 0;
    text-align: center;
    font-size: clamp(2.5rem, 11vw, 4rem);
    line-height: 0.92;
  }

  .about-grid,
  .impact-block,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-scroll-stage {
    height: 165vh;
  }

  .section--about-stagger {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
  }

  .about-statement--2 {
    margin-left: clamp(1rem, 6vw, 2.5rem);
  }

  .about-statement--3 {
    margin-left: clamp(1.75rem, 12vw, 4.5rem);
  }

  .about-statements-bg {
    width: min(70vw, 320px);
    left: -15%;
    bottom: -10%;
  }

  .page-texture {
    width: min(18vw, 120px);
    top: 100vh;
    filter: brightness(0.22) saturate(0.65);
    opacity: 0.8;
  }

  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 600px) and (orientation: portrait) {
  .rotate-hint {
    display: flex;
  }
}

.rotate-hint {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
