:root {
  --pine-950: #092a23;
  --pine-900: #103c32;
  --pine-800: #184c40;
  --pine-700: #246052;
  --cream: #fff9ef;
  --cream-2: #f8f0e3;
  --paper: #fffdf8;
  --mint: #d7f0dd;
  --mint-bright: #bce8c7;
  --coral: #ff6d5d;
  --coral-dark: #de5044;
  --gold: #e4b75a;
  --ink: #16312b;
  --muted: #67736e;
  --line: rgba(18, 60, 50, 0.14);
  --white: #fff;
  --shadow-sm: 0 8px 25px rgba(23, 58, 49, 0.08);
  --shadow-md: 0 24px 70px rgba(15, 53, 44, 0.13);
  --shadow-lg: 0 38px 100px rgba(6, 37, 30, 0.22);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --font-sans: "DM Sans", "Avenir Next", Avenir, system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

button,
select,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--white);
  color: var(--pine-900);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 120px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--pine-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 109, 93, 0.14);
}

.eyebrow--light {
  color: var(--mint-bright);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 58px;
}

.section-heading h2,
.how h2,
.promise h2,
.match h2 {
  margin-bottom: 0;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-heading h2 em,
.how h2 em,
.promise h2 em,
.match h2 em {
  color: var(--coral);
  font-weight: 600;
}

.section-heading > p {
  max-width: 470px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 1.05rem;
}

.announcement {
  position: relative;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 18px;
  background: var(--pine-950);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.announcement > span:first-child {
  color: var(--gold);
}

.announcement__detail {
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.68);
  font-weight: 400;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 74px;
  background: rgba(255, 249, 239, 0.88);
  border-bottom: 1px solid rgba(18, 60, 50, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__mark {
  width: 24px;
  height: 30px;
  fill: currentColor;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #3c554e;
  font-size: 0.9rem;
  font-weight: 600;
}

.primary-nav a {
  position: relative;
  padding-block: 10px;
}

.primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 3px;
  left: 50%;
  height: 2px;
  border-radius: 99px;
  background: var(--coral);
  content: "";
  transition: inset 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
  left: 0;
}

.saved-pill {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 9px 8px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.saved-pill:hover {
  border-color: rgba(255, 109, 93, 0.45);
  transform: translateY(-1px);
}

.saved-pill svg {
  width: 17px;
  fill: var(--coral);
  stroke: var(--coral);
  stroke-width: 1.5;
}

.saved-pill__count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding-inline: 4px;
  border-radius: 99px;
  background: var(--pine-900);
  color: var(--white);
  font-size: 0.72rem;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 108px);
  overflow: hidden;
  background: #e6d2b8;
}

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

.hero__image {
  object-fit: cover;
  object-position: center center;
}

.hero__wash {
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.96) 0%, rgba(255, 248, 236, 0.85) 30%, rgba(255, 248, 236, 0.1) 59%, rgba(255, 248, 236, 0) 100%),
    linear-gradient(0deg, rgba(15, 51, 43, 0.18), transparent 22%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100svh - 108px);
  padding-block: 90px 120px;
}

.hero__eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.1vw, 7.9rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero h1 em {
  position: relative;
  z-index: 1;
  color: var(--coral);
  font-weight: 600;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -11px;
  bottom: 3px;
  left: -8px;
  height: 15px;
  border-radius: 50%;
  border-top: 3px solid rgba(255, 109, 93, 0.42);
  content: "";
  transform: rotate(-2deg);
}

.hero__lead {
  max-width: 530px;
  margin-bottom: 34px;
  color: #4f625c;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 43px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--primary {
  background: var(--coral);
  box-shadow: 0 12px 30px rgba(222, 80, 68, 0.25);
  color: var(--white);
}

.button--primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 16px 34px rgba(222, 80, 68, 0.32);
}

.button--glass {
  border: 1px solid rgba(18, 60, 50, 0.17);
  background: rgba(255, 255, 255, 0.48);
  color: var(--pine-900);
  backdrop-filter: blur(10px);
}

.button--glass span {
  color: var(--coral);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 0;
  color: #5e6c67;
  font-size: 0.78rem;
}

.hero__proof span {
  padding-inline: 18px;
  border-right: 1px solid rgba(18, 60, 50, 0.19);
}

.hero__proof span:first-child {
  padding-left: 0;
}

