@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

:root {
  --green: #68765e;
  --green-light: #7c8a73;
  --green-deep: #344131;
  --pale: #dfe7dc;
  --cream: #f6f2e9;
  --paper: #fcfaf5;
  --charcoal: #222720;
  --muted: #6e746b;
  --line: rgba(52,65,49,.16);
  --container: min(1180px, calc(100% - 56px));
  --ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--cream); font-family: Manrope, sans-serif; overflow-x: hidden; }
body.intro-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -80px; padding: 12px 16px; background: #fff; }
.skip-link:focus { top: 16px; }
.grain { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }

/* Welcome screen */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--cream);
  animation: welcomeExit .55s var(--ease) 2.18s forwards;
}

.welcome__logo-wrap {
  position: relative;
  z-index: 3;
  width: min(650px, 80vw);
  opacity: 0;
  transform: translateY(16px) scale(.92);
  filter: blur(12px);
  animation:
    logoQuickIn .52s var(--ease) .06s forwards,
    logoBreathe .34s var(--ease) .72s forwards,
    logoLift .48s var(--ease) 1.08s forwards;
}

.welcome__logo { display: block; width: 100%; }

.welcome__scan {
  position: absolute;
  inset: -55% -18%;
  background: linear-gradient(105deg,transparent 40%,rgba(255,255,255,.98) 50%,transparent 60%);
  mix-blend-mode: screen;
  transform: translateX(-120%) skewX(-12deg);
  animation: scanRush .66s var(--ease) .42s forwards;
}

.river-wipe {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.river-wipe__layer {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 150%;
  bottom: -158%;
  border-radius: 48% 52% 0 0 / 18% 22% 0 0;
  transform-origin: 50% 100%;
  will-change: transform;
}

.river-wipe__layer--back {
  background: #7d8d73;
  opacity: .6;
  animation: riverRiseBack .92s cubic-bezier(.22,.74,.18,1) 1.12s forwards;
}

.river-wipe__layer--middle {
  background: #607055;
  opacity: .86;
  bottom: -164%;
  border-radius: 58% 42% 0 0 / 22% 16% 0 0;
  animation: riverRiseMiddle .86s cubic-bezier(.19,.78,.18,1) 1.23s forwards;
}

.river-wipe__layer--front {
  background:
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.14), transparent 20%),
    linear-gradient(135deg,#53644b,#344131 72%);
  bottom: -170%;
  border-radius: 44% 56% 0 0 / 16% 25% 0 0;
  animation: riverRiseFront .82s cubic-bezier(.18,.8,.18,1) 1.34s forwards;
}

.river-wipe__foam {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 14%;
  bottom: -20%;
  border-radius: 50%;
  background: rgba(246,242,233,.32);
  filter: blur(18px);
  opacity: 0;
  animation: riverFoam .75s ease 1.37s forwards;
}

@keyframes logoQuickIn { to { opacity:1; transform:none; filter:blur(0); } }
@keyframes logoBreathe {
  0% { transform:scale(1); }
  50% { transform:scale(.965); }
  100% { transform:scale(1.025); }
}
@keyframes logoLift { to { transform:translateY(-34px) scale(.98); opacity:.82; } }
@keyframes scanRush { to { transform:translateX(120%) skewX(-12deg); } }

@keyframes riverRiseBack {
  0% { transform:translate3d(0,0,0) rotate(-1.8deg); }
  55% { transform:translate3d(0,-86%,0) rotate(1.5deg); }
  100% { transform:translate3d(0,-136%,0) rotate(0); }
}
@keyframes riverRiseMiddle {
  0% { transform:translate3d(0,0,0) rotate(1.4deg); }
  58% { transform:translate3d(0,-92%,0) rotate(-1deg); }
  100% { transform:translate3d(0,-138%,0) rotate(0); }
}
@keyframes riverRiseFront {
  0% { transform:translate3d(0,0,0) rotate(-1deg); }
  62% { transform:translate3d(0,-98%,0) rotate(1.2deg); }
  100% { transform:translate3d(0,-142%,0) rotate(0); }
}
@keyframes riverFoam {
  0% { opacity:0; transform:translateY(0) scaleX(.82); }
  35% { opacity:.6; }
  100% { opacity:0; transform:translateY(-102vh) scaleX(1.16); }
}
@keyframes welcomeExit { to { opacity:0; visibility:hidden; } }

/* Header */
.header {
  position: fixed;
  z-index: 800;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 34px));
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}
.header > * { pointer-events: auto; }

.brand--panel {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(246,242,233,.78);
  border: 1px solid rgba(52,65,49,.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(52,65,49,.06);
  transition: height .3s var(--ease), background .3s, box-shadow .3s;
}
.brand--panel img { width: 160px; display: block; }

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7px 8px 7px 18px;
  border-radius: 999px;
  background: rgba(246,242,233,.82);
  border: 1px solid rgba(52,65,49,.09);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(52,65,49,.07);
  transition: background .3s, box-shadow .3s, transform .3s;
}
.nav-shell__dot {
  width: 9px;
  height: 9px;
  margin-left: 12px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(104,118,94,.08);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  transition: color .25s, background .25s, transform .25s;
}
.nav a:hover {
  color: var(--cream);
  background: var(--green-deep);
  transform: translateY(-1px);
}
.nav a::after { display: none; }

.header-orbit {
  --mx: 0px;
  --my: 0px;
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-deep);
  box-shadow: 0 16px 38px rgba(52,65,49,.18);
  transform: translate(var(--mx),var(--my));
  transition: transform .2s, background .25s;
}
.header-orbit:hover { background: var(--green); }

.header-orbit__ring {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  animation: headerOrbitSpin 9s linear infinite;
}
.header-orbit__ring::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  right: 7px;
  top: 8px;
  border-radius: 50%;
  background: #fff;
}
.header-orbit__text {
  font-size: .58rem;
  line-height: 1.02;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
.header-orbit i {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-style: normal;
  font-size: .72rem;
}

.header.is-scrolled .brand--panel,
.header.is-scrolled .nav-shell {
  background: rgba(246,242,233,.93);
  box-shadow: 0 14px 40px rgba(52,65,49,.1);
}
.header.is-scrolled .brand--panel { height: 52px; }

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(246,242,233,.9);
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(52,65,49,.1);
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--green-deep);
  margin: 7px 0;
}
@keyframes headerOrbitSpin { to { transform: rotate(360deg); } }

/* Common */
.button { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; gap: 22px; padding: 16px 18px 16px 24px; border-radius: 999px; color: #fff; background: var(--green-deep); font-size: .83rem; font-weight: 700; transform: translate(var(--mx),var(--my)); transition: transform .2s, background .25s; }
.button:hover { background: var(--green); }
.button i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); font-style: normal; }
.button--small { padding: 9px 10px 9px 18px; gap: 14px; }
.button--small i { width: 30px; height: 30px; }
.button--light { background: var(--paper); color: var(--green-deep); }
.button--light:hover { background: var(--pale); }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-size: .84rem; font-weight: 700; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateY(4px); }
.eyebrow { margin: 0 0 18px; color: var(--green-light); letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.section { position: relative; padding: 92px 0; }
.section-title { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(3.3rem,6vw,6rem); line-height: .96; font-weight: 500; letter-spacing: -.045em; }
.section-title em { font-weight: 500; }
.section-intro { max-width: 480px; color: var(--muted); line-height: 1.75; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 92px;
}

.hero__grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 56px;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(4.1rem, 7vw, 7.3rem);
  line-height: .86;
  letter-spacing: -.065em;
  font-weight: 500;
}

.title-line {
  display: block;
  overflow: hidden;
  padding: .03em .04em .08em;
}

.title-line span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}

body.site-ready .title-line span {
  transform: none;
}

.title-line:nth-child(2) span { transition-delay: .08s; }
.title-line:nth-child(3) span { transition-delay: .16s; }

.title-line--outline span {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--green-deep);
}

.hero__lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__micro {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__micro-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(252,250,245,.8);
  border: 1px solid rgba(52,65,49,.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(52,65,49,.06);
}

.hero__micro-item small {
  display: block;
  margin-bottom: 4px;
  color: var(--green-light);
  font-size: .63rem;
  letter-spacing: .14em;
}

.hero__micro-item strong {
  font-size: .86rem;
}

.hero__micro-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--green-deep);
  font-size: .95rem;
}

.hero__backdrop-text {
  position: absolute;
  left: -1.5vw;
  top: 18%;
  z-index: 0;
  color: rgba(52,65,49,.04);
  font-size: clamp(10rem, 21vw, 24rem);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .85;
  user-select: none;
}

.hero__ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
}

.hero__ambient--one {
  width: 30rem;
  height: 30rem;
  right: -8rem;
  top: 3rem;
  background: rgba(223,231,220,.92);
}

.hero__ambient--two {
  width: 24rem;
  height: 24rem;
  left: -9rem;
  bottom: 2rem;
  background: rgba(104,118,94,.12);
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: min(640px, 50vw);
  aspect-ratio: 1;
  justify-self: end;
  transform-style: preserve-3d;
}

.storefront-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.storefront-visual__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.storefront-visual__glow--one {
  width: 72%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(223,231,220,.95), rgba(104,118,94,.09) 66%, transparent 74%);
  animation: storefrontGlow 5.4s ease-in-out infinite;
}

.storefront-visual__glow--two {
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.72), transparent 68%);
  animation: storefrontGlow 4.8s ease-in-out -1.6s infinite;
}

.storefront-visual__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(104,118,94,.16);
  border-radius: 50%;
}

.storefront-visual__orbit--one {
  width: 88%;
  aspect-ratio: 1;
  animation: orbit 20s linear infinite;
}

.storefront-visual__orbit--two {
  width: 62%;
  aspect-ratio: 1;
  animation: orbitReverse 15s linear infinite;
}

.storefront-visual__orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-deep);
  box-shadow: 0 0 0 8px rgba(104,118,94,.08);
}

.storefront-visual__orbit--one::after {
  left: 9%;
  top: 22%;
}

.storefront-visual__orbit--two::after {
  right: 4%;
  bottom: 26%;
  width: 5px;
  height: 5px;
}

.storefront-visual__frame {
  position: relative;
  z-index: 3;
  width: 74%;
  aspect-ratio: .84;
  overflow: hidden;
  border-radius: 34px;
  background: var(--pale);
  box-shadow: 0 42px 86px rgba(52,65,49,.18);
  transform: rotate(-2deg);
  animation: storefrontFrameFloat 6s ease-in-out infinite;
}

.storefront-visual__image {
  position: absolute;
  inset: 0;
  background-image: url("assets/pharmacy-storefront-reference.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: storefrontImageMove 14s ease-in-out infinite alternate;
}

.storefront-visual__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246,242,233,.06), rgba(52,65,49,.14) 100%),
    linear-gradient(118deg, rgba(223,231,220,.22), transparent 44%);
}

.storefront-visual__shine {
  position: absolute;
  inset: -18% -42%;
  background: linear-gradient(
    104deg,
    transparent 38%,
    rgba(255,255,255,.04) 44%,
    rgba(255,255,255,.5) 50%,
    rgba(255,255,255,.06) 56%,
    transparent 63%
  );
  transform: translateX(-72%) skewX(-12deg);
  mix-blend-mode: soft-light;
  animation: storefrontShine 6.5s var(--ease) infinite;
}

.storefront-visual__border {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 24px;
  pointer-events: none;
}

.storefront-visual__label {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 4;
  color: #fff;
}

.storefront-visual__label small {
  display: block;
  margin-bottom: 10px;
  font-size: .62rem;
  letter-spacing: .16em;
}

.storefront-visual__label strong {
  display: block;
  font-family: "Playfair Display";
  font-size: 2.05rem;
  line-height: .93;
  font-weight: 500;
}

.storefront-visual__floating {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 186px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(252,250,245,.9);
  border: 1px solid rgba(52,65,49,.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(52,65,49,.1);
  color: var(--green-deep);
}

.storefront-visual__floating small {
  display: block;
  margin-bottom: 4px;
  color: var(--green-light);
  font-size: .64rem;
  letter-spacing: .14em;
}

.storefront-visual__floating strong {
  display: block;
  font-size: .88rem;
}

.storefront-visual__floating--top {
  left: 2%;
  top: 18%;
  animation: storefrontCardOne 5.2s ease-in-out infinite;
}

.storefront-visual__floating--bottom {
  right: 0;
  bottom: 14%;
  animation: storefrontCardTwo 5.8s ease-in-out -1.3s infinite;
}

.storefront-visual__index,
.storefront-visual__pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--green-deep);
  font-size: .9rem;
  font-weight: 700;
}

.storefront-visual__ticker {
  position: absolute;
  z-index: 5;
  left: 10%;
  right: 10%;
  bottom: -18px;
  display: flex;
  gap: 32px;
  padding: 12px 18px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(246,242,233,.94);
  border: 1px solid rgba(52,65,49,.08);
  color: var(--green-deep);
  box-shadow: 0 16px 38px rgba(52,65,49,.08);
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.storefront-visual__ticker span {
  flex: 0 0 auto;
  animation: storefrontTicker 12s linear infinite;
}

@keyframes storefrontGlow {
  50% { transform: scale(1.08); opacity: .66; }
}

@keyframes storefrontFrameFloat {
  50% { transform: rotate(-.8deg) translateY(-10px); }
}

@keyframes storefrontImageMove {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(-2%,1%,0); }
}

@keyframes storefrontShine {
  0%, 18% { transform: translateX(-72%) skewX(-12deg); opacity: 0; }
  28% { opacity: .7; }
  47% { transform: translateX(72%) skewX(-12deg); opacity: .35; }
  55%, 100% { transform: translateX(72%) skewX(-12deg); opacity: 0; }
}

@keyframes storefrontCardOne {
  50% { transform: translate3d(8px,-10px,0) rotate(-1deg); }
}

@keyframes storefrontCardTwo {
  50% { transform: translate3d(-8px,-8px,0) rotate(1deg); }
}

@keyframes storefrontTicker {
  to { transform: translateX(-210px); }
}

.hero__scroll-note {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-deep);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 52px;
  height: 1px;
  background: var(--green);
}

@keyframes photoDrift {
  from { transform: scale(1.08) translate3d(0,0,0); }
  to { transform: scale(1.14) translate3d(-2%,1%,0); }
}

@keyframes haloPulse {
  50% { transform: scale(1.08); opacity: .62; }
}

@keyframes stageFloat {
  50% { transform: rotate(-1.5deg) translateY(-10px); }
}

@keyframes noteFloat {
  50% { transform: translateY(-10px); }
}

@keyframes pillFloat {
  50% { transform: translateY(-11px) rotate(var(--pill-rotate, -27deg)); }
}

@keyframes badgeFloat {
  50% { transform: translateY(-8px); }
}

.hero-stage__pill--one { --pill-rotate: -27deg; }
.hero-stage__pill--two { --pill-rotate: 21deg; }

@keyframes stageShine {
  0%, 16% { transform: translateX(-72%) skewX(-11deg); opacity: 0; }
  26% { opacity: .72; }
  46% { transform: translateX(72%) skewX(-11deg); opacity: .35; }
  54%, 100% { transform: translateX(72%) skewX(-11deg); opacity: 0; }
}

/* Linking thread */
.section-thread { position: absolute; z-index: 6; left: 50%; bottom: -44px; width: 1px; height: 88px; background: linear-gradient(var(--green-deep),rgba(52,65,49,.06)); }
.section-thread span { position: absolute; left: 50%; top: 45%; width: 13px; height: 13px; border: 1px solid var(--green); border-radius: 50%; transform: translate(-50%,-50%); background: var(--cream); }
.section-thread i { position: absolute; left: 50%; top: 45%; width: 5px; height: 5px; border-radius: 50%; background: var(--green-deep); transform: translate(-50%,-50%); animation: threadPulse 2s ease-in-out infinite; }
.section-thread--right { left: 72%; }
.section-thread--light { background: linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.08)); }
.section-thread--light span { background: var(--green-deep); border-color: rgba(255,255,255,.65); }
.section-thread--light i { background: #fff; }

/* About / product */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.copy-block { max-width: 610px; padding-top: 12px; color: var(--muted); font-size: 1.02rem; line-height: 1.82; }
.copy-block p + p { margin-top: 22px; }
.signature { margin-top: 34px; display: flex; align-items: center; gap: 20px; color: var(--green-deep); }
.signature span { width: 70px; height: 1px; background: var(--green); }
.signature strong { font-family: "Playfair Display"; font-size: 1.45rem; font-weight: 500; line-height: 1.05; }
.signature em { color: var(--green); }
.section--dark { background: var(--green-deep); color: var(--cream); }
.section--dark .eyebrow { color: #aebaa8; }
.section--dark .section-intro { color: rgba(246,242,233,.68); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 48px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.product-card { min-height: 240px; padding: 28px; border: 1px solid rgba(246,242,233,.16); background: rgba(255,255,255,.035); transition: transform .35s, background .35s; }
.product-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.07); }
.product-card > span { color: #aebaa8; font-size: .72rem; }
.product-card h3 { margin: 54px 0 15px; font-family: "Playfair Display"; font-size: 1.65rem; font-weight: 500; }
.product-card p { margin: 0; color: rgba(246,242,233,.64); line-height: 1.65; font-size: .9rem; }


/* Why choose us */
.section--why {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(223,231,220,.82), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(104,118,94,.1), transparent 28%),
    var(--paper);
}

.why-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 70px;
  margin-bottom: 46px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1.08fr;
  gap: 16px;
  align-items: stretch;
}

.why-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(52,65,49,.1);
  background: rgba(252,250,245,.84);
  box-shadow: 0 20px 48px rgba(52,65,49,.07);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}

.why-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  border: 1px solid rgba(104,118,94,.14);
  transition: transform .5s var(--ease);
}

.why-card:hover {
  transform: translateY(-8px) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: 0 28px 60px rgba(52,65,49,.11);
  background: rgba(252,250,245,.96);
}

.why-card:hover::before {
  transform: scale(1.18) rotate(18deg);
}

.why-card--two {
  transform: translateY(34px);
}

.why-card--two:hover {
  transform: translateY(26px) rotateX(1.5deg) rotateY(1.5deg);
}

.why-card__number {
  display: block;
  color: var(--green-light);
  font-size: .68rem;
  letter-spacing: .14em;
}

.why-card__icon {
  width: 76px;
  height: 76px;
  margin: 54px 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  transition: transform .45s var(--ease);
}

.why-card:hover .why-card__icon {
  transform: rotate(8deg) scale(1.06);
}

.why-card__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card.in-view .why-card__icon path {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: whyIconDraw 1.25s var(--ease) .25s forwards;
}

.why-card h3 {
  margin: 0;
  max-width: 14ch;
  font-family: "Playfair Display";
  font-size: 1.9rem;
  line-height: 1.02;
  font-weight: 500;
  color: var(--green-deep);
}

.why-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: .9rem;
}

@keyframes whyIconDraw {
  to { stroke-dashoffset: 0; }
}


/* Locations */
.locations { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; }
.locations__intro { position: sticky; top: 120px; align-self: start; }
.location-list { display: grid; gap: 18px; }
.location-card { display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 45px rgba(52,65,49,.06); }
.location-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--pale); color: var(--green-deep); font-size: 1.8rem; }
.location-card__label { margin: 0 0 8px; color: var(--green-light); font-size: .68rem; letter-spacing: .15em; }
.location-card h3 { margin: 0; font-family: "Playfair Display"; font-size: 2rem; font-weight: 500; }
.location-card p { color: var(--muted); }
.location-card dl { margin: 25px 0 0; border-top: 1px solid var(--line); }
.location-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.location-card dt { color: var(--muted); }
.location-card dd { margin: 0; font-weight: 600; }
.location-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: .78rem; font-weight: 700; }
.text-button + .text-button { background: var(--pale); color: var(--green-deep); }
.location-card--muted { opacity: .72; }
.coming-badge { display: inline-block; margin-top: 12px; padding: 8px 11px; border-radius: 999px; background: var(--pale); color: var(--green-deep); font-size: .72rem; font-weight: 700; }

