/* ==========================================================================
   Zoommer | Managed Community Recreation & Wellness
   Brochure site: faithful web translation of the printed brochure
   ========================================================================== */

:root {
  --purple: #3A2466;
  --ink: #38383A;
  --gold: #C8943C;
  --violet: #804C97;
  --deep: #443463;
  --cream: #FAF3EA;
  --cream-2: #F9F3EE;
  --tan: #EBDDCE;
  --lav: #E5D7E1;
  --sage-t: #E4E4D3;
  --rose: #F4E8E1;
  --blush: #FFEEE8;
  --highlight: #FAEBC9;
  --yellow: #FFDE59;
  --orange: #FFBD59;

  --pad: clamp(20px, 5vw, 80px);
  --sec-y: clamp(56px, 7.5vw, 112px);
  --radius: 14px;
  --header-h: 76px;

  --fs-h1: clamp(2.125rem, 1rem + 2.9vw, 4.375rem);
  --fs-h2: clamp(1.75rem, 1rem + 2.3vw, 3.125rem);
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --fs-body: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --fs-h3: clamp(1.0625rem, 0.98rem + 0.45vw, 1.375rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--purple);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type helpers */
.t-purple { color: var(--purple); }
.t-ink { color: var(--ink); }
h1, h2 { font-weight: 700; line-height: 1.16; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h1 > span, h2 > span { display: block; }
h2.h-inline > span { display: inline; }
.br-d { display: none; }
@media (min-width: 900px) { .br-d { display: inline; } }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; color: var(--purple); }
.lead { font-size: var(--fs-lead); color: var(--ink); max-width: 62ch; }
.lead--tight { margin-top: 12px; max-width: none; }
.lead--bold { font-weight: 600; }
.lead--purple { color: var(--purple); }
.lead--medium { font-weight: 500; }
.caps { text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; font-size: clamp(0.75rem, 0.68rem + 0.35vw, 1rem); color: var(--purple); }
.caps--lg { font-size: clamp(0.8125rem, 0.7rem + 0.6vw, 1.25rem); letter-spacing: 0.1em; margin-top: 14px; font-weight: 500; }
.caps--bold { font-weight: 600; letter-spacing: 0.08em; margin-top: 12px; font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1.125rem); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 1.0625rem); color: var(--purple); }
.eyebrow--ink { color: var(--ink); letter-spacing: 0.1em; }
.rule { display: block; width: 84px; height: 3px; border-radius: 3px; background: var(--gold); margin: 12px 0 14px; }
.rule--lg { width: clamp(96px, 10vw, 150px); height: 5px; margin: clamp(18px, 2.4vw, 30px) 0; }
.rule--wide { width: min(100%, 420px); height: 2px; margin: clamp(24px, 3vw, 40px) auto; }
.note { font-size: 0.9375rem; color: var(--ink); margin-top: 18px; }

/* ---------- icon discs */
.ic { width: 100%; height: 100%; object-fit: contain; }
.disc { --size: 56px; flex: none; width: var(--size); height: var(--size); border-radius: 50%; background: var(--disc, var(--violet)); display: grid; place-items: center; }
.disc .ic { width: 56%; height: 56%; }
.disc--sm { --size: 34px; }
.disc--md { --size: clamp(52px, 4.6vw, 66px); }
.disc--lg { --size: clamp(60px, 5.4vw, 84px); }
.disc--xl { --size: clamp(72px, 6.6vw, 100px); }

/* ---------- header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 243, 234, 0.9); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); transition: box-shadow 0.25s ease; }
.header.is-stuck { box-shadow: 0 1px 0 rgba(58, 36, 102, 0.08), 0 8px 24px rgba(58, 36, 102, 0.06); }
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }

.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { display: block; height: clamp(32px, 2.8vw, 42px); width: auto; max-width: none; }
.logo--lg { display: block; }
.logo--lg img { height: auto; aspect-ratio: 1552 / 155; width: clamp(280px, 44vw, 700px); max-width: 100%; margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; transition: background 0.2s ease, transform 0.2s ease; }
.btn:hover { background: var(--violet); transform: translateY(-1px); }

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .btn { padding: 0 16px; font-size: 0.875rem; min-height: 40px; }
}

/* ---------- section shell */
.sec { padding-block: var(--sec-y); position: relative; }
.sec:nth-of-type(even) { background: var(--cream-2); }
.sec--fade-l { background: linear-gradient(90deg, var(--tan) 0, var(--cream-2) 22%, var(--cream) 100%) !important; }
.js .sec, .js .closing-sec { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .sec.is-in, .js .closing-sec.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .sec, .js .closing-sec { opacity: 1; transform: none; transition: none; }
}

