:root {
  --paper: #ffffff;
  --ink: #151313;
  --muted: #242121;
  --soft-line: rgba(21, 19, 19, 0.16);
  --maple: #d64a1b;
  --maple-dark: #b93416;
  --warm: #fff7ee;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.landing {
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: clamp(132px, 16vh, 168px);
  padding: 18px clamp(24px, 5.8vw, 86px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(21, 19, 19, 0.08);
}

.brand-logo {
  display: block;
  width: clamp(112px, 11vw, 152px);
  height: clamp(112px, 11vw, 152px);
  margin-top: 0;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(560px, 47vw) 1fr;
  min-height: calc(100vh - clamp(132px, 16vh, 168px));
  background: #fff;
}

.copy {
  position: relative;
  z-index: 2;
  width: min(710px, 100%);
  padding: clamp(56px, 8vh, 82px) 0 88px clamp(42px, 6vw, 92px);
}

.message-block {
  width: max-content;
  max-width: 100%;
  margin-bottom: clamp(18px, 3vh, 28px);
}

.message-block h1,
.message-block h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.message-block h1 {
  font-size: clamp(4rem, 5.45vw, 5.9rem);
}

.message-block h2 {
  padding-top: clamp(8px, 1.2vh, 14px);
  font-size: clamp(3.8rem, 5.15vw, 5.6rem);
}

.message-block h1 span,
.message-block h2 span {
  display: block;
}

.message-block h1 span:last-child,
.message-block h2 span:last-child {
  color: var(--maple);
}

.message-block h1 span:last-child {
  white-space: nowrap;
}

.message-block p {
  margin: clamp(12px, 1.5vh, 16px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.35;
}

.french {
  padding-top: clamp(10px, 1.6vh, 16px);
  border-top: 1px solid var(--soft-line);
}

.ornament {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) 24px minmax(80px, 1fr);
  align-items: center;
  gap: 18px;
  width: min(360px, 100%);
  margin-top: clamp(12px, 1.5vh, 16px);
  color: var(--maple);
}

.ornament span {
  height: 2px;
  background: currentColor;
}

.ornament svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  margin-top: clamp(18px, 2.5vh, 28px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: clamp(230px, 18vw, 275px);
  min-height: 64px;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(214, 74, 27, 0.34);
  outline-offset: 4px;
}

.button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.button-outline {
  border: 1px solid var(--maple);
  background: #fff;
  color: var(--maple-dark);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: #fff7f2;
  box-shadow: 0 12px 26px rgba(214, 74, 27, 0.14);
}

.button-fill {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #c83118, #eb6a15);
  color: #fff;
  box-shadow: 0 14px 26px rgba(205, 68, 20, 0.24);
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 41%;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: #f1dfcb;
}

.hero-photo::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.95) 8%, rgba(255, 255, 255, 0.48) 20%, rgba(255, 255, 255, 0.03) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 34%);
  content: "";
  pointer-events: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  height: 82px;
  background: var(--warm);
  clip-path: ellipse(58% 46% at 50% 100%);
  content: "";
  pointer-events: none;
}

@media (max-width: 960px) {
  .topbar {
    height: auto;
    min-height: 92px;
    padding: 16px 20px;
  }

  .brand-logo {
    width: 80px;
    height: 80px;
    margin-top: 0;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 0 16px 48px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), #fff 34%),
      url("assets/maple-treats.png") center top / cover no-repeat;
  }

  .hero-photo,
  .hero::after {
    display: none;
  }

  .copy {
    width: 100%;
    padding: 56px 0 0;
  }

  .message-block {
    width: 100%;
    margin-bottom: 26px;
  }

  .message-block h1 {
    font-size: clamp(3.2rem, 16vw, 4.7rem);
  }

  .message-block h1 span:last-child {
    white-space: normal;
  }

  .message-block h2 {
    font-size: clamp(3.1rem, 15vw, 4.3rem);
  }

  .actions {
    gap: 14px;
  }

  .button {
    min-width: min(100%, 280px);
  }
}

@media (max-width: 540px) {
  .topbar {
    align-items: flex-start;
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .copy {
    padding-top: 44px;
  }

  .message-block h1,
  .message-block h2 {
    line-height: 0.95;
  }

  .message-block p {
    font-size: 1rem;
  }

  .ornament {
    grid-template-columns: minmax(70px, 1fr) 22px minmax(70px, 1fr);
    gap: 12px;
  }

  .button {
    width: 100%;
    min-height: 58px;
  }

}

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