.hero__proof span:last-child {
  border-right: 0;
}

.hero__proof b {
  display: block;
  color: var(--pine-900);
  font-size: 1.05rem;
}

.scan-note {
  position: absolute;
  z-index: 3;
  right: clamp(28px, 6vw, 100px);
  bottom: 87px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  background: rgba(14, 52, 43, 0.8);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.scan-note__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint-bright);
  color: var(--pine-900);
}

.scan-note svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.scan-note b,
.scan-note small {
  display: block;
}

.scan-note b {
  font-size: 0.8rem;
}

.scan-note small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
}

.hero__scroll {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  50% { transform: translateY(5px); }
}

.intro {
  position: relative;
  background:
    radial-gradient(circle at 8% 72%, rgba(215, 240, 221, 0.55), transparent 23%),
    var(--cream);
}

.species-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.species-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.species-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.species-card__number {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(18, 60, 50, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.species-card__art {
  position: relative;
  display: block;
  height: 345px;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.species-card:hover .species-card__art {
  transform: scale(1.035);
}

.species-card__art--nordmann {
  background-image: url("assets/images/catalog-nordmann.webp");
  background-position: 0 0;
}

.species-card__art--silver {
  background-image: url("assets/images/catalog-ezust.webp");
  background-position: 100% 0;
}

.species-card__art--spruce {
  background-image: url("assets/images/catalog-luc.webp");
  background-position: 100% 100%;
}

.species-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px 30px 30px;
}

.species-card__tag {
  margin-bottom: 11px;
  color: var(--pine-700);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.species-card strong {
  margin-bottom: 8px;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.species-card__body > span:not(.species-card__tag, .species-card__link) {
  color: var(--muted);
  font-size: 0.92rem;
}

.species-card__link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--pine-900);
  font-size: 0.83rem;
  font-weight: 700;
}

.species-card__link b {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--mint);
  transition: transform 180ms ease;
}

.species-card:hover .species-card__link b {
  transform: translateX(4px);
}

.species-card--silver {
  background: #eef5f2;
}

.species-card--spruce {
  background: #f6eadf;
}

.how {
  position: relative;
  overflow: hidden;
  background: var(--pine-950);
  color: var(--white);
}

.how::before {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 450px;
  height: 520px;
  background-image: url("assets/images/catalog-nordmann.webp");
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  content: "";
  filter: saturate(0.7) brightness(0.55);
  opacity: 0.14;
  transform: rotate(4deg);
}

.how__glow {
  position: absolute;
  top: -200px;
  left: 36%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(95, 176, 141, 0.15);
  filter: blur(2px);
}

.how__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.how h2 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(3.1rem, 5vw, 5rem);
}

.how__intro > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.84rem;
  font-weight: 700;
}

.text-link span {
  color: var(--mint-bright);
  font-size: 1.1rem;
}

.steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  position: absolute;
  top: 57px;
  bottom: 57px;
  left: 76px;
  width: 1px;
  background: linear-gradient(var(--mint-bright), rgba(188, 232, 199, 0.1));
  content: "";
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 64px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 145px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step:last-child {
  border-bottom: 0;
}

.step__number {
  color: rgba(255, 255, 255, 0.33);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: #153e35;
  color: var(--mint-bright);
}

.step__icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.step h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.step p {
  max-width: 370px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
}

.catalog {
  background:
    linear-gradient(rgba(255, 249, 239, 0.94), rgba(255, 249, 239, 0.94)),
    radial-gradient(circle at 1px 1px, var(--pine-900) 1px, transparent 1px);
  background-size: auto, 23px 23px;
}

.section-heading--catalog {
  margin-bottom: 44px;
}

