:root {
  --green: #435945;
  --green-deep: #233529;
  --green-dark: #18271e;
  --gold: #c9a77d;
  --gold-soft: #dec7a8;
  --ivory: #e7dac8;
  --ivory-muted: #cfc1ae;
  --frame: clamp(0.75rem, 2.2vw, 1.75rem);
  color-scheme: dark;
}

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

html {
  min-width: 20rem;
  background: var(--green-deep);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--ivory);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a,
button {
  color: inherit;
}

.opener {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: calc(var(--frame) + env(safe-area-inset-top))
    calc(var(--frame) + env(safe-area-inset-right))
    calc(var(--frame) + env(safe-area-inset-bottom))
    calc(var(--frame) + env(safe-area-inset-left));
  overflow: hidden;
  background: var(--green-deep);
}

.opener__video,
.opener__veil,
.opener__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.opener__video {
  z-index: -4;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.58) contrast(1.05) brightness(0.5);
  transform: scale(1.025);
}

.opener__veil {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(18, 36, 26, 0.68), rgba(10, 19, 14, 0.79)),
    linear-gradient(90deg, rgba(35, 53, 41, 0.78), rgba(35, 53, 41, 0.18));
}

.opener__grain {
  z-index: -2;
  pointer-events: none;
  opacity: 0.1;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.opener__frame {
  position: absolute;
  z-index: 5;
  inset: var(--frame);
  border: 1px solid rgba(201, 167, 125, 0.42);
  pointer-events: none;
}

.opener__corner {
  position: absolute;
  right: -1px;
  width: 2.75rem;
  height: 2.75rem;
  border-right: 1px solid var(--gold);
}

.opener__corner--top {
  top: -1px;
  border-top: 1px solid var(--gold);
}

.opener__corner--bottom {
  bottom: -1px;
  border-bottom: 1px solid var(--gold);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  color: var(--gold-soft);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.topbar__status {
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(0.75rem, 2vh, 1.2rem);
  width: min(100%, 34rem);
  margin-inline: auto;
  padding: 1rem 2.1rem;
  text-align: center;
}

.hero__brand {
  display: grid;
  place-items: center;
  width: clamp(9.5rem, 38vw, 12rem);
  overflow: visible;
}

.hero__full-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: sepia(0.12) saturate(1.12) brightness(1.06)
    drop-shadow(0 0.85rem 1.8rem rgba(0, 0, 0, 0.2));
}

.hero__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(12rem, 58vw);
  height: 1rem;
}

.hero__rule::before,
.hero__rule::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 167, 125, 0.72));
  content: "";
}

.hero__rule::after {
  background: linear-gradient(90deg, rgba(201, 167, 125, 0.72), transparent);
}

