:root {
  --ink: #15120f;
  --ink-soft: #221d18;
  --ivory: #f2ede3;
  --muted: #a7a095;
  --gold: #ddb06f;
  --line: rgba(242, 237, 227, 0.16);
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 5vw, 5.5rem);
}

.grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  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='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.ambient {
  position: absolute;
  z-index: -2;
  width: min(50rem, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4rem);
  will-change: transform;
}

.ambient-one {
  top: -44%;
  right: -18%;
  background: radial-gradient(circle, rgba(171, 105, 53, 0.24), transparent 68%);
}

.ambient-two {
  bottom: -54%;
  left: -25%;
  background: radial-gradient(circle, rgba(105, 72, 45, 0.22), transparent 68%);
}

.site-header,
.site-footer,
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(221, 176, 111, 0.65);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: -0.06em;
}

.brand-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(221, 176, 111, 0.42);
  animation: pulse 2.8s ease-out infinite;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 88rem);
  margin: 0 auto;
  padding-block: clamp(3.75rem, 8vh, 7rem);
}

.eyebrow {
  display: grid;
  grid-template-columns: auto minmax(2rem, 7rem) auto;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-bottom: clamp(1.6rem, 3.5vh, 2.5rem);
  color: var(--gold);
  font-size: clamp(0.7rem, 0.8vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-line {
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 9.3vw, 9.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.8;
}

.title-line {
  display: block;
}

.title-line-indent {
  padding-left: clamp(1.5rem, 12vw, 13rem);
}

.hero-title em {
  color: var(--gold);
  font-weight: 400;
}

.hero-footer {
  gap: 3rem;
  margin-top: clamp(2.8rem, 7vh, 5.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-footer p {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.contact-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: inset 0 -1px 0 var(--gold);
  transition: color 240ms ease, box-shadow 240ms ease;
}

.contact-link svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 240ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--gold);
  box-shadow: inset 0 -1px 0 transparent;
}

.contact-link:hover svg,
.contact-link:focus-visible svg {
  transform: translateX(0.3rem);
}

.contact-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
}

.is-ready .reveal {
  animation: reveal 850ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  65%,
  100% {
    box-shadow: 0 0 0 0.55rem rgba(221, 176, 111, 0);
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 1.1rem 1.15rem;
  }

  .status {
    font-size: 0;
  }

  .status::after {
    content: "Soon";
    font-size: 0.7rem;
  }

  .hero {
    padding-block: 3.5rem;
  }

  .hero-title {
    font-size: clamp(3.75rem, 18.2vw, 6.25rem);
    line-height: 0.86;
  }

  .title-line-indent {
    padding-left: clamp(1rem, 10vw, 3.5rem);
  }

  .hero-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.8rem;
  }

  .contact-link {
    font-size: 0.86rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .hero {
    padding-block: 2.5rem;
  }

  .hero-title {
    font-size: clamp(4rem, 8.4vw, 7rem);
  }

  .hero-footer {
    margin-top: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient {
    transform: none !important;
  }
}
