:root {
  --linen-light: #f0e6d0;
  --linen: #ebdfc2;
  --linen-deep: #d9c69d;
  --walnut: #28200f;
  --walnut-soft: #6b5840;
  --sienna: #8b3a1f;
  --sienna-soft: #a8543a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--walnut);
  background: var(--linen);
  background-image:
    radial-gradient(
      ellipse 80% 60% at 50% 42%,
      var(--linen-light) 0%,
      var(--linen) 50%,
      var(--linen-deep) 100%
    );
  height: 100dvh;
  width: 100vw;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Massive italic & sitting behind everything as a watermark */
.watermark {
  position: fixed;
  right: -6vw;
  bottom: -22vh;
  font-style: italic;
  font-weight: 400;
  font-size: 88vh;
  line-height: 1;
  color: var(--sienna);
  opacity: 0.055;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.chrome {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.25rem, 2.4vh, 2rem) clamp(1.5rem, 4vw, 3rem);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--walnut-soft);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-variation-settings: "opsz" 12;
  z-index: 2;
}

.chrome-top { top: 0; }
.chrome-bottom { bottom: 0; }

.mark {
  display: inline-flex;
  align-items: center;
  color: var(--sienna);
}

.heart {
  width: clamp(22px, 2vw, 28px);
  height: clamp(22px, 2vw, 28px);
  display: block;
}

.meta { font-feature-settings: "ss01"; }

.contact {
  color: var(--walnut-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact:hover {
  color: var(--sienna);
  border-color: var(--sienna);
}

main {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  animation: fade 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.wordmark {
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.018em;
  color: var(--walnut);
  font-size: clamp(2.6rem, min(10vw, 18vh), 9.5rem);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.word {
  font-weight: 200;
}

.amp {
  font-style: italic;
  font-weight: 400;
  color: var(--sienna);
  margin: 0 0.18em;
  font-size: 1.15em;
  line-height: 0.7;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  align-self: center;
  transform: translateY(0.02em);
}

.rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: clamp(1.5rem, 3.5vh, 2.2rem) auto clamp(1rem, 2vh, 1.5rem);
  background: var(--sienna);
  opacity: 0.7;
  transform-origin: center;
  animation: widen 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

.tagline {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--walnut-soft);
  font-variation-settings: "opsz" 14, "SOFT" 50;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes widen {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  main, .rule { animation: none; }
}

/* Narrow screens: stack the wordmark vertically, each word centered on its own line */
@media (max-width: 720px) {
  .wordmark {
    display: block;
    text-align: center;
    white-space: normal;
    font-size: clamp(2.6rem, 14vw, 5rem);
  }
  .word, .amp {
    display: block;
    margin: 0 auto;
  }
  .amp {
    transform: none;
    line-height: 1;
    font-size: 1.15em;
  }
  .chrome { font-size: 0.62rem; padding: 1.1rem 1.25rem; }
  .watermark { font-size: 70vh; bottom: -15vh; right: -8vw; }
}

/* Short landscape (mobile landscape): keep horizontal but shrink */
@media (orientation: landscape) and (max-height: 500px) {
  .wordmark {
    font-size: clamp(1.8rem, 12vh, 4.5rem);
  }
  .tagline {
    font-size: clamp(0.65rem, 1.4vh, 0.9rem);
    letter-spacing: 0.28em;
  }
  .chrome { font-size: 0.6rem; padding: 0.8rem 1.1rem; }
  .rule { margin: 0.9rem auto 0.7rem; width: 44px; }
  .watermark { font-size: 130vh; bottom: -40vh; right: -10vw; }
}