.hero__rule span {
  width: 0.32rem;
  height: 0.32rem;
  margin-inline: 0.8rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.hero__copy {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.hero__kicker,
.hero__title,
.hero__intro {
  margin: 0;
}

.hero__kicker {
  color: var(--gold-soft);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero__title {
  max-width: 16ch;
  color: var(--ivory);
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.55rem, 6.7vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero__intro {
  max-width: 31rem;
  color: var(--ivory-muted);
  font-size: clamp(0.65rem, 2.55vw, 0.8rem);
  line-height: 1.65;
  text-wrap: balance;
}

.contact {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  border-top: 1px solid rgba(201, 167, 125, 0.36);
  background: rgba(17, 31, 22, 0.3);
  backdrop-filter: blur(0.6rem);
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
  padding: 0.75rem;
  border-right: 1px solid rgba(201, 167, 125, 0.22);
  font-size: clamp(0.58rem, 2.5vw, 0.73rem);
  letter-spacing: 0.015em;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.contact__item--address {
  grid-row: span 2;
  justify-content: center;
}

.contact__item:nth-child(2) {
  border-bottom: 1px solid rgba(201, 167, 125, 0.22);
}

.contact__label {
  color: var(--gold-soft);
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact__item:focus-visible,
.contact__item:hover {
  outline: none;
  background: var(--gold);
  color: var(--green-dark);
}

.contact__item:focus-visible .contact__label,
.contact__item:hover .contact__label {
  color: var(--green-dark);
}

.sound-toggle {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: calc(var(--frame) + 0.55rem);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  font: inherit;
  font-size: 0.45rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%) rotate(-90deg) translateX(50%);
  transform-origin: right center;
}

.sound-toggle:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 0.2rem;
}

.sound-toggle__icon {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 0.7rem;
}

.sound-toggle__icon i {
  display: block;
  width: 1px;
  height: 35%;
  background: currentColor;
  transition: height 220ms ease;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon i:nth-child(1) {
  height: 70%;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon i:nth-child(2) {
  height: 100%;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon i:nth-child(3) {
  height: 55%;
}

.intro {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  overflow: hidden;
  background: var(--green-deep);
  pointer-events: none;
}

.intro::before {
  position: absolute;
  inset: var(--frame);
  border: 1px solid rgba(201, 167, 125, 0.3);
  content: "";
}

.intro__mark {
  width: clamp(4.75rem, 17vw, 7.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 1.8rem rgba(0, 0, 0, 0.18));
}

.intro__name {
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.intro__line {
  position: absolute;
  top: 50%;
  width: calc(50% - 5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 167, 125, 0.58));
}

.intro__line--left {
  left: 0;
}

.intro__line--right {
  right: 0;
  transform: rotate(180deg);
}

.no-js-ready .intro {
  display: none;
}

@media (min-width: 48rem) {
  .opener {
    grid-template-columns: minmax(25rem, 45%) 1fr;
    grid-template-rows: auto 1fr auto;
    background: var(--green-deep);
  }

  .opener::before {
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: 45%;
    background:
      radial-gradient(circle at 18% 45%, rgba(201, 167, 125, 0.09), transparent 33%),
      linear-gradient(135deg, var(--green), var(--green-dark));
    content: "";
  }

  .opener__video {
    left: 45%;
    width: 55%;
    object-position: 54% center;
    filter: saturate(0.72) contrast(1.06) brightness(0.62);
  }

  .opener__veil {
    left: 45%;
    width: 55%;
    background:
      linear-gradient(90deg, var(--green-dark) 0%, rgba(24, 39, 30, 0.48) 12%, transparent 38%),
      linear-gradient(180deg, rgba(10, 18, 13, 0.2), rgba(10, 18, 13, 0.5));
  }

  .opener__grain {
    opacity: 0.08;
  }

  .topbar {
    grid-column: 1 / -1;
    padding: 0.95rem 1.15rem;
    font-size: 0.58rem;
  }

  .hero {
    grid-column: 1;
    justify-self: stretch;
    width: auto;
    padding: 2rem clamp(2.75rem, 5vw, 6rem);
  }

  .hero__brand {
    width: clamp(10rem, 13vw, 12.5rem);
  }

  .hero__title {
    font-size: clamp(1.85rem, 2.55vw, 3.15rem);
  }

  .hero__intro {
    font-size: clamp(0.67rem, 0.74vw, 0.82rem);
  }

  .contact {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 0.85fr 0.85fr;
    margin-inline: 1rem;
    background: rgba(16, 29, 21, 0.72);
  }

  .contact__item {
    justify-content: center;
    min-height: 5rem;
    padding: 0.95rem clamp(1rem, 2.5vw, 2.1rem);
    font-size: 0.7rem;
  }

  .contact__item--address {
    grid-row: auto;
  }

  .contact__item:nth-child(2) {
    border-bottom: 0;
  }
}

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

  .intro {
    display: none;
  }

  .opener__video {
    transform: none;
  }
}

@media (max-height: 43rem) and (max-width: 47.99rem) {
  .hero {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.55rem 1.4rem;
    padding-block: 0.65rem;
    text-align: left;
  }

  .hero__brand {
    grid-row: 1 / 3;
    width: 5.5rem;
  }

  .hero__rule {
    display: none;
  }

  .hero__copy {
    justify-items: start;
  }

  .hero__title {
    font-size: clamp(1.3rem, 5.5vw, 1.9rem);
  }

  .hero__intro {
    display: none;
  }
}