/* ---------- 1. cover */
.cover { background: linear-gradient(90deg, var(--cream-2) 0, var(--cream-2) 62%, var(--tan) 100%); padding-block: clamp(32px, 5vw, 72px) clamp(40px, 5vw, 72px); overflow: hidden; }
.cover__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; max-width: 1760px; margin-inline: auto; }
.cover__text { padding-left: calc(var(--pad) + clamp(0px, 2vw, 32px)); position: relative; z-index: 1; }
@media (min-width: 900px) { .cover h1 { white-space: nowrap; } }
.cover__sub { font-size: clamp(1.125rem, 0.9rem + 1.15vw, 2rem); letter-spacing: 0.06em; line-height: 1.4; max-width: 22ch; color: var(--purple); }
.cover__tag { margin-top: clamp(40px, 7vw, 120px); letter-spacing: 0.2em; }
.cover__img { width: 138%; max-width: none; margin-left: -38%; }
.cover__icons { display: flex; justify-content: flex-end; align-items: center; padding-right: var(--pad); margin-top: clamp(8px, 1.4vw, 20px); }
.cover__icons li { width: clamp(34px, 3.4vw, 50px); height: clamp(34px, 3.4vw, 50px); margin-left: clamp(16px, 2vw, 32px); padding-left: clamp(16px, 2vw, 32px); box-sizing: content-box; border-left: 1px solid rgba(56, 56, 58, 0.25); }
.cover__icons li:first-child { border-left: 0; }

@media (max-width: 899px) {
  .cover__grid { grid-template-columns: 1fr; }
  .cover__text { padding-inline: var(--pad); }
  .cover__sub { max-width: 26ch; }
  .cover__tag { margin-top: 28px; }
  .cover__art { margin-top: 24px; }
  .cover__img { width: 108%; margin-left: -8%; }
  .cover__icons { justify-content: center; padding-right: 0; margin-top: 20px; }
}

/* ---------- split: curved photo beside content */
.split { display: grid; grid-template-columns: minmax(0, min(34vw, 620px)) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: center; padding-right: var(--pad); }
.split--narrow { grid-template-columns: minmax(0, min(24vw, 440px)) minmax(0, 1fr); }
#service .split, #commercial .split { grid-template-columns: minmax(0, min(27vw, 520px)) minmax(0, 1fr); }
#service h2 { font-size: clamp(1.625rem, 0.9rem + 1.75vw, 2.75rem); }
.split__body { max-width: 1120px; }
.cut { width: 100%; }
@media (max-width: 899px) {
  .split, .split--narrow, #service .split, #commercial .split { grid-template-columns: 1fr; padding-right: 0; gap: 28px; }
  .split__art { width: min(78vw, 420px); }
  .split--narrow .split__art { width: min(56vw, 300px); }
  .split__body { padding-inline: var(--pad); }
}

/* ---------- 2. challenge */
.stat { margin-top: clamp(18px, 2vw, 28px); background: var(--highlight); border-radius: 8px; padding: 14px clamp(16px, 2vw, 26px); font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3125rem); font-weight: 500; line-height: 1.55; }
.stat__lead { font-weight: 600; font-size: 1.1em; }
.stat b { font-weight: 700; }
.source { font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem); font-weight: 500; margin: 10px 0 0 clamp(16px, 2vw, 26px); }

