/* ============================================================
   PPP — Pee, Poo & Paper · WSC Malta
   Stylesheet
   ============================================================ */

:root {
  --ink:       #0a2540;
  --ink-2:     #11355c;
  --teal:      #0e6477;
  --teal-2:    #14829a;
  --cyan:      #5dd3d8;
  --sea:       #4fc3d4;
  --aqua:      #b6ecef;
  --sand:      #fef8eb;
  --cream:     #fff7e6;
  --coral:     #ff7a8a;
  --rose:      #ffadb8;
  --leaf:      #4ad295;
  --sun:       #ffd166;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 2px 8px rgba(10,37,64,.06);
  --shadow-md: 0 4px 12px rgba(10,37,64,.08), 0 16px 40px rgba(10,37,64,.10);
  --shadow-lg: 0 12px 28px rgba(10,37,64,.12), 0 40px 80px rgba(10,37,64,.18);
  --radius:    18px;
  --radius-lg: 28px;
  --bezier:    cubic-bezier(.2,.7,.2,1);
  --maxw:      1200px;
  --gutter:    clamp(20px, 4vw, 56px);
}

[data-theme="dark"] {
  --ink:       #e7f2f7;
  --ink-2:     #b9d4df;
  --sand:      #061722;
  --cream:     #0a2030;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(15px, 1vw + .6rem, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw + 1rem, 5.2rem); }
h2 { font-size: clamp(1.8rem, 2.5vw + 1rem, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.8rem); }
h4 { font-size: clamp(1rem, .5vw + 1rem, 1.2rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5ch;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--teal-2);
  padding: .35rem .8rem;
  background: color-mix(in oklab, var(--cyan) 30%, transparent);
  border-radius: 999px;
}

p { margin: 0 0 1em; max-width: 65ch; }
.lead { font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem); color: var(--ink-2); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s var(--bezier), box-shadow .25s var(--bezier), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: white;
  box-shadow: 0 8px 20px rgba(14,100,119,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14,100,119,.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid color-mix(in oklab, var(--ink) 18%, transparent);
}
.btn-ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.btn-coral {
  background: linear-gradient(135deg, var(--coral), #ff5a72);
  color: white;
  box-shadow: 0 8px 20px rgba(255,122,138,.4);
}
.btn-coral:hover { transform: translateY(-2px); }
.btn-icon { width: 18px; height: 18px; }

/* ---------- Top progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--coral), var(--teal-2), var(--cyan));
  z-index: 1000;
  transition: width .08s linear;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--sand) 70%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-mark {
  width: auto; height: 40px;
  border-radius: 0;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}
.site-footer .brand-mark { filter: brightness(1.1); }
.brand small { font-weight: 500; color: var(--ink-2); font-size: .8rem; font-family: 'Inter', sans-serif; letter-spacing: 0; }

.nav-links {
  display: flex; gap: 2rem; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: .95rem; font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: .25rem 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--bezier);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--ink) 6%, transparent);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  display: grid; place-items: center;
  transition: background .2s;
}
.theme-toggle:hover { background: color-mix(in oklab, var(--ink) 12%, transparent); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vh, 130px) 0 clamp(80px, 14vh, 180px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: -10% -5%;
  background:
    radial-gradient(60% 40% at 20% 10%, color-mix(in oklab, var(--cyan) 50%, transparent), transparent 70%),
    radial-gradient(50% 50% at 90% 30%, color-mix(in oklab, var(--coral) 35%, transparent), transparent 70%),
    radial-gradient(80% 60% at 50% 100%, color-mix(in oklab, var(--aqua) 60%, transparent), transparent 75%);
  filter: blur(40px);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero-eyebrow { margin-bottom: 1rem; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral) 0%, var(--teal-2) 60%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.35rem); color: var(--ink-2); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---- Hero illustration: animated 3 Ps stage ---- */
.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  justify-self: center;
}
.hero-stage .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 200deg,
      var(--coral), var(--teal-2), var(--cyan),
      var(--sun), var(--coral));
  filter: drop-shadow(var(--shadow-lg));
  animation: rotate 30s linear infinite;
}
.hero-stage .ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: white;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-stage .water {
  position: absolute; inset: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, white 70%, var(--cyan)) 0%, var(--cyan) 60%, var(--teal-2) 100%);
  overflow: hidden;
  box-shadow: inset 0 -20px 50px rgba(14,100,119,.5), inset 0 20px 50px rgba(255,255,255,.4);
}
.hero-stage .water::before,
.hero-stage .water::after {
  content: ""; position: absolute;
  left: -50%; right: -50%;
  height: 200%;
  border-radius: 42%;
  background: rgba(255,255,255,.18);
  animation: wave 6s linear infinite;
}
.hero-stage .water::after {
  top: -55%;
  background: rgba(14, 100, 119, .25);
  animation-duration: 8s;
  animation-direction: reverse;
}
.hero-stage .water::before { top: -50%; }
@keyframes wave { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.hero-stage .floaters {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-stage .floaters span {
  position: absolute;
  width: clamp(60px, 16%, 110px); height: clamp(60px, 16%, 110px);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  font-size: clamp(28px, 5vw, 44px);
  animation: bob 5s ease-in-out infinite;
  z-index: 2;
}
.hero-stage .floaters span:nth-child(1) { top: 6%;   left: 4%;  animation-delay: -1s; }
.hero-stage .floaters span:nth-child(2) { top: 10%;  right: 0%; animation-delay: -2.5s; background: linear-gradient(135deg, var(--sun), #ffba49); }
.hero-stage .floaters span:nth-child(3) { bottom: 8%; left: 0%; animation-delay: -3.5s; background: linear-gradient(135deg, var(--coral), #ff5a72); color: white; }
.hero-stage .floaters span:nth-child(4) { bottom: 4%; right: 6%; animation-delay: -1.5s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

.flush-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(80px, 18%, 130px); height: clamp(80px, 18%, 130px);
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(14,100,119,.4);
  display: grid; place-items: center;
  font-family: 'Fraunces', serif;
  font-size: clamp(.85rem, 1vw + .5rem, 1.1rem);
  font-weight: 700;
  color: var(--teal);
  transition: transform .25s var(--bezier);
  animation: pulse 2.4s ease-out infinite;
}
.flush-btn:hover { transform: translate(-50%, -50%) scale(1.05); }
.flush-btn.flushing { animation: flushSpin .9s var(--bezier); }
@keyframes pulse {
  0%   { box-shadow: var(--shadow-lg), 0 0 0 0   rgba(14,100,119,.45); }
  70%  { box-shadow: var(--shadow-lg), 0 0 0 24px rgba(14,100,119,0); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 0   rgba(14,100,119,0); }
}
@keyframes flushSpin {
  to { transform: translate(-50%, -50%) rotate(720deg) scale(.7); }
}

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 1rem; }

/* Wave divider */
.wave-divider {
  display: block; width: 100%; height: 80px;
  margin-bottom: -1px;
}

/* ---------- 3 Ps showcase ---------- */
.threeps {
  background: linear-gradient(180deg, var(--sand), color-mix(in oklab, var(--aqua) 40%, var(--sand)));
}
.threeps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.p-card {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: white;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--bezier), box-shadow .4s;
  overflow: hidden;
  isolation: isolate;
}
.p-card::before {
  content: "";
  position: absolute; inset: auto -30% -50% -30%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in oklab, var(--cyan) 60%, transparent), transparent 70%);
  z-index: -1;
  transition: transform .5s var(--bezier);
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.p-card:hover::before { transform: translateY(-30%); }
.p-card .mascot {
  width: clamp(120px, 14vw, 170px);
  height: clamp(120px, 14vw, 170px);
  margin: 0 auto 1rem;
  display: grid; place-items: center;
}
.p-card .mascot svg { width: 100%; height: 100%; transition: transform .5s var(--bezier); }
.p-card:hover .mascot svg { transform: rotate(-6deg) scale(1.05); }
.p-card h3 {
  font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: .5rem;
}
.p-card p { color: var(--ink-2); margin: 0 auto; }

/* ---------- Do/Don't grid ---------- */
.dodont {
  background: var(--sand);
}
.dodont-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.dd-col {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.dd-col.do { border-top: 6px solid var(--leaf); }
.dd-col.dont { border-top: 6px solid var(--coral); }
.dd-col h3 {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: .12em;
  font-weight: 800;
}
.dd-col.do h3 { color: var(--leaf); }
.dd-col.dont h3 { color: var(--coral); }
.dd-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.dd-list li {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px dashed color-mix(in oklab, var(--ink) 12%, transparent);
}
.dd-list li:last-child { border-bottom: 0; }
.dd-list .pill {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  background: color-mix(in oklab, currentColor 14%, transparent);
}
.dd-col.do .pill { color: var(--leaf); }
.dd-col.dont .pill { color: var(--coral); }

/* ---------- Stats / counters ---------- */
.stats {
  background:
    linear-gradient(135deg, var(--teal-2), var(--teal) 60%, var(--ink-2)),
    radial-gradient(ellipse at 20% 10%, var(--cyan), transparent 60%);
  color: white;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: -50%;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.18), transparent 40%);
  pointer-events: none;
}
.stats h2 { color: white; }
.stats .lead { color: color-mix(in oklab, white 80%, transparent); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
  margin-top: 3rem;
}
.stat {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: white;
  display: flex; align-items: baseline; gap: .15em;
}
.stat-suffix { font-size: .65em; color: var(--cyan); }
.stat-label { margin-top: .5rem; color: color-mix(in oklab, white 75%, transparent); font-size: .92rem; }

/* ---------- Video ---------- */
.video-section { background: var(--cream); }
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  cursor: pointer;
  isolation: isolate;
}
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--bezier);
}
.video-card:hover img { transform: scale(1.04); }
.video-card .play-btn {
  position: absolute; inset: 0;
  margin: auto;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse-white 2s infinite;
}
.video-card .play-btn::after {
  content: ""; width: 0; height: 0;
  border-left: 26px solid var(--teal);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
}
@keyframes pulse-white {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  50%     { box-shadow: 0 0 0 24px rgba(255,255,255,0); }
}

