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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: #0a0a0a;
  color: #f2ede4;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  will-change: transform;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

@media (min-width: 640px) {
  .hero__bg img {
    object-position: 70% center;
  }
}
@media (min-width: 768px) {
  .hero__bg img {
    object-position: center;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__overlay--v {
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.55) 0%,
    rgba(8, 8, 10, 0.25) 35%,
    rgba(8, 8, 10, 0.55) 75%,
    rgba(8, 8, 10, 0.95) 100%
  );
}

.hero__overlay--h {
  background: linear-gradient(
    90deg,
    rgba(8, 8, 10, 0.55) 0%,
    rgba(8, 8, 10, 0) 45%,
    rgba(8, 8, 10, 0) 100%
  );
}

.hero__topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}

@media (min-width: 640px) {
  .hero__topbar {
    padding: 2rem 2.5rem 0;
  }
}
@media (min-width: 1024px) {
  .hero__topbar {
    padding: 2.5rem 4rem 0;
  }
}

.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 1.5rem 6rem;
}

@media (min-width: 640px) {
  .hero__content {
    padding: 0 2.5rem 7rem;
  }
}
@media (min-width: 1024px) {
  .hero__content {
    padding: 0 4rem 8rem;
  }
}

.hero__title {
  max-width: 18ch;
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.75rem, 9vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #f5f1e8;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero__scroll {
  position: absolute;
  inset-inline: 0;
  bottom: 1.5rem;
  z-index: 10;
  display: flex;
  justify-content: center;
  opacity: 0.6;
}

.hero__scroll-track {
  height: 2.5rem;
  width: 1px;
  overflow: hidden;
  background: rgba(242, 237, 228, 0.2);
}

.hero__scroll-bar {
  height: 100%;
  width: 100%;
  background: rgba(242, 237, 228, 0.8);
  transform-origin: top;
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-bar {
    animation: none;
  }
  .hero__title {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- SHARED ---------- */
.eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(242, 237, 228, 0.45);
}
.eyebrow--strong {
  letter-spacing: 0.24em;
  color: rgba(242, 237, 228, 0.7);
}

/* ---------- INFO ---------- */
.info {
  position: relative;
  background: #0a0a0a;
  padding: 6rem 1.5rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (min-width: 640px) {
  .info {
    padding: 8rem 2.5rem;
  }
}
@media (min-width: 1024px) {
  .info {
    padding: 10rem 4rem;
  }
}

.info__wrap {
  max-width: 72rem;
  margin: 0 auto;
}

.info__header {
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .info__header {
    margin-bottom: 5rem;
  }
}
@media (min-width: 1024px) {
  .info__header {
    margin-bottom: 6rem;
  }
}

.info__header .eyebrow {
  margin-bottom: 1.5rem;
}

.info__heading {
  max-width: 20ch;
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f5f1e8;
  text-wrap: balance;
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem;
  row-gap: 3.5rem;
}

@media (min-width: 768px) {
  .info__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 4rem;
  }
}

.block .eyebrow {
  display: block;
  margin-bottom: 1.5rem;
}

.rows {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0;
}

.row__k {
  font-size: 12px;
  letter-spacing: -0.005em;
  color: rgba(242, 237, 228, 0.5);
}

.row__v {
  font-size: 15px;
  letter-spacing: -0.005em;
  color: #f5f1e8;
  font-variant-numeric: tabular-nums;
}

.muted {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242, 237, 228, 0.55);
}
.soft {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242, 237, 228, 0.85);
}
.strong {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: #f5f1e8;
  font-weight: 500;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.not-italic { font-style: normal; }

.mail {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: #f5f1e8;
  transition: color 200ms ease;
}
.mail span {
  border-bottom: 1px solid rgba(242, 237, 228, 0.25);
  padding-bottom: 0.125rem;
  transition: border-color 200ms ease;
}
.mail:hover { color: #ffffff; }
.mail:hover span { border-color: rgba(242, 237, 228, 0.7); }

.info__footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 237, 228, 0.1);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(242, 237, 228, 0.35);
}

@media (min-width: 640px) {
  .info__footer {
    flex-direction: row;
  }
}