.cards { display: grid; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(24px, 3vw, 40px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icard { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); background: var(--rose); border-radius: var(--radius); padding: clamp(18px, 2vw, 26px); }
.icard .disc { --size: clamp(60px, 5.6vw, 88px); }
.icard__txt { border-left: 1px solid rgba(58, 36, 102, 0.45); padding-left: clamp(14px, 1.6vw, 22px); }
.icard p { margin-top: 6px; line-height: 1.4; }

.band { margin-top: clamp(24px, 3vw, 40px); background: var(--deep); color: #fff; border-radius: 6px; padding: clamp(14px, 1.5vw, 20px) clamp(18px, 2vw, 28px); font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem); line-height: 1.4; }
.band strong { color: var(--yellow); font-weight: 600; }
.band--orange strong { color: var(--orange); }
.band--center { text-wrap: balance; text-align: center; border-radius: var(--radius); font-weight: 600; font-size: clamp(1.0625rem, 0.9rem + 0.75vw, 1.625rem); padding-block: clamp(16px, 1.8vw, 24px); }

@media (max-width: 640px) {
  .cards--2, .cards--3 { grid-template-columns: 1fr; }
}

/* ---------- 3. solution */
.sec--solution { padding-bottom: calc(var(--sec-y) + clamp(30px, 5vw, 70px)); overflow: hidden; }
.solution__art { position: absolute; top: 0; right: 0; width: min(40vw, 700px); }
.solution__art img { width: 100%; }
.solution__head { max-width: 58%; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(8px, 1.2vw, 24px); margin-top: clamp(32px, 4vw, 60px); }
.step { min-width: 0; border-radius: 4px 4px var(--radius) var(--radius); overflow: hidden; align-self: stretch; }
.step--tan { background: var(--tan); }
.step--lav { background: var(--lav); }
.step--sage { background: var(--sage-t); }
.step--rose { background: var(--rose); }
.step__img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.step__body { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 18px); padding: clamp(14px, 1.4vw, 24px) clamp(12px, 1.2vw, 22px) clamp(18px, 1.8vw, 28px); }
.step__body .disc { --size: clamp(48px, 4vw, 64px); }
.caps-title { text-transform: uppercase; font-weight: 700; font-size: clamp(1rem, 0.8rem + 0.45vw, 1.375rem); }
.dots { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; column-gap: clamp(8px, 1vw, 22px); margin-top: 6px; font-weight: 600; font-size: clamp(0.8125rem, 0.7rem + 0.22vw, 1rem); color: var(--ink); }
.dots li { padding-left: 14px; position: relative; white-space: nowrap; }
.dots li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.chev { display: block; width: clamp(16px, 1.8vw, 28px); color: #7C778F; }
.chev svg { width: 100%; height: auto; }

.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); }
.feat { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); padding-inline: clamp(12px, 1.6vw, 24px); border-left: 1px solid rgba(58, 36, 102, 0.4); }
.feat:first-child { border-left: 0; padding-left: 0; }
.feat .disc { --size: clamp(56px, 4.6vw, 70px); }
.feat p { margin-top: 8px; line-height: 1.35; }
.wave { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(40px, 6vw, 90px); }