/* Modal */
.modal {
  position: fixed; inset: 0;
  background: rgba(10,37,64,.85);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  z-index: 1000;
  padding: 24px;
  animation: fadein .25s ease-out;
}
.modal.is-open { display: grid; }
.modal-body {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16/9;
  background: black;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.modal iframe { width: 100%; height: 100%; border: 0; }
.modal-close {
  position: absolute; top: -56px; right: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white; color: var(--ink);
  display: grid; place-items: center;
  font-size: 22px;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.feature.reverse > :first-child { order: 2; }
.feature .feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.feature .feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature .feature-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,37,64,.25));
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(80px, 12vh, 160px) 0 clamp(60px, 8vh, 100px);
  background: linear-gradient(135deg, var(--teal), var(--ink-2));
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: -20% -10%;
  background:
    radial-gradient(50% 40% at 80% 30%, color-mix(in oklab, var(--coral) 50%, transparent), transparent 60%),
    radial-gradient(40% 50% at 10% 80%, color-mix(in oklab, var(--cyan) 60%, transparent), transparent 70%);
  z-index: -1;
}
.page-hero h1, .page-hero p { color: white; }
.page-hero .eyebrow {
  background: rgba(255,255,255,.16);
  color: var(--cyan);
  border: 1px solid rgba(255,255,255,.18);
}
.page-hero .lead { color: rgba(255,255,255,.85); }
.breadcrumbs {
  font-size: .85rem; color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
}
.breadcrumbs a:hover { color: white; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; flex-wrap: wrap;
  gap: .5rem;
  background: white;
  border-radius: 999px;
  padding: .4rem;
  box-shadow: var(--shadow-md);
  width: fit-content;
  margin-bottom: 3rem;
}
.tab {
  padding: .65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-2);
  transition: all .25s var(--bezier);
}
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: white;
  box-shadow: var(--shadow-sm);
}
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadein .35s var(--bezier); }

