/* ============================================================
   Seafarming Australia — shared stylesheet
   Design language: the water column. Deep channel navy at the
   bottom, light at the surface; species layered by depth.
   ============================================================ */

:root {
  /* Palette — Bruny Island Seafarms brand style guide (BIS-SG-2026-V1) */
  --surface:    #F0F7F7;   /* Abyssal Tint — page background     */
  --foam:       #FAFBF9;   /* Coastal Foam — card / panel        */
  --shallow:    #248A8D;   /* Tasman Teal — primary accent       */
  --shallow-dk: #1c6e70;   /* teal, pressed                      */
  --deep:       #14365D;   /* Deep Marine Navy — headings/footer */
  --deep-2:     #1a4170;   /* navy panel                         */
  --sand:       #248A8D;   /* accent now teal (no off-brand sand)*/
  --sand-dk:    #1c6e70;
  --ink:        #2D3748;   /* Deep Slate Text — body             */
  --muted:      #5d6b7a;   /* secondary text                     */
  --line:       #d6e3e3;   /* hairline on light                 */
  --line-dk:    rgba(255,255,255,.16);

  /* Typography — matches live BISF site (JA Agrivita T4 config) */
  /* Headings: Antic · Body: Urbanist · both Google Fonts */
  --display: "Antic", "Helvetica Neue", Arial, sans-serif;
  --body: "Urbanist", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,42,58,.06), 0 12px 32px -16px rgba(14,42,58,.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--shallow-dk); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--deep); line-height: 1.2; font-weight: 400; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted); line-height: 1.5; }

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--shallow-dk);
  margin: 0 0 1rem;
}
.eyebrow.on-dark { color: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--shallow); color: #fff; }
.btn-primary:hover { background: var(--shallow-dk); }
.btn-teal { background: var(--shallow); color: #fff; }
.btn-teal:hover { background: var(--shallow-dk); }
.btn-ghost { border-color: var(--line); color: var(--deep); background: transparent; }
.btn-ghost.on-dark { border-color: var(--line-dk); color: #fff; }
.btn-ghost:hover { border-color: var(--shallow); }
/* Solid light button for dark hero backgrounds */
.btn-foam { background: var(--foam); color: var(--deep); }
.btn-foam:hover { background: #fff; }

/* ---------- Header / nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,244,243,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 58px; width: auto; display: block; }
.brand-logo-foot { height: 72px; }
@media (max-width: 480px){ .brand-logo { height: 46px; } }
.nav-links { display: flex; gap: 1.15rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--shallow); }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--deep); }

/* ---------- Dropdowns ---------- */
.has-dropdown { position: relative; }
/* invisible bridge fills the gap between button and panel so hover never drops */
.has-dropdown::after {
  content: ''; position: absolute; top: 100%; left: -10px; right: -10px;
  height: .6rem; /* must be >= the dropdown top offset */
}
.dd-trigger {
  display: inline-flex; align-items: center; gap: .25rem;
  font: inherit; font-weight: 500; font-size: .92rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: .4rem 0;
  border-bottom: 2px solid transparent; white-space: nowrap; font-family: var(--body);
}
.has-dropdown.open-active > .dd-trigger { border-color: var(--shallow); }
.dd-caret { width: 15px; height: 15px; transition: transform .2s ease; }
.dropdown {
  position: absolute; top: calc(100% + .4rem); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 200px; list-style: none; margin: 0; padding: .4rem;
  background: var(--foam); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; transition-delay: .35s;
  z-index: 60;
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: .6rem .8rem; border-radius: 8px; border: 0 !important;
  font-size: .92rem; color: var(--ink); white-space: nowrap;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(36,138,141,.1); color: var(--shallow-dk); }
/* open on hover (desktop) or when JS adds .show */
.has-dropdown:hover .dropdown,
.has-dropdown.show .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s;
}
.has-dropdown:hover .dd-caret,
.has-dropdown.show .dd-caret { transform: rotate(180deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--foam); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .nav-links .nav-cta { margin: .8rem 0 0; justify-content: center; }

  /* dropdowns expand inline on mobile */
  .has-dropdown { width: 100%; }
  .dd-trigger { width: 100%; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .has-dropdown:hover .dropdown { opacity: 0; visibility: hidden; }  /* disable hover on touch */
  .dropdown {
    position: static; transform: none;
    box-shadow: none; border: 0; border-radius: 0; background: transparent;
    min-width: 0; padding: 0; max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-height .25s ease;
  }
  /* expanded accordion — force visible regardless of hover state */
  .has-dropdown.show .dropdown,
  .has-dropdown.show:hover .dropdown {
    max-height: 320px; transform: none; opacity: 1; visibility: visible;
  }
  .dropdown a { padding: .7rem 0 .7rem 1rem; border-bottom: 1px solid var(--line); }
  .has-dropdown.show .dd-caret { transform: rotate(180deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #eaf2f1; }
/* brand watermark — emblem bleeding off the right of the showcase */
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: min(46%, 460px);
  aspect-ratio: 869 / 649;
  background: url("../assets/emblem-white.svg") no-repeat center / contain;
  opacity: .12;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 760px){ .hero::after { display: none; } }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #b9d0cd; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* The water-column signature: layered bands fading from surface to deep */
.water-column { position: absolute; inset: 0; z-index: 1; opacity: .9; }
.water-column .band { position: absolute; left: 0; right: 0; }

/* ---------- Sections ---------- */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.bg-foam { background: var(--foam); }
.bg-deep { background: var(--deep); color: #dcebe9; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .lead { color: #a9c6c2; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-top: .2rem; }
.card .num { font-family: var(--body); font-size: 2.4rem; color: var(--shallow-dk); font-weight: 700; line-height: 1; }
.card .num span { font-size: 1rem; color: var(--muted); }

/* Species card with a depth dot */
.species { display: flex; gap: 1rem; align-items: flex-start; }
.species .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: .45rem; flex: none; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stats .stat { background: var(--foam); padding: 1.5rem; }
.stats .stat .n { font-family: var(--body); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; color: var(--deep); }
.stats .stat .l { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr);} }

/* Two-col feature */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.split.flip { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 820px){ .split, .split.flip { grid-template-columns: 1fr; } }

/* Pill / tag */
.tag { display: inline-block; background: rgba(47,143,134,.12); color: var(--shallow-dk); font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }

/* Logo strip */
.logos { display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; align-items: center; }
.logos span { font-family: var(--display); font-size: 1.15rem; color: var(--muted); font-weight: 400; }

/* Partner logo strip (homepage trust band) */
.partner-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.25rem 2rem;
  margin-top: 1.6rem;
}
.partner-strip figure {
  margin: 0; flex: 0 1 auto;
  display: flex; align-items: center; justify-content: center;
  padding: .9rem 1.4rem;
  background: #fff;
  border: 1px solid #dbe1e8;
  border-radius: 10px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.partner-strip figure:hover { box-shadow: 0 6px 18px rgba(20,54,93,.10); transform: translateY(-1px); }
.partner-strip img { display: block; height: 46px; width: auto; }
.partner-strip img.is-wide { height: 34px; }
@media (max-width: 720px) {
  .partner-strip { justify-content: center; gap: .9rem; }
  .partner-strip figure { padding: .7rem 1rem; }
  .partner-strip img { height: 34px; }
  .partner-strip img.is-wide { height: 26px; }
}

/* CTA banner */
.cta-banner { background: var(--shallow); color: #fff; border-radius: var(--radius); padding: clamp(2rem,5vw,3.2rem); text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner .lead { color: rgba(255,255,255,.85); margin-inline: auto; max-width: 48ch; }
.cta-banner .hero-actions { justify-content: center; }

/* Forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--deep); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: .75rem .9rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--foam); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--shallow); box-shadow: 0 0 0 3px rgba(47,143,134,.15); }

/* Progress (crowdfunding) */
.raise { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.raise .bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 1rem 0 .6rem; }
.raise .bar > i { display: block; height: 100%; background: linear-gradient(90deg,var(--shallow),var(--deep)); border-radius: 999px; }
.raise .figs { display: flex; justify-content: space-between; font-size: .95rem; }
.raise .figs strong { font-family: var(--body); font-size: 1.5rem; font-weight: 700; color: var(--deep); display: block; }

/* News list */
.post { display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.post .date { font-family: var(--body); color: var(--shallow-dk); font-weight: 600; }
@media (max-width: 600px){ .post { grid-template-columns: 1fr; gap: .4rem; } }

/* Footer */
.site-foot { background: var(--deep); color: #9fbdb8; padding-block: 3rem 2rem; }
.site-foot a { color: #cfe2df; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 720px){ .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color: #fff; font-size: 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .5rem; }
.foot-bottom { border-top: 1px solid var(--line-dk); padding-top: 1.5rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.confirm { background: var(--sand); color: var(--deep); font-weight: 700; padding: 0 .3rem; border-radius: 3px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Contact form helpers */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.field .opt { font-weight: 400; color: var(--muted); font-size: .82em; }
.field-check { display: flex; align-items: flex-start; gap: .6rem; }
.field-check input { width: auto; margin-top: .25rem; flex: none; }
.field-check label { font-weight: 400; color: var(--ink); margin: 0; }

/* Reset Joomla article component wrappers so full-width sections work */
.item-page,
.com-content-article,
.com-content-article__body,
#sp-component .sp-column,
#sp-component .sp-col,
main#main-content > .container,
main#main-content > .container-fluid,
main#main-content > div {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
/* Override any Bootstrap column that Joomla injects around the component */
#main-content [class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
#main-content .row {
  margin: 0 !important;
}

/* ---- Key Benefits interactive scene ---- */
.kb-stage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: stretch; }
@media (max-width: 880px){ .kb-stage { grid-template-columns: 1fr; } }
.kb-left { display: flex; flex-direction: column; gap: .9rem; }
.kb-zonebar { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (max-width: 420px){ .kb-zonebar { grid-template-columns: repeat(2, 1fr); } }
.kb-chip { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--deep); background: var(--foam); border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem .6rem; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.kb-chip:hover { border-color: var(--shallow); }
.kb-chip.active { border-color: var(--shallow); background: rgba(36,138,141,.1); }
.kb-chip-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.kb-scene { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 480px; background: #0d2440; }
.kb-scene svg { display: block; width: 100%; height: 100%; }
.kb-zone { cursor: pointer; transition: opacity .25s ease; }
.kb-zone .kb-hit { fill: #fff; opacity: 0; transition: opacity .2s ease; }
.kb-zone:hover .kb-hit, .kb-zone:focus-visible .kb-hit { opacity: .07; }
.kb-zone.active .kb-hit { opacity: .12; }
.kb-zone:focus-visible { outline: none; }
.kb-zone .kb-label { fill: #fff; font-family: var(--body); font-weight: 600; font-size: 15px; pointer-events: none; }
.kb-zone .kb-sub { fill: #a9d3d4; font-family: var(--body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.kb-zone .kb-dot { transition: r .2s ease, fill .2s ease; }
.kb-zone.active .kb-dot { fill: var(--sand-dk); }
.kb-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .82rem; background: rgba(13,36,64,.55); padding: .35rem .85rem; border-radius: 999px; pointer-events: none; transition: opacity .4s ease; }
.kb-scene.touched .kb-hint { opacity: 0; }
.kb-panel { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kb-panel .kb-eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--shallow-dk); margin-bottom: .4rem; }
.kb-panel h3 { font-size: 1.6rem; margin: 0 0 .25rem; }
.kb-panel .kb-zone-note { color: var(--muted); margin-bottom: 1.2rem; }
.kb-list { list-style: none; margin: 0; padding: 0; }
.kb-list li { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(6px); animation: kbIn .4s ease forwards; }
.kb-list li:last-child { border-bottom: 0; }
.kb-list li .tick { color: var(--shallow); flex: none; margin-top: .15rem; }
@keyframes kbIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .kb-list li { animation: none; opacity: 1; transform: none; } }
.kb-count { margin-top: auto; padding-top: 1rem; font-size: .85rem; color: var(--muted); }
.kb-count b { color: var(--deep); font-family: var(--body); }
.kb-all { margin-top: 3rem; }
.kb-theme { margin-top: 2.4rem; }
.kb-theme-head { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: .6rem 1rem; padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.kb-theme-dot { width: 12px; height: 12px; border-radius: 50%; align-self: center; }
.kb-theme-head h3 { margin: 0; font-size: 1.5rem; color: var(--deep); }
.kb-theme-head p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 540px){ .kb-theme-head { grid-template-columns: auto 1fr; } .kb-theme-head p { grid-column: 1 / -1; } }
.kb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 880px){ .kb-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .kb-cards { grid-template-columns: 1fr; } }
.kb-bcard { background: var(--foam); border: 1px solid var(--line); border-left: 3px solid var(--shallow); border-radius: 10px; padding: 1rem 1.1rem; }
.kb-bcard .kb-btitle { display: block; font-family: var(--body); font-weight: 700; color: var(--deep); font-size: 1rem; margin-bottom: .25rem; }
.kb-bcard p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.kb-theme[data-accent] .kb-bcard { border-left-color: var(--kb-accent); }
.kb-jump { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--shallow-dk); background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--body); }
.kb-jump:hover { text-decoration: underline; }
.kb-jump svg { width: 15px; height: 15px; }

/* ---- Purpose page ---- */
.pvm { display: grid; gap: 1.2rem; }
.pvm-card { position: relative; background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); overflow: hidden; }
.pvm-card .pvm-tag { display: inline-block; font-family: var(--body); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--shallow-dk); margin-bottom: .8rem; }
.pvm-card .pvm-lead { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--deep); line-height: 1.25; margin: 0 0 .8rem; }
.pvm-card p { margin: 0; color: var(--ink); }
.pvm-card .pvm-num { position: absolute; top: .6rem; right: 1.2rem; font-family: var(--display); font-size: 4rem; color: rgba(36,138,141,.1); line-height: 1; }
.pvm-card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--ink); }
.pvm-card ul li { margin-bottom: .5rem; }
.does-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 820px){ .does-grid { grid-template-columns: 1fr; } }
.does-card { background: var(--foam); border: 1px solid var(--line); border-left: 3px solid var(--shallow); border-radius: 10px; padding: 1.5rem; }
.does-card h3 { margin: 0 0 .4rem; }
.does-card p { margin: 0; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 700px){ .values-grid { grid-template-columns: 1fr; } }
.value { padding: 1.4rem; background: var(--foam); border: 1px solid var(--line); border-radius: 10px; }
.value h3 { margin: 0 0 .3rem; color: var(--deep); }
.value p { margin: 0; color: var(--muted); }
.value .vdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--shallow); margin-right: .5rem; }


