:root {
  --black: #1a1a1a;
  --text: #333333;
  --muted: #6a6a6a;
  --gold: #bf964a;
  --champagne: #c9a96a;
  --paper: #faf7f2;
  --cream: #f8f3eb;
  --line: #e8ded0;
  --white: #ffffff;
  --serif: "Crimson Text", Georgia, serif;
  --sans: "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(34px, 6vw, 112px);
  background: rgba(250, 247, 242, 0.98);
  border-bottom: 1px solid rgba(232, 222, 208, 0.4);
  transition: box-shadow 250ms ease, height 250ms ease;
}
.site-header.is-scrolled {
  height: 68px;
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 160px;
  min-width: 160px;
  height: 64px;
}
.brand img {
  width: auto;
  height: 64px;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 3.2vw, 54px);
  font-size: 21px;
  font-family: var(--serif);
  font-weight: 600;
}
.site-nav a.active,
.site-nav a:hover { color: var(--gold); }
.header-tools {
  justify-self: end;
  display: flex;
  gap: 28px;
  align-items: center;
}
.tool-button {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.search-open::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--black);
  border-radius: 50%;
  left: 0;
  top: 0;
}
.search-open::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: var(--black);
  transform: rotate(45deg);
  right: 0;
  bottom: 2px;
}
.account-button::before {
  content: "";
  position: absolute;
  inset: 1px 4px 9px;
  border: 2px solid var(--black);
  border-radius: 50%;
}
.account-button::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 0;
  height: 8px;
  border: 2px solid var(--black);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 0;
}
.cart-open::before {
  content: "";
  position: absolute;
  inset: 6px 2px 1px;
  border: 2px solid var(--black);
}
.cart-open::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 7px;
  border: 2px solid var(--black);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.cart-count {
  position: absolute;
  top: -12px;
  right: -13px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  margin-top: 0;
  background:
    url("./assets/cosma/template-banner.webp") right 8% center / min(34vw, 480px) auto no-repeat,
    var(--paper);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding-top: 0;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 34px;
  padding: 0 18px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 34px rgba(26, 26, 26, 0.04);
  color: #5d5954;
  font-family: var(--sans);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.hero-kicker span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #86cfc2;
  box-shadow: 0 0 0 6px rgba(134, 207, 194, 0.15);
}
.hero h1 {
  max-width: 540px;
  font-family: var(--sans);
  font-size: clamp(50px, 5.3vw, 82px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 0.98;
  margin: 0 0 26px;
}
.hero h1 em {
  display: inline-block;
  color: #77716d;
  font-style: italic;
  font-weight: 300;
}
.hero-subtitle {
  max-width: 500px;
  margin: 0 0 42px;
  font-family: var(--sans);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 400;
  line-height: 1.55;
  color: #5d5a56;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 54px;
}
.analysis-button,
.demo-button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.analysis-button {
  min-width: 220px;
  background: var(--black);
  color: #fff;
  box-shadow: 0 20px 44px rgba(26, 26, 26, 0.1);
}
.analysis-button span {
  font-size: 24px;
  line-height: 1;
}
.demo-button {
  min-width: 210px;
  border: 2px solid rgba(26, 26, 26, 0.14);
  background: rgba(250, 247, 242, 0.22);
  color: var(--black);
}
.demo-button span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--black);
}
.verified-line {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #a19c95;
  font-family: var(--sans);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.shield-mark {
  position: relative;
  width: 22px;
  height: 26px;
  display: inline-block;
  background: #9e9991;
  clip-path: polygon(50% 0, 92% 16%, 88% 56%, 50% 100%, 12% 56%, 8% 16%);
}

.ecosystem-section {
  position: relative;
  margin-top: clamp(34px, 5vw, 72px);
  padding: clamp(64px, 6vw, 94px) 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 169, 106, 0.13), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, #fffdf9 18%, var(--cream) 100%);
  overflow: hidden;
}
.ecosystem-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1120px, calc(100% - 44px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 150, 74, 0.32), transparent);
  transform: translateX(-50%);
}
.ecosystem-container {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(50px, 6vw, 92px);
  align-items: center;
}
.ecosystem-canvas {
  position: relative;
  min-height: clamp(400px, 36vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecosystem-glow {
  position: absolute;
  width: clamp(210px, 22vw, 310px);
  height: clamp(210px, 22vw, 310px);
  border-radius: 50%;
  background: #ead8c3;
  opacity: 0.34;
  filter: blur(74px);
  transition: background 520ms ease, opacity 520ms ease, transform 520ms ease;
}
.twin-glass-card {
  position: relative;
  width: min(100%, 326px);
  aspect-ratio: 3 / 4;
  padding: 22px;
  border: 1px solid rgba(44, 42, 41, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 28px 70px rgba(44, 42, 41, 0.09);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.twin-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), transparent 42%, rgba(201, 169, 106, 0.08));
  pointer-events: none;
}
.mesh-box-border {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px dashed rgba(44, 42, 41, 0.2);
  border-radius: 27px;
  text-align: center;
  transition: border-color 340ms ease, background 340ms ease;
}
.system-status {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.canvas-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 28px 0;
  border-radius: 50%;
  color: var(--champagne);
  opacity: 0.52;
  transition: opacity 340ms ease, transform 420ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.canvas-icon::before,
.canvas-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.canvas-icon::after {
  inset: 26px 18px 13px;
  border-top: 0;
  border-radius: 0 0 24px 24px;
}
.canvas-icon-environment::before {
  inset: 18px;
  background: currentColor;
  box-shadow:
    0 -28px 0 -21px currentColor,
    0 28px 0 -21px currentColor,
    28px 0 0 -21px currentColor,
    -28px 0 0 -21px currentColor,
    20px 20px 0 -21px currentColor,
    -20px 20px 0 -21px currentColor,
    20px -20px 0 -21px currentColor,
    -20px -20px 0 -21px currentColor;
}
.canvas-icon-environment::after { display: none; }
.canvas-icon-biometric {
  border: 1px solid rgba(201, 169, 106, 0.34);
}
.canvas-icon-biometric::before {
  inset: 14px;
  border-radius: 46% 54% 50% 50%;
  transform: rotate(18deg);
}
.canvas-icon-biometric::after {
  inset: 24px 10px;
  border-radius: 50%;
  border-left-color: transparent;
  border-right-color: transparent;
}
.canvas-icon-behavioral::before {
  inset: 18px 10px 16px;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
}
.canvas-icon-behavioral::after {
  inset: 22px 14px 19px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, transparent 46%, currentColor 47% 53%, transparent 54%);
}
.canvas-icon-clinical::before {
  inset: 10px 24px 30px;
  border-top: 0;
  border-radius: 0 0 24px 24px;
}
.canvas-icon-clinical::after {
  inset: auto 18px 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.canvas-text {
  max-width: 230px;
  margin: 0;
  color: rgba(44, 42, 41, 0.62);
  font-size: 14px;
  line-height: 1.55;
}
.scanner-line {
  position: absolute;
  left: 0;
  z-index: 2;
  display: none;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(191, 150, 74, 0.9), transparent);
  box-shadow: 0 0 28px rgba(191, 150, 74, 0.44);
  animation: scanEffect 2s linear infinite;
}
.ecosystem-copy {
  max-width: 560px;
}
.ecosystem-tagline {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.ecosystem-copy h2 {
  margin: 0 0 18px;
  color: var(--black);
  font-family: var(--sans);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -1.4px;
  line-height: 1.08;
}
.ecosystem-copy h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.ecosystem-copy > p {
  max-width: 520px;
  margin: 0 0 30px;
  color: rgba(44, 42, 41, 0.7);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
}
.ecosystem-stack {
  display: grid;
  gap: 12px;
}
.ecosystem-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 1.65vw, 21px);
  border: 1px solid rgba(44, 42, 41, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 15px 38px rgba(44, 42, 41, 0.04);
  cursor: default;
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}
.ecosystem-card:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(191, 150, 74, 0.38);
  box-shadow: 0 22px 46px rgba(44, 42, 41, 0.07);
  transform: translateY(-3px);
}
.ecosystem-card-layout {
  display: flex;
  gap: 18px;
}
.ecosystem-badge {
  flex: 0 0 auto;
  min-width: 40px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(44, 42, 41, 0.05);
  color: rgba(44, 42, 41, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  transition: background 260ms ease, color 260ms ease;
}
.ecosystem-card:hover .ecosystem-badge {
  background: rgba(191, 150, 74, 0.14);
  color: var(--gold);
}
.ecosystem-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
}
.ecosystem-card p {
  max-height: 39px;
  margin: 8px 0 0;
  color: rgba(44, 42, 41, 0.68);
  font-size: 14px;
  line-height: 1.48;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.ecosystem-card:hover p {
  max-height: 110px;
}
.ecosystem-arrow {
  flex: 0 0 auto;
  color: rgba(44, 42, 41, 0.26);
  font-size: 24px;
  line-height: 1;
  transition: color 260ms ease, transform 260ms ease;
}
.ecosystem-card:hover .ecosystem-arrow {
  color: var(--gold);
  transform: translateX(6px);
}
.ecosystem-glow.is-environment { background: #f0c28d; opacity: 0.5; transform: scale(1.1); }
.ecosystem-glow.is-biometric { background: #98d8cf; opacity: 0.45; transform: scale(1.08); }
.ecosystem-glow.is-behavioral { background: #d7bfdc; opacity: 0.42; transform: scale(1.06); }
.ecosystem-glow.is-clinical { background: #b8cdec; opacity: 0.45; transform: scale(1.08); }

@keyframes scanEffect {
  0% { top: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--black);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.text-link::after {
  content: "";
  width: 35px;
  height: 1px;
  background: currentColor;
  box-shadow: 12px 0 0 currentColor;
}
.text-link:hover { color: var(--gold); }

.beauty-orbit {
  --orbit-x: 0px;
  --orbit-y: 0px;
  position: absolute;
  z-index: 3;
  right: clamp(18px, 6.5vw, 100px);
  top: clamp(118px, 13vw, 158px);
  width: min(38vw, 510px);
  aspect-ratio: 1 / 1.08;
  pointer-events: none;
  transform: translate3d(var(--orbit-x), var(--orbit-y), 0);
  transition: transform 500ms ease;
}
.beauty-orbit::before {
  content: "";
  position: absolute;
  inset: 21% 13% 4% 12%;
  border-radius: 48% 52% 47% 53%;
  background: radial-gradient(circle at 45% 34%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 58%);
  filter: blur(4px);
  mix-blend-mode: screen;
}
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.38));
  transform-origin: center;
}
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 34px rgba(191, 150, 74, 0.48);
  display: none;
}
.orbit-ring-one {
  left: -1%;
  top: 9%;
  width: 106%;
  height: 102%;
  border-left-color: rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.22);
  border-right-color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.86);
  animation: elegantOrbit 6.5s ease-in-out infinite;
}
.orbit-ring-one::after {
  right: 18%;
  bottom: 5%;
}
.orbit-ring-two {
  left: 5%;
  top: 15%;
  width: 94%;
  height: 91%;
  border-right-color: rgba(255, 255, 255, 0.18);
  border-left-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.72);
  animation: elegantOrbitReverse 7.5s ease-in-out infinite;
}
.orbit-ring-two::after {
  left: 14%;
  top: 64%;
}
.orbit-ring-three {
  left: -6%;
  top: 22%;
  width: 112%;
  height: 81%;
  opacity: 0.58;
  border-top-color: transparent;
  border-left-color: rgba(255, 255, 255, 0.14);
  border-right-color: rgba(255, 255, 255, 0.42);
  animation: ringBreathe 4.8s ease-in-out infinite;
}
.orbit-ring-three::after {
  right: 22%;
  top: 76%;
}
.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px #fff, 0 0 28px rgba(191, 150, 74, 0.54);
  animation: dotPulse 2.8s ease-in-out infinite;
}
.dot-one { left: 34%; top: 19%; animation-delay: 0.2s; }
.dot-two { left: 82%; top: 39%; animation-delay: 0.9s; }
.dot-three { left: 91%; top: 61%; animation-delay: 1.4s; }
.dot-four { left: 63%; top: 94%; animation-delay: 1.9s; }
.dot-five { left: 13%; top: 62%; animation-delay: 2.4s; }
.skin-chip {
  position: absolute;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: auto;
  cursor: default;
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
  animation: chipFloat 6s ease-in-out infinite;
  transform: translate(-50%, -50%);
}
.skin-chip::before {
  display: none;
}
.skin-chip:hover {
  transform: translate(-50%, -50%) translateY(-6px) scale(1.04);
}
.skin-chip small {
  color: #766d64;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  max-width: 96px;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.78);
}
.skin-chip strong {
  color: var(--black);
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.84);
}
.chip-icon {
  position: relative;
  width: 23px;
  height: 23px;
  display: block;
  color: var(--champagne);
  filter: drop-shadow(0 3px 12px rgba(201, 169, 106, 0.28));
}
.chip-icon.scanner {
  border: 2px solid currentColor;
  border-radius: 8px;
}
.chip-icon.scanner::before,
.chip-icon.scanner::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.chip-icon.scanner::before {
  left: 5px;
  right: 5px;
  top: 50%;
  height: 2px;
}
.chip-icon.scanner::after {
  top: 5px;
  bottom: 5px;
  left: 50%;
  width: 2px;
}
.chip-icon.dermatology {
  border: 2px solid currentColor;
  border-radius: 50%;
}
.chip-icon.dermatology::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 11px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 9px 9px;
}
.chip-icon.dermatology::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.chip-icon.pollen {
  border-radius: 50%;
  border: 2px solid currentColor;
}
.chip-icon.pollen::before,
.chip-icon.pollen::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.chip-icon.pollen::before {
  inset: -5px 7px;
}
.chip-icon.pollen::after {
  inset: 7px -5px;
}
.chip-icon.humidity {
  border: 2px solid currentColor;
  border-radius: 52% 48% 55% 45%;
  transform: rotate(45deg);
}
.chip-icon.aqi {
  width: 30px;
  height: 21px;
}
.chip-icon.aqi::before,
.chip-icon.aqi::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: #2867ee;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor;
}
.chip-icon.aqi::before {
  top: 4px;
}
.chip-icon.aqi::after {
  bottom: 4px;
  width: 20px;
}
.chip-icon.sun::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #ee7f08;
  box-shadow:
    0 -14px 0 -8px #ee7f08,
    0 14px 0 -8px #ee7f08,
    14px 0 0 -8px #ee7f08,
    -14px 0 0 -8px #ee7f08,
    10px 10px 0 -8px #ee7f08,
    -10px 10px 0 -8px #ee7f08,
    10px -10px 0 -8px #ee7f08,
    -10px -10px 0 -8px #ee7f08;
}
.chip-scanner {
  left: 96%;
  top: 50%;
}
.chip-pollen {
  left: 72%;
  top: 92%;
  animation-delay: 1.1s;
}
.chip-aqi {
  left: 4%;
  top: 50%;
  animation-delay: 2s;
}
.chip-humidity {
  left: 28%;
  top: 92%;
  animation-delay: 2.7s;
}
.chip-dermatology {
  left: 50%;
  top: -14%;
  animation-delay: 1.6s;
}

