/* ============================================================
   PANTONITE shared design system (multi-page)
   Purple + white, gold accent. Fraunces display + Inter body.
   ============================================================ */
:root {
  --purple: #5e1d88;
  --purple-d: #3d0f60;
  --purple-dd: #26103b;
  --purple-l: #9148c0;
  --gold: #c79a3f;
  --gold-d: #a87e2b;
  --paper: #ffffff;
  --bone: #f8f4fc;
  --bone-2: #efe6f6;
  --ink: #241b2e;
  --muted: #6c6377;
  --line: #ece3f3;
  --maxw: 1180px;
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 28px 64px rgba(38, 16, 59, 0.16);
  --shadow-sm: 0 10px 28px rgba(38, 16, 59, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
sup {
  font-size: 0.55em;
  vertical-align: super;
}
em {
  font-style: italic;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
section[id] {
  scroll-margin-top: 120px;
}

/* entrance animation (reliable: visible without JS, revealed by JS) */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
html.js .reveal.d1 {
  transition-delay: 0.08s;
}
html.js .reveal.d2 {
  transition-delay: 0.16s;
}
html.js .reveal.d3 {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* type helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--gold);
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow.light {
  color: #e7c98a;
}
.eyebrow.light::before {
  background: #e7c98a;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--purple-dd);
}
.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.5;
  color: #352a42;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  padding: 14px 26px;
  cursor: pointer;
  border: 0;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg {
  transition: transform 0.2s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}
.btn:hover::after {
  left: 140%;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff;
  box-shadow: 0 14px 30px rgba(94, 29, 136, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(94, 29, 136, 0.45);
}
.btn-primary:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 8px 20px rgba(94, 29, 136, 0.35);
}
.btn-gold {
  background: linear-gradient(135deg, #e0bb63, var(--gold-d));
  color: #2c1f06;
  box-shadow: 0 14px 30px rgba(168, 126, 43, 0.34);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(168, 126, 43, 0.5);
}
.btn-gold:active {
  transform: translateY(0) scale(0.985);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0) scale(0.985);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0) scale(0.985);
}

/* premium photo frame */
.frame {
  position: relative;
  padding: 12px;
  background: linear-gradient(180deg, #fff, #faf6fc);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(199, 154, 63, 0.4);
  border-radius: 14px;
  pointer-events: none;
  z-index: 3;
}
.frame .pic {
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  background: var(--bone-2);
}
.frame .pic img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
}
.frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px rgba(38, 16, 59, 0.22);
}
.frame:hover .pic img {
  transform: scale(1.05);
}

/* top bar */
.topbar {
  background: var(--purple-dd);
  color: #e3d2f0;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  gap: 16px;
}
.topbar .b span {
  margin-right: 22px;
  white-space: nowrap;
}
.topbar .b b {
  color: var(--gold);
  font-weight: 700;
}
.topbar .c a {
  color: #fff;
  font-weight: 600;
  margin-left: 20px;
  white-space: nowrap;
}
.topbar .c a:hover {
  color: var(--gold);
}

/* header */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
header.site.scrolled {
  box-shadow: 0 8px 26px rgba(38, 16, 59, 0.09);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
.nav .logo img {
  height: 42px;
  transition: transform 0.2s var(--ease);
}
.nav .logo:hover img {
  transform: scale(1.03);
}
.menu {
  display: flex;
  gap: 30px;
  align-items: center;
}
.menu a {
  font-weight: 500;
  color: #443a52;
  font-size: 15px;
  position: relative;
  padding: 8px 0;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.menu a:hover,
.menu a.active {
  color: var(--purple);
}
.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 27px;
  color: var(--purple-d);
  cursor: pointer;
  line-height: 1;
}

/* drawer */
.drawer {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(85vw, 360px);
  background: #fff;
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  padding: 26px;
  flex-direction: column;
  gap: 2px;
  box-shadow: -18px 0 54px rgba(38, 16, 59, 0.26);
}
.drawer.open {
  transform: translateX(0);
}
.drawer .x {
  align-self: flex-end;
  font-size: 30px;
  background: none;
  border: 0;
  color: var(--purple-d);
  cursor: pointer;
}
.drawer a {
  padding: 15px 6px;
  font-weight: 600;
  color: #3a2f47;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover,
.drawer a.active {
  color: var(--purple);
}
.drawer .btn {
  margin-top: 18px;
  justify-content: center;
}
.scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(38, 16, 59, 0.5);
  z-index: 80;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.scrim.open {
  display: block;
  opacity: 1;
}

/* hero (home) */
.hero {
  position: relative;
  color: #fff;
  background: #2a1340;
  overflow: hidden;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-color: #160d22;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from {
    transform: scale(1.05) translateY(0);
  }
  to {
    transform: scale(1.12) translateY(-12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg {
    animation: none;
  }
}
.hero .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 9, 20, 0.9) 0%,
    rgba(17, 11, 24, 0.58) 44%,
    rgba(17, 11, 24, 0.12) 100%
  );
}
.hero .inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 128px 0 116px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(42px, 5.8vw, 72px);
  margin: 24px 0 22px;
}
.hero .sub {
  font-size: 20px;
  color: #ecdcf6;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero .cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .trust {
  display: flex;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  color: #d9c7e8;
}
.hero .trust span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.seal {
  position: absolute;
  right: max(28px, calc((100% - 1180px) / 2 + 28px));
  top: 104px;
  z-index: 2;
  width: 188px;
  height: 188px;
  display: none;
  animation: sealIn 1s var(--ease) both 0.3s;
}
@keyframes sealIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1100px) {
  .seal {
    display: block;
  }
}