.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 13px;
  border: 1px solid rgba(18, 60, 50, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.filter-chips,
.filter-selects {
  display: flex;
  align-items: center;
  gap: 7px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #52635e;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.filter-chip:hover {
  background: var(--cream-2);
}

.filter-chip.is-active {
  background: var(--pine-900);
  color: var(--white);
}

.filter-selects select {
  min-height: 42px;
  padding: 0 40px 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 3px 16px;
}

.catalog-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.reset-button {
  padding: 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--pine-700);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.tree-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tree-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 60, 50, 0.09);
  border-radius: 25px;
  background: var(--paper);
  box-shadow: 0 10px 35px rgba(17, 54, 45, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tree-card:hover {
  box-shadow: 0 24px 55px rgba(17, 54, 45, 0.13);
  transform: translateY(-6px);
}

.tree-card__visual,
.swipe-card__visual,
.viewer-image {
  position: relative;
  background-image: var(--sheet);
  background-position: var(--pos-x) var(--pos-y);
  background-repeat: no-repeat;
  background-size: 200% 200%;
}

.tree-card__visual {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  padding: 0;
  overflow: hidden;
  border: 0;
  background-color: #f6ecde;
  cursor: pointer;
}

.tree-card__visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(transparent, rgba(16, 60, 50, 0.07));
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.tree-card:hover .tree-card__visual::after {
  opacity: 1;
}

.tree-card__badges {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tree-grade,
.viewer-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--pine-900);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tree-grade[data-grade="Prémium"] {
  background: var(--pine-900);
  color: var(--white);
}

.viewer-tag {
  gap: 4px;
  background: var(--mint-bright);
}

.tree-card__like {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 7px 18px rgba(18, 60, 50, 0.1);
  cursor: pointer;
  color: var(--pine-700);
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tree-card__like:hover {
  transform: scale(1.08);
}

.tree-card__like[aria-pressed="true"] {
  background: var(--coral);
  color: var(--white);
}

.tree-card__like svg {
  width: 18px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tree-card__like[aria-pressed="true"] svg {
  fill: currentColor;
}

.tree-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 19px 19px;
}

.tree-card__species {
  margin-bottom: 5px;
  color: var(--pine-700);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tree-card h3 {
  margin-bottom: 10px;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  line-height: 1;
}

.tree-card__metrics {
  display: flex;
  gap: 13px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
}

.tree-card__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tree-card__metrics svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.tree-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tree-card__price span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.62rem;
}

.tree-card__price strong {
  color: var(--pine-900);
  font-size: 1rem;
}

.tree-card__open {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--pine-900);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.tree-card__open:hover {
  background: var(--mint-bright);
  transform: rotate(-8deg) scale(1.05);
}

.tree-card__open svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.empty-state {
  padding: 65px 24px;
  border: 1px dashed rgba(18, 60, 50, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.empty-state > span {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}

.empty-state h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.empty-state p {
  margin-bottom: 20px;
  color: var(--muted);
}

.promise {
  background: var(--paper);
}

.promise__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
}

.promise__feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.promise__feature--main {
  grid-row: span 2;
  min-height: 560px;
  padding: 68px;
  background:
    linear-gradient(105deg, var(--cream) 0%, rgba(255, 249, 239, 0.93) 50%, rgba(255, 249, 239, 0.08) 83%),
    url("assets/images/hero.webp") center / cover;
}

.promise__feature--main::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 35%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  content: "";
  mask-image: linear-gradient(to left, black, transparent);
}

.promise h2 {
  max-width: 500px;
  margin-bottom: 25px;
  font-size: clamp(3.1rem, 5vw, 5.2rem);
}

.promise__feature--main > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
}

.promise__seal {
  position: absolute;
  right: 32px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  transform: rotate(8deg);
}

.promise__seal svg {
  width: 68px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.promise__feature--mint,
.promise__feature--coral {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 270px;
  padding: 35px;
}

.promise__feature--mint {
  background: var(--mint);
}

.promise__feature--coral {
  background: var(--coral);
  color: var(--white);
}

.promise__big {
  display: block;
  margin-bottom: auto;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.promise__feature h3 {
  margin: 25px 0 5px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.promise__feature--mint p,
.promise__feature--coral p {
  max-width: 290px;
  margin: 0;
  font-size: 0.84rem;
  opacity: 0.74;
}

.match {
  position: relative;
  overflow: hidden;
  background: var(--pine-900);
  color: var(--white);
}

.match__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, black 60%, transparent);
}

.match::after {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
  filter: blur(0);
  opacity: 0.08;
}

.match__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.match h2 {
  margin-bottom: 28px;
  color: var(--white);
}

.match__copy > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.65);
}

.match__legend {
  display: flex;
  gap: 22px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.match__legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

kbd {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 -2px rgba(0, 0, 0, 0.18);
  color: var(--white);
  font-family: var(--font-sans);
}

.shortlist {
  max-width: 490px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.06);
}

.shortlist__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shortlist__title strong {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  padding-inline: 5px;
  border-radius: 99px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.72rem;
}