@keyframes elegantOrbit {
  0%, 100% { transform: rotate(-18deg) scale(0.98); opacity: 0.64; }
  50% { transform: rotate(-11deg) scale(1.02); opacity: 0.88; }
}
@keyframes elegantOrbitReverse {
  0%, 100% { transform: rotate(12deg) scale(1); opacity: 0.48; }
  50% { transform: rotate(6deg) scale(1.03); opacity: 0.76; }
}
@keyframes ringBreathe {
  0%, 100% { transform: rotate(-9deg) scale(0.97); opacity: 0.34; }
  50% { transform: rotate(-3deg) scale(1.02); opacity: 0.62; }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(0.72); opacity: 0.58; }
  50% { transform: scale(1.24); opacity: 1; }
}
@keyframes chipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.section-pad { padding: 128px 0; }
.about-section { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}
.framed-image {
  position: relative;
  border-top: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  padding: 38px 0;
}
.framed-image img:first-child {
  width: 515px;
  height: 341px;
  object-fit: cover;
  margin-left: 36px;
}
.spin-badge {
  position: absolute;
  right: -58px;
  top: -36px;
  width: 104px;
  animation: spin 13s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy h2,
.section-title h2,
.care-list h3,
.simple-product h3,
.journal-layout h3,
.social-title h2,
.limited-section h2 {
  font-family: var(--serif);
  font-weight: 400;
}
.about-copy h2 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 22px;
}
p {
  color: var(--muted);
  line-height: 1.8;
}
.about-copy p { max-width: 415px; margin-bottom: 36px; }

