/* MinerIA — alternative landing page 2: dark, golden-hour, wide-tracked uppercase */
:root {
  --bg: #0e0b0a;
  --bg-2: #151110;
  --bg-3: #1c1714;
  --line: rgba(241, 236, 230, 0.1);
  --text: #f1ece6;
  --muted: #a99d93;
  --rust: #a8432a;
  --copper: #e2794b;
  --copper-light: #f2a57c;
  --grad: linear-gradient(90deg, #a8432a, #e2794b 55%, #f2a57c);
  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --track: 0.16em;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0; font-weight: 300; }
figure { margin: 0; }
::selection { background: var(--copper); color: #1a0d08; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--copper); color: #1a0d08; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--copper-light); outline-offset: 4px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.lockup { display: block; width: 100%; height: auto; }
.rule { display: block; width: 44px; height: 2px; background: var(--copper); margin: 28px 0; }
.kicker { font-size: 12px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--copper); margin-bottom: 22px; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 200; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; font: 400 14px/1 var(--font); letter-spacing: 0.04em; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { background: var(--rust); color: var(--text); }
.btn--solid:hover { background: #bd4f33; }
.btn--line { border-color: var(--copper); color: var(--copper-light); background: transparent; }
.btn--line:hover { background: rgba(226, 121, 75, 0.1); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 22px var(--gutter); transition: background-color 0.4s, padding 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(14, 11, 10, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-color: var(--line); }
.nav__brand { width: clamp(150px, 15vw, 230px); color: var(--text); transition: width 0.4s var(--ease); }
.nav.is-scrolled .nav__brand { width: 150px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: 13px; font-weight: 300; }
.nav__links a { opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.nav__links a:hover { opacity: 1; color: var(--copper-light); }
.nav__contact { border: 1px solid var(--copper); padding: 8px 18px; border-radius: 2px; opacity: 1 !important; }
.nav__contact:hover { background: rgba(226, 121, 75, 0.12); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  background: url("../img/gallery/hero-poster.jpg") 62% center / cover, linear-gradient(#2a1710, #120c0a 60%, #0b0908); }
.hero.is-dragging { cursor: grabbing; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hero.is-live .hero__canvas { opacity: 1; }
.hero__canvas canvas { display: block; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 7, 6, 0.82) 0%, rgba(10, 7, 6, 0.5) 32%, transparent 60%), linear-gradient(to bottom, rgba(10, 7, 6, 0.55), transparent 22%, transparent 75%, rgba(14, 11, 10, 1)); }
.hero__content { position: relative; padding: 140px var(--gutter) 120px; max-width: 760px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title { font-size: clamp(36px, 4.6vw, 70px); line-height: 1.12; letter-spacing: var(--track); text-transform: uppercase; font-weight: 200; margin-bottom: 28px; text-wrap: balance; }
.hero__lede { max-width: 460px; font-size: 17px; color: rgba(241, 236, 230, 0.86); margin-bottom: 36px; }
.hero__coord { position: absolute; right: var(--gutter); bottom: 44px; margin: 0; font-size: 12px; line-height: 1.6; letter-spacing: 0.08em; color: var(--text); text-align: left; }
.hero__coord span { color: var(--muted); }
[data-rise] { opacity: 0; animation: rise 1.4s var(--ease) forwards; }
.hero__content > * { opacity: 0; transform: translateY(16px); animation: rise 1.4s var(--ease) forwards; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- brand band ---------- */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__top { display: grid; justify-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.band__logo { width: 100%; max-width: 620px; color: var(--text); }
.pillars__head { text-align: center; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.pillars__head .h2 { text-wrap: balance; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: clamp(40px, 5vw, 64px) clamp(20px, 2.6vw, 40px); text-align: center; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar svg { width: 46px; height: 46px; fill: none; stroke: var(--copper); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; margin: 0 auto 24px; display: block; }
.pillar h3 { font-size: 14px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 8px; line-height: 1.6; }
.pillar__sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.pillar p:last-child { font-size: 14px; color: var(--muted); max-width: 300px; margin: 0 auto; }

/* ---------- technology split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 80vh; }
.split__img { position: relative; overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg)); }
.split__text { padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(64px, 9vw, 140px) clamp(32px, 5vw, 80px); align-self: center; max-width: 620px; }
.split__text p:not(.kicker) { color: rgba(241, 236, 230, 0.78); }

/* ---------- industries ---------- */
.industries { padding: clamp(96px, 12vw, 170px) 0; }
.industries__head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.industries__head .kicker { grid-column: 1 / -1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--bg-3); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 0.6s; filter: saturate(0.9) brightness(0.85); }
.card:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 7, 6, 0.92), rgba(10, 7, 6, 0.1) 55%); }
.card__text { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.card__num { font-size: 12px; letter-spacing: 0.3em; color: var(--copper); margin-bottom: 10px; }
.card h3 { font-size: 15px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 10px; }
.card__text p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
.card__text h3:last-child { margin-bottom: 0; }

/* ---------- people ---------- */
.people { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; background: var(--bg-2); }
.people::before { content: ""; position: absolute; inset: 0; background: url("../img/brand/topo-pattern-light.png") center / cover; opacity: 0.08; filter: sepia(1) saturate(3) hue-rotate(-12deg); }
.people__inner { position: relative; max-width: 860px; }
.people p:not(.kicker) { color: rgba(241, 236, 230, 0.78); max-width: 520px; margin: 32px 0 40px; }

/* ---------- contact ---------- */
.contact { padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr; max-width: 720px; }
.contact__lede { color: rgba(241, 236, 230, 0.78); max-width: 520px; margin: 32px 0 0; }
.contact__list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; font-size: 15px; }
.contact__list span { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__list a { border-bottom: 1px solid var(--line); width: fit-content; transition: border-color 0.2s, color 0.2s; }
.contact__list a:hover { color: var(--copper-light); border-color: var(--copper); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { width: 170px; color: var(--text); }
.footer__legal { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.footer__legal .nowrap { white-space: nowrap; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links a:not(.nav__contact) { display: none; }
  .split { grid-template-columns: 1fr; }
  .split__img { aspect-ratio: 16 / 10; }
  .split__img::after { background: linear-gradient(to bottom, transparent 60%, var(--bg)); }
}
@media (max-width: 720px) {
  .pillars, .cards, .contact__grid, .industries__head { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .hero { align-items: flex-end; }
  .hero__content { padding-bottom: 150px; }
  .hero__shade { background: linear-gradient(to bottom, rgba(10, 7, 6, 0.5), transparent 25%, rgba(10, 7, 6, 0.7) 55%, rgba(14, 11, 10, 1)); }
  .hero__coord { bottom: 28px; font-size: 11px; }
  .card { aspect-ratio: 4 / 3.4; }
}
@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
