:root {
  --bg: #101112;
  --white: #f6f6f4;
  --copper: #b87333;
  --pad-x: clamp(20px, 5.4vw, 88px);
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html, body { min-height: 100%; background: var(--bg); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow: hidden;
}

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

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero__media,
.hero__media img,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media { z-index: -3; overflow: hidden; }
.hero__media img {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.008);
  animation: cinematicDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__shade {
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,6,7,.34) 0%, rgba(5,6,7,.02) 30%, rgba(5,6,7,.02) 57%, rgba(5,6,7,.58) 100%);
}

.shell { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* Mobile first */
.header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  animation: revealDown .9s .08s cubic-bezier(.22,.9,.23,1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow: visible;
}

.brand img {
  display: block;
  width: clamp(128px, 34vw, 150px);
  height: auto;
}

.hero__content {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: clamp(108px, 14svh, 140px);
  text-align: center;
  animation: revealUp 1.05s .18s cubic-bezier(.22,.9,.23,1) both;
}

h1 {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(29px, 8.7vw, 43px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 760;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,.52);
}

.subline {
  margin: 14px auto 0;
  color: rgba(246,246,244,.72);
  font-size: clamp(8px, 2.35vw, 10px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0,0,0,.48);
}

.subline span {
  color: rgba(184,115,51,.95);
  padding: 0 .28em;
}

.footer {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: var(--safe-bottom);
  display: flex;
  justify-content: center;
  text-align: center;
  animation: revealUpFooter .9s .35s cubic-bezier(.22,.9,.23,1) both;
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 6px;
  color: rgba(246,246,244,.70);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .22em;
  transition: color .22s ease, opacity .22s ease;
}

.footer__mail:hover,
.footer__mail:focus-visible { color: var(--white); }
.footer__mail:focus-visible {
  outline: 1px solid rgba(184,115,51,.55);
  outline-offset: 4px;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealUpFooter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinematicDrift {
  from { transform: scale(1.008) translate3d(0,0,0); }
  to { transform: scale(1.025) translate3d(0,-.25%,0); }
}

@media (min-width: 768px) {
  .brand img { width: clamp(150px, 12vw, 190px); }
  .hero__content { bottom: clamp(116px, 12vh, 150px); }
  h1 { font-size: clamp(46px, 4.3vw, 74px); letter-spacing: -.025em; }
  .subline { margin-top: 18px; font-size: 10px; letter-spacing: .20em; }
  .footer__mail { font-size: 9px; letter-spacing: .24em; }
}

@media (min-width: 1200px) {
  .hero__media img { object-position: center center; }
  .hero__content { bottom: clamp(124px, 13vh, 170px); }
}

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