.featured-products,
.shop-section,
.journal-section,
.limited-section {
  background: var(--paper);
}
.section-title {
  text-align: center;
  margin: 0 auto 72px;
}
.section-title span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
}
.section-title span::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  margin: 9px auto 0;
  background: var(--black);
}
.section-title h2 {
  font-size: 48px;
  line-height: 1.05;
  margin: 0 0 15px;
}
.section-title p { margin: 0; }
.product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 92px;
  max-width: 930px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 58px;
  row-gap: 92px;
}
.simple-product {
  text-align: center;
}
.simple-product img {
  height: 315px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(26, 26, 26, 0.16));
  transition: transform 450ms ease;
}
.simple-product:hover img { transform: translateY(-12px); }
.simple-product h3 {
  margin: 28px 0 7px;
  font-size: 24px;
}
.rating,
.stars {
  color: #f0b500;
  letter-spacing: 2px;
}
.rating span {
  color: var(--black);
  letter-spacing: 0;
}
.simple-product p,
.simple-product a {
  margin: 8px 0 0;
  color: var(--black);
  font-family: var(--serif);
  font-size: 16px;
}
.simple-product a { text-decoration: underline; }
.simple-product .add-to-cart-button {
  margin: 14px 0 0;
  min-width: 170px;
  padding: 12px 18px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: transparent;
  color: var(--black);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.simple-product .add-to-cart-button:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}
