:root {
  --orange: #e85a1a;
  --orange-soft: #f4a574;
  --ink: #1c1410;
  --ink-muted: #5c4a3d;
  --paper: #fffaf6;
  --paper-mid: #fff4ec;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Helvetica Neue", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, #ffe8d8, transparent 58%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-mid) 55%, #ffe8d8 100%);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  animation: image-enter 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(255, 250, 246, 0.98) 0%,
    rgba(255, 250, 246, 0.88) 26%,
    rgba(255, 250, 246, 0.28) 46%,
    transparent 66%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.75rem 1.5rem 2.75rem;
  min-height: 100svh;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero__headline {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  animation: rise-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero__lede {
  margin: 0.2rem 0 0;
  max-width: 20rem;
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-muted);
  animation: rise-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero__cta {
  margin-top: 0.85rem;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.2rem;
  animation: rise-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero__cta:hover {
  color: var(--orange);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.hero__brand::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 1.05rem auto 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transform-origin: center;
  animation: rule-draw 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

@keyframes image-enter {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rise-fade {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rule-draw {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(22rem, 0.92fr) minmax(0, 1.08fr);
  }

  .hero__media {
    position: relative;
    grid-column: 2;
    min-height: 100svh;
  }

  .hero__image {
    object-position: 52% 20%;
  }

  .hero__wash {
    background: linear-gradient(
      90deg,
      rgba(255, 250, 246, 0.95) 0%,
      rgba(255, 250, 246, 0.35) 18%,
      transparent 42%
    );
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: clamp(3rem, 8vw, 7rem) clamp(2rem, 5vw, 4.5rem);
    min-height: 100svh;
  }

  .hero__brand {
    font-size: clamp(4.75rem, 7vw, 6.85rem);
  }

  .hero__lede {
    max-width: 22rem;
  }

  .hero__brand::after {
    margin-left: 0;
    margin-right: 0;
    transform-origin: left center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .hero__brand,
  .hero__headline,
  .hero__lede,
  .hero__cta,
  .hero__brand::after {
    animation: none;
  }
}
