:root {
  color-scheme: dark;
  --bg: #11100f;
  --text: #f3eadf;
  --headline: rgba(205, 190, 174, 0.82);
  --muted: #b9ada0;
  --soft: #e6ded3;
  --serif: "Newsreader", "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: Helvetica, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #15110f;
}

.hero {
  --left-flame-x: 22.5%;
  --right-flame-x: 82%;
  --flame-dot-y: 58%;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 58%, rgba(114, 72, 42, 0.2), transparent 28rem),
    #17120f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(18, 14, 12, 0.54), rgba(18, 14, 12, 0.54)),
    radial-gradient(circle at 50% 58%, rgba(71, 43, 25, 0.18), transparent 31rem),
    linear-gradient(180deg, rgba(12, 10, 9, 0.18), transparent 22%, transparent 76%, rgba(12, 10, 9, 0.28));
}

.hero-image {
  position: absolute;
  inset-block: 0;
  width: 50%;
  overflow: hidden;
}

.hero-image-left {
  left: 0;
}

.hero-image-right {
  right: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.92) contrast(0.96) brightness(0.94);
}

.hero-image-left img {
  object-position: 44% 50%;
}

.hero-image-right img {
  object-position: 56% 50%;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(27rem, 100%);
  min-height: min(42rem, calc(100vh - 4rem));
  display: grid;
  grid-template-rows: 0.36fr auto 1.64fr auto 0.36fr;
  justify-items: center;
  padding: clamp(2rem, 5vw, 4.75rem) clamp(1rem, 3vw, 2.5rem);
  background: transparent;
}

.hero-copy {
  grid-row: 2;
  transform: translateY(-18px);
}

.brand {
  margin: 0 0 clamp(3.4rem, 8vw, 6.2rem);
  color: var(--soft);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 28ch;
  margin: 0;
  color: var(--headline);
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2.45vw, 2.54rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.2;
}

h1 em {
  color: #eadccd;
  font-style: italic;
}

.soon {
  grid-row: 4;
  margin: clamp(1.5rem, 3.5vw, 2.65rem) 0 0;
  color: rgba(206, 188, 169, 0.7);
  font-size: clamp(0.86rem, 1.25vw, 0.98rem);
  font-weight: 400;
  letter-spacing: 0;
}

.connection-motif {
  position: absolute;
  left: 50%;
  top: var(--flame-dot-y);
  z-index: 3;
  width: 100%;
  height: 18rem;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.motif-symbol {
  position: absolute;
  left: 50%;
  top: var(--flame-dot-y);
  z-index: 4;
  width: 51px;
  height: 51px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.motif-line {
  fill: none;
  stroke: rgba(218, 161, 91, 0.5);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-dasharray: 0.8 10;
  vector-effect: non-scaling-stroke;
}

.motif-center {
  fill: rgba(23, 18, 15, 0.42);
  stroke: rgba(218, 161, 91, 0.42);
  stroke-width: 0.9;
}

.motif-flame {
  fill: rgba(232, 214, 195, 0.72);
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(1.1rem, 5vw, 1.75rem);
    padding: clamp(2.2rem, 9vw, 3.5rem) 1rem;
    overflow: visible;
    background: #17120f;
  }

  .hero::before {
    display: none;
  }

  .hero-image {
    position: relative;
    inset: auto;
    z-index: 2;
    width: min(100%, 31rem);
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
  }

  .hero-image-left {
    order: 2;
  }

  .hero-image-right {
    order: 4;
  }

  .hero-image img {
    object-fit: cover;
    opacity: 0.78;
    filter: saturate(0.92) contrast(0.96) brightness(0.89);
  }

  .hero-panel {
    order: 1;
    z-index: 3;
    width: 100%;
    min-height: auto;
    display: contents;
    grid-template-rows: none;
    align-content: center;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-copy {
    order: 1;
    grid-row: 1;
    transform: none;
    width: min(100%, 31rem);
    padding: 0.35rem 0 0.2rem;
  }

  h1 {
    max-width: 18ch;
    margin-inline: auto;
  }

  .connection-motif {
    display: none;
  }

  .motif-symbol {
    position: relative;
    order: 3;
    left: auto;
    top: auto;
    z-index: 4;
    width: 52px;
    height: 52px;
    display: block;
    align-self: center;
    margin-block: 0.35rem;
    transform: none;
  }

  .soon {
    order: 5;
    z-index: 3;
    margin: 0.35rem 0 0;
  }
}