.product-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.favorite-button {
  min-width: 170px;
  padding: 12px 18px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--black);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.favorite-button:hover {
  background: rgba(191, 150, 74, 0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.cart-drawer {
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  padding: 90px 36px;
  transform: translateX(100%);
  box-shadow: -24px 0 60px rgba(26, 26, 26, 0.14);
  border-left: 1px solid rgba(26, 26, 26, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,243,235,0.98) 100%);
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.cart-label {
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  color: var(--muted);
}
.cart-status {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}
.cart-content {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
}
.cart-empty {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 16px;
}
.cart-item-details h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.cart-item-details p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.cart-footer {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(26, 26, 26, 0.03);
  font-family: var(--serif);
}
.cart-total span {
  color: var(--muted);
}
.cart-total strong {
  font-size: 18px;
}
.cart-checkout {
  width: 100%;
}
.center-link {
  width: max-content;
  margin: 70px auto 0;
  display: flex;
}

.body-care {
  background: #faf3eb;
}
.body-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: center;
}
.care-list {
  display: grid;
  gap: 52px;
}
.care-list article {
  position: relative;
  padding-left: 58px;
}
.care-list img {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.care-list h3 {
  font-size: 29px;
  margin: 0 0 14px;
}
.care-list p { margin: 0 0 22px; }
.hotspot-wrap {
  position: relative;
}
.hotspot-wrap > img {
  width: 100%;
  mix-blend-mode: multiply;
}
.hotspot {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #91624b;
}
.hotspot span {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 120px;
  padding: 7px 9px;
  background: var(--black);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
  font-size: 12px;
}
.hotspot:hover span { opacity: 1; transform: translateX(-50%) translateY(0); }
.hotspot.one { left: 41%; top: 42%; }
.hotspot.two { left: 67%; top: 58%; }
.hotspot.three { left: 70%; top: 9%; }

.concern-journey {
  position: relative;
  padding: clamp(72px, 7vw, 106px) 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(191, 150, 74, 0.12), transparent 28%),
    linear-gradient(180deg, #faf3eb 0%, #fffdf9 24%, var(--paper) 100%);
}
.concern-journey::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1120px, calc(100% - 44px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 150, 74, 0.26), transparent);
  transform: translateX(-50%);
}
.concern-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 44px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  border: 1px solid rgba(44, 42, 41, 0.07);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 28px 80px rgba(44, 42, 41, 0.06);
  overflow: hidden;
}
.concern-directory {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  padding: clamp(34px, 4.2vw, 58px);
  background: rgba(250, 246, 240, 0.86);
  border-right: 1px solid rgba(44, 42, 41, 0.07);
}
.concern-meta span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.concern-meta h2 {
  max-width: 340px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.12;
}
.concern-meta em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.concern-nav {
  position: relative;
  display: grid;
  gap: 14px;
}
.concern-nav::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: rgba(44, 42, 41, 0.08);
}
.concern-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.concern-row:hover,
.concern-row.is-active {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(44, 42, 41, 0.06);
  box-shadow: 0 14px 34px rgba(44, 42, 41, 0.05);
  transform: translateY(-1px);
}
.concern-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(44, 42, 41, 0.18);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.concern-row.is-active .concern-dot {
  background: var(--black);
  box-shadow: 0 0 0 5px rgba(191, 150, 74, 0.18);
  transform: scale(1.2);
}
.concern-text {
  display: grid;
  gap: 5px;
}
.concern-text small {
  color: rgba(44, 42, 41, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.concern-text strong {
  color: rgba(44, 42, 41, 0.68);
  font-size: 17px;
  font-weight: 500;
}
.concern-row.is-active .concern-text strong {
  color: var(--black);
}
.concern-directory > p {
  max-width: 330px;
  margin: 0;
  color: rgba(44, 42, 41, 0.55);
  font-size: 14px;
  line-height: 1.65;
}
.concern-viewport {
  position: relative;
  min-height: 640px;
  padding: clamp(34px, 4.3vw, 58px);
  background: rgba(255, 255, 255, 0.4);
}
.concern-stage {
  position: absolute;
  inset: clamp(34px, 4.3vw, 58px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 320ms ease;
}
.concern-stage.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.concern-title h3 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.12;
}
.concern-title p {
  max-width: 620px;
  margin: 0;
  color: rgba(44, 42, 41, 0.7);
  font-size: 16px;
  line-height: 1.68;
}
.telemetry-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
  padding: 20px 24px;
  border: 1px solid rgba(44, 42, 41, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}
.telemetry-panel span,
.actives-box > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(44, 42, 41, 0.44);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.telemetry-panel strong {
  display: block;
  color: var(--black);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.regimen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.regimen-card {
  padding: 25px;
  border: 1px solid rgba(44, 42, 41, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}
.regimen-card h4 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.regimen-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.regimen-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(44, 42, 41, 0.05);
  color: rgba(44, 42, 41, 0.82);
  font-size: 14px;
}
.regimen-card li:last-child {
  border-bottom: 0;
}
.actives-box {
  padding-top: 22px;
  border-top: 1px solid rgba(44, 42, 41, 0.08);
}
.actives-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.actives-box mark {
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(191, 150, 74, 0.11);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
}
.concern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}
.concern-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 26px;
  font-weight: 700;
  cursor: pointer;
}
.concern-button.primary {
  border: 0;
  background: var(--black);
  color: var(--white);
}
.concern-button.secondary {
  border: 1px solid rgba(44, 42, 41, 0.18);
  background: transparent;
  color: var(--black);
}

.testimonials {
  background: url("./assets/cosma/testimonial-bg.jpg") center / cover no-repeat;
  padding: 110px 0;
}
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 140px;
}
.testimonial-track article img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}
.testimonial-track p {
  max-width: 470px;
  margin: 12px 0 28px;
}
.testimonial-track h3 {
  position: relative;
  padding-left: 65px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}