@media (max-width: 1099px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .feat:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 899px) {
  .solution__art { position: static; width: 88vw; margin: calc(var(--sec-y) * -1) 0 28px auto; }
  .solution__head { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { justify-self: center; transform: rotate(90deg); }
  .chev { width: 20px; }
}
@media (max-width: 560px) {
  .feats { grid-template-columns: 1fr; }
  .feat { border-left: 0; padding-left: 0; }
  .dots li { white-space: normal; }
}

/* ---------- 4. program portfolio table */
.tablewrap { margin-top: clamp(24px, 3vw, 40px); overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 4px; }
.matrix { width: 100%; min-width: 940px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.matrix thead th { padding: 0 4px 16px; vertical-align: top; font-weight: 600; }
.matrix__corner { width: 25%; padding-left: 0 !important; }
.matrix__corner span { display: grid; place-items: center; height: 100%; min-height: 118px; background: var(--deep); color: #fff; border-radius: 22px; font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 600; text-align: center; padding: 12px 40px; line-height: 1.4; }
.age { display: block; border-radius: 12px 12px 6px 6px; overflow: hidden; background: #F6E3C8; }
.age img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; }
.age span { display: block; padding: 8px 4px; font-size: clamp(0.8125rem, 0.7rem + 0.4vw, 1.0625rem); font-weight: 600; text-align: center; white-space: nowrap; }
.matrix tbody th, .matrix tbody td { border-bottom: 1px solid rgba(58, 36, 102, 0.1); border-left: 1px solid rgba(58, 36, 102, 0.1); height: 56px; padding: 6px 10px; }
.matrix tbody tr:first-child th, .matrix tbody tr:first-child td { border-top: 1px solid rgba(58, 36, 102, 0.1); }
.matrix tbody td:last-child { border-right: 1px solid rgba(58, 36, 102, 0.1); }
.matrix tbody tr:nth-child(odd) > * { background: #FBF5EE; }
.matrix tbody tr:nth-child(even) > * { background: var(--rose); }
.matrix tbody td { text-align: center; }
.matrix tbody th { text-align: left; font-weight: 400; }
.prog { display: flex; align-items: center; gap: 14px; }
.prog b { display: block; font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.55vw, 1.4375rem); line-height: 1.2; }
.prog small { display: block; font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.9375rem); margin-top: 2px; }
.prog .x { font-weight: 400; font-size: 0.8em; }
.tick { width: clamp(24px, 2.2vw, 34px); height: auto; margin-inline: auto; color: var(--purple); }
.scrollhint { margin-top: 10px; font-size: 0.8125rem; color: var(--ink); text-align: center; }
.scrollhint[hidden] { display: none; }
@media (max-width: 899px) {
  .matrix { min-width: 860px; }
  .matrix__corner { width: 190px; }
  .matrix__corner span { padding: 12px; border-radius: 16px; }
  .matrix tbody th, .matrix__corner { position: sticky; left: 0; z-index: 1; }
  .matrix__corner { background: var(--cream-2); }
  .matrix tbody th { box-shadow: 6px 0 10px -6px rgba(58, 36, 102, 0.25); }
  .prog { gap: 8px; }
  .prog .disc { display: none; }
}

/* ---------- 5. a day in the life */
.daycards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 48px); margin-top: clamp(28px, 4vw, 56px); }
.daycard { border-radius: 0 0 20px 20px; overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.daycard--tan { background: var(--tan); }
.daycard--lav { background: var(--lav); }
.daycard--sage { background: var(--sage-t); }
.daycard--rose { background: var(--rose); }
.daycard__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.daycard__body { padding: clamp(18px, 2vw, 28px) clamp(14px, 1.4vw, 20px) clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.6vw, 22px); flex: 1; }
.daycard__head { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: clamp(64px, 5.4vw, 84px); }
.daycard__head h3 { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.75rem); line-height: 1.15; }
.daycard p { font-size: clamp(0.9375rem, 0.88rem + 0.35vw, 1.25rem); line-height: 1.35; }
.time { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 330px; background: rgba(255, 255, 255, 0.82); border-radius: 10px; padding: 8px 14px; font-weight: 600; white-space: nowrap; }
.time .ic { width: 22px; height: 22px; flex: none; }
.closing { margin-top: clamp(32px, 5vw, 80px); font-weight: 600; font-size: clamp(1.0625rem, 0.9rem + 0.75vw, 1.625rem); line-height: 1.35; }
@media (max-width: 1099px) { .daycards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .daycards { grid-template-columns: 1fr; } }