/* hero (interior pages) */
.phero {
  position: relative;
  color: #fff;
  background: linear-gradient(
    120deg,
    var(--purple-dd),
    var(--purple-d) 70%,
    var(--purple)
  );
  overflow: hidden;
}
.phero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(199, 154, 63, 0.22),
    transparent 70%
  );
}
.phero .inner {
  position: relative;
  z-index: 2;
  padding: 84px 0 78px;
  max-width: 780px;
}
.phero .crumb {
  font-size: 13px;
  color: #d2bce6;
  margin-bottom: 18px;
}
.phero .crumb a:hover {
  color: #fff;
}
.phero h1 {
  color: #fff;
  font-size: clamp(36px, 4.8vw, 58px);
}
.phero .sub {
  font-size: 19px;
  color: #e7d6f3;
  margin-top: 18px;
  max-width: 620px;
}

/* stats */
.stats {
  background: var(--purple-dd);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 28px;
  gap: 8px;
}
.stat {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child {
  border-right: 0;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--gold);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: #d6c5e6;
}

/* sections */
.section {
  padding: 104px 0;
}
.section.tint {
  background: var(--bone);
}
.shead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.shead h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-top: 16px;
}
.shead p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 17px;
}

/* intro */
.intro {
  padding: 100px 0;
  text-align: center;
}
.intro .wrap {
  max-width: 880px;
}
.intro .lead .hl {
  color: var(--purple);
  font-style: italic;
}
.intro .btn {
  margin-top: 34px;
}

/* home solutions grid (framed) */
.sgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.sitem {
  display: block;
}
.sitem .pic img {
  height: 300px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
.sitem .meta {
  padding: 22px 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sitem .n {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  flex: 0 0 auto;
}
.sitem h3 {
  font-size: 24px;
  color: var(--purple-dd);
}
.sitem p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 12px;
}
.sitem .more {
  font-weight: 700;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.sitem:hover .more {
  gap: 12px;
}

/* products */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.pcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.pcard .tag {
  position: absolute;
  top: 34px;
  right: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-d);
  border: 1px solid var(--gold);
  border-radius: 30px;
  padding: 5px 13px;
}
.pcard h3 {
  font-size: 36px;
  color: var(--purple);
}
.pcard ul {
  list-style: none;
  margin-top: 22px;
}
.pcard li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #473f54;
  font-size: 15.5px;
}
.pcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--gold));
}
.pcard li strong {
  color: var(--purple-dd);
}