.testimonial-track h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 1px;
  background: var(--black);
}

.journal-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 36px;
}
.primary-post img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.post-date {
  margin: 24px 0 18px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}
.post-date::before {
  content: "";
  display: inline-block;
  width: 52px;
  height: 1px;
  margin-right: 14px;
  vertical-align: middle;
  background: var(--black);
}
.journal-layout h3 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.12;
}
.journal-layout p { margin-bottom: 25px; }
.secondary-posts {
  display: grid;
  gap: 34px;
}
.secondary-posts article {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 36px;
  align-items: center;
}
.secondary-posts img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}
.secondary-posts article:first-child h3 { color: var(--gold); }

/* Journal images watermark */
.primary-post,
.secondary-posts article {
  position: relative;
}
.primary-post::after,
.secondary-posts article::after {
  content: "Project Skin";
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.36);
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}

.social-section {
  padding: 110px 0;
  background: var(--cream) url("./assets/cosma/bg2.png") center / cover no-repeat;
}
.social-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}
.social-title span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-style: italic;
}
.social-title span::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--black);
}
.social-title h2 {
  font-size: 44px;
  line-height: 1.2;
  margin: 20px 0 0;
}
.social-title em {
  font-style: italic;
  font-weight: 600;
}
.social-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 450ms ease;
}
.social-grid img:hover { transform: translateY(-10px); }

