:root {
  --amber: #f5a623;
  --amber-bright: #ffc24a;
  --ink: #14120e;
  --paper: #fff9ef;
  --line: rgba(255, 255, 255, 0.2);
  --muted: rgba(255, 249, 239, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.backgrounds,
.background,
.scrim,
.grain {
  position: fixed;
  inset: 0;
}

.backgrounds {
  z-index: 0;
  overflow: hidden;
  background: #231e15;
}

.background {
  opacity: 0;
  background-image: var(--image);
  background-position: center center;
  background-size: cover;
  transform: scale(1.035);
  transition: opacity 1.4s ease, transform 9s linear;
  will-change: opacity, transform;
}

.background.is-active {
  opacity: 1;
  transform: scale(1);
}

.scrim {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.92) 0%, rgba(8, 7, 5, 0.64) 42%, rgba(8, 7, 5, 0.11) 75%),
    linear-gradient(0deg, rgba(8, 7, 5, 0.8) 0%, transparent 45%);
}

.grain {
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.page-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--amber);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
  transform: skew(-7deg);
}

.brand-name {
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 900;
  letter-spacing: 0.045em;
}

.brand-name span {
  color: var(--amber-bright);
}

.hero {
  align-self: center;
  max-width: 780px;
  padding: clamp(64px, 10vh, 120px) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--amber-bright);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 40px;
  height: 3px;
  content: "";
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 8.2vw, 126px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  margin-top: 0.19em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 249, 239, 0.95);
  font-style: normal;
}

.intro {
  max-width: 590px;
  margin: clamp(28px, 4vh, 44px) 0 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  max-width: 820px;
  margin: clamp(28px, 5vh, 48px) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-style: normal;
}

.contact-row {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px 20px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-row:first-child {
  border-left: 0;
  padding-left: 0;
}

a.contact-row:hover,
a.contact-row:focus-visible {
  color: #14120e;
  background: var(--amber-bright);
  outline: none;
}

.contact-label {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a.contact-row:hover .contact-label,
a.contact-row:focus-visible .contact-label {
  color: rgba(20, 18, 14, 0.68);
}

.contact-row strong {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-row--primary strong {
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
  white-space: nowrap;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 2px;
  padding: 5px 9px 5px 6px;
  border-radius: 999px;
  color: #102416;
  background: #25d366;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-action > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: #128c4a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

a.contact-row:hover .contact-action,
a.contact-row:focus-visible .contact-action {
  color: #fff;
  background: #128c4a;
}

a.contact-row:hover .contact-action > span,
a.contact-row:focus-visible .contact-action > span {
  color: #14120e;
  background: #fff;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 249, 239, 0.54);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.slide-progress {
  display: flex;
  align-items: center;
  gap: 7px;
}

.progress-dot {
  position: relative;
  width: 32px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.progress-dot::after {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 180ms ease, transform 180ms ease;
}

.progress-dot.is-active::after,
.progress-dot:hover::after,
.progress-dot:focus-visible::after {
  background: var(--amber-bright);
  transform: scaleY(2);
}

.progress-dot:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .scrim {
    background:
      linear-gradient(0deg, rgba(8, 7, 5, 0.94) 0%, rgba(8, 7, 5, 0.56) 75%, rgba(8, 7, 5, 0.44) 100%),
      linear-gradient(90deg, rgba(8, 7, 5, 0.62), rgba(8, 7, 5, 0.12));
  }

  .background {
    background-position: 62% center;
  }

  .page-shell {
    padding: 22px 20px;
  }

  .hero {
    align-self: end;
    padding: 56px 0 36px;
  }

  h1 {
    line-height: 0.9;
  }

  .intro {
    max-width: 510px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-row,
  .contact-row:first-child {
    padding: 13px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-row:first-child {
    border-top: 0;
  }

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

  .contact-row--primary strong {
    font-size: clamp(20px, 6.1vw, 22px);
  }
}

@media (max-width: 540px) {
  .footer {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 6px;
  }

  .slide-progress {
    gap: 4px;
  }

  .progress-dot {
    width: 24px;
  }
}

@media (max-height: 740px) and (min-width: 761px) {
  .hero {
    padding: 36px 0;
  }

  .intro {
    margin-top: 22px;
  }

  .contact-card {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background,
  .contact-row,
  .progress-dot::after {
    transition: none;
  }
}
