/* Smart Living — v2 editorial design system */
:root {
  /* palette drawn from the Smart Living logo: night navy + periwinkle/magenta signal */
  --paper: #F1F1EE;
  --paper-2: #E5E7E4;
  --ink: #11161D;
  --ink-2: #2B323C;
  --stone: #5C6570;
  --rule: #D2D6D9;
  --accent: #3A5BC7;
  --accent-soft: #93A9F2;
  --magenta: #B5408F;
  --on-ink: #E8EBEF;
  --on-ink-dim: #9AA3AF;
  --rule-ink: #27303B;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
.grad { background: linear-gradient(90deg, #6C8FD6, #B5408F); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }

/* ---------- type ---------- */
.label {
  font-family: var(--sans); font-stretch: 75%; font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0;
}
.label .n { color: var(--accent); margin-right: 10px; }
.display {
  font-family: var(--display); font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(38px, 6vw, 90px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
}
.h2 {
  font-family: var(--display); font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(29px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
}
.h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
}
.display em, .h2 em, .statement em, .cta-band .display em { font-style: normal; font-weight: 600; color: inherit; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin: 0; }
.muted { color: var(--stone); }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 24px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.light { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost-light { background: transparent; color: var(--on-ink); border-color: rgba(237,232,223,.5); }
.btn.ghost-light:hover { background: var(--on-ink); color: var(--ink); }
.link {
  font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
  display: inline-flex; gap: 8px;
}
.link:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,240,234,.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 19px; width: auto; }
@media (max-width: 520px) { .brand img { height: 15px; } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav .drop > button {
  font: 500 14.5px/1 var(--sans); text-decoration: none; color: var(--ink);
  background: none; border: 0; padding: 8px 0; cursor: pointer; position: relative;
}
.nav > a::after, .nav .drop > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.nav .drop:hover > button::after, .nav .drop > button.current::after { transform: scaleX(1); }
.drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: -20px; min-width: 230px;
  background: var(--paper); border: 1px solid var(--rule); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 20px 40px -20px rgba(27,26,24,.25);
}
.drop-menu::before { content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a { display: block; padding: 12px 14px; text-decoration: none; font-size: 15px; }
.drop-menu a small { display: block; font-size: 12.5px; color: var(--stone); }
.drop-menu a:hover { background: var(--paper-2); }
.head-cta { height: 42px; padding: 0 20px; font-size: 14px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative;
}
.menu-btn span, .menu-btn span::before {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); content: "";
  transition: transform .3s var(--ease);
}
.menu-btn span { top: 18px; }
.menu-btn span::before { left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px;
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav .drop > button {
    font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule);
    text-align: left; width: 100%;
  }
  .nav > a::after, .nav .drop > button::after { display: none; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 12px 16px; background: none; }
  .drop-menu::before { display: none; }
  .nav .mobile-cta { margin-top: 28px; justify-content: center; border-bottom: 0; font-family: var(--sans); font-size: 16px; }
}
@media (min-width: 1061px) { .nav .mobile-cta { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--rule); }
.hero-top { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr; gap: 28px; }
.hero-top .meta { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hero-bottom { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: 12px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-media { position: relative; height: clamp(320px, 62vh, 720px); overflow: hidden; background: var(--ink); }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { transform: scale(1.12); transform-origin: 40% 35%; }
.hero-media .cap {
  position: absolute; left: var(--gutter); bottom: 20px; right: var(--gutter);
  display: flex; justify-content: space-between; gap: 16px;
  color: rgba(255,255,255,.85); font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 820px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
}

/* page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.page-hero .crumbs { margin-bottom: 36px; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: end; }
.page-hero-grid .lede { justify-self: end; }
@media (max-width: 820px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .lede { justify-self: start; } }
.page-figure { height: clamp(280px, 56vh, 640px); overflow: hidden; background: var(--paper-2); }
.page-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; border-bottom: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(20px, 4vw, 64px); margin-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.sec-head .label { padding-top: 14px; }
.sec-head .intro { margin-top: 24px; max-width: 56ch; color: var(--ink-2); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } .sec-head .label { padding-top: 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* statement */
.statement { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.015em; margin: 0; max-width: 24ch; }


/* ---------- audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.aud {
  padding: 28px 24px 32px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px;
  text-decoration: none; min-height: 380px; position: relative; transition: background .3s var(--ease);
}
.aud:last-child { border-right: 0; }
.aud:hover { background: var(--paper-2); }
.aud .label { display: flex; justify-content: space-between; }
.aud h3 { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.aud p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.aud ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--stone); }
.aud ul li { padding: 7px 0; border-top: 1px dashed var(--rule); }
.aud .go { margin-top: auto; font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.aud .go span:last-child { width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s; }
.aud:hover .go span:last-child { background: var(--ink); color: var(--paper); }
@media (max-width: 1060px) { .aud-grid { grid-template-columns: 1fr 1fr; } .aud:nth-child(2) { border-right: 0; } .aud:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }
@media (max-width: 600px) { .aud-grid { grid-template-columns: 1fr; } .aud { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; } }

/* ---------- chapters (service rows) ---------- */
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule); align-items: center; }
.chapter:first-of-type { border-top: 1px solid var(--ink); }
.chapter.flip .ch-media { order: 2; }
.ch-media { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--paper-2); }
.ch-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chapter:hover .ch-media img { transform: scale(1.03); }
.ch-body .label { margin-bottom: 22px; }
.ch-body .h2 { margin-bottom: 22px; }
.ch-body p { color: var(--ink-2); max-width: 48ch; }
.ch-body .btn, .ch-body .link { margin-top: 18px; }
@media (max-width: 820px) { .chapter { grid-template-columns: 1fr; } .chapter.flip .ch-media { order: 0; } }

/* ---------- spec sheet ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--rule); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec th { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); width: 34%; padding-right: 20px; padding-top: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 12.5px; letter-spacing: .04em; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: rgba(255,255,255,.35); }

/* numbered capability list */
.caps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: cap; }
.caps > li {
  display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.caps .num { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 13px; color: var(--accent); padding-top: 8px; }
.caps h3 { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: clamp(20px, 2vw, 27px); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.caps p { margin: 0; color: var(--ink-2); }
.caps p + .chips, .caps p + ul { margin-top: 16px; }
@media (max-width: 820px) { .caps > li { grid-template-columns: 1fr; gap: 10px; } .caps .num { padding-top: 0; } }

/* card grid (systems) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.cell { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.cell + .cell { padding-left: 28px; border-left: 1px solid var(--rule); }
.grid-3 .cell:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.cell .label { color: var(--accent); }
.cell h3 { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.cell p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .cell:nth-child(3n+1) { padding-left: 28px; border-left: 1px solid var(--rule); }
  .grid-3 .cell:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } .grid-3 .cell { padding-left: 0 !important; border-left: 0 !important; padding-right: 0; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid currentColor; counter-reset: step; }
.step { padding: 32px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--rule); }
.step .n { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 72px; line-height: .9; color: var(--accent); display: block; margin-bottom: 18px; }
.step h3 { font-size: 21px; font-weight: 600; margin: 0 0 10px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (max-width: 820px) { .process { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } .step { padding-right: 0; padding-bottom: 28px; } }

/* areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.areas h3 { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.areas ul { list-style: none; padding: 0; margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: clamp(20px, 2vw, 28px); line-height: 1.45; }
.areas li { display: inline; }
.areas li:not(:last-child)::after { content: "\00a0· "; color: var(--accent); }
@media (max-width: 700px) { .areas { grid-template-columns: 1fr; } }

/* ---------- dark (ink) sections ---------- */
.ink { background: var(--ink); color: var(--on-ink); border-bottom-color: var(--rule-ink); }
.ink .label, .ink .muted { color: var(--on-ink-dim); }
.ink .lede, .ink p, .ink .ch-body p, .ink .cell p, .ink .caps p, .ink .step p, .ink .sec-head .intro { color: #D2CCC1; }
.ink .spec th { color: var(--on-ink-dim); }
.ink .spec th, .ink .spec td { border-color: var(--rule-ink); }
.ink .caps, .ink .grid-3, .ink .chapter:first-of-type { border-top-color: var(--on-ink); }
.ink .caps > li, .ink .cell, .ink .chapter { border-color: var(--rule-ink); }
.ink .cell + .cell, .ink .step + .step { border-left-color: var(--rule-ink); }
.ink .chips li { border-color: var(--rule-ink); background: rgba(255,255,255,.03); }
.ink .btn.ghost { color: var(--on-ink); border-color: rgba(237,232,223,.5); }
.ink .btn.ghost:hover { background: var(--on-ink); color: var(--ink); }
.ink .page-hero, .ink.page-hero { border-bottom-color: var(--rule-ink); }
.ink .areas h3 { border-color: var(--rule-ink); color: var(--on-ink-dim); }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--sec) 0; background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -420px;
  background: radial-gradient(closest-side, rgba(147,169,242,.22), rgba(181,64,143,.10) 55%, rgba(181,64,143,0));
  pointer-events: none;
}
.cta-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; position: relative; }
.cta-band .display { font-size: clamp(36px, 5.4vw, 80px); }

.cta-list { display: grid; gap: 0; border-top: 1px solid var(--rule-ink); }
.cta-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--rule-ink); text-decoration: none;
  transition: color .2s, padding .3s var(--ease);
}
.cta-list a:hover { color: var(--accent-soft); padding-left: 8px; }
.cta-list b { font-weight: 500; font-size: 17px; display: block; }
.cta-list small { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-dim); }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-ink-dim); border-top: 1px solid var(--rule-ink); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid img { height: 17px; width: auto; margin-bottom: 22px; }
.foot-grid h4 { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); margin: 0 0 18px; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent-soft); }
.foot-grid p { margin: 0 0 12px; }
.foot-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.foot-word { font-family: var(--display); font-stretch: 125%; font-weight: 300; color: var(--on-ink); font-size: clamp(40px, 9.2vw, 150px); line-height: .85; letter-spacing: -.04em; text-transform: uppercase; margin: 56px 0 0; white-space: nowrap; opacity: .9; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp pill ---------- */
.wa-pill {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  background: var(--ink); color: var(--on-ink); border-radius: 999px; text-decoration: none;
  font-size: 14.5px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), background .25s;
}
.wa-pill:hover { transform: translateY(-2px); background: #1f7a4d; }
.wa-pill svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .wa-pill .t { display: none; } .wa-pill { padding: 0; width: 52px; justify-content: center; } }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { display: flex; flex-direction: column; padding: 18px 0 10px; border-bottom: 1px solid var(--rule); grid-column: span 1; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  font: 400 18px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; padding: 6px 0; outline: none; width: 100%;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field:focus-within { border-bottom-color: var(--ink); }
fieldset.field { border: 0; border-bottom: 1px solid var(--rule); margin: 0; padding: 18px 0 16px; min-width: 0; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.roles input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.roles label {
  font: 500 14.5px/1 var(--sans); font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--ink);
  padding: 11px 16px; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; margin: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.roles input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.roles input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.form-status { font-size: 15px; margin: 0; }
.form-status.ok { color: #2e6b45; }
.form-status.err { color: #a23a2a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.contact-list { border-top: 1px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
@media (max-width: 520px) { .contact-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .ch-media img { transition: none; }
}
.no-js .rv { opacity: 1; transform: none; }
.no-js .rv-img { clip-path: none; }
.ink .sec, .ink.sec { border-bottom-color: var(--rule-ink); }
.ink .spec tr:last-child th, .ink .spec tr:last-child td { border-bottom-color: var(--rule-ink); }

/* ---------- 3D showcase carousel ---------- */
.showcase { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.sc-stage { position: relative; height: clamp(560px, 88vh, 900px); }
.showcase.day .sc-stage { background: #DCE0E3; }
.sc-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; }
.showcase.is-3d .sc-stage canvas { opacity: 1; }
.sc-fallback { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity 1.2s var(--ease); }
.showcase.is-3d .sc-fallback { opacity: 0; }
.sc-stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%; pointer-events: none;
  background: linear-gradient(to top, rgba(17,22,29,.92), rgba(17,22,29,.55) 45%, rgba(17,22,29,0));
}
.sc-top { position: absolute; top: 96px; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px; pointer-events: none; }
.sc-top .label { color: var(--on-ink); background: rgba(17,22,29,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 9px 14px; border-radius: 999px; }
.sc-hud { font-variant-numeric: tabular-nums; }
.sc-hud:empty { display: none; }
.sc-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(28px, 4vw, 52px); }
.sc-ui .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.sc-slides { position: relative; min-height: 236px; }
.sc-slide { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.sc-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.sc-slide .label { color: var(--accent-soft); margin-bottom: 16px; }
.sc-slide h3 { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
.sc-slide p { color: #CBD2DB; max-width: 48ch; margin: 0; font-size: 16.5px; }
.sc-slide .chips { margin-top: 18px; }
.sc-slide .chips li { border-color: rgba(232,235,239,.22); background: rgba(17,22,29,.35); color: var(--on-ink); }
.sc-tabs { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(232,235,239,.18); }
.sc-tabs button {
  width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; text-align: left;
  background: none; border: 0; border-bottom: 1px solid rgba(232,235,239,.18); color: var(--on-ink-dim);
  padding: 13px 0; font: 500 15px/1.3 var(--sans); cursor: pointer; position: relative; transition: color .25s;
}
.sc-tabs button span { font-stretch: 75%; font-weight: 600; font-size: 12.5px; letter-spacing: .08em; }
.sc-tabs button:hover { color: var(--on-ink); }
.sc-tabs button[aria-selected="true"] { color: #fff; }
.sc-tabs button i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, #6C8FD6, #B5408F); }
.sc-tabs button[aria-selected="true"] i { width: var(--p, 0%); }
.sc-ctrl { display: flex; gap: 8px; margin-top: 18px; }
.sc-ctrl button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(232,235,239,.35); background: rgba(17,22,29,.35);
  color: var(--on-ink); font-size: 17px; cursor: pointer; transition: background .2s, color .2s;
}
.sc-ctrl button:hover { background: var(--on-ink); color: var(--ink); }
.sc-hint { margin-left: auto; align-self: center; font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-dim); }
@media (max-width: 860px) {
  .sc-stage { height: 62vh; min-height: 400px; }
  .sc-top { top: 88px; justify-content: flex-end; }
  .sc-top .label { white-space: nowrap; font-size: 11.5px; }
  .sc-top .label:first-child { display: none; }
  .sc-stage::after { height: 30%; }
  .sc-ui { position: relative; padding: 0 0 36px; background: var(--ink); }
  .sc-ui .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sc-ui .wrap > * { min-width: 0; }
  .sc-slides { min-height: 0; display: grid; }
  .sc-slide { position: relative; grid-area: 1 / 1; padding-top: 22px; }
  .sc-tabs { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 4px; scrollbar-width: none; }
  .sc-tabs li { flex: 0 0 auto; }
  .sc-tabs button { border: 1px solid rgba(232,235,239,.22); border-radius: 999px; padding: 9px 14px; display: flex; gap: 8px; white-space: nowrap; overflow: hidden; }
  .sc-tabs button[aria-selected="true"] { border-color: var(--on-ink); }
  .sc-hint { display: none; }
}