/* ================================================================
   SKILLS & SUPPORTER REGISTER PAGE
   Layout + a skin for the Convert Forms output (scoped to .sa-form-shell)
================================================================ */
.reg-layout { display: grid; grid-template-columns: 1.5fr .85fr; gap: 2rem; align-items: start; }
@media (max-width: 940px) { .reg-layout { grid-template-columns: 1fr; } }
.reg-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.reg-aside { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 6rem; }
@media (max-width: 940px) { .reg-aside { position: static; } }
.reg-steps { list-style: none; counter-reset: rs; margin: .4rem 0 0; padding: 0; }
.reg-steps li { counter-increment: rs; position: relative; padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.5; }
.reg-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.reg-steps li::before { content: counter(rs); position: absolute; left: 0; top: .75rem; width: 22px; height: 22px; border-radius: 50%; background: rgba(36,138,141,.12); color: var(--shallow-dk); font-family: var(--body); font-weight: 700; font-size: .78rem; display: grid; place-items: center; }
.reg-steps li strong { color: var(--deep); font-family: var(--body); display: block; }

/* --- shared field furniture --- */
.req { color: var(--shallow-dk); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.field-help { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; line-height: 1.45; }
.field-set { border: 0; padding: 0; margin: 0 0 1.1rem; }
.field-set legend { font-family: var(--body); font-weight: 600; color: var(--deep); font-size: .95rem; padding: 0; margin-bottom: .2rem; }
.field-set-consent { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: .4rem; }
.choice-list { display: grid; gap: .1rem; margin-top: .6rem; }
.choice-list-2 { grid-template-columns: repeat(2, 1fr); gap: .1rem 1.2rem; }
@media (max-width: 620px) { .choice-list-2 { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; padding: .5rem .1rem; cursor: pointer; font-size: .95rem; color: var(--ink); line-height: 1.45; border-radius: 6px; transition: background .15s ease; }
.choice:hover { background: rgba(36,138,141,.05); }
.choice input { margin: .18rem 0 0; width: 17px; height: 17px; accent-color: var(--shallow); flex: none; }

/* ---------------------------------------------------------------
   CONVERT FORMS SKIN
   Element-level selectors so it holds regardless of Convert Forms
   class naming; .cf-* overrides handle the pieces it owns.
--------------------------------------------------------------- */
.sa-form-shell .cf,
.sa-form-shell .cf-form,
.sa-form-shell .cf-container { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; max-width: none !important; width: 100% !important; font-family: var(--body) !important; }

.sa-form-shell .cf-field,
.sa-form-shell .cf-control-group { margin-bottom: 1.1rem !important; }

.sa-form-shell label,
.sa-form-shell .cf-label { display: block; font-family: var(--body) !important; font-weight: 600 !important; color: var(--deep) !important; font-size: .95rem !important; margin-bottom: .35rem; }

.sa-form-shell .cf-field-description,
.sa-form-shell .cf-help-text { font-size: .85rem !important; color: var(--muted) !important; margin: .35rem 0 0 !important; line-height: 1.45 !important; font-weight: 400 !important; }

.sa-form-shell input[type="text"],
.sa-form-shell input[type="email"],
.sa-form-shell input[type="tel"],
.sa-form-shell input[type="number"],
.sa-form-shell input[type="url"],
.sa-form-shell textarea,
.sa-form-shell select,
.sa-form-shell .cf-input {
  width: 100% !important; box-sizing: border-box; font-family: var(--body) !important; font-size: 1rem !important;
  color: var(--ink) !important; background: var(--foam) !important;
  border: 1.5px solid var(--line) !important; border-radius: 8px !important;
  padding: .7rem .85rem !important; box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sa-form-shell textarea { min-height: 96px; resize: vertical; line-height: 1.55 !important; }
.sa-form-shell input:focus,
.sa-form-shell textarea:focus,
.sa-form-shell select:focus,
.sa-form-shell .cf-input:focus {
  outline: none !important; border-color: var(--shallow) !important;
  box-shadow: 0 0 0 3px rgba(36,138,141,.18) !important; background: #fff !important;
}
.sa-form-shell input::placeholder,
.sa-form-shell textarea::placeholder { color: #9aa8ae; }

/* checkbox & radio groups */
.sa-form-shell input[type="checkbox"],
.sa-form-shell input[type="radio"] { width: 17px !important; height: 17px !important; accent-color: var(--shallow); margin: .18rem .6rem 0 0 !important; flex: none; }
.sa-form-shell .cf-list-item,
.sa-form-shell .cf-choice,
.sa-form-shell .cf-radio label,
.sa-form-shell .cf-checkbox label {
  display: flex !important; align-items: flex-start; gap: .1rem;
  font-weight: 400 !important; color: var(--ink) !important; font-size: .95rem !important;
  line-height: 1.45 !important; padding: .5rem .1rem !important; margin: 0 !important;
  cursor: pointer; border-radius: 6px; transition: background .15s ease;
}
.sa-form-shell .cf-list-item:hover,
.sa-form-shell .cf-choice:hover { background: rgba(36,138,141,.05); }

/* required marker */
.sa-form-shell .cf-required,
.sa-form-shell .cf-label-required { color: var(--shallow-dk) !important; }

/* submit button — matches .btn.btn-teal */
.sa-form-shell button[type="submit"],
.sa-form-shell input[type="submit"],
.sa-form-shell .cf-btn,
.sa-form-shell .cf-submit button {
  display: inline-flex !important; align-items: center; justify-content: center;
  font-family: var(--body) !important; font-weight: 600 !important; font-size: 1rem !important;
  color: #fff !important; background: var(--shallow) !important;
  border: 0 !important; border-radius: 999px !important;
  padding: .8rem 1.6rem !important; cursor: pointer; width: auto !important;
  box-shadow: none !important; transition: background .15s ease, transform .15s ease;
}
.sa-form-shell button[type="submit"]:hover,
.sa-form-shell input[type="submit"]:hover,
.sa-form-shell .cf-btn:hover { background: var(--shallow-dk) !important; transform: translateY(-1px); }

/* validation + success */
.sa-form-shell .cf-error-message,
.sa-form-shell .cf-field-error { color: #b3452e !important; font-size: .85rem !important; margin-top: .3rem !important; }
.sa-form-shell input.cf-has-error,
.sa-form-shell textarea.cf-has-error { border-color: #c9573c !important; }
.sa-form-shell .cf-success-message,
.sa-form-shell .cf-response-message {
  background: rgba(36,138,141,.08) !important; border: 1px solid var(--line) !important;
  border-left: 3px solid var(--shallow) !important; border-radius: 10px !important;
  padding: 1.1rem 1.3rem !important; color: var(--ink) !important; font-size: 1rem !important; line-height: 1.55 !important;
}
.sa-form-shell .cf-success-message p:last-child { margin-bottom: 0; }


/* ---- Footer modules (footer-a / footer-b / footer-c) ---- */
.foot-col > h4:first-child { margin-top: 0; }
.foot-grid .mod-custom,
.foot-grid .custom,
.foot-grid .moduletable { margin: 0; padding: 0; background: none; border: 0; }
.foot-menu { list-style: none; margin: 0; padding: 0; }
.foot-menu li { margin-bottom: .5rem; }
.foot-menu li.is-child { padding-left: .9rem; }
.foot-menu a { display: inline-block; }
.foot-col p:first-of-type { margin-top: 0; }
.foot-col .foot-brand { display: inline-block; margin-bottom: 1rem; }
.foot-col .foot-brand img { height: 56px; width: auto; display: block; }
.foot-col .foot-note { max-width: 36ch; margin: 0; }


/* ---- Partner logo graphic ---- */
.partner-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.partner-figure img { display: block; width: 100%; height: auto; }
.partner-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- News / articles ---------- */
.news-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-featured .news-media { display: block; min-height: 320px; background: var(--foam); overflow: hidden; }
.news-featured .news-media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-featured .news-body { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.news-featured h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: .3rem 0 .6rem; }
@media (max-width: 820px) { .news-featured { grid-template-columns: 1fr; } .news-featured .news-media { min-height: 220px; } }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,54,93,.12); }
.news-card .news-media { display: block; height: 180px; background: var(--foam); overflow: hidden; }
.news-card .news-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card h3 { font-size: 1.15rem; margin: 0; }
.news-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.news-meta { font-family: var(--body); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--shallow-dk); font-weight: 600; }
.news-more { margin-top: auto; font-weight: 600; font-size: .92rem; }
.news-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.news-tag { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--shallow-dk); background: rgba(36,138,141,.10); border-radius: 999px; padding: .2rem .6rem; }

/* AcyMailing subscription module skin */
.sa-signup { max-width: 560px; margin: 1.6rem auto 0; }
.sa-signup .acym_module, .sa-signup .acym_form { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.sa-signup .acym_form .acym__field { margin-bottom: .8rem !important; }
.sa-signup input[type="text"], .sa-signup input[type="email"], .sa-signup .acym__user__edit__thankyou input {
  width: 100% !important; box-sizing: border-box; font-family: var(--body) !important; font-size: 1rem !important;
  color: var(--ink) !important; background: #fff !important; border: 1.5px solid var(--line) !important;
  border-radius: 8px !important; padding: .7rem .85rem !important;
}
.sa-signup input:focus { outline: none !important; border-color: var(--shallow) !important; box-shadow: 0 0 0 3px rgba(36,138,141,.18) !important; }
.sa-signup button, .sa-signup input[type="submit"], .sa-signup .acym__button, .sa-signup .btn {
  display: inline-flex !important; align-items: center; justify-content: center;
  font-family: var(--body) !important; font-weight: 600 !important; font-size: 1rem !important;
  color: #fff !important; background: var(--shallow) !important; border: 0 !important;
  border-radius: 999px !important; padding: .8rem 1.6rem !important; cursor: pointer; width: auto !important;
  transition: background .15s ease, transform .15s ease;
}
.sa-signup button:hover, .sa-signup input[type="submit"]:hover, .sa-signup .acym__button:hover { background: var(--shallow-dk) !important; transform: translateY(-1px); }
.sa-signup label { font-size: .9rem; color: var(--ink); }
