@font-face {
  font-family: "Manrope Local";
  src: local("Manrope"), local("Arial");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0b0d0f;
  --paper: #f1f0ec;
  --muted: #a7abad;
  --line: rgba(255, 255, 255, 0.2);
  --accent: #d99b4b;
  --pad: clamp(24px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope Local", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: var(--pad);
  position: absolute;
  right: var(--pad);
  top: 28px;
  z-index: 5;
}

.monogram {
  border: 1px solid rgba(255, 255, 255, 0.65);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  height: 42px;
  place-items: center;
  width: 42px;
}

.topbar__line {
  background: var(--line);
  height: 1px;
}

.topbar__contact {
  font-size: 13px;
  font-weight: 600;
}

.hero {
  min-height: 94svh;
  overflow: hidden;
  position: relative;
}

.hero__image,
.hero__shade {
  inset: 0;
  position: absolute;
}

.hero__image {
  background: url("/assets/hero.png") center center / cover no-repeat;
  transform: scale(1.04);
  will-change: transform;
}

.hero__shade {
  background: rgba(4, 7, 10, 0.46);
}

.hero__content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94svh;
  padding: 116px var(--pad) 92px;
  position: relative;
  width: min(900px, 74vw);
  z-index: 2;
}

.eyebrow {
  color: #d8dcdd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(48px, 7.2vw, 112px);
  font-weight: 500;
  line-height: 0.88;
  margin: 0;
  text-wrap: balance;
}

.name-line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0;
}

.name-line > span {
  animation: name-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  display: block;
  transform: translateY(112%);
}

.name-line:nth-child(2) > span {
  animation-delay: 100ms;
}

.name-line:nth-child(3) > span {
  animation-delay: 200ms;
}

.name-line--accent {
  color: var(--accent);
}

.hero__statement {
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.5;
  margin: 32px 0 0;
  max-width: 590px;
}

.reveal {
  animation: reveal-in 700ms 480ms ease both;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 28px;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--paper);
}

.button__arrow {
  font-size: 18px;
}

.hero__scroll,
.hero__index {
  bottom: 30px;
  font-size: 11px;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll {
  display: flex;
  gap: 14px;
  left: var(--pad);
}

.hero__index {
  right: var(--pad);
}

.contact {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: clamp(40px, 8vw, 130px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  min-height: 78svh;
  padding: clamp(72px, 10vw, 150px) var(--pad) 32px;
}

.contact .eyebrow {
  color: #676c6e;
}

.contact h2 {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
}

.contact__details {
  align-self: center;
  border-top: 1px solid #bfc1bd;
}

.contact-row {
  align-items: center;
  border-bottom: 1px solid #bfc1bd;
  display: grid;
  gap: 22px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  min-height: 108px;
  transition: color 160ms ease, padding 160ms ease;
}

.contact-row:hover {
  color: #955b1f;
  padding-left: 8px;
}

.contact-row__label {
  color: #686d6f;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: clamp(17px, 1.7vw, 24px);
  overflow-wrap: anywhere;
}

.contact-row__arrow {
  font-size: 23px;
}

footer {
  align-items: end;
  border-top: 1px solid #bfc1bd;
  display: flex;
  font-size: 11px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 22px;
  text-transform: uppercase;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes name-in {
  to { transform: translateY(0); }
}

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

@media (max-width: 760px) {
  .topbar {
    gap: 14px;
    top: 20px;
  }

  .topbar__contact {
    font-size: 12px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__image {
    background-position: 61% center;
  }

  .hero__shade {
    background: rgba(4, 7, 10, 0.62);
  }

  .hero__content {
    justify-content: flex-end;
    min-height: 92svh;
    padding-bottom: 98px;
    width: 100%;
  }

  h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .hero__statement {
    font-size: 16px;
    max-width: 390px;
  }

  .actions {
    width: 100%;
  }

  .button {
    flex: 1;
    gap: 8px;
  }

  .hero__index {
    display: none;
  }

  .contact {
    gap: 64px;
    grid-template-columns: 1fr;
    padding-top: 84px;
  }

  .contact-row {
    gap: 12px;
    grid-template-columns: 1fr auto;
    padding: 22px 0;
  }

  .contact-row__label {
    grid-column: 1 / -1;
  }

  .contact-row strong {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .topbar__line {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr;
  }

  .topbar__contact {
    justify-self: end;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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