:root {
  color-scheme: light;
  --cream: #fffaf4;
  --blush: #efd7d2;
  --rose: #cf8f89;
  --rose-dark: #a85f5d;
  --charcoal: #282322;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background: #8e674f;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: 50% 35%;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(25, 18, 15, 0.25) 0%, transparent 23%),
    linear-gradient(0deg, rgba(27, 19, 17, 0.88) 0%, rgba(37, 25, 21, 0.3) 48%, transparent 68%);
}

.site-header,
.site-footer,
.hero__content {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: max(1.4rem, env(safe-area-inset-top));
}

.brand {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-style: italic;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.age-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero__content {
  align-self: end;
  padding-top: 9rem;
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #f1d7cf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 12vw, 5.5rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 span {
  color: var(--blush);
}

.intro {
  max-width: 30rem;
  margin: 1rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 3.7vw, 1.08rem);
  line-height: 1.55;
}

.primary-button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.55rem;
  background: var(--blush);
  color: var(--charcoal);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 0.75rem 2rem rgba(20, 13, 11, 0.2);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  background: var(--white);
  box-shadow: 0 1rem 2.5rem rgba(20, 13, 11, 0.28);
  transform: translateY(-2px);
}

.primary-button:focus-visible,
.text-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.interests {
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.67rem;
  line-height: 1.6;
  letter-spacing: 0.045em;
}

.interests i {
  margin-inline: 0.25em;
  color: var(--rose);
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.85rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.age-dialog {
  width: min(calc(100% - 2rem), 27rem);
  border: 0;
  border-radius: 1.5rem;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal);
  box-shadow: 0 2rem 6rem rgba(30, 18, 16, 0.4);
}

.age-dialog::backdrop {
  background: rgba(28, 19, 17, 0.72);
  backdrop-filter: blur(7px);
}

.age-dialog[open] {
  animation: dialog-in 220ms ease-out;
}

.age-dialog__inner {
  padding: 2.2rem 1.5rem 1.5rem;
  text-align: center;
}

.age-dialog__mark {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.2rem;
  place-items: center;
  border: 1px solid var(--rose);
  border-radius: 50%;
  color: var(--rose-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.age-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 8vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.age-dialog p {
  margin: 0.65rem 0 1.5rem;
  color: #746966;
  font-size: 0.9rem;
}

.age-dialog__actions {
  display: grid;
  gap: 0.55rem;
}

.age-dialog .primary-button {
  width: 100%;
  background: var(--charcoal);
  color: var(--white);
}

.age-dialog .primary-button:hover {
  background: var(--rose-dark);
}

.text-button {
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: #746966;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@media (min-width: 700px) {
  .hero__image {
    object-position: center 34%;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(25, 18, 15, 0.72) 0%, rgba(30, 20, 17, 0.18) 52%, transparent 75%),
      linear-gradient(0deg, rgba(25, 17, 15, 0.58) 0%, transparent 42%);
  }

  .hero__content {
    align-self: center;
    padding-top: 6rem;
  }

  .interests {
    font-size: 0.72rem;
  }
}

@media (max-height: 680px) and (max-width: 699px) {
  .hero__content {
    padding-top: 5rem;
    padding-bottom: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .intro {
    margin-block: 0.7rem 1rem;
  }

  .interests {
    margin-top: 0.8rem;
  }
}

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