/*
  Inca Bella: sister site to Sopley Mill.
  Layout: white pages, a sticky white header with spaced capitals, full-bleed photography,
  centred script + serif section heads, olive as the working colour and dusky rose as
  Inca Bella's own accent. Single light theme by design, to match Sopley Mill.
*/
:root {
  color-scheme: light;

  /* colour */
  --paper: #ffffff;
  --mist: #f3f4ee;        /* sage-tinted ground for alternate bands */
  --ink: #3d3c38;         /* charcoal, warm bias */
  --muted: #6b6a63;
  --line: #d9d9d0;
  --olive: #7a7f55;       /* shared with Sopley Mill */
  --olive-deep: #5d6240;
  --rose: #b4847f;        /* Inca Bella's own accent */
  --rose-soft: #efe2df;
  --topbar: #3a3336;

  /* type */
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --serif: "Gilda Display", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  --script-size: clamp(3rem, 2rem + 4.5vw, 5.75rem);

  --gutter: clamp(16px, 4vw, 64px);
  --wrap: 1240px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
  max-width: 1840px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--olive); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .16em; text-transform: uppercase; }
.brand-sub { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 52px); }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 52px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-block; padding-block: 8px;
  font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--olive);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Dropdown menus */
.nav-links > li { position: relative; }
.has-sub { display: flex; align-items: center; gap: 2px; }
.sub-toggle { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--muted); line-height: 0; }
.sub-toggle svg { width: 10px; height: 6px; transition: transform .25s ease; }
.has-sub:hover .sub-toggle, .sub-toggle:hover { color: var(--ink); }
.subnav {
  list-style: none; margin: 0; padding: 14px 0; min-width: 290px;
  position: absolute; top: 100%; left: -22px; z-index: 60;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle svg, .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.subnav a { display: block; padding: 9px 26px; font-size: .78rem; letter-spacing: .12em; white-space: nowrap; }
.subnav a::after { display: none; }
.subnav a:hover { color: var(--ink); background: var(--mist, #f4f4ef); }
.sub-head { padding: 12px 26px 4px; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--olive); }
.sub-head:first-child { padding-top: 0; }
.sub-all { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.sub-all a { font-weight: 600; color: var(--ink); }

.list-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; font-weight: 600;
  white-space: nowrap; transition: background .25s ease, color .25s ease;
}
.list-btn:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.list-btn:hover .list-count[data-count="0"] { background: rgba(255,255,255,.25); color: #fff; }
.list-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px;
  border-radius: 999px; background: var(--rose); color: #fff; font-size: .72rem; letter-spacing: 0;
}
.list-count[data-count="0"] { background: var(--line); color: var(--ink); }
.list-count.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.menu-toggle span + span { margin-top: 7px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 6px) 0 0 0; z-index: 40;
    flex-direction: column; justify-content: center; gap: 36px;
    background: var(--paper); padding: 32px var(--gutter);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav { justify-content: flex-start; overflow-y: auto; }
  .nav-links { flex-direction: column; align-items: center; gap: 22px; margin-block: auto; }
  .nav-links a { font-size: .95rem; }
  .has-sub { flex-wrap: wrap; justify-content: center; }
  .subnav {
    position: static; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0; text-align: center;
    max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transform: none; transition: max-height .35s ease;
  }
  .subnav::before { display: none; }
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav { max-height: 0; }
  .has-sub.is-open > .subnav { max-height: 640px; padding-top: 10px; }
  .subnav a { padding: 8px 12px; font-size: .8rem; white-space: normal; }
  .sub-head { padding: 12px 0 2px; }
  .sub-all { border-top: 0; margin-top: 4px; }
  .brand-name { font-size: 1.4rem; }
  .header-actions { display: flex; align-items: center; gap: 8px; }
}
@media (min-width: 1181px) { .header-actions { display: none; } }
.list-btn--compact { padding: 10px 14px; gap: 8px; }
@media (max-width: 1180px) { .nav .list-btn { display: none; } }
@media (max-width: 460px) {
  :root { --header-h: 72px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1.15rem; letter-spacing: .12em; }
  .brand-sub { display: none; }
  .list-btn--compact .label { display: none; }
}

/* ---------- logo animation ---------- */
.brand-mark .petals { transform-origin: 50% 50%; animation: turn 60s linear infinite; }
.brand-mark .petal { transform-box: fill-box; transform-origin: center; }
.brand-mark.bloom .petal { animation: bloom 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes bloom { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

/* ---------- shared type ---------- */
.script { font-family: var(--script); font-weight: 400; font-size: var(--script-size); line-height: 1; color: var(--ink); }
.kicker { font-size: var(--step--1); letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.rule { width: 72px; height: 2px; background: var(--olive); border: 0; margin: 28px auto; }
.section-head { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 34px; border-radius: 999px; border: 1px solid var(--ink);
  font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; cursor: pointer; background: transparent;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--olive); border-color: var(--olive); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--small { padding: 12px 20px; letter-spacing: .16em; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }

.text-link {
  font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; text-decoration: none;
  padding-bottom: 5px;
  background: linear-gradient(var(--olive), var(--olive)) left bottom / 100% 1px no-repeat;
  transition: color .3s ease;
}
.text-link:hover { color: var(--olive-deep); animation: underline .7s cubic-bezier(.6,0,.2,1); }
@keyframes underline {
  0% { background-size: 100% 1px; background-position: right bottom; }
  45% { background-size: 0 1px; background-position: right bottom; }
  46% { background-size: 0 1px; background-position: left bottom; }
  100% { background-size: 100% 1px; background-position: left bottom; }
}

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--mist { background: var(--mist); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(460px, calc(100vh - var(--header-h))); min-height: max(460px, calc(100svh - var(--header-h))); display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,16,0) 35%, rgba(20,20,16,.55) 100%); }
.hero-copy { position: relative; z-index: 1; padding-block: 0 clamp(56px, 9vw, 120px); color: #fff; }
.hero-copy .script { color: #fff; display: block; }
.hero-copy h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-copy .hero-line { display: block; font-family: var(--serif); font-size: var(--step-4); color: #fff; margin-top: .1em; padding-left: clamp(24px, 5vw, 72px); }
.hero-copy .script, .hero-copy .hero-line { opacity: 0; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy .hero-line { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-tab {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 20px clamp(20px, 3vw, 48px); background: var(--olive); color: #fff; text-decoration: none;
  font-size: var(--step--1); letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
  transition: background .25s ease;
}
.hero-tab:hover { background: var(--olive-deep); }
.hero-tab svg { width: 16px; height: 16px; }

.page-hero { position: relative; min-height: clamp(300px, 46vh, 520px); display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--ink); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,16,.38); }
.page-hero .inner { position: relative; z-index: 1; display: grid; gap: 8px; color: #fff; padding-block: 48px; }
.page-hero .script, .page-hero h1 { color: #fff; }
.page-hero h1 { font-size: var(--step-4); }

.plain-head { padding-block: clamp(64px, 9vw, 120px) 0; text-align: center; }
.plain-head h1 { font-size: var(--step-4); }

/* ---------- features row (Sopley "little bit about us") ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 32px clamp(16px, 2.4vw, 40px); }
.feature .text-link { margin-top: auto; }
.feature p + .text-link { margin-top: auto; }
.feature + .feature { border-left: 1px dashed var(--line); }
.feature svg { width: 72px; height: 72px; }
.feature h3 { font-size: var(--step-2); }
.feature p { color: var(--muted); max-width: 30ch; }
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px dashed var(--line); }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px dashed var(--line); }
}

/* ---------- split image/text ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--wide img:first-child { aspect-ratio: 4 / 3; }
.split-media .inset { position: absolute; width: 42%; right: -6%; bottom: -8%; aspect-ratio: 1; border: 10px solid var(--paper); }
.split--flip .split-media .inset { right: auto; left: -6%; }
.split-copy { display: grid; gap: 22px; min-width: 0; }
.split-copy .script { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); }
.split-copy h2 { font-size: var(--step-3); }
.split-copy p { color: var(--muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .split-media .inset { display: none; }
  .split-media img { aspect-ratio: 4 / 3; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; gap: 12px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; color: var(--rose); line-height: 1; }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps--three { grid-template-columns: 1fr; } }

/* ---------- package feature cards ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.package { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.package .ph { overflow: hidden; }
.package img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.package:hover img { transform: scale(1.04); }
.package h3 { font-size: var(--step-2); }
.package .price { color: var(--muted); }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; } .package img { aspect-ratio: 3 / 2; } }

/* ---------- sister band ---------- */
.sister { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--olive-deep); }
.sister img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sister::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,42,30,.38), rgba(40,42,30,.58)); }
.sister .inner { z-index: 1; }
.sister .script, .sister h2, .sister p { text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.sister .inner { position: relative; display: grid; justify-items: center; gap: 20px; padding-block: clamp(80px, 10vw, 140px); }
.sister .script, .sister h2 { color: #fff; }
.sister h2 { font-size: var(--step-3); }
.sister p { max-width: 56ch; opacity: .92; }
.sister .btn { border-color: #fff; color: #fff; }
.sister .btn:hover { background: var(--olive); border-color: var(--olive); color: #fff; }

/* ---------- shop ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.chip {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.group { scroll-margin-top: calc(var(--header-h) + 24px); }
.group + .group { margin-top: clamp(64px, 8vw, 110px); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; margin-bottom: 32px; border-bottom: 1px dashed var(--line); }
.group-head h2 { font-size: var(--step-3); }
.group-head p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.grid--packages { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-width: 0; }
.card-link { display: grid; gap: 14px; text-decoration: none; }
.card .ph { overflow: hidden; background: var(--mist); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.grid--packages .card img { aspect-ratio: 4 / 3; object-position: center 28%; }
.grid--packages .card img[src*="ground-floor-decoration-package"] { object-position: center 85%; }
.grid--packages .card img[src$="table-centre-piece-package-2.jpg"] { object-position: center 72%; }
.card-link:hover img { transform: scale(1.04); }
.card h3 { font-size: 1.3rem; }
.card .price { color: var(--muted); font-variant-numeric: tabular-nums; }
.card .price small { font-size: .8rem; }
.card--desc { grid-template-rows: auto auto 1fr auto; }
.card-desc { color: var(--muted); }

.add-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.add-btn:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.add-btn.is-added { background: var(--olive); border-color: var(--olive); color: #fff; }
.add-btn svg { width: 14px; height: 14px; }

/* ---------- product page ---------- */
.crumbs { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-block: 32px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); padding-block: 32px clamp(72px, 9vw, 120px); align-items: start; }
.product-gallery { display: grid; gap: 12px; min-width: 0; }
.product-gallery .main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; width: 84px; }
.thumbs button[aria-current="true"] { border-color: var(--olive); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info { display: grid; gap: 22px; min-width: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.product-info h1 { font-size: var(--step-3); }
.product-info .price { font-family: var(--serif); font-size: var(--step-2); color: var(--olive-deep); }
.product-info .desc { display: grid; gap: 14px; color: var(--muted); }
.qty-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.note { font-size: .9rem; color: var(--muted); padding: 16px 18px; background: var(--mist); border-left: 2px solid var(--rose); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-info { position: static; } .product-gallery .main { aspect-ratio: 4 / 3; } }

/* ---------- list page ---------- */
.list-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.list-items { list-style: none; margin: 0; padding: 0; }
.list-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding-block: 20px; border-bottom: 1px dashed var(--line); }
.list-item img { width: 96px; aspect-ratio: 1; object-fit: cover; }
.list-item h3 { font-size: 1.2rem; }
.list-item h3 a { text-decoration: none; }
.list-item .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.list-item .line-total { font-variant-numeric: tabular-nums; text-align: right; }
.remove { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; padding: 4px 0; }
.remove:hover { color: var(--ink); }
.list-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 24px; }
.list-total strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.list-total + p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.empty { display: grid; justify-items: center; gap: 20px; text-align: center; padding: 56px 24px; background: var(--mist); }
.empty p { color: var(--muted); max-width: 44ch; }
@media (max-width: 960px) { .list-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .list-item { grid-template-columns: 72px 1fr; } .list-item img { width: 72px; } .list-item .line-total { grid-column: 2; text-align: left; } }

/* ---------- forms ---------- */
.form-card { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--mist); }
.form-card h2 { font-size: var(--step-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0; background: var(--paper);
  font: inherit; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(122,127,85,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .static { padding: 14px 16px; border: 1px dashed var(--line); background: var(--paper); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--olive); flex: none; }
.field--check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; }
.error-msg { color: #9b3b32; font-size: .9rem; }
.form-card .btn { justify-self: start; }
.success { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--rose-soft); }
.success h2 { font-size: var(--step-2); }
.success ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ---------- contact info row (Sopley contact page) ---------- */
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: clamp(48px, 6vw, 80px); border-top: 1px dotted #bdbdb4; }
.info-row h3 { font-family: var(--sans); font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.info-row p, .info-row address { font-style: normal; color: var(--muted); }
.info-row a { color: var(--ink); }
@media (max-width: 900px) { .info-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .info-row { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.masonry img { width: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.masonry button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(28,27,24,.92); padding: 24px; }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 12px 18px; }
.lightbox .close { top: 12px; right: 12px; }
.lightbox .prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- flowers ---------- */
.quote { font-family: var(--serif); font-size: var(--step-2); line-height: 1.4; text-align: center; max-width: 30ch; margin-inline: auto; }
.quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr 1fr; } .trio img:last-child { display: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--mist); padding-block: clamp(64px, 8vw, 100px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.site-footer h3 { font-family: var(--sans); font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.site-footer address, .site-footer p { font-style: normal; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px dotted #bdbdb4; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- scroll fade (added by JS only to content below the first screen) ---------- */
.fade { opacity: 0; transform: translateY(28px); transition: opacity 1.3s ease, transform 1.3s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.stagger.fade { opacity: 1; transform: none; }
.stagger.fade > * { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 120ms); }
.stagger.fade.is-in > * { opacity: 1; transform: none; }
.fade.is-in { opacity: 1; transform: none; }

/* ---------- cursor dot (Sopley-style, mouse only) ---------- */
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 200; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); pointer-events: none; opacity: 0; transition: opacity .3s ease, width .25s ease, height .25s ease, margin .25s ease, background .25s ease; }
.cursor-dot.is-on { opacity: 1; }
.cursor-dot.is-link { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: rgba(180,132,127,.55); }

/* ---------- page fade between pages ---------- */
main, .site-footer { animation: pageIn .7s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.is-leaving main, .is-leaving .site-footer { animation: pageOut .36s ease forwards; }
@keyframes pageOut { to { opacity: 0; } }

/* ---------- photos fade in when loaded ---------- */
.js .ph img, .js .split-media img, .js .package img, .js .masonry img, .js .trio img, .js .product-gallery img, .js .list-item img, .js .page-hero img {
  opacity: 0; transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.js img.is-loaded { opacity: 1; }
.ph, .split-media, .package .ph { background: var(--mist); }

/* ---------- price units ---------- */
.unit { font-size: .82em; color: var(--muted); }
.product-info .price .unit { font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; }

/* ---------- product descriptions ---------- */
.desc ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.desc ul li::marker { color: var(--rose); }
.desc .sub { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-top: 6px; }

/* ---------- "added to your list" panel ---------- */
.toast {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: calc(clamp(16px, 3vw, 32px) + env(safe-area-inset-bottom, 0px)); z-index: 120;
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  width: min(380px, calc(100vw - 32px)); padding: 14px 14px 14px 14px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(40,38,30,.16);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.toast.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.toast img { width: 64px; height: 64px; object-fit: cover; }
.toast-body { display: grid; gap: 4px; min-width: 0; }
.toast-body p { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-title { font-size: .72rem !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--olive-deep); }
.toast .text-link { justify-self: start; font-size: .7rem; margin-top: 4px; }
.toast-close { align-self: start; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 6px; }
.toast-close:hover { color: var(--ink); }

/* ---------- social icons ---------- */
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.social a:hover { background: var(--olive); border-color: var(--olive); color: #fff; text-decoration: none !important; }
.social svg { width: 18px; height: 18px; }

/* ---------- home hero slideshow ---------- */
.hero .slides { position: absolute; inset: 0; }
.hero .slides img { opacity: 0; transition: opacity 2.2s ease; animation: none; }
.hero .slides img.is-active { opacity: 1; animation: drift 9s ease-out both; }
.hero .slides img:first-child { opacity: 1; }
.hero .slides.is-running img:first-child:not(.is-active) { opacity: 0; }
.slide-dots { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; display: flex; gap: 10px; }
.slide-dots button { width: 28px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.45); cursor: pointer; position: relative; }
.slide-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.slide-dots button[aria-current="true"] { background: rgba(255,255,255,.45); overflow: hidden; }
.slide-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: slide-bar var(--slide-ms, 6500ms) linear forwards; }
.slide-dots.is-still button[aria-current="true"] { background: #fff; }
.slide-dots.is-still button[aria-current="true"]::after { display: none; }
@keyframes slide-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slide-arrow { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(20,20,16,.18); color: #fff; cursor: pointer; backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease, background .25s ease, color .25s ease; }
.slide-arrow svg { width: 16px; height: 16px; }
.slide-arrow--prev { left: clamp(16px, 3vw, 44px); }
.slide-arrow--next { right: clamp(16px, 3vw, 44px); }
.hero:hover .slide-arrow, .slide-arrow:focus-visible { opacity: 1; }
.slide-arrow:hover { background: #fff; color: var(--ink); }
@media (hover: none), (max-width: 700px) { .slide-arrow { display: none; } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.review { display: grid; gap: 18px; align-content: start; text-align: center; justify-items: center; }
.review .stars { color: var(--rose); letter-spacing: .3em; font-size: .9rem; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); max-width: 30ch; }
.review cite { font-style: normal; font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ib-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- map (contact) ---------- */
.find-us { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--paper); }
.map { position: relative; display: block; min-height: 420px; overflow: hidden; background: #eef0e6; }
.map--live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { transform-box: fill-box; transform-origin: 50% 100%; animation: pinDrop 1.1s cubic-bezier(.3,1.4,.5,1) .3s both; }
@keyframes pinDrop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.map .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite 1.4s; }
@keyframes pulse { from { transform: scale(.4); opacity: .55; } to { transform: scale(2.4); opacity: 0; } }
.map-cta { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--paper); border: 1px solid var(--line); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; text-decoration: none; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.map:hover .map-cta { background: var(--olive); border-color: var(--olive); color: #fff; }
.map-cta svg { width: 14px; height: 14px; }
.find-us-info { display: grid; gap: 28px; align-content: center; padding: clamp(28px, 4vw, 56px); }
.find-us-info h2 { font-size: var(--step-3); }
.find-us-info h3 { font-family: var(--sans); font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.find-us-info address, .find-us-info p { font-style: normal; color: var(--muted); }
.find-us-info a:not(.btn) { color: var(--ink); }
@media (max-width: 900px) { .find-us { grid-template-columns: 1fr; } .map { min-height: 320px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-copy .script, .hero-copy .hero-line { opacity: 1; }
  .cursor-dot { display: none; }
  .js .ph img, .js .split-media img, .js .package img, .js .masonry img, .js .trio img, .js .product-gallery img, .js .list-item img, .js .page-hero img { opacity: 1; }
}
.field [aria-invalid="true"] { border-color: #9b3b32; }

/* ---------- Packages page ---------- */
.page-hero--tall { min-height: clamp(380px, 62vh, 660px); }
.page-hero--tall::after { background: linear-gradient(180deg, rgba(20,20,16,.30) 0%, rgba(20,20,16,.52) 100%); }
.page-hero--tall h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); text-wrap: balance; }
.hero-sub { color: rgba(255,255,255,.92); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; }

.pk-intro { padding-bottom: clamp(32px, 5vw, 64px); }
.pk-headline { text-align: center; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; margin-bottom: 22px; }
.pk-lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.7; text-align: center; color: var(--muted); max-width: 54ch; margin-inline: auto; text-wrap: balance; }
.pk-steps { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: none; }
.pk-steps li { position: relative; align-content: start; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 clamp(12px, 2vw, 28px); }
.pk-steps li + li::before { content: ""; position: absolute; top: 22px; right: 50%; width: 100%; height: 1px; background: var(--line); z-index: 0; }
.pk-step-n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--rose); color: var(--rose); font-family: var(--serif); font-size: 1.25rem; }
.pk-step-t { font-size: .95rem; font-weight: 500; letter-spacing: .02em; color: var(--ink); max-width: 24ch; text-wrap: balance; line-height: 1.5; }

.pk-main .wrap { display: grid; gap: clamp(64px, 9vw, 128px); padding-block: clamp(24px, 4vw, 48px) clamp(72px, 10vw, 140px); }
.pk { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pk--flip .pk-photo { order: 2; }
.pk-photo { display: block; overflow: hidden; background: var(--mist); }
.pk-photo img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 40%; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.pk-photo:hover img { transform: scale(1.03); }
.pk-body { display: grid; gap: 18px; justify-items: start; }
.pk-tag { font-size: var(--step--1); letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--rose); }
.pk-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; }
.pk-body h2 a { text-decoration: none; color: inherit; }
.pk-price { font-family: var(--serif); font-size: 1.6rem; color: var(--olive-deep); }
.pk-price .unit { font-size: .9rem; color: var(--muted); }
.pk-points { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.pk-points li { position: relative; padding-left: 26px; line-height: 1.55; }
.pk-points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--olive); }
.pk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }

.pk-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 980px; margin-inline: auto; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 24px 60px -36px rgba(61,60,56,.35); }
.pk-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pk-table th, .pk-table td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.pk-table thead th { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); padding-block: 26px; border-bottom: 2px solid var(--olive); }
.pk-table tbody th, .pk-table tfoot th { text-align: left; font-weight: 400; color: var(--ink); }
.pk-table td svg { width: 18px; height: 18px; color: var(--olive); display: inline-block; vertical-align: middle; }
.pk-dash { color: var(--line); font-size: 1.2rem; }
.pk-table tfoot th, .pk-table tfoot td { font-family: var(--serif); font-size: 1.15rem; border-bottom: 0; padding-block: 24px; color: var(--olive-deep); }
.pk-table tfoot th { color: var(--ink); }
.pk-note { max-width: 62ch; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

.pk-cta { position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--ink); min-height: clamp(340px, 50vh, 520px); }
.pk-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-cta::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,16,.52); }
.pk-cta .inner { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: center; padding-block: 72px; }
.pk-cta .script { color: #fff; }
.pk-cta-sub { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { background: var(--olive); border-color: var(--olive); color: #fff; }

@media (max-width: 860px) {
  .pk { grid-template-columns: 1fr; gap: 28px; }
  .pk--flip .pk-photo { order: 0; }
  .pk-steps { grid-template-columns: 1fr; gap: 28px; }
  .pk-steps li + li::before { display: none; }
  .pk-table th, .pk-table td { padding: 14px 14px; }
}


/* ---------- skip link, product extras, FAQ, sticky bar, hero button ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; font-size: .85rem; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.assure { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.assure li { display: flex; gap: 12px; align-items: baseline; }
.assure li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); transform: translateY(-1px); }
.product-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 22px; }

.pk-faq .faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans, inherit); font-size: 1.5rem; color: var(--olive); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 62ch; color: var(--muted); animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; margin-top: 28px; }
.hero-link { color: #fff; font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
.hero-link:hover { border-bottom-color: #fff; }

.sticky-add {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.sticky-add.is-on { transform: none; }
.sticky-add-info { display: grid; line-height: 1.3; min-width: 0; }
.sticky-add-info strong { font-weight: 500; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-add-info span { font-size: .85rem; color: var(--muted); }
.sticky-add .add-btn { flex: none; }
@media (min-width: 1181px) { .sticky-add { display: none; } }


/* ---------- smoothness ---------- */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .card .ph { overflow: hidden; }
  .card .ph img { transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
  .card:hover .ph img, .package:hover img { transform: scale(1.045); }
  .pk-photo { overflow: hidden; }
  .pk-photo img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
  .pk:hover .pk-photo img { transform: scale(1.03); }
  .page-hero > img, .pk-cta > img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }
  .hero-actions, .hero-cta { opacity: 0; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) .7s forwards; }
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding-left: clamp(24px, 5vw, 72px); margin-top: 26px; }
@media (prefers-reduced-motion: reduce) { .hero-actions, .hero-cta { opacity: 1; } }
@media (max-width: 700px) { .hero-actions { padding-left: 0; } .hero-tab { display: none; } }

/* Clear button: outlined in white, fills on hover */
.btn--ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.85); color: #fff; backdrop-filter: blur(2px); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- phones: more room, calmer rhythm (was too tight at 16px sides) ---------- */
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  body { line-height: 1.75; }
  .section { padding-block: 88px; }
  .section-head { margin-bottom: 44px; gap: 14px; }
  .split { gap: 36px; }
  .split-copy { gap: 20px; }
  .split-copy p, .lede { font-size: 1.0625rem; }
  .feature { padding: 40px 12px; gap: 16px; }

  /* the hero: lower, roomier text and a proper-sized button */
  .hero-copy { padding-bottom: 76px; }
  .hero-copy .hero-line { padding-left: 0; font-size: clamp(1.7rem, 7.6vw, 2.2rem); margin-top: .25em; }
  .hero-actions { margin-top: 26px; }
  .slide-dots { left: var(--gutter); bottom: 30px; }

  /* shop pages: category chips scroll sideways instead of stacking, items sit two across */
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-bottom: 40px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; padding: 11px 18px; }
  .grid:not(.grid--packages) { grid-template-columns: 1fr 1fr; gap: 34px 14px; }
  .grid:not(.grid--packages) .card { gap: 10px; }
  .grid:not(.grid--packages) .card h3 { font-size: 1.02rem; line-height: 1.25; }
  .grid:not(.grid--packages) .price { font-size: .9rem; }
  .grid:not(.grid--packages) .add-btn { width: 100%; padding-inline: 8px; font-size: .68rem; letter-spacing: .12em; }
  .grid--packages { grid-template-columns: 1fr; gap: 44px; }
  .group-head { margin-bottom: 28px; }
  .product-info h1 { font-size: 2rem; }
  .qty-row { flex-wrap: wrap; }
}

/* phones: smaller buttons, and no "Compare the packages" button on the Packages photo */
@media (max-width: 700px) {
  .btn { padding: 13px 24px; font-size: .7rem; letter-spacing: .18em; }
  .add-btn { padding: 9px 14px; font-size: .68rem; letter-spacing: .14em; }
  .grid:not(.grid--packages) .add-btn { padding: 9px 6px; font-size: .62rem; letter-spacing: .1em; }
  .hero-cta { display: none; }
  .sticky-add .add-btn { padding: 11px 16px; }
}

/* phones: the tick-box comparison table is left out (the packages are listed one by one above) */
@media (max-width: 700px) { .pk-compare { display: none; } }