/* ---------- 6. program tiers */
.tiers { display: grid; gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(22px, 2.6vw, 36px); }
.tier { background: #fff; border-radius: 6px; padding: clamp(16px, 1.6vw, 22px) clamp(16px, 1.8vw, 26px); display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(16px, 2vw, 32px); align-items: center; }
.tier__head { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.tier__head h3 { font-size: clamp(1.125rem, 0.9rem + 0.6vw, 1.625rem); font-weight: 700; }
.tier__head .disc { --size: clamp(56px, 4.8vw, 80px); }
.tier__head h3 span { display: block; font-weight: 500; }
.tier__head p { margin-top: 4px; line-height: 1.3; }
.tier__items { display: flex; gap: 14px clamp(4px, 0.6vw, 12px); border-left: 3px solid #F0E2CC; padding-left: clamp(14px, 1.8vw, 28px); }
.tier__items li { flex: 0 1 clamp(72px, 6.6vw, 104px); min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: clamp(0.75rem, 0.66rem + 0.22vw, 1rem); line-height: 1.15; }
.tier__items .disc { --size: clamp(48px, 4.2vw, 64px); }
@media (max-width: 1199px) {
  .tier { grid-template-columns: 1fr; }
  .tier__items { border-left: 0; padding-left: 0; border-top: 3px solid #F0E2CC; padding-top: 16px; flex-wrap: wrap; }
  .tier__items li { flex: 0 0 clamp(78px, 20vw, 104px); font-size: 0.8125rem; }
}

/* ---------- 7. measured */
.sec--measured { padding-bottom: var(--sec-y); }
.howband { background: #FDF6F7; margin-top: clamp(24px, 3.4vw, 52px); padding-bottom: clamp(24px, 2.8vw, 40px); }
.pill { display: inline-block; border-radius: 16px; font-weight: 600; }
.pill--dark { background: var(--deep); color: #fff; text-transform: uppercase; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.4375rem); padding: 8px clamp(22px, 2.2vw, 32px); transform: translateY(-40%); }
.pill--gold { background: #FFE197; padding: 8px clamp(18px, 1.8vw, 26px); font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.5rem); margin-top: 14px; }
.pill--lav { background: var(--lav); text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 20px; margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.25rem); }
.hows { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.12fr); align-items: center; gap: clamp(8px, 1vw, 16px); }
.how { min-width: 0; align-self: stretch; display: flex; align-items: flex-start; gap: clamp(12px, 1.4vw, 20px); background: #F4E7EE; border-radius: 22px; padding: clamp(18px, 2vw, 28px) clamp(14px, 1.4vw, 20px); }
.how .disc { --size: clamp(56px, 4.8vw, 88px); }
.how h3 { font-size: clamp(1.0625rem, 0.8rem + 0.6vw, 1.5625rem); }
.how p { margin-top: 6px; font-size: clamp(0.875rem, 0.78rem + 0.25vw, 1.125rem); line-height: 1.35; }
.how-arrow .chev { width: clamp(12px, 1.2vw, 18px); color: var(--deep); }
.proofs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: clamp(32px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.proof { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 30px); padding-inline: clamp(16px, 2.6vw, 40px); }
.proof:first-child { padding-left: 0; }
.proof + .proof { border-left: 1.5px solid rgba(56, 56, 58, 0.35); }
.proof h3 { font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.75rem); }
.proof__sub { font-size: clamp(0.9375rem, 0.88rem + 0.4vw, 1.3125rem); margin-top: 2px; }
@media (max-width: 1099px) {
  .hows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .how-arrow { display: none; }
}
@media (max-width: 699px) {
  .hows { grid-template-columns: 1fr; }
  .how-arrow { display: block; justify-self: center; transform: rotate(90deg); }
  .proofs { grid-template-columns: 1fr; row-gap: 28px; }
  .proof { padding-inline: 0; }
  .proof + .proof { border-left: 0; border-top: 1.5px solid rgba(56, 56, 58, 0.2); padding-top: 28px; }
}

/* ---------- 8 / 9. benefit lists */
.sec--list > .wrap { max-width: none; }
.split--list { margin-top: clamp(24px, 3vw, 44px); padding-right: 0; align-items: center; }
.split--list .split__body { max-width: none; }
.brows { display: grid; gap: clamp(10px, 1.3vw, 18px); }
.brow { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); border-radius: var(--radius) 0 0 var(--radius); padding: clamp(12px, 1.3vw, 18px) var(--pad) clamp(12px, 1.3vw, 18px) clamp(16px, 2.6vw, 42px); }
.brows--white .brow { background: #fff; }
.brows--rose .brow { background: var(--blush); }
.brows--rose .disc { --disc: #F4E9E5 !important; }
.brow > div { border-left: 4px solid #F0DFC8; padding-left: clamp(14px, 2vw, 34px); }
.brow h3 { font-size: clamp(1.0625rem, 0.95rem + 0.7vw, 1.6875rem); }
.brow p { font-size: clamp(0.9375rem, 0.88rem + 0.35vw, 1.25rem); line-height: 1.35; margin-top: 2px; }
.split__art--panel { background: var(--blush); border-radius: 0 var(--radius) var(--radius) 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.art__cap { text-align: center; font-size: clamp(1.0625rem, 0.9rem + 0.9vw, 1.75rem); font-weight: 500; line-height: 1.3; padding: clamp(14px, 2vw, 28px) 16px clamp(18px, 2.4vw, 36px); }
.art__cap strong { display: block; font-weight: 700; }
@media (max-width: 899px) {
  .split--list .split__body { padding-inline: var(--pad) 0; }
  .split__art--panel { width: min(86vw, 460px); }
}

/* ---------- 10. managed service */
.service-lead, #service .lead { margin-top: clamp(14px, 1.8vw, 24px); max-width: 70ch; }
.scard { background: #F9ECE5; border-radius: var(--radius); padding: clamp(20px, 2.4vw, 36px); }
.scard__head { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.scard h3 { font-size: clamp(1.1875rem, 1rem + 0.85vw, 1.875rem); max-width: 12em; }
.scard p { margin-top: clamp(14px, 1.8vw, 26px); font-size: clamp(0.9375rem, 0.88rem + 0.3vw, 1.1875rem); line-height: 1.35; }
.cards--svc { gap: clamp(16px, 2.6vw, 44px); }

/* ---------- 11. commercial */
#commercial .lead { margin-top: clamp(12px, 1.4vw, 20px); max-width: none; }
#commercial .cards { margin-top: clamp(16px, 2vw, 28px); }
.mcard { background: #F9EEEB; border-radius: var(--radius); padding: clamp(20px, 2vw, 28px); }
.mcard .disc { margin: 0 auto clamp(16px, 2vw, 28px); }
.mcard p { font-size: clamp(1rem, 0.9rem + 0.6vw, 1.5rem); line-height: 1.35; }
.band--icon { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 44px); width: fit-content; margin-left: auto; margin-right: calc(var(--pad) * -1); border-radius: 16px 0 0 16px; padding: clamp(16px, 1.6vw, 22px) var(--pad) clamp(16px, 1.6vw, 22px) clamp(24px, 3.4vw, 60px); font-size: clamp(1.125rem, 0.95rem + 0.9vw, 1.875rem); }
.band--icon .ic { width: clamp(48px, 4.6vw, 76px); height: clamp(48px, 4.6vw, 76px); flex: none; }
.band--icon strong { font-weight: 700; }
.band__rule { width: 3px; align-self: stretch; background: var(--gold); border-radius: 3px; flex: none; }
@media (max-width: 899px) {
  .band--icon { margin-right: 0; border-radius: 16px; padding-right: 24px; width: auto; }
}
@media (max-width: 480px) {
  .band--icon .ic, .band__rule { display: none; }
}

/* ---------- 12. closing */
.closing-sec { position: relative; background: var(--cream-2); overflow: hidden; display: grid; grid-template-columns: minmax(0, 21vw) minmax(0, 1fr) minmax(0, 21vw); align-items: end; min-height: min(56vw, 900px); }
.closing__art--l { grid-column: 1; grid-row: 1; }
.closing__art--r { grid-column: 3; grid-row: 1; }
.closing__art img { width: 100%; }
.closing__body { grid-column: 2; grid-row: 1; align-self: center; text-align: center; padding: clamp(48px, 7vw, 110px) clamp(16px, 3vw, 48px); }
.closing__body .logo { display: block; margin-bottom: clamp(36px, 6vw, 96px); }
.closing__body h2 { font-weight: 600; font-size: clamp(2rem, 1.1rem + 3.3vw, 4rem); }
.closing__body .lead { margin: clamp(16px, 2vw, 28px) auto 0; font-size: clamp(1.0625rem, 0.9rem + 0.9vw, 1.75rem); }
.contacts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px clamp(20px, 3vw, 44px); }
.contacts a { display: inline-flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); text-decoration: none; color: var(--ink); font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem); letter-spacing: 0.08em; min-height: 48px; }
.contacts a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.contacts .disc { --size: clamp(44px, 3.4vw, 52px); }
.contacts__sep { width: 3px; height: 28px; background: var(--gold); border-radius: 3px; }
@media (max-width: 899px) {
  .closing-sec { grid-template-columns: 1fr 1fr; min-height: 0; }
  .closing__body { grid-column: 1 / -1; grid-row: 1; padding-inline: var(--pad); }
  .closing__art--l { grid-column: 1; grid-row: 2; width: 82%; }
  .closing__art--r { grid-column: 2; grid-row: 2; width: 82%; justify-self: end; }
}
@media (max-width: 560px) {
  .contacts__sep { display: none; }
  .contacts { flex-direction: column; }
  .closing__body .lead br { display: none; }
}

/* ---------- footer */
.footer { background: var(--deep); color: rgba(255, 255, 255, 0.85); font-size: 0.875rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; }
.footer a { text-decoration: none; color: #fff; }
.footer a:hover { text-decoration: underline; }

/* ==========================================================================
   Additions: header menu, contact form, About page
   ========================================================================== */

/* ---------- header menu */
.header__in { justify-content: flex-start; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.7vw, 30px); }
.nav a { position: relative; display: block; padding: 10px 0; font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--purple); white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }
.burger { display: none; flex: none; width: 44px; height: 44px; position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--purple); transition: transform 0.25s ease, top 0.25s ease; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 26px; }
.is-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.is-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1279px) {
  .burger { display: block; }
  .header .btn { margin-left: auto; }
  .header.is-open { background: var(--cream); }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; background: var(--cream); border-top: 1px solid rgba(58, 36, 102, 0.1); box-shadow: 0 18px 30px rgba(58, 36, 102, 0.12); padding: 4px var(--pad) 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 15px 0; font-size: 1.0625rem; border-bottom: 1px solid rgba(58, 36, 102, 0.1); }
  .nav li:last-child a { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--violet); }
}
@media (max-width: 560px) {
  .header__in { gap: 6px; }
  .header .btn { padding: 0 14px; }
}

/* ---------- buttons */
.btn { border: 0; cursor: pointer; font-family: inherit; }
.btn--lg { min-height: 52px; padding: 0 32px; font-size: 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- contact form */
.formgrid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.formgrid__intro .lead { margin-top: clamp(14px, 1.6vw, 22px); }
.contacts--stack { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: clamp(22px, 2.6vw, 36px); }
.contacts--stack .contacts__sep { display: none; }
.contacts--stack a { font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem); letter-spacing: 0.04em; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(20px, 2.8vw, 40px); display: grid; gap: clamp(14px, 1.4vw, 20px); box-shadow: 0 10px 40px rgba(58, 36, 102, 0.07); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.875rem; font-weight: 600; color: var(--purple); }
.field i { font-style: normal; color: #B3261E; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid rgba(58, 36, 102, 0.22); border-radius: 10px; background: var(--cream); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233A2466' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(58, 36, 102, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background-color: #fff; box-shadow: 0 0 0 3px rgba(128, 76, 151, 0.2); }
.form.was-validated .field :invalid { border-color: #B3261E; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__status { flex: 1 1 220px; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.form__status.is-error { color: #B3261E; }
.form__status a { color: inherit; }
.form__done { text-align: center; padding: clamp(24px, 4vw, 56px) 8px; }
.form__done h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); }
.form__done p { margin-top: 10px; font-size: var(--fs-lead); color: var(--ink); }
.form__done:focus { outline: none; }
@media (max-width: 899px) { .formgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ---------- About page */
.about-hero { background: linear-gradient(180deg, var(--cream-2) 0, var(--cream) 100%) !important; padding-block: clamp(48px, 7vw, 112px); }
.about-hero h1 { max-width: 18ch; }
.about-hero h1 { max-width: none; }
.about-hero .story { margin-top: clamp(28px, 3.6vw, 56px); }
.story__text p { color: var(--ink); font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem); line-height: 1.6; }
.story__text p + p { margin-top: 1em; }
.story__text strong { font-weight: 600; color: var(--purple); }

.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.story .lead { margin-top: clamp(14px, 1.6vw, 22px); }
.facts { display: grid; gap: clamp(12px, 1.3vw, 18px); }
.fact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(14px, 2vw, 28px); background: var(--rose); border-radius: var(--radius); padding: clamp(16px, 1.8vw, 26px) clamp(18px, 2.2vw, 32px); }
.fact:nth-child(2) { background: var(--lav); }
.fact b { align-self: center; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact span { display: flex; align-items: center; min-height: clamp(56px, 5vw, 76px); border-left: 3px solid var(--gold); padding-left: clamp(12px, 1.4vw, 20px); font-weight: 500; line-height: 1.35; color: var(--ink); }

.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(28px, 3.4vw, 48px); }
.leader { background: #fff; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); }
.leader__photo { background: #F4F2F1; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.leader__body { padding: clamp(20px, 2.4vw, 36px); }
.leader h3 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 2rem); font-weight: 700; }
.leader__role { margin-top: 4px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; font-size: 0.8125rem; color: var(--violet); }
.leader__body p:not(.leader__role) { color: var(--ink); line-height: 1.55; }
.leader__body p + p:not(.leader__role) { margin-top: 12px; }

.team { display: flex; flex-wrap: wrap; justify-content: center; --g: clamp(14px, 1.8vw, 28px); gap: clamp(22px, 2.6vw, 40px) var(--g); margin-top: clamp(28px, 3.4vw, 48px); }
.member { flex: 0 0 calc((100% - 4 * var(--g)) / 5); min-width: 0; text-align: center; }
.member__photo { border-radius: var(--radius); overflow: hidden; background: #F4F2F1; aspect-ratio: 4 / 5; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.member:hover .member__photo img { transform: scale(1.03); }
.member h3 { margin-top: 14px; font-size: clamp(1rem, 0.94rem + 0.3vw, 1.25rem); }
.member p { margin-top: 2px; font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem); color: var(--ink); line-height: 1.35; }

.about-cta { text-align: center; }
.about-cta h2 { font-weight: 600; font-size: clamp(2rem, 1.1rem + 3.3vw, 4rem); }
.about-cta .lead { margin: clamp(14px, 1.8vw, 24px) auto clamp(22px, 2.6vw, 36px); font-size: clamp(1.0625rem, 0.9rem + 0.9vw, 1.75rem); }

@media (max-width: 1199px) {
  .leader { grid-template-columns: 1fr; }
  .leader__photo { aspect-ratio: 5 / 4; }
}
@media (max-width: 1099px) { .member { flex-basis: calc((100% - 2 * var(--g)) / 3); } }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .leaders { grid-template-columns: 1fr; }
  .member { flex-basis: calc((100% - var(--g)) / 2); }
  .fact { grid-template-columns: 1fr; gap: 8px; }
  .fact span { border-left: 0; padding-left: 0; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .member__photo img { transition: none; } }

/* ---------- head office address + map */
.contacts--stack a.contacts__addr { align-items: flex-start; letter-spacing: 0.02em; line-height: 1.5; font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.125rem); margin-top: 10px; }
.contacts__addr b { font-weight: 600; color: var(--purple); letter-spacing: 0.04em; }
.contacts a.contacts__addr:hover span:last-child { text-decoration: none; }
.contacts__addr:hover b { text-decoration: underline; text-underline-offset: 4px; }
.map { margin-top: clamp(28px, 4vw, 64px); border-radius: var(--radius); overflow: hidden; background: var(--tan); box-shadow: 0 10px 40px rgba(58, 36, 102, 0.07); height: clamp(300px, 34vw, 460px); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__link { margin-top: 12px; text-align: right; font-size: 0.9375rem; font-weight: 600; }
.map__link a { color: var(--purple); text-underline-offset: 4px; }
.footer__addr { flex-basis: 100%; color: rgba(255, 255, 255, 0.7); }

/* ---------- header: compact menu on mid-width laptops so everything fits */
@media (min-width: 1280px) and (max-width: 1479px) {
  .header__in { gap: 12px; }
  .header .logo img { height: 34px; }
  .nav ul { gap: 14px; }
  .nav a { font-size: 0.875rem; }
  .header .btn { padding: 0 18px; font-size: 0.875rem; }
}

.solution__head .lead { margin-top: clamp(14px, 1.8vw, 24px); }

/* ---------- How we work: icon above text in the four-across row so long words fit */
.how > div { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 1100px) {
  .how { flex-direction: column; align-items: flex-start; gap: clamp(12px, 1.2vw, 18px); }
  .how .disc { --size: clamp(56px, 4.2vw, 72px); }
  .how h3 { font-size: clamp(1.125rem, 0.9rem + 0.45vw, 1.4375rem); }
}

/* ---------- closing band of "How we work": one line on desktop */
@media (min-width: 1200px) {
  .band--center { font-size: min(1.4375rem, 1.6vw); }
}