/* editorial rows */
.row {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 88px;
}
.row:last-child {
  margin-bottom: 0;
}
.row.rev .media {
  order: 2;
}
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transition: transform 0.7s var(--ease);
}
.media:hover img {
  transform: scale(1.04);
}
.media.contain {
  background: #fff;
}
.media.contain img {
  object-fit: contain;
  height: 380px;
  padding: 18px;
}
.rowtext h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 8px;
}
.rowtext p {
  color: #42394e;
  font-size: 16.5px;
  margin-bottom: 16px;
  max-width: 540px;
}
.rowtext ul {
  list-style: none;
  margin: 6px 0 8px;
}
.rowtext li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: #42394e;
  font-size: 15.5px;
  max-width: 540px;
}
.rowtext li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple-l);
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: var(--bone-2);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.6s var(--ease);
}
.tile:hover img {
  transform: scale(1.06);
}
.tile .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 16px 14px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(38, 16, 59, 0.82));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.tile:hover .cap {
  opacity: 1;
}

/* partners */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.partner:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.partner .logo {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.partner .logo img {
  max-height: 74px;
  max-width: 80%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition:
    filter 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.partner:hover .logo img {
  filter: grayscale(0);
  opacity: 1;
}
.partner .region {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 6px;
}
.partner h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--purple-dd);
  margin-bottom: 8px;
}
.partner p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* logo strip */
.lstrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 56px;
}
.lstrip img {
  height: 54px;
  max-width: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition:
    filter 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.lstrip img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* case studies accordion */
.cslist {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cs {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.cs.open {
  box-shadow: var(--shadow);
  border-color: #e0d0ee;
}
.cs-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.cs-head .thumb {
  width: 96px;
  height: 74px;
  border-radius: 11px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--bone-2);
  border: 1px solid var(--line);
}
.cs-head .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-head .thumb.chart img {
  object-fit: contain;
  padding: 6px;
  background: #fff;
}
.cs-head .h {
  flex: 1;
  min-width: 0;
}
.cs-head .region {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-d);
}
.cs-head h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--purple-dd);
  margin-top: 5px;
  line-height: 1.3;
}
.cs-head .tog {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 22px;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.35s var(--ease);
}
.cs:hover .cs-head .tog {
  border-color: var(--purple-l);
}
.cs.open .cs-head .tog {
  background: var(--purple);
  color: #fff;
  transform: rotate(135deg);
}
.cs-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.cs-body .inner {
  padding: 4px 24px 28px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}
.cs-body p {
  color: #42394e;
  font-size: 16px;
  line-height: 1.7;
}
.cs-body .fig {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bone-2);
}
.cs-body .fig img {
  width: 100%;
  display: block;
}
.cs-body .fig.chart {
  background: #fff;
}
.cs-body .fig.chart img {
  object-fit: contain;
  padding: 10px;
}