.limited-section {
  padding: 95px 20px 95px;
}
.limited-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 48px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 243, 235, 0.9));
  box-shadow: 0 20px 60px rgba(26, 26, 26, 0.06);
}
.limited-copy {
  max-width: 520px;
  text-align: left;
}
.limited-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}
.limited-section h2 {
  font-size: 52px;
  line-height: 1.05;
  margin: 0 0 22px;
}
.limited-section p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.limited-visual img {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
.limited-cta {
  min-width: 200px;
  padding: 14px 26px;
  border-radius: 999px;
}
@media (max-width: 860px) {
  .limited-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 42px 28px;
  }
  .limited-copy {
    text-align: center;
  }
  .limited-section h2 {
    font-size: 40px;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--black);
  padding: 40px 48px 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 28px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand .brand img {
  height: 48px;
  width: auto;
}
.brand-tag {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--black);
  text-decoration: none;
}
.footer-contact {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.newsletter-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.newsletter-row {
  display: flex;
  gap: 10px;
}
.newsletter-row input[type="email"] {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 180px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(26,26,26,0.04);
  color: var(--black);
  text-decoration: none;
}
.social-link svg { display: block; }

.footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 222, 208, 0.6);
  text-align: center;
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-actions { align-items: flex-start; }
  .newsletter-row { flex-direction: column; align-items: stretch; }
}