.shortlist__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shortlist__items p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.77rem;
}

.shortlist-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 6px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 600;
}

.shortlist-chip__thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-image: var(--sheet);
  background-position: var(--pos-x) var(--pos-y);
  background-size: 200% 200%;
}

.swipe-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swipe-stack {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 0.79;
}

.swipe-stack::before,
.swipe-stack::after {
  position: absolute;
  inset: 16px 13px -9px;
  border-radius: 31px;
  background: #dbe9dc;
  box-shadow: var(--shadow-lg);
  content: "";
  transform: rotate(3.5deg);
}

.swipe-stack::before {
  inset: 8px 7px -4px;
  background: #f1dfcc;
  transform: rotate(-2deg);
}

.swipe-card {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  border-radius: 31px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform-origin: 50% 100%;
  will-change: transform;
}

.swipe-card:active {
  cursor: grabbing;
}

.swipe-card__visual {
  height: 72%;
  background-color: #f7eddf;
}

.swipe-card__gradient {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(8, 36, 29, 0.65));
  pointer-events: none;
}

.swipe-card__top {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  left: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.swipe-card__count,
.swipe-card__viewer {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding-inline: 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.66rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.swipe-card__viewer {
  gap: 5px;
  background: var(--mint-bright);
}

.swipe-card__info {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 27px 24px;
  color: var(--white);
  pointer-events: none;
}

.swipe-card__species {
  display: block;
  margin-bottom: 4px;
  color: var(--mint-bright);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.swipe-card__info h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

.swipe-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.swipe-card__meta {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.swipe-card__price {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.swipe-stamp {
  position: absolute;
  z-index: 5;
  top: 84px;
  padding: 5px 14px;
  border: 4px solid currentColor;
  border-radius: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  text-transform: uppercase;
}

.swipe-stamp--yes {
  left: 24px;
  color: #2aa76a;
  transform: rotate(-12deg);
}

.swipe-stamp--no {
  right: 24px;
  color: var(--coral);
  transform: rotate(12deg);
}

.swipe-complete {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 40px;
  background: var(--paper);
  text-align: center;
}

.swipe-complete span {
  font-size: 3rem;
}

.swipe-complete h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.swipe-complete p {
  color: var(--muted);
  font-size: 0.85rem;
}

.swipe-complete button {
  margin-top: 10px;
}

.swipe-actions {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 27px;
}

.swipe-button {
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.swipe-button:hover {
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.27);
  transform: translateY(-3px) scale(1.03);
}

.swipe-button svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.swipe-button--no {
  color: var(--coral);
}

.swipe-button--yes {
  color: #28a86a;
}

.swipe-button--yes svg {
  fill: currentColor;
  stroke: currentColor;
}

.swipe-button--info {
  width: 46px;
  height: 46px;
  color: var(--pine-700);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.swipe-area__hint {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.site-footer {
  padding: 74px 0 25px;
  background: var(--pine-950);
  color: var(--white);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 70px;
}

.brand--footer {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.8rem;
}

.site-footer__top > div:first-child > p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
  min-width: 360px;
}

.site-footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links strong {
  margin-bottom: 5px;
  color: var(--mint-bright);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
}

.site-footer__bottom span:last-child span {
  color: var(--gold);
}

.tree-modal {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  max-height: min(760px, calc(100svh - 40px));
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 32px;
  background: transparent;
  box-shadow: var(--shadow-lg);
}

.tree-modal::backdrop {
  background: rgba(5, 29, 24, 0.76);
  backdrop-filter: blur(10px);
}

.tree-modal[open] {
  animation: modal-in 250ms cubic-bezier(0.18, 0.83, 0.25, 1);
}

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

.tree-modal__shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 610px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--paper);
}

.modal-close {
  position: absolute;
  z-index: 10;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 22px rgba(18, 60, 50, 0.13);
  cursor: pointer;
  color: var(--pine-900);
  backdrop-filter: blur(8px);
}

.modal-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.modal-viewer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: #f4e9d9;
}

.viewer-stage {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.viewer-stage[data-viewer="frames"] {
  background-size: 400% 200%;
}

.viewer-stage[data-viewer="image"] {
  background-size: 200% 200%;
}

.viewer-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding-inline: 11px;
  border-radius: 99px;
  background: var(--mint-bright);
  color: var(--pine-900);
  font-size: 0.66rem;
  font-weight: 700;
}

.viewer-controls {
  position: absolute;
  right: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 49px;
  padding: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  color: var(--pine-900);
  transform: translateX(50%);
  backdrop-filter: blur(10px);
}

.viewer-controls button {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream-2);
  cursor: pointer;
  font-weight: 700;
}

.viewer-controls > span {
  min-width: 73px;
  text-align: center;
}

.viewer-controls b,
.viewer-controls small {
  display: block;
}

.viewer-controls b {
  font-size: 0.76rem;
}

.viewer-controls small {
  color: var(--muted);
  font-size: 0.57rem;
}

.modal-info {
  display: flex;
  flex-direction: column;
  padding: 66px 48px 36px;
  overflow-y: auto;
}

.modal-info__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-info__topline .tree-grade {
  border: 1px solid var(--line);
}

.modal-code {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.modal-species {
  margin-bottom: 4px;
  color: var(--pine-700);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.modal-info h2 {
  margin-bottom: 15px;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-size: 3.1rem;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.modal-description {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.88rem;
}

.modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 23px;
}

.modal-metrics div {
  padding: 13px;
  border-radius: 13px;
  background: var(--cream-2);
}

.modal-metrics dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.6rem;
}

.modal-metrics dd {
  margin: 0;
  color: var(--pine-900);
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 29px;
}

.modal-features span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #4d625b;
  font-size: 0.66rem;
  font-weight: 600;
}

.modal-info__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.modal-info__footer > div span,
.modal-info__footer > div strong {
  display: block;
}

.modal-info__footer > div span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.62rem;
}

.modal-info__footer > div strong {
  font-size: 1.25rem;
}

.modal-like {
  min-height: 49px;
  padding-inline: 19px;
  font-size: 0.78rem;
}

.modal-like[aria-pressed="true"] {
  background: var(--pine-900);
  box-shadow: none;
}

.modal-disclaimer {
  margin: 12px 0 0;
  color: #9ca39f;
  font-size: 0.58rem;
  text-align: right;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(370px, calc(100% - 48px));
  padding: 13px 18px;
  border-radius: 13px;
  background: var(--pine-950);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.species-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.promise__grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.species-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.promise__grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .saved-pill {
    grid-column: 2;
  }

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

  .how__grid,
  .match__grid {
    gap: 55px;
  }

  .promise__feature--main {
    padding: 50px;
  }
}

@media (max-width: 840px) {
  .section {
    padding-block: 90px;
  }

  .menu-toggle {
    z-index: 4;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--pine-900);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 3;
    top: 74px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 27px;
    border-top: 1px solid var(--line);
    background: rgba(255, 249, 239, 0.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.3rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .saved-pill {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .species-card:last-child {
    grid-column: 1 / -1;
  }

  .how__grid,
  .match__grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .how__intro,
  .match__copy {
    max-width: 650px;
  }

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

  .promise__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .promise__feature--main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 510px;
  }

  .match__copy {
    text-align: center;
  }

  .match__copy .eyebrow,
  .match__legend {
    justify-content: center;
  }

  .match__copy > p:not(.eyebrow),
  .shortlist {
    margin-inline: auto;
  }

  .tree-modal {
    max-height: calc(100svh - 28px);
  }

  .tree-modal__shell {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 28px);
    overflow-y: auto;
  }

  .modal-viewer {
    min-height: min(520px, 58svh);
  }

  .viewer-stage {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .modal-info {
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell {
    width: min(100% - 32px, 1180px);
  }

  .announcement {
    min-height: 31px;
    padding-inline: 12px;
    font-size: 0.66rem;
  }

  .announcement__detail {
    display: none;
  }

  .site-header {
    height: 66px;
  }

  .primary-nav {
    top: 66px;
  }

  .brand {
    font-size: 1.4rem;
  }

  .brand__mark {
    width: 21px;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .how h2,
  .promise h2,
  .match h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .section-heading > p {
    font-size: 0.94rem;
  }

  .hero {
    min-height: calc(100svh - 97px);
  }

  .hero__image {
    object-position: 63% center;
  }

  .hero__wash {
    background:
      linear-gradient(0deg, rgba(255, 248, 236, 0.96) 0%, rgba(255, 248, 236, 0.72) 54%, rgba(255, 248, 236, 0.06) 100%),
      linear-gradient(90deg, rgba(255, 248, 236, 0.42), transparent);
  }

  .hero__content {
    justify-content: flex-end;
    min-height: calc(100svh - 97px);
    padding-block: 130px 65px;
  }

  .hero h1 {
    margin-bottom: 19px;
    font-size: clamp(3.8rem, 19vw, 5.2rem);
  }

  .hero__eyebrow {
    margin-bottom: 17px;
    font-size: 0.65rem;
  }

  .hero__lead {
    max-width: 360px;
    margin-bottom: 25px;
    font-size: 0.96rem;
  }

  .hero__actions {
    width: 100%;
    margin-bottom: 24px;
  }

  .hero__actions .button {
    flex: 1;
    min-width: 180px;
  }

  .button--glass {
    display: none;
  }

  .hero__proof {
    width: 100%;
    justify-content: space-between;
  }

  .hero__proof span {
    flex: 1;
    padding-inline: 10px;
    font-size: 0.64rem;
  }

  .hero__proof b {
    font-size: 0.9rem;
  }

  .scan-note,
  .hero__scroll {
    display: none;
  }

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

  .species-card,
  .species-card:last-child {
    grid-column: auto;
    min-height: 475px;
  }

  .species-card__art {
    height: 290px;
  }

  .species-card__body {
    padding: 23px 25px 26px;
  }

  .how__grid,
  .match__grid {
    gap: 50px;
  }

  .step {
    grid-template-columns: 28px 53px 1fr;
    gap: 12px;
    min-height: 126px;
  }

  .step__icon {
    width: 53px;
    height: 53px;
    border-radius: 17px;
  }

  .steps::before {
    left: 54px;
  }

  .step h3 {
    font-size: 1.25rem;
  }

  .step p {
    font-size: 0.75rem;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
    padding: 9px;
    overflow: hidden;
  }

  .filter-chips {
    width: 100%;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    min-width: max-content;
    padding-inline: 14px;
  }

  .filter-selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .filter-selects label,
  .filter-selects select {
    width: 100%;
  }

  .tree-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tree-card {
    border-radius: 18px;
  }

  .tree-card__badges {
    top: 8px;
    left: 8px;
  }

  .tree-card__badges .viewer-tag {
    display: none;
  }

  .tree-card__like {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .tree-card__body {
    padding: 13px;
  }

  .tree-card h3 {
    font-size: 1.25rem;
  }

  .tree-card__metrics {
    flex-direction: column;
    gap: 3px;
    margin-bottom: 13px;
  }

  .tree-card__footer {
    padding-top: 10px;
  }

  .tree-card__price strong {
    font-size: 0.87rem;
  }

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

  .promise__feature--main {
    grid-column: auto;
    min-height: 500px;
    padding: 38px 28px;
    background-position: 60% center;
  }

  .promise__feature--main::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 249, 239, 0.96), rgba(255, 249, 239, 0.25));
    content: "";
  }

  .promise__feature--main > * {
    position: relative;
    z-index: 1;
  }

  .promise__feature--mint,
  .promise__feature--coral {
    min-height: 235px;
  }

  .promise__seal {
    width: 82px;
    height: 82px;
  }

  .promise__seal svg {
    width: 55px;
  }

  .match__legend {
    margin-bottom: 28px;
  }

  .shortlist {
    text-align: left;
  }

  .swipe-stack {
    width: min(360px, calc(100vw - 48px));
  }

  .swipe-card__visual {
    height: 70%;
  }

  .swipe-card__info {
    padding: 22px;
  }

  .swipe-card__info h3 {
    font-size: 1.8rem;
  }

  .site-footer__top {
    flex-direction: column;
    padding-bottom: 48px;
  }

  .site-footer__links {
    gap: 35px;
    min-width: 0;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .tree-modal {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 25px;
  }

  .tree-modal__shell {
    max-height: calc(100svh - 16px);
    border-radius: 25px;
  }

  .modal-viewer {
    min-height: 47svh;
  }

  .modal-info {
    padding: 38px 22px 25px;
  }

  .modal-info h2 {
    font-size: 2.45rem;
  }

  .modal-info__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-like {
    width: 100%;
  }

  .modal-disclaimer {
    text-align: left;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 390px) {
  .tree-grid {
    grid-template-columns: 1fr;
  }

  .tree-card__visual {
    aspect-ratio: 1.15 / 1;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