/* contact */
.contact {
  position: relative;
  background: linear-gradient(120deg, var(--purple-dd), var(--purple-d));
  color: #fff;
  padding: 100px 0;
}
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 42px);
  margin: 14px 0 24px;
}
.cline {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 17px;
}
.cline .ci {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s var(--ease);
}
.cline:hover .ci {
  background: rgba(199, 154, 63, 0.25);
}
.cline a {
  color: #fff;
  font-weight: 600;
}
.cline a:hover {
  color: var(--gold);
}
.cline span {
  color: #e7d6f3;
}
.ml {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.ml h3 {
  font-size: 25px;
  color: var(--purple);
  margin-bottom: 8px;
}
.ml p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}
.ml input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  font: inherit;
  font-size: 15px;
  background: #fbf8fd;
  margin-bottom: 14px;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.ml input:focus {
  outline: 0;
  border-color: var(--purple-l);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(145, 72, 192, 0.16);
}
.ml .btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
}
.ml .ok {
  display: none;
  text-align: center;
  padding: 22px;
  color: var(--purple);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

/* footer */
footer.site {
  background: var(--purple-dd);
  color: #c3b1d4;
  font-size: 14.5px;
  padding: 64px 0 30px;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
footer.site h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-weight: 700;
}
footer.site a {
  display: block;
  color: #c3b1d4;
  margin-bottom: 11px;
  transition: color 0.2s var(--ease);
}
footer.site a:hover {
  color: var(--gold);
}
.flogo {
  height: 38px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.fcol p {
  max-width: 300px;
  color: #a892bb;
}
.fcopy {
  padding-top: 24px;
  font-size: 13px;
  color: #9580a6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== refinements pass ===== */
:root {
  --muted: #564d62;
}
body {
  font-size: 17px;
}
.lead {
  font-size: clamp(21px, 2.4vw, 27px);
}
.hero .sub {
  font-size: 21px;
}
.rowtext p {
  font-size: 17.5px;
}
.rowtext li {
  font-size: 16.5px;
}
.pcard li {
  font-size: 16.5px;
}
.partner p {
  font-size: 15px;
}
.cs-body p {
  font-size: 17px;
}
.sitem p {
  font-size: 15.5px;
}
.shead p {
  font-size: 18px;
}
.menu a {
  font-size: 15.5px;
}

/* before/after composites: show fully, never crop the labels */
.media.ba {
  background: #ffffff;
}
.media.ba img {
  object-fit: contain;
}
.frame.ba .pic {
  background: #ffffff;
}
.frame.ba .pic img {
  object-fit: contain !important;
}

/* clickable partner cards + logos */
a.partner {
  display: block;
  color: inherit;
}
a.partner:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.lstrip a {
  display: inline-flex;
  align-items: center;
}

/* top bar: spread the three badges, add dividers */
.topbar .wrap {
  height: 46px;
}
.topbar .b {
  display: flex;
  align-items: center;
  gap: 0;
}
.topbar .b span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 30px;
  position: relative;
  font-size: 13px;
}
.topbar .b span:first-child {
  padding-left: 0;
}
.topbar .b span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}
.topbar .b span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.22);
}

/* seal: smaller circle, nudged back toward the right */
.seal {
  width: 156px;
  height: 156px;
  right: max(16px, calc(((100% - 1180px) / 2 + 28px) / 2));
  top: 116px;
}

/* intro paragraph in the body font + slightly larger wording site-wide */
.intro .lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18.5px, 1.7vw, 21px);
  line-height: 1.75;
  color: #3a3147;
}
.intro .lead .hl {
  font-style: normal;
  font-weight: 700;
  color: var(--purple);
}
body {
  font-size: 17.5px;
}
.hero .sub {
  font-size: 22px;
}
.rowtext p {
  font-size: 18.5px;
}
.rowtext li {
  font-size: 17.5px;
}
.pcard li {
  font-size: 17.5px;
}
.partner p {
  font-size: 16px;
}
.cs-body p {
  font-size: 18px;
}
.sitem p {
  font-size: 16.5px;
}
.shead p {
  font-size: 19px;
}
.menu a {
  font-size: 16px;
}
.cline {
  font-size: 18px;
}
.btn {
  font-size: 16px;
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  .menu,
  .nav > .btn-outline {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero .inner {
    padding: 74px 0 70px;
  }
  .stats .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 26px 8px;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .sgrid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .row,
  .row.rev {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .row .media,
  .row.rev .media {
    order: 0;
  }
  .media img {
    height: 300px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .pgrid {
    grid-template-columns: 1fr 1fr;
  }
  .contact .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .cs-body .inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 560px) {
  .gallery,
  .pgrid {
    grid-template-columns: 1fr;
  }
  .topbar .b {
    display: none;
  }
  .cs-head .thumb {
    display: none;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
}

/* ── Video embeds (CMS-managed, replaces a section image when set) ── */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