.search-overlay,
.cart-drawer {
  position: fixed;
  z-index: 100;
  background: rgba(250, 247, 242, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
}
.search-overlay {
  inset: 0;
  display: grid;
  place-items: center;
}
.search-overlay.is-open,
.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.search-overlay form {
  width: min(680px, calc(100% - 44px));
}
.search-overlay label,
.cart-drawer h2 {
  display: block;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 46px;
}
.search-overlay input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--black);
  background: transparent;
  padding: 18px 0;
  font-size: 24px;
}

/* Enhanced search panel styles */
.search-panel {
  inset: 0;
  display: grid;
  place-items: center;
}
.search-form { width: min(880px, calc(100% - 60px)); }
.search-row { display: flex; gap: 12px; align-items: center; }
.search-row input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  background: var(--white);
}
.search-suggestions {
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  display: grid;
  gap: 6px;
}
.search-suggestions button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px;
  cursor: pointer;
}
.search-results {
  margin-top: 18px;
  width: min(880px, calc(100% - 60px));
  background: rgba(255,255,255,0.98);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(26,26,26,0.06);
  display: none;
}
.search-results[aria-hidden="false"] { display: block; }
.search-results .result-item { display: flex; justify-content: space-between; gap:12px; padding: 10px 0; border-bottom: 1px solid rgba(232,222,208,0.6); }
.recent-searches { margin-top: 18px; color: var(--muted); }
.recent-searches h4 { margin: 0 0 8px; }
.visually-hidden { position: absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
.overlay-close,
.drawer-close {
  position: absolute;
  right: 32px;
  top: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--serif);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cart-drawer {
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  padding: 90px 36px;
  transform: translateX(100%);
  box-shadow: -24px 0 60px rgba(26, 26, 26, 0.14);
}

.coming-soon-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(26, 26, 26, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.coming-soon-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}
.popup-card {
  width: min(420px, calc(100% - 44px));
  padding: 36px 30px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(26, 26, 26, 0.16);
  text-align: center;
  position: relative;
}
.popup-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
}
.popup-card p {
  margin: 0 0 24px;
  color: var(--muted);
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}
.popup-ok {
  min-width: 140px;
}

