:root {
  --wine: #8f3347;
  --wine-deep: #6e2436;
  --ink: #2f2928;
  --muted: #726966;
  --paper: #f8f3ec;
  --paper-deep: #eee4d9;
  --blush: #dfb9ad;
  --gold: #c99a5c;
  --line: rgba(77, 50, 47, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 22%, rgba(223, 185, 173, 0.28), transparent 25rem),
    linear-gradient(128deg, #fbf7f1 0%, var(--paper) 55%, #f4eee6 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.65rem 0.85rem;
  color: #fff;
  background: var(--wine);
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 1rem;
}

.brand {
  display: block;
  width: clamp(134px, 17vw, 186px);
}

.header-link {
  color: var(--wine);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-link::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.15rem;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.header-link:hover::after,
.header-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.83fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  min-height: calc(100svh - 92px);
  padding: clamp(2.5rem, 6vw, 5.75rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  margin: 0.25rem 0 1.35rem;
  padding: 0.42rem 0.65rem 0.42rem 0.55rem;
  color: var(--wine-deep);
  background: rgba(143, 51, 71, 0.08);
  border: 1px solid rgba(143, 51, 71, 0.14);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-pill span {
  width: 0.46rem;
  height: 0.46rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 154, 92, 0.16);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 10.8em;
  margin: 0;
  font-size: clamp(2.85rem, 6vw, 5.35rem);
  line-height: 0.97;
  letter-spacing: -0.057em;
}

.hero-lead {
  max-width: 33rem;
  margin: 1.5rem 0 0;
  color: #504947;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0.1rem;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--wine);
  box-shadow: 0 8px 20px rgba(91, 30, 45, 0.15);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--wine-deep);
}

.button-quiet {
  color: var(--wine);
  border-color: rgba(143, 51, 71, 0.28);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: rgba(143, 51, 71, 0.06);
  border-color: var(--wine);
}

.hero-note {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.hero-visual {
  width: min(100%, 430px);
  margin: 0;
  justify-self: end;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.72;
  background: #cdbfb5;
  box-shadow: 20px 25px 0 -12px var(--blush), 0 26px 45px rgba(74, 51, 44, 0.14);
}

.hero-frame::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(36, 25, 24, 0.04), rgba(36, 25, 24, 0.2));
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-visual figcaption {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 20rem;
  margin: 1rem 0 0 auto;
  color: #655b57;
  font-family: var(--serif);
  font-size: 0.97rem;
  font-style: italic;
  line-height: 1.35;
}

.caption-rule {
  flex: 0 0 2.4rem;
  height: 1px;
  margin-top: 0.72rem;
  background: var(--gold);
}

.intro {
  max-width: 760px;
  padding: clamp(4.6rem, 9vw, 9rem) 0 clamp(2.4rem, 4vw, 3.5rem);
}

.intro h2,
.section-heading h2,
.promise h2,
.opening h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.043em;
}

.intro > p:last-child {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: #5f5652;
  font-size: clamp(1rem, 1.45vw, 1.13rem);
}

.possibilities {
  padding: 2rem 0 clamp(5rem, 9vw, 8.5rem);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.9rem;
  border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow {
  align-self: flex-start;
  margin-top: 0.55rem;
  white-space: nowrap;
}

.section-heading h2 {
  max-width: 11em;
  text-align: right;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: 1.55rem 1.3rem 1.75rem;
  background: rgba(250, 247, 242, 0.55);
}

.feature-index {
  margin: 0 0 auto;
  color: var(--wine);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.feature h3 {
  margin: 0;
  font-size: 1.58rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.feature > p:last-child {
  margin: 0.82rem 0 0;
  color: #675d59;
  font-size: 0.85rem;
  line-height: 1.5;
}

.promise {
  display: grid;
  grid-template-columns: minmax(140px, 0.47fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6rem);
  padding: clamp(3.5rem, 8vw, 7.7rem) clamp(1rem, 5.5vw, 5rem);
  color: #fff;
  background: var(--wine);
  box-shadow: 0 24px 46px rgba(91, 30, 45, 0.12);
}

.promise .eyebrow {
  color: #f0c9bc;
}

.promise-number {
  color: #f5ddd3;
  font-family: var(--serif);
  font-size: clamp(7.5rem, 17vw, 13rem);
  font-style: italic;
  line-height: 0.7;
  text-align: center;
  text-shadow: 9px 10px 0 rgba(72, 21, 34, 0.24);
}

.promise h2 {
  max-width: 15em;
}

.promise div:last-child > p:last-child {
  max-width: 39rem;
  margin: 1.3rem 0 0;
  color: #f6eae4;
}

.opening {
  max-width: 760px;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(5.5rem, 11vw, 10rem);
}

.opening h2 {
  color: var(--wine-deep);
}

.opening > p:not(.eyebrow) {
  max-width: 39rem;
  margin: 1.25rem 0 0;
  color: #5b5350;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.opening .button {
  margin-top: 1.85rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 103px;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  color: #716762;
  font-size: 0.78rem;
}

.footer-brand {
  width: 127px;
}

.site-footer p {
  margin: 0;
}

.site-footer a:last-child {
  color: var(--wine);
  font-weight: 700;
  text-decoration-color: rgba(143, 51, 71, 0.35);
  text-underline-offset: 0.2em;
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1.5rem;
}

.error-shell {
  width: min(100%, 620px);
  padding: clamp(2.5rem, 8vw, 5rem);
  background: rgba(250, 247, 242, 0.72);
  border: 1px solid var(--line);
  box-shadow: 18px 20px 0 -11px var(--blush), 0 24px 45px rgba(74, 51, 44, 0.12);
}

.error-shell .brand {
  width: clamp(150px, 24vw, 190px);
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

.error-shell h1 {
  max-width: 10em;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.error-shell > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  color: #5f5652;
  font-size: 1.04rem;
}

.error-shell .button {
  margin-top: 2rem;
}

:focus-visible {
  outline: 3px solid #c99a5c;
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
    gap: 2.25rem;
  }

  h1 {
    font-size: clamp(2.75rem, 7vw, 4.2rem);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .feature:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 1.5rem, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2.65rem;
    padding-top: 2.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: 9.3em;
  }

  .hero-visual {
    width: min(86%, 400px);
    justify-self: end;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-top: 0;
  }

  .section-heading h2 {
    max-width: 11em;
    text-align: left;
  }

  .promise {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .promise-number {
    font-size: 8.4rem;
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

@media (max-width: 390px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 1.25rem, 1180px);
  }

  .header-link {
    font-size: 0.81rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature:not(:first-child) {
    border-top: 1px solid var(--line);
  }

  .intro h2,
  .section-heading h2,
  .promise h2,
  .opening h2 {
    font-size: 2.1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
  }
}