/* ---------- Cards / lists ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: clamp(20px, 2vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--bezier), box-shadow .3s;
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h4 { color: var(--teal); margin-bottom: .5rem; }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--cyan) 30%, transparent);
  color: var(--teal);
  margin-bottom: 1rem;
  font-size: 22px;
}

/* ---------- Tip list ---------- */
.tip-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .75rem;
}
.tip-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  background: white;
  border-radius: 14px;
  border-left: 4px solid var(--teal-2);
  box-shadow: var(--shadow-sm);
}
.tip-list .step {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: .85rem;
}

/* ---------- Categories grid (industries) ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.cat {
  padding: 1rem;
  background: white;
  border-radius: 14px;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  transition: all .25s var(--bezier);
}
.cat:hover {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: white;
  transform: translateY(-2px);
  border-color: transparent;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(10,37,64,.92), rgba(14,100,119,.85)),
    url('../img/water-ocean.jpg') center/cover;
  color: white;
  padding: clamp(48px, 8vw, 100px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: white; }
.cta-banner .lead { color: rgba(255,255,255,.85); margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 80px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(20px, 2vw, 32px);
  margin-bottom: 44px;
}
.site-footer h5 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .85rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; font-size: .9rem; line-height: 1.45; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .brand { color: white; gap: .55rem; font-size: 1.2rem; }
.site-footer .brand span { white-space: nowrap; }
.site-footer .brand-mark { height: 32px; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.socials a:hover { background: var(--teal-2); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: transform .25s var(--bezier);
}
.contact-card:hover { transform: translateX(4px); }
.contact-card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: white;
  display: grid; place-items: center;
  font-size: 24px;
  flex: 0 0 auto;
}
.contact-card .label { font-size: .8rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; }
.contact-card .value { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--ink); margin: 0; }

form.contact-form {
  background: white;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.field {
  display: grid; gap: .35rem;
  margin-bottom: 1.2rem;
}
.field label {
  font-size: .85rem; font-weight: 600;
  color: var(--ink-2);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: .9rem 1rem;
  font: inherit; color: var(--ink);
  background: var(--sand);
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal-2);
  background: white;
  outline: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-error {
  color: var(--coral);
  font-size: .82rem;
  display: none;
}
.field.has-error input, .field.has-error textarea {
  border-color: var(--coral);
}
.field.has-error .field-error { display: block; }
.form-status {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: color-mix(in oklab, var(--leaf) 20%, white);
  border: 1px solid color-mix(in oklab, var(--leaf) 40%, transparent);
  color: color-mix(in oklab, var(--leaf) 80%, var(--ink));
  margin-top: 1rem;
}
.form-status.is-visible { display: block; animation: fadein .3s; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s var(--bezier), transform .7s var(--bezier);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { justify-content: flex-start; gap: .5rem; }
  .brand { font-size: 1.1rem; gap: .5rem; }
  .brand span { white-space: nowrap; }
  .brand-mark { height: 28px; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--sand);
    border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
    transform: translateY(-110%);
    transition: transform .35s var(--bezier);
    box-shadow: var(--shadow-md);
    z-index: 99;
    visibility: hidden;
  }
  .nav-links.is-open { transform: translateY(0); visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .9rem .5rem; font-size: 1.05rem; border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-left: auto; gap: .5rem; }
  .nav-toggle { display: grid; place-items: center; order: 99; }
  .nav-cta .btn { display: none; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stage { max-width: 380px; }

  .threeps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dodont-wrap { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .brand { font-size: 1rem; gap: .4rem; }
  .brand-mark { height: 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