.button {
  min-height: 44px;
  border: 0;
  background: var(--black);
  color: var(--white);
  padding: 0 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header,
  .site-footer { padding-inline: 34px; }
  .brand {
    width: 140px;
    min-width: 140px;
    height: 56px;
  }
  .brand img {
    height: 56px;
  }
  .site-nav {
    gap: 26px;
    font-size: 18px;
  }
  .hero {
    min-height: 740px;
    background-position: right 5% center, center;
    background-size: min(36vw, 430px) auto, auto;
  }
  .hero-inner {
    width: min(1000px, calc(100% - 68px));
  }
  .beauty-orbit {
    right: clamp(12px, 4vw, 48px);
    width: min(41vw, 450px);
  }
  .ecosystem-container {
    grid-template-columns: 1fr;
    max-width: 780px;
    gap: 44px;
  }
  .ecosystem-copy {
    max-width: none;
  }
  .ecosystem-copy > p {
    max-width: 620px;
  }
  .ecosystem-canvas {
    min-height: 430px;
  }
  .concern-shell {
    grid-template-columns: 1fr;
    max-width: 820px;
    min-height: 0;
  }
  .concern-directory {
    border-right: 0;
    border-bottom: 1px solid rgba(44, 42, 41, 0.07);
  }
  .concern-nav {
    margin: 4px 0;
  }
  .concern-viewport {
    min-height: 0;
  }
  .concern-stage {
    position: static;
    display: none;
    inset: auto;
  }
  .concern-stage.is-active {
    display: flex;
  }
  .about-grid,
  .body-grid,
  .journal-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    padding: 0 18px;
    height: 76px;
  }
  .site-header.is-scrolled {
    height: 70px;
  }
  .brand {
    width: 112px;
    min-width: 112px;
    height: 46px;
  }
  .brand img {
    height: 46px;
  }
  .nav-toggle {
    display: grid;
    gap: 4px;
    width: 34px;
    border: 0;
    background: transparent;
    margin-left: 18px;
  }
  .nav-toggle span {
    display: block;
    height: 1px;
    background: var(--black);
  }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    display: grid;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 250ms ease;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { padding: 16px 22px; border-bottom: 1px solid var(--line); }
  .header-tools { gap: 14px; }
  .tool-button {
    width: 19px;
    height: 19px;
  }
  .hero {
    min-height: 670px;
    background-position: right -16px bottom 14px, center;
    background-size: min(62vw, 340px) auto, auto;
    align-items: flex-start;
  }
  .beauty-orbit {
    right: -6px;
    top: 146px;
    width: min(74vw, 360px);
    opacity: 0.92;
  }
  .skin-chip {
    width: 68px;
    height: 68px;
    gap: 3px;
  }
  .skin-chip small {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .skin-chip strong {
    font-size: 12px;
  }
  .chip-icon {
    width: 15px;
    height: 15px;
  }
  .chip-icon.aqi {
    width: 20px;
    height: 15px;
  }
  .chip-scanner {
    left: 96%;
    top: 50%;
  }
  .chip-aqi {
    left: 4%;
    top: 50%;
  }
  .chip-humidity {
    left: 28%;
    top: 92%;
  }
  .chip-pollen {
    left: 72%;
    top: 92%;
  }
  .chip-dermatology {
    left: 50%;
    top: -12%;
  }
  .hero-inner {
    width: calc(100% - 36px);
    padding-top: 48px;
  }
  .hero-kicker {
    min-height: 34px;
    margin-bottom: 24px;
    padding: 0 14px;
    letter-spacing: 1.2px;
  }
  .hero h1 {
    letter-spacing: -1.5px;
    margin-bottom: 22px;
  }
  .hero-subtitle {
    max-width: 340px;
    margin-bottom: 30px;
    font-size: 18px;
  }
  .hero-actions {
    gap: 12px;
    margin-bottom: 38px;
  }
  .analysis-button,
  .demo-button {
    min-width: 0;
    min-height: 54px;
    padding: 0 20px;
    font-size: 14px;
  }
  .demo-button {
    border-width: 2px;
  }
  .demo-button span {
    width: 18px;
    height: 18px;
  }
  .verified-line {
    gap: 12px;
    font-size: 12px;
  }
  .shield-mark {
    width: 20px;
    height: 24px;
  }
  .ecosystem-section {
    margin-top: 30px;
    padding: 64px 0 72px;
  }
  .ecosystem-container {
    width: calc(100% - 36px);
    gap: 34px;
  }
  .ecosystem-canvas {
    min-height: 360px;
    order: 2;
  }
  .ecosystem-copy {
    order: 1;
  }
  .twin-glass-card {
    max-width: 290px;
    border-radius: 28px;
    padding: 18px;
  }
  .mesh-box-border {
    border-radius: 22px;
    padding: 22px;
  }
  .canvas-icon {
    width: 58px;
    height: 58px;
    margin: 22px 0;
  }
  .ecosystem-copy h2 {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: -0.8px;
  }
  .ecosystem-copy > p {
    margin-bottom: 28px;
  }
  .ecosystem-card {
    border-radius: 14px;
  }
  .ecosystem-card-layout {
    gap: 13px;
  }
  .ecosystem-badge {
    min-width: 34px;
    height: 25px;
  }
  .ecosystem-card h3 {
    font-size: 16px;
  }
  .ecosystem-card p {
    max-height: none;
    font-size: 13px;
  }
  .ecosystem-arrow {
    display: none;
  }
  .concern-journey {
    padding: 62px 0 72px;
  }
  .concern-shell {
    width: calc(100% - 36px);
    border-radius: 22px;
  }
  .concern-directory,
  .concern-viewport {
    padding: 28px;
  }
  .concern-directory {
    gap: 28px;
  }
  .concern-meta h2 {
    font-size: clamp(32px, 10vw, 42px);
  }
  .concern-nav {
    gap: 10px;
  }
  .concern-nav::before {
    display: none;
  }
  .concern-row {
    padding: 15px;
    gap: 16px;
  }
  .concern-text strong {
    font-size: 15px;
  }
  .concern-stage {
    gap: 22px;
  }
  .telemetry-panel,
  .regimen-grid {
    grid-template-columns: 1fr;
  }
  .regimen-card {
    padding: 20px;
    border-radius: 18px;
  }
  .concern-actions {
    gap: 10px;
  }
  .concern-button {
    width: 100%;
    min-height: 48px;
  }
  .section-pad,
  .social-section { padding: 72px 0; }
  .about-grid,
  .product-row,
  .product-grid,
  .testimonial-track,
  .secondary-posts article,
  .social-grid { grid-template-columns: 1fr; gap: 32px; }
  .framed-image img:first-child {
    width: 100%;
    height: auto;
    margin-left: 0;
  }
  .spin-badge { right: 0; }
  .primary-post img,
  .secondary-posts img { height: auto; }
  .simple-product img { height: 260px; }
  .site-footer {
    grid-template-columns: 1fr;
    height: auto;
    padding: 28px 18px;
    text-align: center;
  }
  .site-footer nav,
  .social-links {
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
}