/* Contact */
.section--contact { padding-bottom: 82px; }
.contact { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 610px; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 70px rgba(52,65,49,.12); }
.contact__map { position: relative; min-height: 560px; overflow: hidden; background: #dde4d8; }
.map-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(52,65,49,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(52,65,49,.15) 1px,transparent 1px); background-size: 48px 48px; transform: rotate(-8deg) scale(1.2); }
.contact__map svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--green-deep); stroke-width: 5; stroke-linecap: round; }
.contact__map path { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s var(--ease); }
.contact__map.in-view path { stroke-dashoffset: 0; }
.map-pin { position: absolute; left: 55%; top: 43%; width: 62px; height: 62px; border-radius: 50% 50% 50% 0; background: var(--green-deep); color: #fff; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 16px 35px rgba(52,65,49,.25); }
.map-pin span { transform: rotate(45deg); font-size: 1.35rem; }
.map-label { position: absolute; left: calc(55% + 55px); top: 42%; padding: 13px 16px; border-radius: 12px; background: rgba(252,250,245,.88); backdrop-filter: blur(10px); }
.map-label strong,.map-label small { display: block; }
.map-label small { margin-top: 3px; color: var(--muted); }
.contact__panel { padding: 52px; background: var(--green-deep); color: var(--cream); }
.contact__panel h2 { margin: 0; font-family: "Playfair Display"; font-size: clamp(3.5rem,5.4vw,5.7rem); line-height: .92; font-weight: 500; }
.contact__panel > p:not(.eyebrow) { color: rgba(246,242,233,.65); line-height: 1.7; }
.contact-row { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(246,242,233,.16); }
.contact-row span { color: rgba(246,242,233,.55); font-size: .8rem; }
.contact-row strong,.contact-row a { font-weight: 500; }
.contact__actions { display: flex; gap: 12px; align-items: center; margin-top: 30px; }
.round-action { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 1.15rem; background: #fcfaf5; }


/* Persistent quick actions */
.quick-rail {
  position:fixed;
  z-index:1200;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  gap:10px;
}

.quick-rail__button {
  position:relative;
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  color:#fff;
  background:var(--green-deep);
  box-shadow:0 14px 34px rgba(52,65,49,.24);
  transition:transform .28s var(--ease), background .28s;
}

.quick-rail__button:hover {
  transform:translateX(-5px) scale(1.04);
  background:var(--green);
}

.quick-rail__icon {
  font-size:1.16rem;
}

.quick-rail__tooltip {
  position:absolute;
  right:62px;
  top:50%;
  transform:translate(8px,-50%);
  padding:8px 10px;
  border-radius:8px;
  color:#fff;
  background:var(--green-deep);
  font-size:.7rem;
  opacity:0;
  visibility:hidden;
  transition:.25s;
  white-space:nowrap;
}

.quick-rail__button:hover .quick-rail__tooltip {
  opacity:1;
  visibility:visible;
  transform:translate(0,-50%);
}

/* One continuous animated line connecting all sections */
main {
  position:relative;
  isolation:isolate;
}

.journey-line {
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  overflow:visible;
}

.journey-line path {
  fill:none;
  vector-effect:non-scaling-stroke;
}

.journey-line__base {
  stroke:rgba(104,118,94,.09);
  stroke-width:1.25;
}

.journey-line__progress {
  stroke:rgba(104,118,94,.42);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-dasharray:1;
  stroke-dashoffset:calc(1 - var(--journey-progress,0));
}

main > section {
  position:relative;
  z-index:1;
}

.section-thread {
  display:none;
}

/* Footer / mobile */
.footer { padding: 54px 0 110px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 30px; }
.footer img { width: 175px; }
.footer p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .83rem; }
.footer p:last-child { text-align: right; }
.mobile-contact { display: none; }

/* Animations */
@keyframes welcomeLogo { to { opacity:1; transform:none; filter:blur(0); } }
@keyframes logoPropeller {
  0% { transform: rotateZ(0deg) scale(1); filter: blur(0); }
  16% { transform: rotateZ(85deg) scale(.98); filter: blur(1px); }
  58% { transform: rotateZ(805deg) scale(1.07); filter: blur(2.5px); }
  82% { transform: rotateZ(1060deg) scale(1.02); filter: blur(.6px); }
  100% { transform: rotateZ(1080deg) scale(1); filter: blur(0); }
}
@keyframes shine { to { transform:translateX(120%) skewX(-12deg); } }
@keyframes orbitAppear { to { opacity:.45; transform:translate(-50%,-50%) rotate(0) scale(1); } }
@keyframes orbitAppearSmall { to { opacity:.22; transform:translate(-50%,-50%) rotate(0) scale(1); } }
@keyframes orbit { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes orbitReverse { from{transform:translate(-50%,-50%) rotate(360deg)} to{transform:translate(-50%,-50%) rotate(0)} }
@keyframes symbolPulse { 0%{opacity:0;transform:scale(.65)} 45%{opacity:.8;box-shadow:0 0 0 22px rgba(104,118,94,.06)} 100%{opacity:0;transform:scale(1.25);box-shadow:0 0 0 42px rgba(104,118,94,0)} }
@keyframes buttonPop { 55%{opacity:1;transform:translateY(-5px) scale(1.04)} 100%{opacity:1;transform:none} }
@keyframes rise { to { opacity:1; transform:none; } }
@keyframes breathe { 50%{transform:scale(1.08);opacity:.7} }
@keyframes float { 50%{transform:translateY(-10px) rotate(1deg)} }
@keyframes threadPulse { 50%{transform:translate(-50%,-50%) scale(1.8);opacity:.25} }
@keyframes portalMorph { 0%,100%{border-radius:46% 54% 58% 42% / 44% 42% 58% 56%;transform:rotate(-2deg)} 50%{border-radius:56% 44% 43% 57% / 52% 58% 42% 48%;transform:rotate(3deg)} }
@keyframes capsuleDrift { 0%,100%{transform:translateY(0) rotate(-28deg)} 50%{transform:translateY(-11px) rotate(-20deg)} }

@media (max-width: 920px) {
  :root { --container: min(700px, calc(100% - 34px)); }
  .header { grid-template-columns: 1fr auto; }
  .nav-shell { position: absolute; top: 68px; left: 0; right: 0; display: block; padding: 10px; border-radius: 16px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s; }
  .nav-shell:has(.nav.is-open) { opacity: 1; visibility: visible; transform: none; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px; border-radius: 10px; }
  .nav-shell__dot { display:none; }
  .header-orbit { display:none; }
  .menu-toggle { display: block; justify-self:end; }
  .hero { min-height: auto; padding: 135px 0 96px; }
  .hero__grid,.split,.locations,.contact { grid-template-columns: 1fr; }
  .hero-visual { width: min(560px,92vw); justify-self: center; margin-top: 26px; }
  .hero__title { font-size: clamp(3.8rem,12vw,6.7rem); }
  .split,.locations { gap: 48px; }
  .locations__intro { position: static; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .section-head { display: block; }
  .section-intro { margin-top: 24px; }
  .contact__map { min-height: 430px; }
  .footer { padding-bottom: 120px; }
  .mobile-contact { position: fixed; z-index: 1100; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 15px; background: var(--green-deep); box-shadow: 0 16px 45px rgba(52,65,49,.25); }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 13px; color: #fff; font-size: .78rem; font-weight: 700; }
  .mobile-contact a + a { border-left: 1px solid rgba(255,255,255,.18); }
  .section-thread,.section-thread--right { left: 50%; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 26px); }
  .section { padding: 72px 0; }
  .brand--panel img { width: 142px; }
  .welcome__logo-stage { width: 88vw; }
  .welcome__tagline { margin-top: 22px; }
  .hero { padding-top: 125px; }
  .hero__title { font-size: clamp(3.2rem,15vw,5rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__micro { display: grid; }
  .hero-visual { transform: scale(.94); margin: 0 0 -14px; }
  .storefront-visual__floating--top { left: 1%; top: 14%; }
  .storefront-visual__floating--bottom { right: 1%; bottom: 12%; }
  .storefront-visual__label strong { font-size: 1.72rem; }
  .storefront-visual__ticker { left: 5%; right: 5%; bottom: -14px; }
  .section-title { font-size: clamp(3rem,14vw,4.6rem); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 210px; }
  .location-card { grid-template-columns: 1fr; padding: 25px; }
  .location-card dl div { display: grid; gap: 4px; }
  .contact__panel { padding: 34px 26px; }
  .contact__panel h2 { font-size: 3.7rem; }
  .contact__actions { align-items: stretch; flex-direction: column; }
  .round-action { width: 100%; border-radius: 999px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
  .welcome { display:none; }
  body.intro-open { overflow:auto; }
  .title-line span,.hero-reveal,.reveal { opacity:1!important; transform:none!important; }
}

@media (max-width: 920px) {
  .quick-rail { display:none; }
  .journey-line { opacity:.55; }
}

@media (max-width: 920px) {
  .why-head {
    display: block;
  }

  .why-head .section-intro {
    margin-top: 24px;
  }

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

  .why-card--two {
    transform: none;
  }

  .why-card--two:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 620px) {
  .why-card {
    min-height: 290px;
    padding: 25px;
  }

  .why-card__icon {
    margin: 38px 0 28px;
  }
}

/* ===== V11 HEADER + HERO OVERRIDES ===== */
.header{
  top:16px;left:50%;transform:translateX(-50%);width:min(1280px,calc(100% - 32px));height:72px;
  grid-template-columns:auto 1fr auto auto;gap:18px;padding:0 14px 0 20px;border-radius:18px;
  transition:width .4s var(--ease),left .4s var(--ease),transform .4s var(--ease),background .35s,box-shadow .35s;
}
.header .brand img{width:160px}
.header .nav{justify-self:center;display:flex;align-items:center;gap:5px;padding:7px;border-radius:999px;background:rgba(246,242,233,.76);border:1px solid rgba(52,65,49,.08);backdrop-filter:blur(16px)}
.header .nav a{padding:10px 13px;border-radius:999px;font-size:.76rem;font-weight:700}
.header .nav a:hover{color:#fff;background:var(--green-deep)}
.header-cta{--mx:0px;--my:0px;display:inline-flex;align-items:center;gap:12px;padding:8px 9px 8px 15px;border-radius:999px;color:#fff;background:var(--green-deep);font-size:.76rem;font-weight:700;transform:translate(var(--mx),var(--my))}
.header-cta i{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:rgba(255,255,255,.14);font-style:normal}
.header .menu-toggle{display:none}
.header.is-scrolled{left:18px;top:18px;transform:none;width:auto;height:58px;grid-template-columns:auto auto;gap:10px;padding:6px;border-radius:999px;background:rgba(246,242,233,.9);backdrop-filter:blur(18px);border:1px solid rgba(52,65,49,.08);box-shadow:0 18px 44px rgba(52,65,49,.12)}
.header.is-scrolled .menu-toggle{display:block;grid-column:1;grid-row:1}
.header.is-scrolled .brand{grid-column:2;grid-row:1;padding:0 12px}
.header.is-scrolled .brand img{width:130px}
.header.is-scrolled .nav{position:absolute;top:66px;left:0;min-width:270px;flex-direction:column;align-items:stretch;padding:10px;border-radius:18px;background:rgba(246,242,233,.96);box-shadow:0 24px 52px rgba(52,65,49,.14);opacity:0;visibility:hidden;transform:translateY(-10px);transition:.3s var(--ease)}
.header.is-scrolled .nav.is-open{opacity:1;visibility:visible;transform:none}
.header.is-scrolled .header-cta{display:none}
.header.is-scrolled .nav a{padding:13px 14px;border-radius:11px}

.hero{min-height:100svh;padding:132px 0 92px}
.hero__grid{grid-template-columns:1.02fr .98fr;gap:60px}
.hero__title{font-size:clamp(4.4rem,7.4vw,8rem)}
.title-line--accent span{color:var(--green);font-style:italic;-webkit-text-stroke:0}
.hero__lead{max-width:590px}
.hero__trust{margin-top:34px;display:grid;grid-template-columns:repeat(3,1fr);max-width:660px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hero__trust div{padding:15px 16px;border-right:1px solid var(--line)}
.hero__trust div:last-child{border-right:0}
.hero__trust small{display:block;margin-bottom:6px;color:var(--green-light);font-size:.62rem;letter-spacing:.12em}
.hero__trust strong{font-size:.78rem}
.hero__wordmark{position:absolute;left:-1vw;top:23%;z-index:0;color:rgba(52,65,49,.035);font-size:clamp(8rem,18vw,20rem);font-weight:700;letter-spacing:-.08em}
.hero__grain-field{position:absolute;inset:0;background:radial-gradient(circle at 80% 24%,rgba(223,231,220,.86),transparent 28%),radial-gradient(circle at 12% 86%,rgba(104,118,94,.1),transparent 26%)}
.hero-art{position:relative;width:min(610px,47vw);aspect-ratio:1;justify-self:end;perspective:1200px}
.hero-art__orb{position:absolute;border-radius:50%;filter:blur(18px)}
.hero-art__orb--one{width:74%;aspect-ratio:1;right:4%;top:10%;background:radial-gradient(circle,rgba(223,231,220,.9),rgba(104,118,94,.08) 65%,transparent 72%);animation:artOrb 6s ease-in-out infinite}
.hero-art__orb--two{width:38%;aspect-ratio:1;left:8%;bottom:14%;background:radial-gradient(circle,rgba(255,255,255,.8),transparent 68%);animation:artOrb 5s ease-in-out -1.5s infinite}
.hero-art__frame{position:absolute;inset:10%;border-radius:38% 62% 48% 52%/44% 40% 60% 56%;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.52),rgba(255,255,255,.08)),linear-gradient(150deg,rgba(223,231,220,.88),rgba(104,118,94,.2));border:1px solid rgba(255,255,255,.72);box-shadow:inset 18px 18px 32px rgba(255,255,255,.28),inset -18px -18px 32px rgba(52,65,49,.08),0 42px 86px rgba(52,65,49,.14);animation:artMorph 9s ease-in-out infinite}
.hero-art__ribbon{position:absolute;left:-18%;width:136%;height:28%;border-radius:50%;border:1px solid rgba(52,65,49,.16)}
.hero-art__ribbon--one{top:18%;transform:rotate(-13deg);animation:ribbonOne 7s ease-in-out infinite}
.hero-art__ribbon--two{top:42%;transform:rotate(11deg);animation:ribbonTwo 8s ease-in-out -1.2s infinite}
.hero-art__ribbon--three{top:66%;transform:rotate(-7deg);animation:ribbonThree 7.5s ease-in-out -2s infinite}
.hero-art__core{position:absolute;left:50%;top:50%;width:132px;aspect-ratio:1;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:50%;background:rgba(246,242,233,.9);box-shadow:0 22px 44px rgba(52,65,49,.12)}
.hero-art__core-ring{position:absolute;inset:12px;border:1px solid rgba(52,65,49,.18);border-radius:50%;animation:coreSpin 8s linear infinite}
.hero-art__core-ring:after{content:"";position:absolute;width:7px;height:7px;right:9px;top:10px;border-radius:50%;background:var(--green)}
.hero-art__core-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--pale);color:var(--green-deep);font-family:"Playfair Display";font-size:2.3rem}
.hero-art__type{position:absolute;color:rgba(52,65,49,.28);font-size:.68rem;font-weight:700;letter-spacing:.18em}
.hero-art__type--one{left:13%;top:20%;transform:rotate(-16deg)} .hero-art__type--two{right:10%;top:48%;transform:rotate(12deg)} .hero-art__type--three{left:22%;bottom:16%;transform:rotate(-8deg)}
.hero-art__note{position:absolute;z-index:5;padding:16px 18px;border-radius:16px;background:rgba(252,250,245,.9);border:1px solid rgba(52,65,49,.08);backdrop-filter:blur(14px);box-shadow:0 20px 44px rgba(52,65,49,.1);color:var(--green-deep)}
.hero-art__note small{display:block;margin-bottom:8px;color:var(--green-light);font-size:.62rem;letter-spacing:.14em}
.hero-art__note strong{display:block;max-width:16ch;font-family:"Playfair Display";font-size:1.25rem;line-height:1.02;font-weight:500}
.hero-art__note--one{left:0;top:16%;animation:noteFloat 5s ease-in-out infinite}
.hero-art__note--two{right:0;bottom:14%;display:flex;align-items:center;gap:12px;animation:noteFloat 5.7s ease-in-out -1.4s infinite}
.hero-art__note--two span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--pale)}
@keyframes artOrb{50%{transform:scale(1.08);opacity:.68}}
@keyframes artMorph{0%,100%{border-radius:38% 62% 48% 52%/44% 40% 60% 56%;transform:rotate(-2deg)}50%{border-radius:58% 42% 38% 62%/52% 58% 42% 48%;transform:rotate(2deg)}}
@keyframes ribbonOne{50%{transform:translateY(10px) rotate(-8deg) scaleX(.94)}}
@keyframes ribbonTwo{50%{transform:translateY(-8px) rotate(6deg) scaleX(1.04)}}
@keyframes ribbonThree{50%{transform:translateY(7px) rotate(-2deg) scaleX(.96)}}
@keyframes coreSpin{to{transform:rotate(360deg)}}

.contact-form{display:grid;gap:14px;margin-top:26px;padding-top:24px;border-top:1px solid rgba(246,242,233,.16)}
.contact-form__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-form label{display:grid;gap:7px}
.contact-form label>span{color:rgba(246,242,233,.58);font-size:.72rem}
.contact-form input,.contact-form textarea{width:100%;border:1px solid rgba(246,242,233,.18);border-radius:12px;background:rgba(255,255,255,.06);color:#fff;padding:13px 14px;font:inherit;outline:none}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:rgba(246,242,233,.38)}
.contact-form input:focus,.contact-form textarea:focus{border-color:rgba(246,242,233,.5);background:rgba(255,255,255,.09)}
.contact-form textarea{resize:vertical;min-height:110px}
.contact-form__submit{width:max-content;border:0;cursor:pointer}

@media(max-width:1100px){.header{grid-template-columns:auto 1fr auto}.header-cta{display:none}.nav{justify-self:end}}
@media(max-width:920px){
.header,.header.is-scrolled{left:16px;right:16px;top:14px;width:auto;transform:none;grid-template-columns:1fr auto;padding:7px 8px 7px 16px;background:rgba(246,242,233,.92);backdrop-filter:blur(18px);border:1px solid rgba(52,65,49,.08);box-shadow:0 16px 40px rgba(52,65,49,.1)}
.header .brand,.header.is-scrolled .brand{grid-column:1;grid-row:1;padding:0}
.header .brand img,.header.is-scrolled .brand img{width:145px}
.header .menu-toggle,.header.is-scrolled .menu-toggle{display:block;grid-column:2;grid-row:1}
.header .nav,.header.is-scrolled .nav{position:absolute;top:68px;left:0;right:0;min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:10px;border-radius:16px;background:rgba(246,242,233,.98);box-shadow:0 24px 52px rgba(52,65,49,.14);opacity:0;visibility:hidden;transform:translateY(-10px)}
.header .nav.is-open,.header.is-scrolled .nav.is-open{opacity:1;visibility:visible;transform:none}
.hero__grid{grid-template-columns:1fr}.hero-art{width:min(590px,92vw);justify-self:center;margin-top:20px}.hero__trust{grid-template-columns:1fr}.hero__trust div{border-right:0;border-bottom:1px solid var(--line)}.hero__trust div:last-child{border-bottom:0}}
@media(max-width:620px){.hero__title{font-size:clamp(3.25rem,15vw,5rem)}.hero__actions{flex-direction:column;align-items:flex-start;gap:18px}.hero-art{transform:scale(.95);margin-bottom:-10px}.contact-form__row{grid-template-columns:1fr}}

/* ===== V12: HERO GATE, SCROLL DOCK, CONTACT DRAWER ===== */

/* Until the hero CTA is pressed, only the first screen is available. */
body.site-locked {
  overflow: hidden;
}

body.site-locked main > section:not(.hero),
body.site-locked .journey-line,
body.site-locked .quick-rail {
  visibility: hidden;
  pointer-events: none;
}

body.site-unlocking main > section:not(.hero) {
  visibility: visible;
}

.hero-enter {
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.hero-enter::before,
.hero-enter::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(52,65,49,.18);
  border-radius: 999px;
  animation: enterPulse 2.4s ease-out infinite;
}

.hero-enter::after {
  animation-delay: 1.2s;
}

.hero-enter__hint {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: hintBreathe 2s ease-in-out infinite;
}

.hero-art {
  cursor: crosshair;
}

.hero-art::after {
  content: "MOVE";
  position: absolute;
  right: 6%;
  top: 6%;
  color: rgba(52,65,49,.3);
  font-size: .58rem;
  letter-spacing: .18em;
}

@keyframes enterPulse {
  0% { transform: scale(.96); opacity: .45; }
  75%,100% { transform: scale(1.16); opacity: 0; }
}

@keyframes hintBreathe {
  50% { opacity: .48; transform: translateX(4px); }
}

/* Full-screen second transition after pressing the CTA. */
.site-transition {
  position: fixed;
  inset: 0;
  z-index: 2900;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.site-transition__wave {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 150%;
  bottom: -160%;
  border-radius: 48% 52% 0 0 / 18% 22% 0 0;
}

.site-transition__wave--one { background:#85937d; }
.site-transition__wave--two { background:#5f7056; bottom:-168%; }
.site-transition__wave--three {
  background:linear-gradient(145deg,#53644b,#344131);
  bottom:-176%;
}

.site-transition__mark {
  position:absolute;
  left:50%;
  top:50%;
  z-index:3;
  display:grid;
  place-items:center;
  width:86px;
  height:86px;
  transform:translate(-50%,-50%) scale(.6);
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  color:#fff;
  font-family:"Playfair Display";
  font-size:2.8rem;
  opacity:0;
}

body.site-unlocking .site-transition {
  visibility: visible;
}

body.site-unlocking .site-transition__wave--one {
  animation: unlockWave 1.05s cubic-bezier(.2,.8,.16,1) forwards;
}

body.site-unlocking .site-transition__wave--two {
  animation: unlockWave 1s cubic-bezier(.2,.8,.16,1) .09s forwards;
}

body.site-unlocking .site-transition__wave--three {
  animation: unlockWave .95s cubic-bezier(.2,.8,.16,1) .18s forwards;
}

body.site-unlocking .site-transition__mark {
  animation: unlockMark .9s var(--ease) .48s forwards;
}

body.site-open .site-transition {
  animation: transitionFade .5s ease forwards;
}

@keyframes unlockWave {
  0% { transform:translateY(0) rotate(-1deg); }
  60% { transform:translateY(-95%) rotate(1deg); }
  100% { transform:translateY(-142%) rotate(0); }
}

@keyframes unlockMark {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.6) rotate(-40deg); }
  50% { opacity:1; }
  100% { opacity:0; transform:translate(-50%,-50%) scale(1.5) rotate(0); }
}

@keyframes transitionFade {
  to { opacity:0; visibility:hidden; }
}

/* Desktop scroll dock stays on the right:
   contact CTA above, logo + burger below. */
@media (min-width: 921px) {
  .header.is-scrolled {
    left:auto;
    right:20px;
    top:20px;
    transform:none;
    width:220px;
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
  }

  .header.is-scrolled .header-cta {
    order:1;
    display:inline-flex;
    justify-content:space-between;
    width:100%;
    min-height:48px;
    box-shadow:0 16px 36px rgba(52,65,49,.16);
  }

  .header.is-scrolled .brand {
    order:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:58px;
    padding:8px 58px 8px 16px;
    border-radius:18px;
    background:rgba(246,242,233,.92);
    border:1px solid rgba(52,65,49,.08);
    backdrop-filter:blur(18px);
    box-shadow:0 16px 36px rgba(52,65,49,.12);
  }

  .header.is-scrolled .brand img {
    width:130px;
  }

  .header.is-scrolled .menu-toggle {
    order:3;
    display:block;
    position:absolute;
    right:7px;
    bottom:7px;
    width:44px;
    height:44px;
  }

  .header.is-scrolled .nav {
    position:absolute;
    top:126px;
    right:0;
    left:auto;
    width:290px;
    min-width:0;
    flex-direction:column;
    align-items:stretch;
    padding:10px;
    border-radius:18px;
    background:rgba(246,242,233,.97);
    box-shadow:0 24px 52px rgba(52,65,49,.16);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
  }

  .header.is-scrolled .nav.is-open {
    opacity:1;
    visibility:visible;
    transform:none;
  }
}

/* Restore the contact composition and show the form only on demand. */
.contact-form-trigger {
  margin-top:24px;
  border:0;
  cursor:pointer;
}

.contact-drawer {
  position:fixed;
  inset:0;
  z-index:3200;
  visibility:hidden;
  pointer-events:none;
}

.contact-drawer.is-open {
  visibility:visible;
  pointer-events:auto;
}

.contact-drawer__backdrop {
  position:absolute;
  inset:0;
  border:0;
  background:rgba(20,26,19,.45);
  opacity:0;
  backdrop-filter:blur(4px);
  transition:opacity .35s;
}

.contact-drawer.is-open .contact-drawer__backdrop {
  opacity:1;
}

.contact-drawer__panel {
  position:absolute;
  top:0;
  right:0;
  width:min(620px,100%);
  height:100%;
  overflow-y:auto;
  padding:56px clamp(28px,6vw,70px);
  background:var(--cream);
  box-shadow:-30px 0 70px rgba(20,26,19,.2);
  transform:translateX(102%);
  transition:transform .55s var(--ease);
}

.contact-drawer.is-open .contact-drawer__panel {
  transform:none;
}

.contact-drawer__close {
  position:absolute;
  right:24px;
  top:22px;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  color:var(--green-deep);
  font-size:1.8rem;
  cursor:pointer;
}

.contact-drawer h2 {
  margin:8px 0 18px;
  font-family:"Playfair Display";
  font-size:clamp(3rem,6vw,5.2rem);
  line-height:.9;
  font-weight:500;
  letter-spacing:-.045em;
}

.contact-drawer__intro {
  max-width:470px;
  color:var(--muted);
  line-height:1.7;
}

.contact-drawer .contact-form {
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.contact-drawer .contact-form label > span {
  color:var(--muted);
}

.contact-drawer .contact-form input,
.contact-drawer .contact-form textarea {
  border:1px solid var(--line);
  background:rgba(255,255,255,.56);
  color:var(--green-deep);
}

.contact-drawer .contact-form input::placeholder,
.contact-drawer .contact-form textarea::placeholder {
  color:rgba(52,65,49,.42);
}

.contact-drawer .contact-form input:focus,
.contact-drawer .contact-form textarea:focus {
  border-color:var(--green);
  background:#fff;
}

.contact-drawer .contact-form__submit {
  background:var(--green-deep);
  color:#fff;
}

body.drawer-open {
  overflow:hidden;
}

/* ===== V13 — KINETIC PORTAL HERO + RELIABILITY FIXES ===== */
.hero-art,
.hero__trust,
.hero__wordmark,
.hero__grain-field {
  display:none !important;
}

.hero--portal {
  position:relative;
  min-height:100svh;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:132px 0 72px;
  background:
    radial-gradient(circle at var(--hero-x,72%) var(--hero-y,28%), rgba(223,231,220,.96), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(104,118,94,.11), transparent 24%),
    var(--cream);
}

.hero-portal__inner {
  position:relative;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.hero-portal__title {
  margin:8px 0 0;
  max-width:1120px;
  font-family:"Playfair Display",serif;
  font-size:clamp(4.6rem,9.2vw,10.5rem);
  line-height:.78;
  letter-spacing:-.075em;
  font-weight:500;
}

.hero-portal__word {
  display:block;
  position:relative;
  transform:translateY(110%);
  opacity:0;
  transition:transform 1.05s var(--ease),opacity .8s ease;
}

body.site-ready .hero-portal__word {
  transform:none;
  opacity:1;
}

.hero-portal__word--two {
  margin-left:10vw;
  transition-delay:.08s;
}

.hero-portal__word--three {
  margin-right:6vw;
  color:var(--green);
  font-style:italic;
  transition-delay:.16s;
}

.hero-portal__lead {
  max-width:690px;
  margin:30px auto 0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.7;
}

.hero-portal__entry {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top:30px;
}

.portal-button {
  --mx:0px;
  --my:0px;
  position:relative;
  width:190px;
  height:190px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  transform:translate(var(--mx),var(--my));
  isolation:isolate;
}

.portal-button::before,
.portal-button::after {
  content:"";
  position:absolute;
  inset:18px;
  border-radius:50%;
  border:1px solid rgba(52,65,49,.18);
  transition:transform .55s var(--ease),opacity .55s;
}

.portal-button::after {
  inset:4px;
  border-style:dashed;
  animation:portalDash 14s linear infinite;
}

.portal-button:hover::before {
  transform:scale(1.22);
  opacity:.34;
}

.portal-button:hover::after {
  transform:scale(.88) rotate(35deg);
}

.portal-button__orbit {
  position:absolute;
  inset:0;
  display:block;
  border-radius:50%;
  animation:portalSpin 13s linear infinite;
}

.portal-button__orbit i {
  position:absolute;
  inset:0;
  display:block;
  font-style:normal;
  font-size:.58rem;
  letter-spacing:.17em;
  color:var(--green-deep);
  animation:portalTextPulse 2.4s ease-in-out infinite;
}

.portal-button__orbit i::before {
  content:"ОТКРИЙТЕ • АПТЕЧИЦА • ОТКРИЙТЕ • АПТЕЧИЦА •";
  position:absolute;
  inset:0;
  display:grid;
  place-items:start center;
  padding-top:5px;
  border-radius:50%;
}

.portal-button__core {
  position:absolute;
  left:50%;
  top:50%;
  width:124px;
  height:124px;
  display:grid;
  place-content:center;
  border-radius:50%;
  transform:translate(-50%,-50%);
  color:#fff;
  background:var(--green-deep);
  box-shadow:0 25px 60px rgba(52,65,49,.25);
  transition:transform .55s var(--ease),box-shadow .55s,background .35s;
}

.portal-button:hover .portal-button__core {
  transform:translate(-50%,-50%) scale(1.12);
  background:var(--green);
  box-shadow:0 34px 80px rgba(52,65,49,.32);
}

.portal-button__core b,
.portal-button__core small {
  display:block;
}

.portal-button__core b {
  font-family:"Playfair Display";
  font-size:1.65rem;
  font-weight:500;
  line-height:.9;
}

.portal-button__core small {
  margin-top:5px;
  font-size:.68rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.portal-button__core em {
  position:absolute;
  right:17px;
  bottom:14px;
  font-style:normal;
  font-size:.8rem;
  transition:transform .35s;
}

.portal-button:hover .portal-button__core em {
  transform:translate(4px,-4px);
}

.hero-portal__instruction {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
  color:var(--muted);
  font-size:.68rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.hero-portal__instruction-line {
  width:42px;
  height:1px;
  background:var(--green);
  transform-origin:right;
  animation:instructionLine 1.8s ease-in-out infinite;
}

.hero-portal__facts {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:22px;
}

.hero-portal__facts span {
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--green-deep);
  background:rgba(246,242,233,.56);
  backdrop-filter:blur(10px);
  font-size:.68rem;
  font-weight:700;
}

.hero-portal__mesh {
  position:absolute;
  inset:-10%;
  opacity:.22;
  background-image:
    linear-gradient(rgba(52,65,49,.1) 1px,transparent 1px),
    linear-gradient(90deg,rgba(52,65,49,.1) 1px,transparent 1px);
  background-size:70px 70px;
  transform:perspective(900px) rotateX(62deg) translateY(40%);
  mask-image:radial-gradient(circle at center,#000,transparent 68%);
}

.hero-portal__cursor {
  position:absolute;
  left:var(--cursor-x,72%);
  top:var(--cursor-y,30%);
  width:340px;
  height:340px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(255,255,255,.72),rgba(223,231,220,.24) 44%,transparent 70%);
  filter:blur(8px);
  pointer-events:none;
  transition:left .18s ease-out,top .18s ease-out;
}

.hero-portal__line {
  position:absolute;
  width:76vw;
  height:1px;
  left:12vw;
  background:linear-gradient(90deg,transparent,rgba(104,118,94,.28),transparent);
  transform-origin:center;
}

.hero-portal__line--one {
  top:28%;
  transform:rotate(-9deg);
  animation:portalLineOne 7s ease-in-out infinite;
}

.hero-portal__line--two {
  bottom:24%;
  transform:rotate(7deg);
  animation:portalLineTwo 8s ease-in-out -1.5s infinite;
}

.hero-portal__edge {
  position:absolute;
  color:rgba(52,65,49,.28);
  font-size:.58rem;
  letter-spacing:.24em;
  writing-mode:vertical-rl;
}

.hero-portal__edge--left {
  left:24px;
  top:50%;
  transform:translateY(-50%) rotate(180deg);
}

.hero-portal__edge--right {
  right:24px;
  top:50%;
  transform:translateY(-50%);
}

@keyframes portalSpin { to{transform:rotate(360deg)} }
@keyframes portalDash { to{transform:rotate(-360deg)} }
@keyframes portalTextPulse { 50%{opacity:.48} }
@keyframes instructionLine { 50%{transform:scaleX(.45);opacity:.45} }
@keyframes portalLineOne { 50%{transform:translateY(18px) rotate(-5deg) scaleX(.92)} }
@keyframes portalLineTwo { 50%{transform:translateY(-14px) rotate(3deg) scaleX(1.04)} }

/* lock is applied only by working JS, never hard-coded */
body.site-locked { overflow:hidden; }
body.site-open,
body.site-unlocking { overflow:auto; }

/* Make the transition more dramatic when entering. */
body.site-unlocking .hero-portal__title {
  animation:heroTitleExit .75s var(--ease) forwards;
}
body.site-unlocking .portal-button {
  animation:portalExpand .9s var(--ease) forwards;
}
body.site-unlocking .hero-portal__lead,
body.site-unlocking .hero-portal__facts,
body.site-unlocking .hero-portal__instruction {
  animation:heroCopyExit .5s ease forwards;
}

@keyframes portalExpand {
  0%{transform:scale(1)}
  55%{transform:scale(.82)}
  100%{transform:scale(9);opacity:0}
}
@keyframes heroTitleExit {
  to{transform:scale(.94);filter:blur(10px);opacity:0}
}
@keyframes heroCopyExit {
  to{opacity:0;transform:translateY(16px)}
}

/* Explicitly make menu button clickable and visually obvious. */
.header.is-scrolled .menu-toggle {
  z-index:5;
  cursor:pointer;
}
.header.is-scrolled .menu-toggle::after {
  content:"MENU";
  position:absolute;
  right:52px;
  top:50%;
  transform:translateY(-50%);
  color:var(--green-deep);
  font-size:.58rem;
  letter-spacing:.12em;
}
.header.is-scrolled .nav {
  z-index:4;
}
.header.is-scrolled .nav.is-open {
  pointer-events:auto;
}

/* Contact drawer must always sit above everything and receive clicks. */
.contact-drawer {
  z-index:5000 !important;
}
.contact-drawer.is-open {
  display:block;
}
.contact-form-trigger {
  position:relative;
  z-index:2;
  pointer-events:auto;
}

@media(max-width:920px){
  .hero--portal{padding-top:118px}
  .hero-portal__title{font-size:clamp(3.6rem,15vw,6rem)}
  .hero-portal__word--two,.hero-portal__word--three{margin:0}
  .hero-portal__edge{display:none}
  .portal-button{width:170px;height:170px}
  .portal-button__core{width:112px;height:112px}
}

/* ===== V14 refinements ===== */

/* The burger icon is self-explanatory; no extra MENU label. */
.header.is-scrolled .menu-toggle::after {
  content: none !important;
}

.contact-form__recipient {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--pale);
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4;
}

.contact-form__recipient a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== V15 refinements ===== */

/* After entering, only the portal CTA disappears. The hero remains visible. */
body.portal-complete .hero-portal__entry {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.94);
  pointer-events: none;
}

.hero-portal__entry {
  transition:
    opacity .48s ease,
    visibility .48s ease,
    transform .62s var(--ease);
}

/* Keep the rest of the hero balanced once the CTA is removed. */
body.portal-complete .hero-portal__facts {
  margin-top: 36px;
}

/* Ensure outside-click closing works without blocking navigation itself. */
.header .nav {
  pointer-events: auto;
}

/* ===== V17 — V15 structure preserved, real pharmacy image added ===== */

.section--about .split {
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.about-content {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
}

.about-content .copy-block {
  align-self: center;
}

.about-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--pale);
  box-shadow: 0 24px 58px rgba(52,65,49,.12);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 18px;
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.88) contrast(.96);
  transform: scale(1.025);
  transition: transform 1.1s var(--ease), filter .7s ease;
}

.about-photo:hover img {
  transform: scale(1.07);
  filter: saturate(1) contrast(1);
}

.about-photo figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 15px 17px;
  border-radius: 15px;
  background: rgba(246,242,233,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(52,65,49,.12);
}

.about-photo figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-light);
  font-size: .62rem;
  letter-spacing: .14em;
}

.about-photo figcaption strong {
  display: block;
  color: var(--green-deep);
  font-family: "Playfair Display";
  font-size: 1.08rem;
  line-height: 1.08;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .section--about .split {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-photo,
  .about-photo img {
    min-height: 320px;
  }
}

/* ===== V19 — remove the empty portal gap after entry ===== */

/* The CTA still completes its exit animation first.
   Once portal-complete is applied, it is removed from the layout entirely. */
body.portal-complete .hero-portal__entry {
  display: none;
}

/* Pull the remaining hero composition slightly upward and keep the facts
   close to the introductory text. */
body.portal-complete .hero-portal__inner {
  transform: translateY(-2.5vh);
  transition: transform .65s var(--ease);
}

body.portal-complete .hero-portal__facts {
  margin-top: 28px;
}

@media (max-width: 920px) {
  body.portal-complete .hero-portal__inner {
    transform: translateY(-1.5vh);
  }
}

/* ===== V20 — comprehensive mobile optimization ===== */

/* Better viewport behavior on mobile browsers */
html {
  scroll-padding-top: 88px;
}

body {
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Touch targets */
a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a.button,
.text-link,
.text-button,
.quick-rail__button {
  touch-action: manipulation;
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --container: min(92vw, 920px);
  }

  .header,
  .header.is-scrolled {
    left: 16px;
    right: 16px;
    top: 14px;
    width: auto;
    height: 64px;
    transform: none;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    border-radius: 18px;
    background: rgba(246,242,233,.94);
    border: 1px solid rgba(52,65,49,.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 38px rgba(52,65,49,.11);
  }

  .header .brand,
  .header.is-scrolled .brand {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .header .brand img,
  .header.is-scrolled .brand img {
    width: 145px;
  }

  .header .menu-toggle,
  .header.is-scrolled .menu-toggle {
    display: block;
    position: static;
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .header .header-cta,
  .header.is-scrolled .header-cta {
    display: none;
  }

  .header .nav,
  .header.is-scrolled .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-height: calc(100svh - 92px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(246,242,233,.985);
    border: 1px solid rgba(52,65,49,.08);
    box-shadow: 0 24px 54px rgba(52,65,49,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, visibility .25s, transform .25s;
  }

  .header .nav.is-open,
  .header.is-scrolled .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header .nav a,
  .header.is-scrolled .nav a {
    padding: 15px 16px;
    border-radius: 12px;
    font-size: .9rem;
  }

  .quick-rail {
    display: none !important;
  }

  .mobile-contact {
    display: flex;
  }

  .hero--portal {
    min-height: 100svh;
    padding: 108px 0 54px;
  }

  .hero-portal__title {
    font-size: clamp(4rem, 12vw, 7rem);
    line-height: .82;
  }

  .hero-portal__word--two,
  .hero-portal__word--three {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-portal__lead {
    max-width: 650px;
    padding: 0 18px;
  }

  .hero-portal__edge {
    display: none;
  }

  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .split,
  .locations,
  .contact,
  .section-head {
    grid-template-columns: 1fr !important;
  }

  .section-head,
  .why-head {
    gap: 24px;
  }

  .section-intro {
    max-width: 680px;
  }

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

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

  .why-card,
  .why-card--two {
    transform: none;
  }

  .why-card:hover,
  .why-card--two:hover {
    transform: translateY(-4px);
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .contact {
    gap: 18px;
  }

  .contact__map,
  .contact__panel {
    min-height: auto;
  }

  .contact__map {
    min-height: 430px;
  }

  .contact-drawer__panel {
    width: min(620px, 92vw);
  }
}

/* Phones */
@media (max-width: 700px) {
  :root {
    --container: calc(100vw - 32px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .grain {
    opacity: .02;
  }

  .welcome__logo-wrap {
    width: min(78vw, 420px);
  }

  .header,
  .header.is-scrolled {
    left: 10px;
    right: 10px;
    top: 10px;
    height: 58px;
    padding: 6px 6px 6px 13px;
    border-radius: 16px;
  }

  .header .brand img,
  .header.is-scrolled .brand img {
    width: 126px;
  }

  .header .menu-toggle,
  .header.is-scrolled .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .header .nav,
  .header.is-scrolled .nav {
    top: 66px;
    max-height: calc(100svh - 82px);
    border-radius: 14px;
  }

  .hero--portal {
    min-height: 100svh;
    padding: 94px 0 42px;
  }

  .hero-portal__inner {
    width: 100%;
  }

  .hero-portal__title {
    max-width: 100%;
    font-size: clamp(3.35rem, 16vw, 5.25rem);
    line-height: .83;
    letter-spacing: -.06em;
  }

  .hero-portal__word {
    padding: 0 .02em .08em;
  }

  .hero-portal__lead {
    margin-top: 22px;
    padding: 0 4px;
    font-size: .95rem;
    line-height: 1.6;
  }

  .hero-portal__entry {
    margin-top: 22px;
  }

  .portal-button {
    width: 154px;
    height: 154px;
  }

  .portal-button__core {
    width: 102px;
    height: 102px;
  }

  .portal-button__core b {
    font-size: 1.4rem;
  }

  .portal-button__orbit i {
    font-size: .52rem;
  }

  .hero-portal__instruction {
    max-width: 250px;
    justify-content: center;
    text-align: left;
    font-size: .62rem;
  }

  .hero-portal__facts {
    gap: 7px;
    margin-top: 18px;
  }

  .hero-portal__facts span {
    padding: 8px 10px;
    font-size: .62rem;
  }

  body.portal-complete .hero-portal__inner {
    transform: translateY(-1vh);
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .eyebrow {
    font-size: .7rem;
  }

  .section-title {
    font-size: clamp(2.85rem, 13vw, 4.1rem);
    line-height: .9;
  }

  .copy-block p,
  .section-intro,
  .location-card p,
  .why-card p,
  .product-card p {
    font-size: .92rem;
    line-height: 1.58;
  }

  .section--about .split {
    gap: 28px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-photo,
  .about-photo img {
    min-height: 280px;
  }

  .about-photo {
    border-radius: 20px;
  }

  .about-photo figcaption {
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 12px 14px;
  }

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

  .product-card {
    min-height: auto;
    padding: 22px;
  }

  .product-card h3 {
    font-size: 1.5rem;
  }

  .why-head {
    display: block;
    margin-bottom: 26px;
  }

  .why-head .section-intro {
    margin-top: 18px;
  }

  .why-card {
    min-height: auto;
    padding: 22px;
    border-radius: 20px;
  }

  .why-card__icon {
    width: 62px;
    height: 62px;
    margin: 26px 0 22px;
  }

  .why-card h3 {
    font-size: 1.65rem;
  }

  .location-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    border-radius: 20px;
  }

  .location-card__icon {
    width: 46px;
    height: 46px;
  }

  .location-card dl div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 0;
  }

  .location-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .location-card__actions .text-button {
    justify-content: center;
  }

  .contact {
    gap: 14px;
  }

  .contact__map {
    min-height: 320px;
    border-radius: 20px;
  }

  .contact__panel {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .contact__panel h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .contact__details {
    gap: 14px;
  }

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

  .contact__actions .button,
  .contact-form-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .contact-drawer__panel {
    width: 100%;
    padding: 70px 20px 28px;
  }

  .contact-drawer__close {
    right: 16px;
    top: 14px;
  }

  .contact-drawer h2 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom */
  }

  .mobile-contact {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 16px;
  }

  .mobile-contact a {
    min-height: 50px;
  }

  footer {
    padding-bottom: 84px;
  }
}

/* Small phones */
@media (max-width: 390px) {
  .header .brand img,
  .header.is-scrolled .brand img {
    width: 112px;
  }

  .hero-portal__title {
    font-size: clamp(3rem, 15.5vw, 4.5rem);
  }

  .hero-portal__lead {
    font-size: .9rem;
  }

  .portal-button {
    width: 142px;
    height: 142px;
  }

  .portal-button__core {
    width: 94px;
    height: 94px;
  }

  .hero-portal__facts {
    display: grid;
    grid-template-columns: 1fr;
    width: min(280px, 100%);
  }

  .hero-portal__facts span {
    text-align: center;
  }

  .section-title {
    font-size: clamp(2.6rem, 12.8vw, 3.7rem);
  }
}

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

/* ===== V21 — mobile performance and layout fixes ===== */

@media (max-width: 1024px) {
  /* Remove the strange fixed bottom phone/location bar on mobile. */
  .mobile-contact {
    display: none !important;
  }

  footer {
    padding-bottom: 32px;
  }

  /* Hide the decorative map illustration on mobile.
     Contact details and the enquiry button remain visible. */
  .contact__map {
    display: none !important;
  }

  .contact {
    display: block !important;
  }

  .contact__panel {
    width: 100%;
    min-height: auto;
  }

  /* Performance: remove expensive effects that continuously repaint. */
  .grain,
  .journey-line,
  .hero-portal__mesh,
  .hero-portal__cursor,
  .hero-portal__line,
  .section-thread {
    display: none !important;
  }

  .header,
  .header.is-scrolled,
  .header .nav,
  .header.is-scrolled .nav,
  .about-photo figcaption,
  .contact-drawer__backdrop,
  .contact-drawer__panel,
  .hero-portal__facts span {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .header,
  .header.is-scrolled {
    background: rgba(246,242,233,.98);
  }

  .header .nav,
  .header.is-scrolled .nav {
    background: #f6f2e9;
  }

  /* Stop non-essential infinite animations on touch devices. */
  .hero-portal__instruction-line,
  .portal-button__orbit,
  .portal-button__orbit i,
  .portal-button::after,
  .why-card__icon path,
  .map-pin::after {
    animation: none !important;
  }

  .portal-button::after {
    transform: rotate(18deg);
  }

  /* The CTA remains interactive without constant GPU work. */
  .portal-button {
    will-change: auto;
  }

  .portal-button__core,
  .portal-button::before,
  .portal-button::after {
    transition-duration: .28s;
  }

  /* Keep the hero comfortably below the header and avoid title clipping. */
  .hero--portal {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 58px;
  }

  .hero-portal__title {
    margin-top: 16px;
  }

  .hero-portal__word {
    overflow: visible;
  }

  /* Better compact contact presentation. */
  .section--contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact__panel {
    border-radius: 22px;
    padding: clamp(26px, 6vw, 42px);
  }

  .contact__panel h2 {
    max-width: 10ch;
  }
}

@media (max-width: 700px) {
  .hero--portal {
    padding-top: 104px;
    padding-bottom: 46px;
  }

  .hero-portal__title {
    margin-top: 12px;
    font-size: clamp(3.15rem, 14.5vw, 4.8rem);
    line-height: .86;
  }

  .hero-portal__lead {
    margin-top: 18px;
  }

  .hero-portal__facts {
    width: 100%;
  }

  .hero-portal__facts span {
    background: rgba(246,242,233,.92);
  }

  .section--contact .container {
    width: calc(100vw - 24px);
  }

  .contact__panel {
    padding: 24px 18px;
  }

  .contact__details > div {
    align-items: flex-start;
  }
}

/* Devices that do not have a precise mouse should avoid cursor-driven effects. */
@media (hover: none), (pointer: coarse) {
  .hero-portal__cursor,
  .hero-portal__mesh,
  .hero-portal__line {
    display: none !important;
  }

  .portal-button:hover .portal-button__core {
    transform: translate(-50%,-50%);
    background: var(--green-deep);
    box-shadow: 0 25px 60px rgba(52,65,49,.25);
  }

  .portal-button:hover::before,
  .portal-button:hover::after {
    transform: none;
  }
}

/* ===== V22 — clean mobile header + balanced first screen ===== */

.brand__mark {
  display: none;
}

/* Mobile/tablet header becomes two independent floating controls:
   pharmacy mark on the left, burger on the right. */
@media (max-width: 1024px) {
  .header,
  .header.is-scrolled {
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 0;
    min-height: 0;
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: none;
  }

  .header .brand,
  .header.is-scrolled .brand {
    position: fixed;
    z-index: 3;
    left: 14px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    min-height: 0;
    padding: 8px;
    border-radius: 50%;
    background: rgba(246,242,233,.97);
    border: 1px solid rgba(52,65,49,.08);
    box-shadow: 0 12px 30px rgba(52,65,49,.12);
    pointer-events: auto;
  }

  .header .brand__full,
  .header.is-scrolled .brand__full {
    display: none;
  }

  .header .brand__mark,
  .header.is-scrolled .brand__mark {
    display: block;
    width: 39px;
    height: 39px;
    object-fit: contain;
  }

  .header .menu-toggle,
  .header.is-scrolled .menu-toggle {
    position: fixed;
    z-index: 4;
    right: 14px;
    top: 14px;
    display: block;
    width: 54px;
    height: 54px;
    padding: 13px;
    border-radius: 50%;
    background: rgba(246,242,233,.97);
    border: 1px solid rgba(52,65,49,.08);
    box-shadow: 0 12px 30px rgba(52,65,49,.12);
    pointer-events: auto;
  }

  .header .menu-toggle span,
  .header.is-scrolled .menu-toggle span {
    background: var(--green-deep);
  }

  .header .nav,
  .header.is-scrolled .nav {
    position: fixed;
    z-index: 2;
    top: 78px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    min-width: 0;
    max-height: calc(100svh - 96px);
    display: grid;
    gap: 4px;
    padding: 14px;
    overflow-y: auto;
    border-radius: 22px;
    background: #f6f2e9;
    border: 1px solid rgba(52,65,49,.09);
    box-shadow: 0 26px 60px rgba(52,65,49,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease, transform .3s var(--ease);
  }

  .header .nav.is-open,
  .header.is-scrolled .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .header .nav a,
  .header.is-scrolled .nav a {
    padding: 16px 17px;
    border-radius: 14px;
    background: transparent;
    font-size: .96rem;
  }

  .header .nav a:hover,
  .header.is-scrolled .nav a:hover {
    background: var(--pale);
    color: var(--green-deep);
  }

  /* Balance the full first screen instead of leaving a large empty lower half. */
  .hero--portal {
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 92px 0 34px;
  }

  .hero-portal__inner {
    min-height: calc(100svh - 126px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0 18px;
  }

  .hero-portal__facts {
    margin-top: 22px;
  }

  body.portal-complete .hero-portal__inner {
    min-height: calc(100svh - 126px);
    transform: none;
  }
}

@media (max-width: 700px) {
  .header .brand,
  .header.is-scrolled .brand,
  .header .menu-toggle,
  .header.is-scrolled .menu-toggle {
    top: 10px;
    width: 50px;
    height: 50px;
  }

  .header .brand,
  .header.is-scrolled .brand {
    left: 10px;
  }

  .header .menu-toggle,
  .header.is-scrolled .menu-toggle {
    right: 10px;
  }

  .header .brand__mark,
  .header.is-scrolled .brand__mark {
    width: 35px;
    height: 35px;
  }

  .header .nav,
  .header.is-scrolled .nav {
    top: 68px;
    left: 10px;
    right: 10px;
    max-height: calc(100svh - 82px);
    border-radius: 18px;
    padding: 10px;
  }

  .hero--portal {
    padding-top: 76px;
    padding-bottom: 24px;
  }

  .hero-portal__inner {
    min-height: calc(100svh - 100px);
    justify-content: center;
    padding-bottom: 10px;
  }

  .hero-portal__title {
    margin-top: 8px;
  }

  .hero-portal__lead {
    margin-top: 16px;
  }

  .hero-portal__entry {
    margin-top: 18px;
  }

  .hero-portal__facts {
    margin-top: 18px;
  }

  body.portal-complete .hero-portal__inner {
    min-height: calc(100svh - 100px);
  }
}

@media (max-height: 760px) and (max-width: 700px) {
  .hero--portal {
    min-height: auto;
  }

  .hero-portal__inner,
  body.portal-complete .hero-portal__inner {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .portal-button {
    width: 140px;
    height: 140px;
  }

  .portal-button__core {
    width: 92px;
    height: 92px;
  }
}

/* ===== V23 — fix mobile dropdown menu position ===== */

@media (max-width: 1024px) {
  .header .nav,
  .header.is-scrolled .nav {
    top: 78px !important;
    right: 14px !important;
    left: auto !important;
    width: min(320px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 0 !important;
    transform-origin: top right !important;
  }
}

@media (max-width: 700px) {
  .header .nav,
  .header.is-scrolled .nav {
    top: 68px !important;
    right: 10px !important;
    left: auto !important;
    width: min(300px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

@media (max-width: 390px) {
  .header .nav,
  .header.is-scrolled .nav {
    width: calc(100vw - 20px) !important;
  }
}

/* ===== V24 — compact mobile hero spacing ===== */

@media (max-width: 700px) {
  .hero--portal {
    min-height: auto !important;
    padding-top: 84px !important;
    padding-bottom: 26px !important;
  }

  .hero-portal__inner,
  body.portal-complete .hero-portal__inner {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding-top: 34px !important;
    padding-bottom: 24px !important;
    transform: none !important;
  }

  .hero-portal__title {
    margin-top: 6px !important;
  }

  .hero-portal__lead {
    margin-top: 16px !important;
  }

  .hero-portal__entry {
    margin-top: 18px !important;
  }

  .hero-portal__facts,
  body.portal-complete .hero-portal__facts {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 390px) {
  .hero--portal {
    padding-top: 78px !important;
    padding-bottom: 22px !important;
  }

  .hero-portal__inner,
  body.portal-complete .hero-portal__inner {
    padding-top: 26px !important;
    padding-bottom: 18px !important;
  }
}

/* ===== V25 — side action buttons on mobile ===== */

@media (max-width: 1024px) {
  .quick-rail {
    display: flex !important;
    position: fixed;
    z-index: 760;
    right: 10px;
    top: 50%;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
  }

  .quick-rail__button {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-deep);
    color: #fff;
    box-shadow: 0 14px 32px rgba(52,65,49,.18);
    pointer-events: auto;
    transition: transform .22s ease, background .22s ease;
  }

  .quick-rail__button:active {
    transform: scale(.94);
  }

  .quick-rail__icon {
    font-size: 1rem;
    line-height: 1;
  }

  .quick-rail__tooltip {
    display: none !important;
  }

  .header .nav,
  .header.is-scrolled .nav {
    z-index: 900;
  }

  .contact-drawer {
    z-index: 5000 !important;
  }
}

@media (max-width: 700px) {
  .quick-rail {
    right: 8px;
    gap: 8px;
  }

  .quick-rail__button {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .quick-rail {
    right: 6px;
  }

  .quick-rail__button {
    width: 44px;
    height: 44px;
  }
}

/* ===== V26 FIXED — actual mini subpages ===== */
.subpage { background: var(--cream); overflow-x: hidden; }
.subpage-header { background: rgba(246,242,233,.92); border:1px solid rgba(52,65,49,.08); backdrop-filter:blur(18px); box-shadow:0 14px 36px rgba(52,65,49,.07); }
.nav a.is-current { color:#fff; background:var(--green-deep); }

.subhero { padding:150px 0 82px; background:radial-gradient(circle at 82% 22%,rgba(223,231,220,.92),transparent 28%),var(--cream); border-bottom:1px solid var(--line); }
.subhero__grid { display:grid; grid-template-columns:1.1fr .9fr; gap:70px; align-items:end; }
.subhero__title { margin:10px 0 0; font-family:"Playfair Display"; font-size:clamp(4.4rem,8vw,8.4rem); line-height:.84; letter-spacing:-.065em; font-weight:500; }
.subhero__intro { max-width:520px; color:var(--muted); line-height:1.7; }
.subhero__intro .text-link { display:inline-flex; margin-top:22px; }

.subpage-section { padding:90px 0; }
.subpage-about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.subpage-copy p { color:var(--muted); line-height:1.72; }
.subpage-photo,.subpage-wide-photo { position:relative; margin:0; overflow:hidden; border-radius:28px; box-shadow:0 26px 62px rgba(52,65,49,.13); }
.subpage-photo,.subpage-photo img { min-height:520px; }
.subpage-photo img,.subpage-wide-photo img { width:100%; height:100%; display:block; object-fit:cover; }
.subpage-photo figcaption,.subpage-wide-photo figcaption { position:absolute; left:22px; right:22px; bottom:20px; padding:16px 18px; border-radius:15px; background:rgba(246,242,233,.9); }
.subpage-photo figcaption span { display:block; margin-bottom:5px; color:var(--green-light); font-size:.62rem; letter-spacing:.14em; }

.subpage-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.subpage-card { min-height:260px; padding:28px; border:1px solid rgba(246,242,233,.14); border-radius:22px; background:rgba(255,255,255,.04); }
.subpage-card span { color:rgba(246,242,233,.48); font-size:.68rem; }
.subpage-card h3 { margin:70px 0 14px; font-family:"Playfair Display"; font-size:2rem; font-weight:500; }
.subpage-card p { color:rgba(246,242,233,.68); line-height:1.6; }

.subpage-location-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:18px; }
.subpage-location-card { padding:38px; border-radius:26px; background:var(--green-deep); color:#fff; }
.subpage-location-card h2,.subpage-contact-info h2 { margin:8px 0 22px; font-family:"Playfair Display"; font-size:clamp(3.4rem,6vw,5.8rem); line-height:.9; font-weight:500; }
.subpage-location-card dl { margin-top:28px; }
.subpage-location-card dl div { display:flex; justify-content:space-between; gap:18px; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.subpage-actions { display:flex; align-items:center; gap:20px; margin-top:28px; }
.subpage-location-card .button { background:var(--cream); color:var(--green-deep); }
.subpage-location-card .text-link { color:#fff; }
.subpage-map { position:relative; min-height:540px; overflow:hidden; border-radius:26px; background:var(--pale); }
.subpage-map svg { position:absolute; inset:0; width:100%; height:100%; }
.subpage-map path { fill:none; stroke:var(--green-deep); stroke-width:4; }
.subpage-photo-section { padding-top:0; }
.subpage-wide-photo { max-height:520px; }
.subpage-wide-photo img { min-height:420px; }

.subpage-contact-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:18px; }
.subpage-contact-info,.subpage-contact-form { padding:38px; border-radius:26px; }
.subpage-contact-info { background:var(--green-deep); color:#fff; }
.subpage-contact-info>p { color:rgba(255,255,255,.72); line-height:1.7; }
.subpage-contact-details { margin-top:34px; display:grid; gap:18px; }
.subpage-contact-details div { padding-bottom:16px; border-bottom:1px solid rgba(255,255,255,.14); }
.subpage-contact-details span { display:block; margin-bottom:6px; color:rgba(255,255,255,.52); font-size:.7rem; }
.subpage-contact-form { background:var(--paper); border:1px solid var(--line); }
.contact-form--page { margin-top:20px; padding-top:0; border-top:0; }
.contact-form--page label>span { color:var(--muted); }
.contact-form--page input,.contact-form--page textarea { border:1px solid var(--line); background:#fff; color:var(--green-deep); }
.contact-form--page input::placeholder,.contact-form--page textarea::placeholder { color:rgba(52,65,49,.4); }
.contact-form--page .contact-form__submit { background:var(--green-deep); color:#fff; }

@media(max-width:1024px){
  .subhero { padding-top:110px; }
  .subhero__grid,.subpage-about-grid,.subpage-location-grid,.subpage-contact-grid { grid-template-columns:1fr; }
  .subpage-card-grid { grid-template-columns:1fr; }
  .subpage-card { min-height:auto; }
  .subpage-card h3 { margin-top:34px; }
}
@media(max-width:700px){
  .subhero { padding:88px 0 54px; }
  .subhero__grid { gap:26px; }
  .subhero__title { font-size:clamp(3.4rem,15vw,5rem); }
  .subpage-section { padding:64px 0; }
  .subpage-photo,.subpage-photo img { min-height:320px; }
  .subpage-location-card,.subpage-contact-info,.subpage-contact-form { padding:24px 20px; border-radius:20px; }
  .subpage-actions { flex-direction:column; align-items:stretch; }
  .subpage-actions .button { width:100%; justify-content:space-between; }
  .subpage-map { min-height:340px; }
  .subpage-location-card h2,.subpage-contact-info h2 { font-size:clamp(3rem,14vw,4.3rem); }
}

/* ===== V27 — section links to mini pages ===== */

.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 24px;
  padding: 11px 14px 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(246,242,233,.72);
  font-size: .76rem;
  font-weight: 700;
  transition: transform .28s var(--ease), background .28s, color .28s, border-color .28s;
}

.section-more-link i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  font-style: normal;
  transition: transform .28s var(--ease);
}

.section-more-link:hover {
  transform: translateY(-2px);
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}

.section-more-link:hover i {
  transform: translate(2px,-2px);
  background: rgba(255,255,255,.16);
}

.section-more-link--light {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.section-more-link--light i {
  background: var(--cream);
  color: var(--green-deep);
}

.contact__panel .section-more-link {
  margin-top: 20px;
  margin-bottom: 4px;
}

@media (max-width: 700px) {
  .section-more-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 13px 12px 16px;
  }
}

/* ===== V29 — no portal lock + structured footer ===== */

/* The welcome logo animation remains, but the website is never locked. */
body.site-locked,
body.site-unlocking,
body.site-open,
body.portal-complete {
  overflow: auto !important;
}

body.site-locked main > section,
body.site-locked .journey-line,
body.site-locked .quick-rail {
  visibility: visible !important;
  pointer-events: auto !important;
}

.site-transition,
.hero-portal__entry {
  display: none !important;
}

/* Rebalance the hero now that there is no secondary entry button. */
.hero--portal {
  min-height: 100svh;
}

.hero-portal__inner {
  justify-content: center;
}

.hero-portal__facts {
  margin-top: 30px;
}

@media (max-width: 700px) {
  .hero--portal {
    min-height: auto !important;
    padding-top: 84px !important;
    padding-bottom: 44px !important;
  }

  .hero-portal__inner,
  body.portal-complete .hero-portal__inner {
    min-height: auto !important;
    padding-top: 34px !important;
    padding-bottom: 22px !important;
    transform: none !important;
  }

  .hero-portal__facts {
    margin-top: 22px !important;
  }
}

/* Prominent structured footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 24px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(104,118,94,.42), transparent 24%),
    linear-gradient(145deg, #344131, #263125);
}

.site-footer__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr .72fr 1fr .9fr;
  gap: clamp(28px, 4vw, 68px);
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-footer__logo {
  display: block;
  width: 190px;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.site-footer__brand p {
  max-width: 460px;
  margin: 22px 0;
  color: rgba(255,255,255,.68);
  line-height: 1.68;
}

.site-footer__location {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 430px;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
}

.site-footer__location > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--cream);
}

.site-footer__label {
  margin: 0 0 20px;
  color: rgba(255,255,255,.46);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer__nav,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__nav a,
.site-footer__contact > a:not(.site-footer__cta) {
  padding: 6px 0;
  color: rgba(255,255,255,.82);
  transition: color .25s, transform .25s;
}

.site-footer__nav a:hover,
.site-footer__contact > a:not(.site-footer__cta):hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer__hours {
  display: grid;
  align-content: start;
}

.site-footer__hours > div {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.11);
}

.site-footer__hours span {
  color: rgba(255,255,255,.56);
  font-size: .75rem;
}

.site-footer__hours strong {
  font-size: .84rem;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--cream);
  font-size: .76rem;
  font-weight: 700;
}

.site-footer__cta i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-deep);
  font-style: normal;
  transition: transform .25s;
}

.site-footer__cta:hover i {
  transform: translate(2px,-2px);
}

.site-footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: rgba(255,255,255,.46);
  font-size: .7rem;
}

.site-footer__bottom > div {
  display: flex;
  gap: 22px;
}

.site-footer__bottom a:hover {
  color: #fff;
}

.site-footer__word {
  position: absolute;
  left: -1vw;
  bottom: -6vw;
  z-index: 0;
  color: rgba(255,255,255,.035);
  font-size: clamp(9rem, 19vw, 22rem);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .8;
  user-select: none;
}

@media (max-width: 1024px) {
  .site-footer__top {
    grid-template-columns: 1.25fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding: 60px 0 22px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 38px;
  }

  .site-footer__logo {
    width: 165px;
  }

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

  .site-footer__bottom > div {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .site-footer__word {
    bottom: 1rem;
    font-size: 25vw;
  }
}

/* ===== V30 — hero CTAs + unobtrusive section connector ===== */

.hero-portal__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-portal__actions .button {
  min-width: 190px;
  justify-content: space-between;
}

.button--outline {
  color: var(--green-deep);
  background: rgba(246,242,233,.72);
  border: 1px solid rgba(52,65,49,.16);
}

.button--outline i {
  color: #fff;
  background: var(--green-deep);
}

.button--outline:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button--outline:hover i {
  background: rgba(255,255,255,.16);
}

/* Keep the animated journey line at the page edge instead of across copy. */
.journey-line {
  left: auto !important;
  right: 1.8% !important;
  width: 7% !important;
  opacity: .48;
  pointer-events: none;
}

.section--about {
  overflow: hidden;
}

/* The small section connector leaves the text columns and stays near the image edge. */
.section--about .section-thread--right {
  left: auto !important;
  right: 9% !important;
}

@media (max-width: 1024px) {
  .journey-line {
    display: none !important;
  }

  .section--about .section-thread--right {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .hero-portal__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-portal__actions .button {
    width: min(100%, 340px);
    min-width: 0;
    margin-inline: auto;
  }
}

/* ===== V31 — homepage CTAs and footer enquiry drawer ===== */

.site-footer__cta {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

#products .section-more-link {
  display: none !important;
}

/* ===== V32 — contact dropdown + creative subpage heroes ===== */

.header-contact {
  position: relative;
  z-index: 4;
}

.header-contact__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 285px;
  padding: 9px;
  border-radius: 18px;
  background: rgba(246,242,233,.98);
  border: 1px solid rgba(52,65,49,.09);
  box-shadow: 0 24px 58px rgba(52,65,49,.17);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .24s ease, visibility .24s ease, transform .3s var(--ease);
}

.header-contact.is-open .header-contact__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header-contact__menu a,
.header-contact__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 0;
  border-radius: 13px;
  color: var(--green-deep);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background .22s, transform .22s;
}

.header-contact__menu a:hover,
.header-contact__menu button:hover {
  background: var(--pale);
  transform: translateX(2px);
}

.header-contact__icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #e9dfce;
}

.header-contact__menu small,
.header-contact__menu strong {
  display: block;
}

.header-contact__menu small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .64rem;
}

.header-contact__menu strong {
  font-size: .82rem;
}

/* Scrolled header: contact dropdown becomes a real row and pushes the logo/menu panel down. */
@media (min-width: 1025px) {
  .header.is-scrolled .header-contact {
    order: 1;
    width: 100%;
  }

  .header.is-scrolled .header-contact .header-cta {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
  }

  .header.is-scrolled .header-contact__menu {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border-color: transparent;
    transition: max-height .35s var(--ease), margin-top .35s var(--ease), padding .35s var(--ease), opacity .25s;
  }

  .header.is-scrolled .header-contact.is-open .header-contact__menu {
    max-height: 150px;
    margin-top: 8px;
    padding: 9px;
    opacity: 1;
    visibility: visible;
    border-color: rgba(52,65,49,.09);
    box-shadow: 0 18px 40px rgba(52,65,49,.12);
  }

  .header.is-scrolled .brand {
    order: 2;
  }

  .header.is-scrolled .menu-toggle {
    order: 3;
  }

  .header.is-scrolled .nav {
    top: auto !important;
    bottom: auto;
    margin-top: 8px;
  }
}

/* On mobile, contact options live inside the opened nav so they remain usable. */
@media (max-width: 1024px) {
  .header-contact {
    display: none;
  }

  .nav::after {
    content: "";
    display: block;
    height: 1px;
    margin: 8px 4px;
    background: var(--line);
  }

  .nav.is-open {
    padding-bottom: 14px;
  }
}

/* Creative subpage hero */
.subhero {
  min-height: min(760px, 82svh);
  display: grid;
  align-items: center;
  isolation: isolate;
}

.subhero__grid {
  position: relative;
  z-index: 3;
}

.subhero-art {
  position: absolute;
  z-index: 1;
  right: 5vw;
  top: 50%;
  width: min(440px, 34vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.subhero-art::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 42% 58% 55% 45% / 44% 40% 60% 56%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.05)),
    linear-gradient(145deg, rgba(223,231,220,.8), rgba(104,118,94,.16));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 34px 76px rgba(52,65,49,.12);
  animation: subheroMorph 9s ease-in-out infinite;
}

.subhero-art__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(52,65,49,.16);
  border-radius: 50%;
}

.subhero-art__ring--one {
  width: 82%;
  aspect-ratio: 1;
  animation: orbit 18s linear infinite;
}

.subhero-art__ring--two {
  width: 58%;
  aspect-ratio: 1;
  animation: orbitReverse 14s linear infinite;
}

.subhero-art__ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-deep);
  box-shadow: 0 0 0 7px rgba(52,65,49,.07);
}

.subhero-art__ring--one::after { left: 11%; top: 23%; }
.subhero-art__ring--two::after { right: 6%; bottom: 24%; }

.subhero-art__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  color: var(--green-deep);
  background: rgba(246,242,233,.92);
  font-family: "Playfair Display";
  font-size: 2.3rem;
  box-shadow: 0 18px 42px rgba(52,65,49,.13);
}

.subhero-art__word {
  position: absolute;
  color: rgba(52,65,49,.28);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.subhero-art__word--one { left: 7%; top: 18%; transform: rotate(-18deg); }
.subhero-art__word--two { right: 4%; top: 48%; transform: rotate(14deg); }
.subhero-art__word--three { left: 20%; bottom: 12%; transform: rotate(-8deg); }

@keyframes subheroMorph {
  0%,100% { border-radius: 42% 58% 55% 45% / 44% 40% 60% 56%; transform: rotate(-2deg); }
  50% { border-radius: 58% 42% 40% 60% / 56% 60% 40% 44%; transform: rotate(2deg); }
}

@media (max-width: 1024px) {
  .subhero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .subhero-art {
    position: relative;
    right: auto;
    top: auto;
    width: min(440px, 76vw);
    margin: 30px auto 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .subhero-art {
    width: min(340px, 88vw);
  }

  .subhero-art__core {
    width: 78px;
    font-size: 1.9rem;
  }
}

/* ===== V33 — repaired menus + editorial subpage heroes ===== */

/* Clean desktop contact dropdown. */
.header-contact {
  position: relative;
  z-index: 12;
}

.header-contact__menu {
  z-index: 30;
}

/* Scrolled desktop dock: contact area expands in flow and pushes the logo row down. */
@media (min-width: 1025px) {
  .header.is-scrolled {
    width: 230px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .header.is-scrolled .header-contact {
    order: 1;
    width: 100%;
  }

  .header.is-scrolled .header-contact .header-cta {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }

  .header.is-scrolled .header-contact__menu {
    position: static;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 9px;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    transition:
      max-height .38s var(--ease),
      padding .38s var(--ease),
      margin .38s var(--ease),
      opacity .24s ease,
      visibility .24s ease;
  }

  .header.is-scrolled .header-contact.is-open .header-contact__menu {
    max-height: 170px;
    margin-top: 8px;
    padding: 9px;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 18px 42px rgba(52,65,49,.13);
  }

  .header.is-scrolled .brand {
    order: 2;
    position: relative;
    width: 100%;
  }

  .header.is-scrolled .menu-toggle {
    order: 3;
    z-index: 20;
  }

  .header.is-scrolled .nav {
    top: calc(100% + 8px) !important;
    right: 0;
    left: auto;
    width: 300px;
  }
}

/* On tablet/mobile, header contact is available inside the burger panel. */
@media (max-width: 1024px) {
  .header-contact {
    display: none;
  }

  .nav.is-open::after {
    content: "Свържете се с нас";
    display: block;
    margin: 10px 4px 5px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--green-light);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .nav.is-open::before {
    content: "☎  +359 00 000 0000   ·   ✦  Изпратете запитване";
    order: 99;
    display: block;
    padding: 13px 15px;
    border-radius: 13px;
    color: var(--green-deep);
    background: var(--pale);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.55;
  }
}

/* Remove the previous orb/morph subpage visual completely. */
.subhero-art,
.subhero-art__ring,
.subhero-art__core,
.subhero-art__word {
  display: none !important;
}

/* Editorial hero composition: oversized chapter number, seal and moving type band. */
.subhero {
  position: relative;
  min-height: min(720px, 82svh);
  padding-bottom: 132px;
  overflow: hidden;
}

.subhero__grid {
  position: relative;
  z-index: 4;
  grid-template-columns: 1.15fr .85fr;
  padding-right: min(29vw, 420px);
}

.subhero-editorial {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(32px, 6vw, 110px);
  width: min(340px, 25vw);
  aspect-ratio: .82;
  transform: translateY(-48%);
  border: 1px solid rgba(52,65,49,.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.58), rgba(223,231,220,.48)),
    var(--pale);
  box-shadow: 0 30px 72px rgba(52,65,49,.12);
}

.subhero-editorial::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 20px;
}

.subhero-editorial__number {
  position: absolute;
  left: -24px;
  top: -54px;
  color: rgba(52,65,49,.08);
  font-family: "Playfair Display";
  font-size: clamp(8rem, 15vw, 14rem);
  line-height: 1;
  letter-spacing: -.08em;
}

.subhero-editorial__stamp {
  position: absolute;
  left: 24px;
  top: 28px;
  color: var(--green-light);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.subhero-editorial__line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 74px;
  height: 1px;
  background: var(--line);
}

.subhero-editorial__seal {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 24px 52px rgba(52,65,49,.22);
}

.subhero-editorial__seal::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(52,65,49,.26);
  border-radius: 50%;
  animation: editorialSealSpin 18s linear infinite;
}

.subhero-editorial__seal span {
  position: absolute;
  top: 24px;
  font-size: .56rem;
  letter-spacing: .18em;
}

.subhero-editorial__seal strong {
  font-family: "Playfair Display";
  font-size: 3rem;
  font-weight: 400;
}

.subhero-editorial__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 27px;
  font-family: "Playfair Display";
  font-size: 1.2rem;
  line-height: 1.08;
  color: var(--green-deep);
}

.subhero-marquee {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 30px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246,242,233,.72);
}

.subhero-marquee__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 15px 0;
  color: var(--green-deep);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  animation: editorialMarquee 22s linear infinite;
}

.subhero-marquee__track i {
  color: var(--green-light);
  font-style: normal;
}

@keyframes editorialSealSpin {
  to { transform: rotate(360deg); }
}

@keyframes editorialMarquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .subhero {
    min-height: auto;
    padding-bottom: 112px;
  }

  .subhero__grid {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .subhero-editorial {
    position: relative;
    top: auto;
    right: auto;
    width: min(360px, 82vw);
    margin: 36px auto 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .subhero {
    padding-bottom: 92px;
  }

  .subhero-editorial {
    width: min(320px, 88vw);
    border-radius: 22px;
  }

  .subhero-editorial__number {
    left: -10px;
    top: -35px;
    font-size: 8rem;
  }

  .subhero-editorial__seal {
    width: 108px;
    height: 108px;
  }

  .subhero-editorial__caption {
    font-size: 1rem;
  }

  .subhero-marquee {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subhero-editorial__seal::before,
  .subhero-marquee__track {
    animation: none !important;
  }
}

/* ===== V34 — separate mobile contact control ===== */

@media (max-width: 1024px) {
  .header-contact {
    display: block !important;
    position: fixed;
    z-index: 860;
    top: 14px;
    right: 80px;
    width: auto;
    pointer-events: auto;
  }

  .header-contact .header-cta {
    display: inline-flex !important;
    min-height: 54px;
    padding: 8px 10px 8px 16px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(52,65,49,.14);
  }

  .header-contact .header-cta span {
    white-space: nowrap;
  }

  .header-contact__menu {
    position: fixed;
    top: 78px;
    right: 14px;
    left: auto;
    width: min(300px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    z-index: 930;
  }

  .nav::before,
  .nav::after,
  .nav.is-open::before,
  .nav.is-open::after {
    content: none !important;
    display: none !important;
  }

  .nav.is-open {
    padding-bottom: 10px;
  }
}

@media (max-width: 700px) {
  .header-contact {
    top: 10px;
    right: 70px;
  }

  .header-contact .header-cta {
    min-height: 50px;
    padding: 7px 8px 7px 13px;
    font-size: .72rem;
  }

  .header-contact .header-cta i {
    width: 34px;
    height: 34px;
  }

  .header-contact__menu {
    top: 68px;
    right: 10px;
    width: min(292px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }
}

@media (max-width: 430px) {
  .header-contact {
    right: 66px;
  }

  .header-contact .header-cta {
    width: 48px;
    min-width: 48px;
    padding: 7px;
    justify-content: center;
  }

  .header-contact .header-cta span {
    display: none;
  }

  .header-contact .header-cta i {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .header-contact__menu {
    right: 10px;
    width: calc(100vw - 20px);
  }
}

/* ===== V35 — photographic subpage hero ===== */

/* Retire the previous editorial subpage hero. */
.subhero-editorial,
.subhero-marquee,
.subhero-art {
  display: none !important;
}

.subhero-photo {
  position: relative;
  min-height: clamp(620px, 82svh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 128px;
  color: #fff;
  isolation: isolate;
  background: var(--green-deep);
}

.subhero-photo__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.subhero-photo__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.035);
  animation: subheroPhotoIn 1.4s var(--ease) both;
}

.subhero-photo__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(24,31,23,.92) 0%,
      rgba(30,39,29,.84) 34%,
      rgba(34,43,32,.4) 59%,
      rgba(34,43,32,.08) 82%),
    linear-gradient(0deg,
      rgba(24,31,23,.28),
      transparent 45%);
}

.subhero-photo__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.subhero-photo__content .eyebrow {
  color: rgba(255,255,255,.7);
}

.subhero-photo__title {
  max-width: 780px;
  margin: 16px 0 26px;
  font-family: "Playfair Display";
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  line-height: .85;
  letter-spacing: -.065em;
  font-weight: 500;
  text-wrap: balance;
}

.subhero-photo__intro {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.72;
}

.subhero-photo__meta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.84);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.subhero-photo__meta i {
  color: #dfe7dc;
  font-style: normal;
}

.subhero-photo__curve {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -76px;
  z-index: 4;
  height: 150px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--cream);
}

.subhero--location .subhero-photo__media img {
  object-position: center 50%;
}

.subhero--contacts .subhero-photo__overlay {
  background:
    linear-gradient(90deg,
      rgba(24,31,23,.92) 0%,
      rgba(30,39,29,.82) 37%,
      rgba(34,43,32,.32) 64%,
      rgba(34,43,32,.06) 88%);
}

@keyframes subheroPhotoIn {
  from {
    opacity: .25;
    transform: scale(1.12);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1.035);
    filter: blur(0);
  }
}

@media (max-width: 1024px) {
  .subhero-photo {
    min-height: 680px;
    padding: 126px 0 110px;
  }

  .subhero-photo__media img {
    object-position: 61% 45%;
  }

  .subhero-photo__overlay {
    background:
      linear-gradient(90deg,
        rgba(24,31,23,.92) 0%,
        rgba(30,39,29,.83) 50%,
        rgba(34,43,32,.22) 100%);
  }

  .subhero-photo__title {
    max-width: 690px;
  }
}

@media (max-width: 700px) {
  .subhero-photo {
    min-height: 650px;
    padding: 108px 0 96px;
    align-items: flex-end;
  }

  .subhero-photo__media img {
    object-position: 63% center;
  }

  .subhero-photo__overlay {
    background:
      linear-gradient(0deg,
        rgba(24,31,23,.96) 0%,
        rgba(25,33,24,.86) 44%,
        rgba(25,33,24,.18) 82%),
      linear-gradient(90deg,
        rgba(24,31,23,.48),
        transparent 70%);
  }

  .subhero-photo__title {
    margin-top: 12px;
    font-size: clamp(3.35rem, 15vw, 5rem);
    line-height: .88;
  }

  .subhero-photo__intro {
    max-width: 100%;
    font-size: .94rem;
    line-height: 1.62;
  }

  .subhero-photo__meta {
    max-width: 100%;
    flex-wrap: wrap;
    margin-top: 24px;
    backdrop-filter: none;
  }

  .subhero-photo__curve {
    bottom: -55px;
    height: 105px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subhero-photo__media img {
    animation: none !important;
  }
}

/* ===== V36 — refined photographic subpage hero ===== */

/* Remove the old pill and old curved transition. */
.subhero-photo__meta,
.subhero-photo__curve {
  display: none !important;
}

/* Better text proportions and safer alignment. */
.subhero-photo {
  min-height: clamp(640px, 80svh, 780px);
  padding: 150px 0 170px;
  align-items: center;
}

.subhero-photo__content {
  max-width: 760px;
}

.subhero-photo__title {
  max-width: 720px;
  font-size: clamp(4rem, 6.8vw, 7.2rem);
  line-height: .88;
}

.subhero-photo__intro {
  max-width: 590px;
}

/* Stats panel inspired by the reference, but adapted to the brand. */
.subhero-stats {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--container), calc(100% - 48px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  background: rgba(246,242,233,.76);
  box-shadow: 0 26px 64px rgba(24,31,23,.2);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.subhero-stats__item {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 24px;
  color: var(--green-deep);
  border-right: 1px solid rgba(52,65,49,.12);
}

.subhero-stats__item:last-child {
  border-right: 0;
}

.subhero-stats__item strong {
  font-family: "Playfair Display";
  font-size: clamp(2.15rem, 3vw, 3.7rem);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.035em;
}

.subhero-stats__item span {
  max-width: 18ch;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
}

/* Cleaner transition: a subtle cream sheet rises behind the stats panel. */
.subhero-photo__transition {
  position: absolute;
  z-index: 5;
  left: -3%;
  right: -3%;
  bottom: -84px;
  height: 150px;
  border-radius: 50% 50% 0 0 / 44% 44% 0 0;
  background:
    linear-gradient(180deg, rgba(246,242,233,.96), var(--cream));
  box-shadow: 0 -18px 46px rgba(246,242,233,.16);
}

/* Give the next section room so the stats panel does not collide with content. */
.subhero-photo + .section {
  padding-top: 124px;
}

@media (max-width: 1024px) {
  .subhero-photo {
    min-height: 720px;
    padding: 126px 0 210px;
    align-items: center;
  }

  .subhero-photo__content {
    max-width: 660px;
  }

  .subhero-photo__title {
    max-width: 620px;
    font-size: clamp(3.8rem, 9vw, 6.2rem);
  }

  .subhero-stats {
    grid-template-columns: repeat(2, 1fr);
    bottom: 34px;
  }

  .subhero-stats__item {
    min-height: 104px;
  }

  .subhero-stats__item:nth-child(2) {
    border-right: 0;
  }

  .subhero-stats__item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(52,65,49,.12);
  }

  .subhero-photo + .section {
    padding-top: 112px;
  }
}

@media (max-width: 700px) {
  .subhero-photo {
    min-height: 760px;
    padding: 108px 0 292px;
    align-items: flex-end;
  }

  .subhero-photo__content {
    max-width: 100%;
  }

  .subhero-photo__title {
    max-width: 100%;
    font-size: clamp(3.15rem, 13.7vw, 4.75rem);
    line-height: .9;
  }

  .subhero-photo__intro {
    font-size: .92rem;
  }

  .subhero-stats {
    bottom: 24px;
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  .subhero-stats__item {
    min-height: 88px;
    padding: 16px;
  }

  .subhero-stats__item strong {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  .subhero-stats__item span {
    font-size: .64rem;
  }

  .subhero-photo__transition {
    bottom: -44px;
    height: 90px;
  }

  .subhero-photo + .section {
    padding-top: 94px;
  }
}

@media (max-width: 390px) {
  .subhero-photo {
    padding-bottom: 320px;
  }

  .subhero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .subhero-stats__item {
    min-height: 84px;
    padding: 14px;
  }
}

/* Reduce expensive blur on touch devices for smoother performance. */
@media (hover: none), (pointer: coarse) {
  .subhero-stats {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(246,242,233,.95);
  }
}

/* ===== V37 — refined subpage hero composition ===== */

/* Create a clearer left text column and give the pharmacist more breathing room. */
.subhero-photo {
  min-height: clamp(620px, 78svh, 760px);
  padding: 142px 0 184px;
}

.subhero-photo__content {
  max-width: 680px;
  padding-left: clamp(0px, 2vw, 28px);
}

.subhero-photo__title {
  max-width: 660px;
  margin: 12px 0 22px;
  font-size: clamp(3.7rem, 6vw, 6.45rem);
  line-height: .9;
  letter-spacing: -.055em;
}

.subhero-photo__intro {
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.66;
}

/* Shift the image crop right so the face remains unobstructed. */
.subhero-photo__media img {
  object-position: 62% 44%;
}

/* Refine the overlay so the text sits on a clean dark zone. */
.subhero-photo__overlay {
  background:
    linear-gradient(90deg,
      rgba(22,29,21,.94) 0%,
      rgba(26,34,25,.88) 31%,
      rgba(30,38,28,.58) 51%,
      rgba(34,43,32,.18) 72%,
      rgba(34,43,32,.03) 100%),
    linear-gradient(0deg,
      rgba(24,31,23,.2),
      transparent 52%);
}

/* Stats panel: slightly narrower, lower and visually detached from the text block. */
.subhero-stats {
  bottom: 30px;
  width: min(84%, 1420px);
  border-radius: 22px;
}

.subhero-stats__item {
  min-height: 114px;
  padding: 20px 28px;
}

.subhero-stats__item strong {
  font-size: clamp(2rem, 2.7vw, 3.25rem);
}

.subhero-stats__item span {
  max-width: 17ch;
  font-size: .7rem;
}

/* A flatter, subtler transition into the next section. */
.subhero-photo__transition {
  left: -2%;
  right: -2%;
  bottom: -40px;
  height: 76px;
  border-radius: 50% 50% 0 0 / 24% 24% 0 0;
  background: var(--cream);
  box-shadow: none;
}

.subhero-photo + .section {
  padding-top: 108px;
}

/* Contacts hero needs a slightly tighter text measure. */
.subhero--contacts .subhero-photo__content {
  max-width: 640px;
}

.subhero--contacts .subhero-photo__title {
  max-width: 620px;
}

/* About and location can carry a little more width. */
.subhero--about .subhero-photo__title,
.subhero--location .subhero-photo__title {
  max-width: 680px;
}

@media (max-width: 1180px) {
  .subhero-photo__content {
    max-width: 610px;
  }

  .subhero-photo__title {
    font-size: clamp(3.6rem, 6.4vw, 5.9rem);
  }

  .subhero-stats {
    width: min(90%, 1120px);
  }
}

@media (max-width: 1024px) {
  .subhero-photo {
    min-height: 700px;
    padding: 122px 0 220px;
  }

  .subhero-photo__content {
    max-width: 590px;
    padding-left: 0;
  }

  .subhero-photo__title {
    max-width: 560px;
    font-size: clamp(3.45rem, 8.5vw, 5.4rem);
  }

  .subhero-photo__intro {
    max-width: 500px;
  }

  .subhero-photo__media img {
    object-position: 66% 45%;
  }

  .subhero-stats {
    width: calc(100% - 42px);
    bottom: 26px;
  }

  .subhero-stats__item {
    min-height: 98px;
    padding: 18px 22px;
  }

  .subhero-photo__transition {
    bottom: -34px;
    height: 62px;
  }

  .subhero-photo + .section {
    padding-top: 96px;
  }
}

@media (max-width: 700px) {
  .subhero-photo {
    min-height: 740px;
    padding: 104px 0 286px;
    align-items: flex-end;
  }

  .subhero-photo__content {
    max-width: 100%;
  }

  .subhero-photo__title,
  .subhero--contacts .subhero-photo__title,
  .subhero--about .subhero-photo__title,
  .subhero--location .subhero-photo__title {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(3rem, 13vw, 4.45rem);
    line-height: .92;
  }

  .subhero-photo__intro {
    max-width: 95%;
    font-size: .9rem;
    line-height: 1.58;
  }

  .subhero-photo__media img {
    object-position: 69% center;
  }

  .subhero-photo__overlay {
    background:
      linear-gradient(0deg,
        rgba(22,29,21,.96) 0%,
        rgba(24,31,23,.9) 42%,
        rgba(24,31,23,.34) 76%,
        rgba(24,31,23,.08) 100%);
  }

  .subhero-stats {
    width: calc(100% - 22px);
    bottom: 18px;
    border-radius: 17px;
  }

  .subhero-stats__item {
    min-height: 86px;
    padding: 14px 15px;
  }

  .subhero-stats__item strong {
    font-size: clamp(1.75rem, 7vw, 2.45rem);
  }

  .subhero-stats__item span {
    font-size: .61rem;
  }

  .subhero-photo__transition {
    bottom: -26px;
    height: 48px;
    border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  }

  .subhero-photo + .section {
    padding-top: 82px;
  }
}

@media (max-width: 390px) {
  .subhero-photo {
    padding-bottom: 304px;
  }

  .subhero-stats {
    width: calc(100% - 18px);
  }
}

/* ===== V38 — mobile optimisation + blurred homepage background ===== */

/* Homepage image atmosphere */
.hero--photo-bg {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 24%, rgba(223,231,220,.6), transparent 28%),
    var(--cream);
}

.hero-home-bg,
.hero-home-bg__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-home-bg {
  z-index: 0;
  overflow: hidden;
}

.hero-home-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 82% 50%;
  transform: scale(1.07);
  filter: blur(15px) saturate(.82) contrast(.94);
  opacity: .30;
}

.hero-home-bg__veil {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(246,242,233,.97) 0%,
      rgba(246,242,233,.91) 42%,
      rgba(246,242,233,.72) 70%,
      rgba(246,242,233,.58) 100%),
    radial-gradient(circle at 68% 35%, rgba(223,231,220,.3), transparent 31%);
}

.hero-portal__inner,
.hero-portal__mesh,
.hero-portal__line,
.hero-portal__cursor,
.hero-portal__edge {
  z-index: 3;
}

.hero-portal__mesh {
  opacity: .11;
}

.hero-portal__line {
  opacity: .52;
}

/* Prevent expensive off-screen rendering on long mobile pages. */
@media (max-width: 1024px) {
  main > section:not(.hero):not(.subhero-photo) {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
  }

  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
  }

  .hero-home-bg img {
    transform: scale(1.12);
    filter: blur(14px) saturate(.7) contrast(.92);
    opacity: .22;
  }

  .hero-home-bg__veil {
    background:
      linear-gradient(180deg,
        rgba(246,242,233,.9) 0%,
        rgba(246,242,233,.82) 48%,
        rgba(246,242,233,.94) 100%),
      linear-gradient(90deg,
        rgba(246,242,233,.94),
        rgba(246,242,233,.62));
  }

  /* Stable viewport sizing on mobile browser chrome changes */
  .hero--portal,
  .subhero-photo {
    min-height: 100svh;
  }

  /* Reduce GPU-heavy shadows and blur */
  .product-card,
  .why-card,
  .about-photo,
  .location-card,
  .contact__panel,
  .subpage-photo,
  .subpage-location-card,
  .subpage-contact-info,
  .subpage-contact-form {
    box-shadow: 0 14px 32px rgba(52,65,49,.08);
  }

  .subhero-stats {
    box-shadow: 0 18px 42px rgba(24,31,23,.14);
  }

  /* Keep all interactive controls above decorative layers */
  .header,
  .quick-rail,
  .contact-drawer {
    transform: translateZ(0);
  }
}

/* Phone layout */
@media (max-width: 700px) {
  :root {
    --container: calc(100vw - 28px);
  }

  body {
    font-size: 16px;
  }

  .hero--portal {
    min-height: auto !important;
    padding: 80px 0 42px !important;
  }

  .hero-home-bg img {
    object-position: 84% center;
    transform: scale(1.16);
    filter: blur(10px) saturate(.8) contrast(.94);
    opacity: .24;
  }

  .hero-home-bg__veil {
    background:
      linear-gradient(180deg,
        rgba(246,242,233,.94) 0%,
        rgba(246,242,233,.83) 47%,
        rgba(246,242,233,.96) 100%);
  }

  .hero-portal__inner {
    padding: 24px 0 20px !important;
  }

  .hero-portal__title {
    font-size: clamp(3rem, 14vw, 4.45rem);
    line-height: .87;
    letter-spacing: -.055em;
  }

  .hero-portal__lead {
    max-width: 34rem;
    font-size: .92rem;
  }

  .hero-portal__actions {
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .hero-portal__actions .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-portal__facts {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .hero-portal__facts span {
    min-height: 38px;
    display: grid;
    place-items: center;
  }

  /* Subpage hero mobile composition */
  .subhero-photo {
    min-height: auto;
    padding: 96px 0 300px;
  }

  .subhero-photo__content {
    padding-top: 210px;
  }

  .subhero-photo__media img {
    object-position: 67% top;
  }

  .subhero-photo__overlay {
    background:
      linear-gradient(0deg,
        rgba(22,29,21,.98) 0%,
        rgba(24,31,23,.91) 48%,
        rgba(24,31,23,.2) 84%,
        rgba(24,31,23,.04) 100%);
  }

  .subhero-photo__title {
    font-size: clamp(2.9rem, 12.8vw, 4.2rem);
    line-height: .92;
  }

  .subhero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .subhero-stats__item {
    min-width: 0;
  }

  /* Cleaner mobile section spacing */
  .section,
  .subpage-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-head,
  .why-head {
    margin-bottom: 24px;
  }

  .product-grid,
  .why-grid,
  .about-content,
  .subpage-card-grid {
    gap: 12px;
  }

  .site-footer__top {
    gap: 28px;
  }

  .site-footer__brand p {
    margin: 17px 0;
  }

  /* Avoid iOS text/input zoom and improve tap targets */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  button,
  a.button,
  .nav a,
  .site-footer__cta {
    min-height: 44px;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  :root {
    --container: calc(100vw - 22px);
  }

  .hero-portal__title {
    font-size: clamp(2.8rem, 13.8vw, 3.9rem);
  }

  .subhero-photo {
    padding-bottom: 318px;
  }

  .subhero-photo__content {
    padding-top: 190px;
  }

  .subhero-stats__item {
    padding: 12px;
  }
}

/* Touch devices: no hover-only movement and lighter rendering */
@media (hover: none), (pointer: coarse) {
  .magnetic,
  .product-card,
  .why-card,
  .about-photo img {
    transform: none !important;
  }

  .hero-home-bg img {
    animation: none;
  }
}

/* ===== FINAL V3 — make the homepage background clearly visible ===== */

.hero--photo-bg {
  position: relative;
  overflow: hidden;
}

.hero-home-bg {
  z-index: 0 !important;
}

.hero-home-bg img {
  opacity: .62 !important;
  filter: blur(9px) saturate(.88) contrast(.96) !important;
  transform: scale(1.045) !important;
  object-position: 78% 50% !important;
}

.hero-home-bg__veil {
  z-index: 1 !important;
  background:
    linear-gradient(90deg,
      rgba(246,242,233,.94) 0%,
      rgba(246,242,233,.83) 35%,
      rgba(246,242,233,.52) 62%,
      rgba(246,242,233,.18) 100%),
    linear-gradient(0deg,
      rgba(246,242,233,.34),
      rgba(246,242,233,.08) 55%,
      rgba(246,242,233,.18)) !important;
}

@media (max-width: 1024px) {
  .hero-home-bg img {
    opacity: .52 !important;
    filter: blur(8px) saturate(.84) contrast(.96) !important;
    object-position: 76% center !important;
  }

  .hero-home-bg__veil {
    background:
      linear-gradient(180deg,
        rgba(246,242,233,.82) 0%,
        rgba(246,242,233,.62) 48%,
        rgba(246,242,233,.88) 100%),
      linear-gradient(90deg,
        rgba(246,242,233,.88),
        rgba(246,242,233,.28)) !important;
  }
}

@media (max-width: 700px) {
  .hero-home-bg img {
    opacity: .48 !important;
    filter: blur(7px) saturate(.82) contrast(.96) !important;
    object-position: 79% center !important;
  }

  .hero-home-bg__veil {
    background:
      linear-gradient(180deg,
        rgba(246,242,233,.83) 0%,
        rgba(246,242,233,.62) 46%,
        rgba(246,242,233,.9) 100%) !important;
  }
}


/* ===== FINAL V4 — replace subpage pharmacist image with pharmacy interior ===== */
.subhero-photo__media img {
  object-position: 72% center;
}

.subhero--location .subhero-photo__media img,
.subhero--contacts .subhero-photo__media img,
.subhero--about .subhero-photo__media img {
  object-position: 74% center;
}

@media (max-width: 1024px) {
  .subhero-photo__media img,
  .subhero--location .subhero-photo__media img,
  .subhero--contacts .subhero-photo__media img,
  .subhero--about .subhero-photo__media img {
    object-position: 76% center;
  }
}

@media (max-width: 700px) {
  .subhero-photo__media img,
  .subhero--location .subhero-photo__media img,
  .subhero--contacts .subhero-photo__media img,
  .subhero--about .subhero-photo__media img {
    object-position: 80% center;
  }
}

/* ===== FINAL V5 — clean subpage hero layout, CTAs and new transition ===== */

/* Remove all legacy stats elements and their reserved space. */
.subhero-stats,
.subhero-stats__item {
  display: none !important;
}

/* Better positioning of headline and supporting copy. */
.subhero-photo {
  min-height: clamp(610px, 76svh, 740px);
  padding: 148px 0 118px;
  align-items: center;
}

.subhero-photo__content,
.subhero--about .subhero-photo__content,
.subhero--location .subhero-photo__content,
.subhero--contacts .subhero-photo__content {
  width: 100%;
  max-width: 720px;
  padding-left: clamp(0px, 2vw, 30px);
  transform: translateY(-8px);
}

.subhero-photo__content .eyebrow {
  margin-bottom: 18px;
}

.subhero-photo__title,
.subhero--about .subhero-photo__title,
.subhero--location .subhero-photo__title,
.subhero--contacts .subhero-photo__title {
  max-width: 700px;
  margin: 0 0 22px;
  font-size: clamp(3.65rem, 5.9vw, 6.25rem);
  line-height: .9;
  letter-spacing: -.055em;
}

.subhero-photo__intro {
  max-width: 570px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

/* Contextual hero actions on every subpage. */
.subhero-photo__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.subhero-action {
  min-width: 190px;
  min-height: 54px;
  justify-content: space-between;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.subhero-action--primary {
  color: var(--green-deep);
  background: var(--cream);
}

.subhero-action--primary i {
  color: #fff;
  background: var(--green-deep);
}

.subhero-action--ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.subhero-action--ghost i {
  color: var(--green-deep);
  background: var(--cream);
}

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

/* New transition: an angled cream ribbon instead of a floating stats card. */
.subhero-photo__transition {
  left: -2% !important;
  right: -2% !important;
  bottom: -1px !important;
  height: 92px !important;
  border-radius: 0 !important;
  background: var(--cream) !important;
  box-shadow: none !important;
  clip-path: polygon(0 58%, 24% 44%, 55% 18%, 78% 34%, 100% 12%, 100% 100%, 0 100%);
}

.subhero-photo__transition::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(-8px);
  background: rgba(223,231,220,.48);
  clip-path: polygon(0 61%, 25% 48%, 55% 23%, 78% 39%, 100% 18%, 100% 31%, 78% 49%, 55% 33%, 25% 58%, 0 70%);
}

.subhero-photo + .section {
  padding-top: 68px !important;
  scroll-margin-top: 110px;
}

@media (max-width: 1024px) {
  .subhero-photo {
    min-height: 650px;
    padding: 124px 0 112px;
  }

  .subhero-photo__content,
  .subhero--about .subhero-photo__content,
  .subhero--location .subhero-photo__content,
  .subhero--contacts .subhero-photo__content {
    max-width: 620px;
    padding-left: 0;
    transform: none;
  }

  .subhero-photo__title,
  .subhero--about .subhero-photo__title,
  .subhero--location .subhero-photo__title,
  .subhero--contacts .subhero-photo__title {
    max-width: 600px;
    font-size: clamp(3.4rem, 8vw, 5.35rem);
  }

  .subhero-photo__transition {
    height: 76px !important;
  }
}

@media (max-width: 700px) {
  .subhero-photo {
    min-height: 680px !important;
    padding: 94px 0 104px !important;
    align-items: flex-end;
  }

  .subhero-photo__content,
  .subhero--about .subhero-photo__content,
  .subhero--location .subhero-photo__content,
  .subhero--contacts .subhero-photo__content {
    max-width: 100%;
    padding-top: 220px;
  }

  .subhero-photo__title,
  .subhero--about .subhero-photo__title,
  .subhero--location .subhero-photo__title,
  .subhero--contacts .subhero-photo__title {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(2.9rem, 12.5vw, 4.15rem);
    line-height: .92;
  }

  .subhero-photo__intro {
    max-width: 96%;
    font-size: .9rem;
    line-height: 1.58;
  }

  .subhero-photo__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    gap: 10px;
    margin-top: 22px;
  }

  .subhero-action {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .subhero-action--ghost {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(34,43,32,.72);
  }

  .subhero-photo__transition {
    height: 58px !important;
    clip-path: polygon(0 62%, 30% 45%, 58% 24%, 80% 39%, 100% 20%, 100% 100%, 0 100%);
  }

  .subhero-photo + .section {
    padding-top: 54px !important;
  }
}

@media (max-width: 390px) {
  .subhero-photo {
    min-height: 700px !important;
  }

  .subhero-photo__content {
    padding-top: 205px;
  }
}

/* ===== FINAL V7 — global mobile spacing, typography, centered footer, clean logo mark ===== */

@media (max-width: 700px) {
  /* Mandatory breathing space across every mobile page and section. */
  :root {
    --mobile-gutter-left: 20px;
    --mobile-gutter-right: 16px;
  }

  .container,
  .hero-portal__inner,
  .subhero-photo__content,
  .section > .container,
  .subpage-section > .container,
  .site-footer > .container {
    width: auto !important;
    max-width: none !important;
    margin-left: var(--mobile-gutter-left) !important;
    margin-right: var(--mobile-gutter-right) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Prevent content from touching the viewport on custom layouts. */
  .split,
  .about-content,
  .section-head,
  .why-head,
  .product-grid,
  .why-grid,
  .subpage-about-grid,
  .subpage-location-grid,
  .subpage-contact-grid,
  .subpage-card-grid,
  .footer__grid,
  .site-footer__top,
  .site-footer__bottom {
    min-width: 0;
  }

  /* Mobile heading scale is intentionally smaller than desktop. */
  h1,
  .hero-portal__title,
  .subhero-photo__title,
  .subhero__title {
    font-size: clamp(2.55rem, 11vw, 3.75rem) !important;
    line-height: .94 !important;
    letter-spacing: -.045em !important;
  }

  h2,
  .section-title,
  .subpage-location-card h2,
  .subpage-contact-info h2,
  .contact-drawer__panel h2 {
    font-size: clamp(2.15rem, 9.2vw, 3.15rem) !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;
  }

  h3,
  .product-card h3,
  .why-card h3,
  .subpage-card h3,
  .subpage-value-card h3 {
    font-size: clamp(1.35rem, 5.8vw, 1.85rem) !important;
    line-height: 1.08 !important;
  }

  /* Compact mobile subpage hero composition. */
  .subhero-photo {
    min-height: auto !important;
    padding-top: 72px !important;
    padding-bottom: 78px !important;
    align-items: flex-start !important;
  }

  .subhero-photo__content,
  .subhero--about .subhero-photo__content,
  .subhero--location .subhero-photo__content,
  .subhero--contacts .subhero-photo__content {
    margin-left: var(--mobile-gutter-left) !important;
    margin-right: 10px !important;
    padding-top: 118px !important;
    transform: none !important;
  }

  .subhero-photo__content .eyebrow {
    margin: 0 0 9px !important;
  }

  .subhero-photo__title {
    margin: 0 0 13px !important;
  }

  .subhero-photo__intro {
    max-width: 96% !important;
    font-size: .86rem !important;
    line-height: 1.52 !important;
  }

  .subhero-photo__actions {
    width: min(100%, 320px) !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }

  .subhero-action {
    min-height: 46px !important;
    padding: 6px 7px 6px 14px !important;
    font-size: .76rem !important;
  }

  .subhero-action i {
    width: 34px !important;
    height: 34px !important;
  }

  /* Use only the pharmacy symbol on mobile — no letter fragment. */
  .header .brand__full,
  .header.is-scrolled .brand__full {
    display: none !important;
  }

  .header .brand__mark,
  .header.is-scrolled .brand__mark {
    display: block !important;
    width: 37px !important;
    height: 37px !important;
    object-fit: contain !important;
  }

  /* Center the entire footer structure on mobile. */
  .site-footer {
    text-align: center;
  }

  .site-footer__top {
    justify-items: center;
    align-items: start;
  }

  .site-footer__brand,
  .site-footer__nav,
  .site-footer__hours,
  .site-footer__contact {
    width: 100%;
    align-items: center !important;
    text-align: center;
  }

  .site-footer__logo {
    margin-inline: auto;
  }

  .site-footer__brand p {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__location {
    justify-content: center;
    text-align: left;
    margin-inline: auto;
  }

  .site-footer__nav a,
  .site-footer__contact > a:not(.site-footer__cta) {
    text-align: center;
  }

  .site-footer__hours {
    justify-items: stretch;
  }

  .site-footer__hours > div {
    width: 100%;
    justify-items: center;
  }

  .site-footer__cta {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__bottom {
    align-items: center;
    text-align: center;
  }

  .site-footer__bottom > div {
    justify-content: center;
  }

  /* Keep cards and forms comfortably inside the viewport. */
  .product-card,
  .why-card,
  .subpage-card,
  .subpage-location-card,
  .subpage-contact-info,
  .subpage-contact-form,
  .contact__panel,
  .contact-drawer__panel {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 390px) {
  :root {
    --mobile-gutter-left: 18px;
    --mobile-gutter-right: 14px;
  }

  .subhero-photo__content,
  .subhero--about .subhero-photo__content,
  .subhero--location .subhero-photo__content,
  .subhero--contacts .subhero-photo__content {
    margin-left: var(--mobile-gutter-left) !important;
    margin-right: 10px !important;
    padding-top: 108px !important;
  }

  h1,
  .hero-portal__title,
  .subhero-photo__title,
  .subhero__title {
    font-size: clamp(2.4rem, 11.5vw, 3.35rem) !important;
  }

  h2,
  .section-title,
  .subpage-location-card h2,
  .subpage-contact-info h2,
  .contact-drawer__panel h2 {
    font-size: clamp(2rem, 9.4vw, 2.85rem) !important;
  }
}

/* ===== FINAL V8 — centered mobile footer, smaller headings, final hours, no hero facts ===== */

.hero-portal__facts {
  display: none !important;
}

@media (max-width: 700px) {
  /* Only the pharmacy symbol is shown in the mobile header. */
  .header .brand__full,
  .header.is-scrolled .brand__full {
    display: none !important;
  }

  .header .brand__mark,
  .header.is-scrolled .brand__mark {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
  }

  /* All footer blocks are centered. */
  .site-footer,
  .site-footer__top,
  .site-footer__brand,
  .site-footer__nav,
  .site-footer__hours,
  .site-footer__contact,
  .site-footer__bottom {
    text-align: center !important;
  }

  .site-footer__top {
    justify-items: center !important;
  }

  .site-footer__brand,
  .site-footer__nav,
  .site-footer__hours,
  .site-footer__contact {
    width: 100% !important;
    align-items: center !important;
  }

  .site-footer__logo {
    margin-inline: auto !important;
  }

  .site-footer__brand p,
  .site-footer__location,
  .site-footer__cta {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-footer__location {
    justify-content: center !important;
    text-align: center !important;
  }

  .site-footer__nav a,
  .site-footer__contact > a:not(.site-footer__cta) {
    text-align: center !important;
  }

  .site-footer__hours {
    justify-items: center !important;
  }

  .site-footer__hours > div {
    width: min(100%, 340px) !important;
    justify-items: center !important;
  }

  .site-footer__bottom {
    align-items: center !important;
  }

  .site-footer__bottom > div {
    justify-content: center !important;
  }

  /* Eyebrows outside the footer retain a subtle 10px left offset. */
  main .eyebrow,
  .subhero-photo__content .eyebrow,
  .section .eyebrow {
    margin-left: 10px !important;
  }

  /* Smaller mobile heading hierarchy than desktop. */
  h1,
  .hero-portal__title,
  .subhero-photo__title,
  .subhero__title {
    font-size: clamp(2.45rem, 10.5vw, 3.55rem) !important;
    line-height: .94 !important;
  }

  h2,
  .section-title,
  .subpage-location-card h2,
  .subpage-contact-info h2,
  .contact-drawer__panel h2 {
    font-size: clamp(1.95rem, 8.5vw, 2.85rem) !important;
    line-height: 1 !important;
  }

  h3,
  .product-card h3,
  .why-card h3,
  .subpage-card h3,
  .subpage-value-card h3 {
    font-size: clamp(1.2rem, 5.2vw, 1.65rem) !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 390px) {
  h1,
  .hero-portal__title,
  .subhero-photo__title,
  .subhero__title {
    font-size: clamp(2.3rem, 10.8vw, 3.15rem) !important;
  }

  h2,
  .section-title,
  .subpage-location-card h2,
  .subpage-contact-info h2,
  .contact-drawer__panel h2 {
    font-size: clamp(1.8rem, 8.8vw, 2.55rem) !important;
  }

  h3,
  .product-card h3,
  .why-card h3,
  .subpage-card h3,
  .subpage-value-card h3 {
    font-size: clamp(1.12rem, 5.4vw, 1.5rem) !important;
  }
}

/* ===== FINAL V9 — mobile footer eyebrow alignment ===== */

@media (max-width: 700px) {
  .site-footer__label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px 10px !important;
    text-align: center !important;
    font-size: 0.9rem;
  }

  /* Footer content remains centered; only the eyebrow labels are left-aligned. */
  .site-footer__nav,
  .site-footer__hours,
  .site-footer__contact {
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  .site-footer__label {
    margin-left: 10px !important;
  }
}

/* ===== FINAL V10 — form feedback, thank-you and 404 pages ===== */

.contact-form__submit {
  position: relative;
  overflow: hidden;
}

.contact-form__submit::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.7);
}

.contact-form__submit.is-loading {
  pointer-events: none;
  opacity: .9;
}

.contact-form__submit.is-loading i {
  opacity: 0;
}

.contact-form__submit.is-loading::after {
  opacity: 1;
  animation: formSpinner .75s linear infinite;
}

.contact-form__submit.is-success {
  background: #52664d !important;
  color: #fff !important;
}

@keyframes formSpinner {
  to { transform: rotate(360deg); }
}

.form-notice {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  width: min(410px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background: rgba(52,65,49,.97);
  box-shadow: 0 24px 64px rgba(24,31,23,.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(.96);
  transition: opacity .3s ease, visibility .3s ease, transform .38s var(--ease);
}

.form-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.form-notice__icon {
  width: 48px;
  height: 48px;
}

.form-notice__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f6f2e9;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-notice.is-visible .form-notice__icon circle {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: noticeCircle .55s ease forwards;
}

.form-notice.is-visible .form-notice__icon path {
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: noticeCheck .4s .35s ease forwards;
}

.form-notice strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Playfair Display";
  font-size: 1.25rem;
  font-weight: 500;
}

.form-notice p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  line-height: 1.5;
}

@keyframes noticeCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes noticeCheck {
  to { stroke-dashoffset: 0; }
}

.utility-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  color: var(--green-deep);
  background:
    radial-gradient(circle at 82% 18%, rgba(223,231,220,.92), transparent 28%),
    var(--cream);
}

.utility-card {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid rgba(52,65,49,.1);
  border-radius: 30px;
  text-align: center;
  background: rgba(246,242,233,.86);
  box-shadow: 0 28px 78px rgba(52,65,49,.12);
}

.utility-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  pointer-events: none;
}

.utility-card__logo {
  width: 168px;
  margin-bottom: 38px;
}

.utility-card__code {
  display: block;
  margin-bottom: 10px;
  color: var(--green-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.utility-card h1 {
  margin: 0;
  font-family: "Playfair Display";
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.055em;
}

.utility-card p {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.utility-card__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.utility-card__symbol {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-deep);
  font-family: "Playfair Display";
  font-size: 2.2rem;
  box-shadow: 0 18px 42px rgba(52,65,49,.2);
}

.utility-page--thank-you .utility-card__symbol {
  animation: utilityPop .6s var(--ease) both;
}

@keyframes utilityPop {
  from { opacity: 0; transform: scale(.5) rotate(-14deg); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .form-notice {
    right: 16px;
    bottom: 16px;
  }

  .utility-page {
    padding: 20px 14px;
  }

  .utility-card {
    padding: 42px 20px;
    border-radius: 22px;
  }

  .utility-card__logo {
    width: 145px;
    margin-bottom: 28px;
  }

  .utility-card h1 {
    font-size: clamp(2.65rem, 13vw, 4rem) !important;
  }

  .utility-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .utility-card__actions .button {
    width: 100%;
  }
}

/* ===== FINAL V11 — corrected homepage hero composition ===== */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero--portal {
  min-height: 100svh;
  padding: 138px 0 82px;
}

.hero-portal__inner {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.hero-portal__inner > .eyebrow {
  margin-bottom: 20px;
}

.hero-portal__title {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(4.7rem, 7.3vw, 7.8rem);
  line-height: .86;
  letter-spacing: -.062em;
  text-wrap: balance;
}

.hero-portal__word {
  display: block;
  white-space: nowrap;
}

.hero-portal__word--one,
.hero-portal__word--two,
.hero-portal__word--three {
  margin-left: 0;
  margin-right: 0;
}

.hero-portal__word--two {
  color: var(--green);
  font-style: italic;
}

.hero-portal__lead {
  max-width: 650px;
  margin-top: 28px;
  font-size: .98rem;
  line-height: 1.65;
}

.hero-portal__actions {
  margin-top: 27px;
}

/* Let the pharmacy image read more clearly without reducing text contrast. */
.hero-home-bg img {
  opacity: .47;
  filter: blur(8px) saturate(.84) contrast(.95);
  transform: scale(1.045);
  object-position: 78% center;
}

.hero-home-bg__veil {
  background:
    linear-gradient(90deg,
      rgba(246,242,233,.96) 0%,
      rgba(246,242,233,.87) 35%,
      rgba(246,242,233,.58) 67%,
      rgba(246,242,233,.27) 100%),
    linear-gradient(180deg,
      rgba(246,242,233,.16),
      rgba(246,242,233,.38));
}

/* Keep the desktop header fully inside the viewport. */
@media (min-width: 1025px) {
  .header:not(.is-scrolled) {
    left: 50% !important;
    right: auto !important;
    width: min(1280px, calc(100vw - 48px)) !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 1024px) {
  .hero-portal__title {
    max-width: 780px;
    font-size: clamp(4rem, 9vw, 6.4rem);
  }

  .hero-portal__word {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .hero--portal {
    min-height: 100svh !important;
    padding: 102px 0 58px !important;
  }

  .hero-portal__inner {
    width: auto !important;
  }

  .hero-portal__inner > .eyebrow {
    margin-bottom: 12px !important;
  }

  .hero-portal__title {
    max-width: 100%;
    font-size: clamp(2.75rem, 12.1vw, 4rem) !important;
    line-height: .93 !important;
    letter-spacing: -.047em !important;
  }

  .hero-portal__word {
    white-space: normal;
  }

  .hero-portal__word--one,
  .hero-portal__word--two {
    margin: 0 !important;
  }

  .hero-portal__lead {
    max-width: 100%;
    margin-top: 18px;
    font-size: .88rem;
    line-height: 1.55;
  }

  .hero-portal__actions {
    margin-top: 20px;
  }

  .hero-home-bg img {
    opacity: .38;
    filter: blur(7px) saturate(.82) contrast(.95);
    transform: scale(1.08);
    object-position: 79% center;
  }

  .hero-home-bg__veil {
    background:
      linear-gradient(180deg,
        rgba(246,242,233,.86) 0%,
        rgba(246,242,233,.67) 47%,
        rgba(246,242,233,.91) 100%),
      linear-gradient(90deg,
        rgba(246,242,233,.78),
        rgba(246,242,233,.28));
  }
}

/* ===== FINAL V12 — real contact endpoint states ===== */

.contact-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form__consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 2px;
  cursor: pointer;
}

.contact-form__consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green-deep);
}

.contact-form__consent span {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}

.contact-form__submit.is-error {
  background: #7a433c !important;
  color: #fff !important;
}

.form-notice.is-error {
  background: rgba(122,67,60,.98);
}

@media (max-width: 700px) {
  .contact-form__consent span {
    font-size: .68rem;
  }
}

/* ===== FINAL CONTENT & REAL PHOTOS ===== */
.brand-assortment{margin-top:72px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;padding:38px;border:1px solid rgba(52,65,49,.12);border-radius:28px;background:rgba(255,255,255,.46)}
.brand-assortment h3{margin:12px 0 16px;font-family:"Playfair Display";font-size:clamp(2.2rem,4vw,4rem);line-height:.95;font-weight:500;letter-spacing:-.045em}
.brand-assortment p{color:var(--muted);line-height:1.7}
.brand-assortment img{width:100%;height:420px;object-fit:cover;border-radius:20px;filter:saturate(.82) contrast(.96)}
.about-photo img,.subpage-photo img,.subpage-wide-photo img{object-fit:cover}
.about-photo img{object-position:center 45%}
.subpage-wide-photo img{max-height:620px;object-position:center 55%}
@media(max-width:900px){.brand-assortment{grid-template-columns:1fr}.brand-assortment img{height:340px}}
@media(max-width:700px){.brand-assortment{margin-top:42px;padding:20px;gap:24px;border-radius:20px}.brand-assortment h3{font-size:clamp(1.8rem,8vw,2.55rem)!important}.brand-assortment img{height:250px}.about-photo img,.subpage-photo img{min-height:300px}}

/* ===== FINAL V16 — editorial photo-led homepage ===== */
.about-redesign{overflow:hidden}
.about-redesign__grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(520px,1.22fr);gap:clamp(52px,7vw,110px);align-items:center}
.about-redesign__copy>p:not(.eyebrow){max-width:620px;color:var(--muted);font-size:.98rem;line-height:1.78}
.about-redesign__lead{margin-top:30px!important;color:var(--green-deep)!important;font-family:"Playfair Display";font-size:clamp(1.45rem,2.3vw,2.15rem)!important;line-height:1.18!important}
.about-redesign__quote{position:relative;margin:34px 0 0;padding:22px 0 0 54px;border-top:1px solid var(--line);color:var(--green-deep);font-family:"Playfair Display";font-size:1.35rem;font-style:italic;line-height:1.25}
.about-redesign__quote:before{content:'“';position:absolute;left:0;top:10px;color:var(--green-light);font-size:4rem;line-height:1}
.photo-story{position:relative;min-height:690px}
.photo-story figure{margin:0;overflow:hidden;background:var(--pale)}
.photo-story img{width:100%;height:100%;object-fit:cover}
.photo-story__main{position:absolute;inset:0 80px 105px 0;border-radius:34px 34px 120px 34px}
.photo-story__main img{object-position:center}
.photo-story__side{position:absolute;right:0;bottom:0;width:44%;height:320px;border:12px solid var(--cream);border-radius:110px 22px 22px 22px;box-shadow:0 25px 55px rgba(52,65,49,.18)}
.photo-story__badge{position:absolute;right:20px;top:36px;display:flex;align-items:center;gap:12px;padding:15px 18px;border-radius:18px;background:rgba(246,242,233,.93);box-shadow:0 20px 45px rgba(52,65,49,.13);backdrop-filter:blur(10px)}
.photo-story__badge img{width:35px;height:35px;object-fit:contain}
.photo-story__badge span{font-size:.72rem;font-weight:700;line-height:1.3}
.photo-story__caption{position:absolute;left:-28px;bottom:42px;width:250px;padding:24px;border-radius:20px;background:var(--green-deep);color:var(--cream);box-shadow:0 25px 50px rgba(52,65,49,.2)}
.photo-story__caption small{display:block;margin-bottom:10px;color:rgba(246,242,233,.58);font-size:.62rem;letter-spacing:.18em}
.photo-story__caption strong{font-family:"Playfair Display";font-size:1.35rem;line-height:1.08;font-weight:500}
.services-redesign{background:var(--green-deep);color:var(--cream)}
.services-redesign .section-title{color:var(--cream)}
.services-redesign .eyebrow{color:rgba(246,242,233,.55)}
.services-redesign__head{display:grid;grid-template-columns:1.15fr .55fr;gap:70px;align-items:end;margin-bottom:60px}
.services-redesign__head .section-intro{color:rgba(246,242,233,.64)}
.services-mosaic{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:205px;gap:18px}
.service-tile{position:relative;overflow:hidden;padding:28px;border:1px solid rgba(246,242,233,.15);border-radius:22px}
.service-tile h3{margin:12px 0 9px;font-family:"Playfair Display";font-size:1.7rem;line-height:1;font-weight:500}
.service-tile p{margin:0;color:rgba(246,242,233,.64);font-size:.84rem;line-height:1.55}
.service-tile small{position:absolute;right:24px;top:23px;color:rgba(246,242,233,.42)}
.service-tile__icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(246,242,233,.22);border-radius:50%;font-family:"Playfair Display";font-size:1.15rem}
.service-tile--large{grid-column:span 7;grid-row:span 2}
.service-tile--plain{grid-column:span 5;background:rgba(255,255,255,.035)}
.service-tile--accent{grid-column:span 5;background:var(--pale);color:var(--green-deep);border-color:transparent}
.service-tile--accent p{color:var(--muted)}
.service-tile--accent small{color:rgba(52,65,49,.4)}
.service-tile--accent .service-tile__icon{border-color:rgba(52,65,49,.18)}
.service-tile--wide{grid-column:span 7}
.service-tile--photo{padding:0}
.service-tile--photo>img{width:100%;height:100%;object-fit:cover;filter:saturate(.8);transition:transform .7s ease}
.service-tile--photo:hover>img{transform:scale(1.035)}
.service-tile--photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(31,43,29,.84))}
.service-tile--photo>div{position:absolute;z-index:2;left:28px;right:28px;bottom:26px}
.service-tile--photo h3{font-size:2.15rem}
.service-tile--photo span{font-size:.68rem;letter-spacing:.12em}
.why-redesign__intro{max-width:580px;color:var(--muted);line-height:1.7}
.why-redesign__layout{display:grid;grid-template-columns:1fr .72fr;gap:26px;align-items:stretch}
.why-redesign__layout .why-grid{grid-template-columns:1fr;gap:14px}
.why-redesign__layout .why-card{min-height:auto;padding:30px 34px}
.why-redesign__photo{position:relative;margin:0;min-height:620px;overflow:hidden;border-radius:26px}
.why-redesign__photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.82)}
.why-redesign__photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(31,43,29,.7))}
.why-redesign__photo figcaption{position:absolute;z-index:2;left:22px;right:22px;bottom:22px;display:flex;flex-wrap:wrap;gap:8px}
.why-redesign__photo figcaption span{padding:9px 12px;border-radius:999px;background:rgba(246,242,233,.9);color:var(--green-deep);font-size:.68rem;font-weight:700;backdrop-filter:blur(8px)}
.brand-assortment--text{grid-template-columns:.75fr 1.25fr;margin-top:26px;background:var(--pale)}
.brand-assortment--text>p{margin:0;font-size:1rem}
@media(max-width:1024px){.about-redesign__grid{grid-template-columns:1fr}.photo-story{min-height:620px;max-width:760px;width:100%;margin:auto}.services-redesign__head,.why-redesign__layout{grid-template-columns:1fr}.why-redesign__photo{min-height:480px}.brand-assortment--text{grid-template-columns:1fr}.services-mosaic{grid-auto-rows:190px}.service-tile--large{grid-column:span 12}.service-tile--plain,.service-tile--accent{grid-column:span 6}.service-tile--wide{grid-column:span 12}}
@media(max-width:700px){.about-redesign__grid{gap:40px}.photo-story{min-height:475px}.photo-story__main{inset:0 30px 72px 0;border-radius:24px 24px 70px 24px}.photo-story__side{width:48%;height:205px;border-width:7px;border-radius:60px 16px 16px 16px}.photo-story__badge{right:6px;top:18px;padding:10px 12px}.photo-story__badge img{width:28px;height:28px}.photo-story__badge span{font-size:.62rem}.photo-story__caption{left:12px;bottom:10px;width:190px;padding:17px}.photo-story__caption strong{font-size:1.05rem}.services-redesign__head{gap:22px;margin-bottom:34px}.services-mosaic{display:grid;grid-template-columns:1fr;grid-auto-rows:auto}.service-tile,.service-tile--large,.service-tile--plain,.service-tile--accent,.service-tile--wide{grid-column:auto;grid-row:auto;min-height:220px}.service-tile--large{min-height:390px}.service-tile--wide{min-height:290px}.why-redesign__photo{min-height:390px}.brand-assortment--text{padding:25px}.about-redesign__quote{padding-left:42px}}

/* Homepage v17 — editorial, image-light composition */
.home-about,.home-services,.home-why{position:relative;overflow:hidden}
.home-about{background:#f6f2e9;padding-block:clamp(90px,11vw,165px)}
.home-about:before{content:"";position:absolute;width:460px;height:460px;border:1px solid rgba(26,73,62,.12);border-radius:50%;right:-190px;top:-180px;animation:slowSpin 22s linear infinite}
.home-about__grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px 110px;align-items:start}
.home-about__heading{position:sticky;top:150px}
.home-about__content{max-width:790px}
.home-about__lead{font-family:var(--serif);font-size:clamp(1.9rem,3vw,3.3rem);line-height:1.12;color:var(--green);margin:0 0 52px}
.home-about__columns{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.home-about__columns p{font-size:1.05rem;line-height:1.85;color:rgba(24,47,41,.76);margin:0}
.home-about__statement{grid-column:1/-1;min-height:330px;background:var(--green);color:#fff;border-radius:36px;padding:clamp(38px,6vw,82px);display:flex;align-items:center;position:relative;isolation:isolate}
.home-about__statement p{font-family:var(--serif);font-size:clamp(2.3rem,5vw,5.7rem);line-height:.98;max-width:960px;margin:0;letter-spacing:-.04em}
.home-about__statement-mark{font-family:var(--serif);font-size:15rem;line-height:.5;opacity:.12;position:absolute;left:28px;top:38px;z-index:-1}
.home-about__orbit{position:absolute;right:7%;width:190px;height:190px;border:1px solid rgba(255,255,255,.18);border-radius:50%;animation:slowSpin 18s linear infinite}
.home-about__orbit:before,.home-about__orbit:after{content:"";position:absolute;inset:22px;border:1px solid rgba(255,255,255,.16);border-radius:50%}.home-about__orbit:after{inset:48px}
.home-about__orbit i{position:absolute;width:10px;height:10px;background:var(--orange);border-radius:50%;left:50%;top:-5px}.home-about__orbit i:nth-child(2){left:auto;right:10px;top:70%}.home-about__orbit i:nth-child(3){top:auto;bottom:15px;left:18px}

.home-services{background:#fff;padding-block:clamp(95px,12vw,175px)}
.home-services:after{content:"АПТЕЧИЦА";position:absolute;right:-.03em;top:40px;font-family:var(--serif);font-size:clamp(6rem,16vw,16rem);line-height:1;color:rgba(26,73,62,.035);pointer-events:none}
.home-services__head{display:grid;grid-template-columns:1.2fr .65fr;gap:80px;align-items:end;margin-bottom:74px}
.service-lines{border-top:1px solid rgba(26,73,62,.18)}
.service-line{display:grid;grid-template-columns:55px 82px 1fr 45px;gap:24px;align-items:center;padding:34px 12px;border-bottom:1px solid rgba(26,73,62,.18);transition:padding .35s ease,background .35s ease,border-radius .35s ease}
.service-line:hover{padding-inline:30px;background:#f6f2e9;border-radius:22px}
.service-line__number{font-size:.75rem;letter-spacing:.12em;color:rgba(26,73,62,.48)}
.service-line__symbol{width:64px;height:64px;border:1px solid rgba(26,73,62,.2);border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:1.35rem;transition:.35s ease}
.service-line:hover .service-line__symbol{background:var(--green);color:#fff;transform:rotate(-8deg)}
.service-line h3{font-family:var(--serif);font-size:clamp(1.45rem,2.4vw,2.45rem);margin:0 0 7px;color:var(--green)}
.service-line p{margin:0;color:rgba(24,47,41,.66);max-width:680px;line-height:1.6}
.service-line__arrow{font-size:1.5rem;transition:transform .35s ease}.service-line:hover .service-line__arrow{transform:translate(5px,-5px)}

.home-why{background:#dce8df;padding-block:clamp(95px,12vw,175px)}
.home-why:before{content:"";position:absolute;width:36vw;height:36vw;min-width:380px;min-height:380px;border-radius:50%;background:rgba(255,255,255,.22);left:-15vw;bottom:-18vw;filter:blur(2px)}
.home-why__grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(60px,10vw,145px);align-items:start}
.home-why__sticky{position:sticky;top:145px}.home-why__sticky>p:last-child{font-size:1.07rem;line-height:1.75;max-width:470px;color:rgba(24,47,41,.7)}
.home-why__cards{display:grid;gap:22px}
.reason-card{position:relative;background:rgba(255,255,255,.72);border:1px solid rgba(26,73,62,.12);border-radius:28px;padding:42px 44px;min-height:250px;transition:transform .35s ease,box-shadow .35s ease}
.reason-card:hover{transform:translateY(-7px);box-shadow:0 22px 50px rgba(26,73,62,.1)}
.reason-card--accent{background:var(--green);color:#fff;margin-left:9%}.reason-card--accent h3{color:#fff}.reason-card--accent p{color:rgba(255,255,255,.75)}
.reason-card>span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid currentColor;font-size:.75rem;margin-bottom:54px;opacity:.75}
.reason-card h3{font-family:var(--serif);font-size:clamp(2rem,3.2vw,3.5rem);line-height:1;margin:0 0 18px;color:var(--green)}
.reason-card p{font-size:1.03rem;line-height:1.7;max-width:650px;margin:0;color:rgba(24,47,41,.69)}
.home-why__closing{display:flex;align-items:center;gap:26px;padding:34px 10px}.home-why__closing span{font-size:2.5rem;color:var(--orange);animation:slowSpin 9s linear infinite}.home-why__closing p{font-family:var(--serif);font-size:clamp(1.35rem,2.3vw,2.25rem);line-height:1.15;max-width:650px;margin:0;color:var(--green)}
@keyframes slowSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){.home-about__grid,.home-why__grid,.home-services__head{grid-template-columns:1fr}.home-about__heading,.home-why__sticky{position:relative;top:auto}.home-about__columns{grid-template-columns:1fr}.home-about__orbit{opacity:.35;right:-45px}.reason-card--accent{margin-left:0}.home-services__head{gap:30px}.service-line{grid-template-columns:42px 60px 1fr}.service-line__arrow{display:none}.service-line__symbol{width:52px;height:52px}.home-about__grid{gap:48px}}
@media(max-width:620px){.home-about__statement{min-height:290px;border-radius:26px}.home-about__statement p{max-width:90%}.home-about__orbit{width:140px;height:140px}.service-line{grid-template-columns:34px 1fr;gap:13px 16px;padding-block:26px}.service-line__symbol{grid-column:1;grid-row:2}.service-line>div:nth-of-type(2){grid-column:2;grid-row:1/3}.service-line__number{grid-column:1}.service-line h3{font-size:1.55rem}.reason-card{padding:32px 28px;min-height:0}.reason-card>span{margin-bottom:36px}}
@media(prefers-reduced-motion:reduce){.home-about:before,.home-about__orbit,.home-why__closing span{animation:none}}

/* ===== Home refinement v18 ===== */
.home-about{padding-block:clamp(92px,10vw,145px)}
.home-about__grid{grid-template-columns:.72fr 1.28fr;gap:62px 104px}
.home-about__title{font-size:clamp(3.1rem,4.8vw,5rem)}
.home-about__content{max-width:820px}
.home-about__lead{
  margin:0 0 44px;
  max-width:760px;
  font-family:Manrope,sans-serif;
  font-size:clamp(1.55rem,2.25vw,2.45rem);
  line-height:1.24;
  font-weight:600;
  letter-spacing:-.035em;
  color:var(--green-deep);
  padding-left:24px;
  border-left:3px solid var(--green);
}
.home-about__copy{display:grid;grid-template-columns:1fr 1fr;gap:46px}
.home-about__copy p{margin:0;font-size:1.04rem;line-height:1.85;color:rgba(34,39,32,.72)}
.home-about__photo{
  grid-column:1/-1;
  position:relative;
  margin:12px 0 0;
  height:clamp(320px,40vw,540px);
  overflow:hidden;
  border-radius:30px;
  background:var(--pale);
}
.home-about__photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 62%,rgba(23,34,27,.42));pointer-events:none}
.home-about__photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 48%;transition:transform 1.1s var(--ease)}
.home-about__photo:hover img{transform:scale(1.025)}
.home-about__photo figcaption{position:absolute;z-index:2;left:32px;bottom:28px;display:flex;flex-direction:column;color:#fff}
.home-about__photo figcaption span{font-size:1rem;font-weight:700}
.home-about__photo figcaption small{margin-top:3px;opacity:.78}

.home-why{padding-block:clamp(95px,11vw,155px);background:#dce8df}
.home-why__head{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:end;padding-bottom:68px;border-bottom:1px solid rgba(52,65,49,.16)}
.home-why__head .section-title{font-size:clamp(3.2rem,5.4vw,5.6rem)}
.home-why__intro{margin:0 0 4px;max-width:680px;font-size:clamp(1.15rem,1.7vw,1.55rem);line-height:1.6;color:var(--green-deep);letter-spacing:-.018em}
.home-why__story{display:grid}
.why-story{display:grid;grid-template-columns:.58fr 1.42fr;gap:70px;padding:64px 0;border-bottom:1px solid rgba(52,65,49,.16)}
.why-story__meta{display:flex;align-items:flex-start;gap:20px}
.why-story__meta span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(52,65,49,.32);border-radius:50%;font-size:.72rem;letter-spacing:.08em}
.why-story__meta strong{max-width:280px;font-size:.86rem;line-height:1.35;letter-spacing:.1em;text-transform:uppercase;color:var(--green-deep)}
.why-story__body{max-width:780px}
.why-story__body>p:first-child{margin:0;font-size:clamp(1.55rem,2.45vw,2.6rem);line-height:1.22;letter-spacing:-.035em;color:var(--green-deep);font-weight:500}
.why-story__features{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 28px}
.why-story__features span{padding:11px 16px;border-radius:999px;background:rgba(255,255,255,.62);border:1px solid rgba(52,65,49,.11);font-size:.82rem;font-weight:700;color:var(--green-deep)}
.why-story__detail{margin:0;max-width:710px;font-size:1.02rem;line-height:1.78;color:rgba(34,39,32,.68)}
.why-story--assortment{border-bottom:0;padding-bottom:6px}
.why-story--assortment .why-story__body>p:first-child{max-width:760px}

@media(max-width:900px){
  .home-about__grid,.home-why__head,.why-story{grid-template-columns:1fr}
  .home-about__heading{position:relative;top:auto}
  .home-about__copy{grid-template-columns:1fr}
  .home-about__photo{height:420px}
  .home-why__head{gap:34px}
  .why-story{gap:30px}
}
@media(max-width:620px){
  .home-about__lead{padding-left:18px;font-size:1.42rem}
  .home-about__photo{height:320px;border-radius:22px}
  .home-about__photo figcaption{left:22px;bottom:20px}
  .home-why__head{padding-bottom:46px}
  .why-story{padding:44px 0}
  .why-story__body>p:first-child{font-size:1.5rem}
}


/* ===== Homepage rhythm + typography refinement v19 ===== */
@media (min-width: 901px) {
  /* Smaller, calmer desktop H2 scale across the site. */
  .section-title,
  .home-about__title,
  .home-why__head .section-title {
    font-size: clamp(2.65rem, 3.75vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .contact__panel h2 {
    font-size: clamp(2.7rem, 3.7vw, 4.15rem);
    line-height: .98;
    letter-spacing: -.035em;
  }

  /* Bring homepage sections closer together so they read as one flow. */
  .home-about {
    padding-top: 82px;
    padding-bottom: 72px;
  }
  .home-about__grid {
    gap: 46px 92px;
  }
  .home-about__lead {
    margin-bottom: 34px;
  }
  .home-about__photo {
    margin-top: 34px;
  }

  .home-why {
    padding-top: 76px;
    padding-bottom: 68px;
  }
  .home-why__head {
    gap: 64px;
    padding-bottom: 48px;
  }
  .why-story {
    padding: 46px 0;
  }

  #locations.section {
    padding-top: 74px;
    padding-bottom: 66px;
  }
  #locations .section-head,
  #locations .locations {
    gap: 52px;
  }

  .section--contact {
    padding-top: 68px;
    padding-bottom: 62px;
  }
  .contact {
    gap: clamp(44px, 5vw, 72px);
  }
}


/* ===== V20 — requested hero, subpage hierarchy and CTA refinements ===== */

/* Homepage: use the new storefront image and reveal more of the actual photo. */
.hero-home-bg img {
  object-position: 50% 50% !important;
  transform: scale(1.015) !important;
  filter: blur(2px) saturate(.94) contrast(.98) !important;
  opacity: .76 !important;
}
.hero-home-bg__veil {
  background:
    linear-gradient(90deg,
      rgba(246,242,233,.94) 0%,
      rgba(246,242,233,.80) 34%,
      rgba(246,242,233,.43) 60%,
      rgba(246,242,233,.10) 100%),
    linear-gradient(0deg, rgba(246,242,233,.20), rgba(246,242,233,.03) 60%, rgba(246,242,233,.10)) !important;
}

/* The About section is intentionally text-only for now. */
.home-about__grid { align-items:start; }

/* Desktop subpage type hierarchy. */
@media (min-width: 901px) {
  /* Location hero should feel more prominent than the body H2 below it. */
  .subhero--location .subhero-photo__title {
    max-width: 760px;
    font-size: clamp(4.35rem, 6.45vw, 7rem);
    line-height: .88;
  }

  /* Match body H2 sizing to the calmer homepage scale. */
  .subpage-location-card h2,
  .subpage-contact-info h2 {
    font-size: clamp(2.65rem, 3.75vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  /* Contacts hero copy sits further left, leaving more of the photo visible. */
  .subhero--contacts .subhero-photo__content {
    max-width: 590px;
    padding-left: 0;
    transform: translateX(-28px);
  }
  .subhero--contacts .subhero-photo__title {
    max-width: 560px;
  }
}

/* More legible working hours on the Contacts page. */
.contact-hours strong {
  display:grid;
  grid-template-columns:minmax(155px,1fr) auto;
  gap:8px 22px;
  align-items:baseline;
  font-weight:600;
}
.contact-hours strong span { color:#fff; font-size: 1rem;}
.contact-hours strong b { color:rgba(255,255,255,.78); font-weight:500; white-space:nowrap; }

/* Warm beige contact CTAs across the site instead of dark buttons. */
.contact-form__submit,
.contact-form--page .contact-form__submit,
.contact-drawer .contact-form__submit,
.site-footer__cta {
  background: var(--cream) !important;
  color: var(--green-deep) !important;
  border: 1px solid rgba(52,65,49,.14) !important;
}
.contact-form__submit i,
.site-footer__cta i {
  background: rgba(52,65,49,.08) !important;
  color: var(--green-deep) !important;
}
.contact-form__submit:hover,
.site-footer__cta:hover {
  background: #eee6d7 !important;
}

/* Submit + quick-call control on the Contacts form. */
.contact-form__actions {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:4px;
}
.contact-form__phone {
  flex:0 0 52px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--cream);
  color:var(--green-deep);
  border:1px solid rgba(52,65,49,.14);
  font-size:1rem;
  transition:transform .25s var(--ease), background .25s var(--ease);
}
.contact-form__phone:hover { transform:translateY(-2px); background:#eee6d7; }

@media (max-width: 1024px) {
  .hero-home-bg img {
    object-position: 52% center !important;
    transform: scale(1.025) !important;
    filter: blur(2px) saturate(.92) contrast(.98) !important;
    opacity: .70 !important;
  }
}

@media (max-width: 700px) {
  .hero-home-bg img {
    object-position: 52% center !important;
    transform: scale(1.04) !important;
    filter: blur(1.5px) saturate(.92) contrast(.98) !important;
    opacity: .65 !important;
  }
  .contact-hours strong { grid-template-columns:1fr auto; gap:7px 14px; }
  .contact-form__actions { align-items:stretch; }
  .contact-form__submit { flex:1 1 auto; width:auto !important; }
  .contact-form__phone { flex-basis:48px; width:48px; height:48px; }
}

/* ===== V21 — refined subpage composition ===== */
@media (min-width: 901px) {
  /* Keep hero copy compact and toward the left so photography remains visible. */
  .subhero-photo__content,
  .subhero--about .subhero-photo__content,
  .subhero--location .subhero-photo__content,
  .subhero--contacts .subhero-photo__content {
    max-width: 610px;
    padding-left: 0;
    transform: translate(-42px, -8px);
  }

  .subhero-photo__title,
  .subhero--about .subhero-photo__title,
  .subhero--contacts .subhero-photo__title {
    max-width: 570px;
    font-size: clamp(3.15rem, 4.8vw, 5.15rem);
    line-height: .94;
    letter-spacing: -.05em;
  }

  /* Location remains intentionally a little stronger, but still leaves room for the photo. */
  .subhero--location .subhero-photo__title {
    max-width: 650px;
    font-size: clamp(3.8rem, 5.55vw, 5.9rem);
    line-height: .91;
  }

  .subhero-photo__intro { max-width: 510px; }
}

/* Clear warm-beige actions: beige shell, black copy and black icon treatment. */
.subhero-action--primary,
.subhero-action--ghost,
.contact-form__submit,
.contact-form--page .contact-form__submit,
.contact-drawer .contact-form__submit,
.site-footer__cta,
.contact-form__phone {
  background: #e9dfce !important;
  color: #111 !important;
  border: 1px solid rgba(17,17,17,.14) !important;
  box-shadow: 0 10px 28px rgba(17,17,17,.07);
}

.subhero-action--primary i,
.subhero-action--ghost i,
.contact-form__submit i,
.site-footer__cta i,
.contact-form__phone span {
  background: rgba(17,17,17 / 0%) !important;
  color: #ffffff !important;
}

.subhero-action--primary:hover,
.subhero-action--ghost:hover,
.contact-form__submit:hover,
.site-footer__cta:hover,
.contact-form__phone:hover {
  background: #dfd1bb !important;
  color: #111 !important;
}

/* About photo: give the chosen storefront image a natural editorial crop. */
.subpage-about-grid .subpage-photo img {
  object-position: center center;
}
.subpage-about-grid .subpage-photo figcaption strong {
  display:block;
  max-width: 420px;
  line-height: 1.35;
}

/* ===== V22 — subpage alignment, softer homepage photo and About differentiation ===== */
@media (min-width: 901px) {
  /* Move the complete subpage hero copy together, not only the H1. */
  .subpage .subhero-photo__content,
  .subpage .subhero--about .subhero-photo__content,
  .subpage .subhero--location .subhero-photo__content,
  .subpage .subhero--contacts .subhero-photo__content {
    margin-left: 200px;
    transform: translateY(-8px) !important;
  }
}

/* Homepage storefront stays present, but becomes a quieter visual layer. */
.hero-home-bg img {
  opacity: .54 !important;
}
.hero-home-bg__veil {
  background:
    linear-gradient(90deg,
      rgba(246,242,233,.97) 0%,
      rgba(246,242,233,.88) 34%,
      rgba(246,242,233,.61) 60%,
      rgba(246,242,233,.28) 100%),
    linear-gradient(0deg, rgba(246,242,233,.28), rgba(246,242,233,.08) 60%, rgba(246,242,233,.16)) !important;
}

/* Only the persistent PHONE action becomes beige; location remains green. */
.quick-rail__button[href^="tel:"] {
  background: #e9dfce !important;
  color: #111 !important;
  border: 1px solid rgba(17,17,17,.12);
  box-shadow: 0 14px 34px rgba(52,65,49,.15);
}
.quick-rail__button[href^="tel:"]:hover {
  background: #dfd1bb !important;
  color: #111 !important;
}

/* About page — distinct Why Us treatment, deliberately not copied from homepage. */
.about-why {
  overflow: hidden;
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(76px, 9vw, 126px);
  background:
    radial-gradient(circle at 8% 12%, rgba(223,231,220,.72), transparent 28%),
    linear-gradient(180deg, #f1eadf 0%, #f6f2e9 100%);
}
.about-why::before {
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-190px;
  top:-170px;
  border:1px solid rgba(52,65,49,.1);
  border-radius:50%;
  animation: aboutWhyOrbit 10s ease-in-out infinite alternate;
}
.about-why__grid {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(58px,8vw,126px);
  align-items:start;
}
.about-why__intro {
  position:sticky;
  top:140px;
}
.about-why__intro h2 {
  margin:14px 0 24px;
  max-width:10.5em;
  font-family:"Playfair Display", serif;
  font-size:clamp(2.7rem,3.9vw,4.35rem);
  line-height:1;
  letter-spacing:-.04em;
  font-weight:500;
}
.about-why__intro > p:last-child {
  max-width:520px;
  color:var(--muted);
  line-height:1.8;
}
.about-why__list {
  border-top:1px solid rgba(52,65,49,.18);
}
.about-why__item {
  display:grid;
  grid-template-columns:70px 1fr;
  gap:24px;
  padding:34px 0 36px;
  border-bottom:1px solid rgba(52,65,49,.18);
  transition:padding-left .35s var(--ease), background .35s var(--ease);
}
.about-why__item:hover {
  padding-left:14px;
}
.about-why__number {
  padding-top:6px;
  color:var(--green-light);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
}
.about-why__item h3 {
  margin:0 0 13px;
  font-family:"Playfair Display",serif;
  font-size:clamp(1.65rem,2.2vw,2.35rem);
  line-height:1.08;
  font-weight:500;
  letter-spacing:-.025em;
}
.about-why__item p {
  margin:0;
  max-width:680px;
  color:var(--muted);
  line-height:1.75;
}
.about-why__tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.about-why__tags span {
  padding:8px 11px;
  border:1px solid rgba(52,65,49,.14);
  border-radius:999px;
  background:rgba(255,255,255,.34);
  color:var(--green-deep);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
}
@keyframes aboutWhyOrbit {
  from { transform:translate3d(0,0,0) rotate(0deg); }
  to { transform:translate3d(-34px,26px,0) rotate(18deg); }
}

@media (max-width: 1024px) {
  .hero-home-bg img { opacity:.50 !important; }
}
@media (max-width: 900px) {
  .about-why__grid { grid-template-columns:1fr; gap:42px; }
  .about-why__intro { position:static; }
}
@media (max-width: 700px) {
  .hero-home-bg img { opacity:.48 !important; }
  .about-why__item { grid-template-columns:46px 1fr; gap:14px; padding:27px 0 29px; }
  .about-why__item:hover { padding-left:0; }
}


/* Legal pages */
.legal-page { padding: 72px 0 96px; }
.legal-page__inner { max-width: 980px; }
.legal-page__heading { max-width: 760px; margin-bottom: 46px; }
.legal-page__heading h2 { margin: 10px 0 12px; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; }
.legal-page__heading > p:last-child { margin: 0; opacity: .62; }
.legal-page__content { display: grid; gap: 0; border-top: 1px solid rgba(20, 48, 40, .16); }
.legal-page__content section { padding: 30px 0; border-bottom: 1px solid rgba(20, 48, 40, .16); }
.legal-page__content h3 { margin: 0 0 12px; font-size: 1.15rem; line-height: 1.25; }
.legal-page__content p { max-width: 820px; margin: 0; line-height: 1.75; }
.legal-page__content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) {
  .legal-page { padding: 54px 0 72px; }
  .legal-page__heading { margin-bottom: 32px; }
  .legal-page__content section { padding: 24px 0; }
}


/* ===== Homepage hero — image-first layout ===== */
.hero--photo-bg .hero-home-bg img {
  object-position: center 52%;
  transform: scale(1.015);
  filter: saturate(.9) contrast(.96);
  opacity: 1;
}

.hero--photo-bg .hero-home-bg__veil {
  background:
    linear-gradient(
      180deg,
      rgba(246,242,233,.76) 0%,
      rgba(246,242,233,.58) 26%,
      rgba(246,242,233,.36) 55%,
      rgba(246,242,233,.18) 78%,
      rgba(246,242,233,.10) 100%
    ),
    linear-gradient(
      90deg,
      rgba(52,65,49,.05) 0%,
      transparent 32%,
      transparent 72%,
      rgba(52,65,49,.04) 100%
    );
}

.hero--photo-bg .hero-portal__inner--actions-only {
  min-height: calc(100svh - 204px);
  justify-content: flex-end;
  padding-bottom: 34px;
}

.hero--photo-bg .hero-portal__actions {
  margin-top: 0;
  padding: 12px;
  border-radius: 999px;
  background: rgba(246,242,233,.16);
  border: 1px solid rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  .hero--photo-bg .hero-home-bg img {
    object-position: 58% center;
    transform: scale(1.02);
  }

  .hero--photo-bg .hero-home-bg__veil {
    background: linear-gradient(
      180deg,
      rgba(246,242,233,.72) 0%,
      rgba(246,242,233,.48) 38%,
      rgba(246,242,233,.24) 68%,
      rgba(246,242,233,.14) 100%
    );
  }

  .hero--photo-bg .hero-portal__inner--actions-only,
  body.portal-complete .hero--photo-bg .hero-portal__inner--actions-only {
    min-height: 76svh !important;
    justify-content: flex-end !important;
    padding-top: 84px !important;
    padding-bottom: 28px !important;
  }

  .hero--photo-bg .hero-portal__actions {
    width: min(100%, 360px);
    padding: 8px;
    border-radius: 28px;
  }
}


/* ===== Homepage hero — centered brand mark ===== */
.hero--photo-bg .hero-portal__center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(560px, 48vw);
  transform: translate(-50%, -54%);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero--photo-bg .hero-portal__center-logo::before {
  content: "";
  position: absolute;
  inset: -34% -20%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(246,242,233,.48) 0%, rgba(246,242,233,.20) 44%, transparent 72%);
  filter: blur(18px);
}

.hero--photo-bg .hero-portal__center-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: .84;
  filter: drop-shadow(0 10px 28px rgba(246,242,233,.42));
  mix-blend-mode: multiply;
}

@media (max-width: 700px) {
  .hero--photo-bg .hero-portal__center-logo {
    width: min(76vw, 390px);
    top: 47%;
    transform: translate(-50%, -50%);
  }

  .hero--photo-bg .hero-portal__center-logo img {
    opacity: .88;
  }
}
