/* Maxime Lab hub, design v3.
   Brand: deep navy, tech blue to teal, wood brown, light grey; Montserrat (self-hosted, SIL OFL).
   Navy frames the page (header, hero, banners, footer); content sits on white cards.
   Tools pick up the same tokens through assets/tool-skin.css, inlined by the build. */

@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand palette (from the brand board) */
  --navy: #0F172A;
  --navy-2: #16213A;
  --navy-3: #22324F;
  --blue: #3B82F6;
  --teal: #14B8A6;
  --wood: #B57A44;
  --grey: #E5E7EB;
  --brand-grad: linear-gradient(90deg, #2563EB, #14B8A6);

  /* Hub tokens */
  --hub-bg: #FFFFFF;
  --hub-surface: #F5F7FA;
  --hub-card: #FFFFFF;
  --hub-text: #0F172A;
  --hub-muted: #526077;
  --hub-accent: #0F172A;
  --hub-accent-contrast: #FFFFFF;
  --hub-link: #2563EB;
  --hub-teal-ink: #0F766E;
  --hub-border: #E5E7EB;
  --hub-border-strong: #CBD2DC;
  --hub-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 14px 30px -16px rgba(15, 23, 42, .28);
  --hub-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -24px rgba(15, 23, 42, .35);
  --hub-safety: #8A5300;
  --hub-safety-bg: #FFF6E6;
  --hub-safety-line: #F1D9A8;
  --hub-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hub-font-display: var(--hub-font);
  --hub-radius: 16px;
  --hub-max: 76rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tabbar-h: 0px;
  --logo-leg: #0F172A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hub-bg: #0B1220;
    --hub-surface: #0F172A;
    --hub-card: #121C30;
    --hub-text: #EEF2F7;
    --hub-muted: #9AA6BA;
    --hub-accent: #EEF2F7;
    --hub-accent-contrast: #0B1220;
    --hub-link: #7FB0FF;
    --hub-teal-ink: #2DD4BF;
    --hub-border: #1F2A40;
    --hub-border-strong: #2E3D5A;
    --hub-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .85);
    --hub-shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .9);
    --hub-safety: #F2B85C;
    --hub-safety-bg: #241E13;
    --hub-safety-line: #4A3B1E;
    --logo-leg: #22324F;
  }
}

/* Section colours (woodworking takes the brand wood). Each section names its hue in src/registry.js;
   tools use the matching --sec-l / --sec-d pair from design-kit.md K1. */
.hue-wood { --c: #B57A44; }      /* woodworking */
.hue-indigo { --c: #4F46E5; }    /* metalworking */
.hue-teal { --c: #0D9488; }      /* floors-walls */
.hue-blue { --c: #2563EB; }      /* painting-finishing */
.hue-slate { --c: #64748B; }     /* concrete-masonry */
.hue-green { --c: #16A34A; }     /* outdoor-garden */
.hue-pink { --c: #DB2777; }      /* 3d-printing */
.hue-fuchsia { --c: #C026D3; }   /* electronics */
.hue-orange { --c: #EA7A2E; }    /* kitchen-baking */
.hue-sky { --c: #0284C7; }       /* general */
@media (prefers-color-scheme: dark) {
  .hue-wood { --c: #D29A62; } .hue-indigo { --c: #818CF8; } .hue-teal { --c: #2DD4BF; } .hue-blue { --c: #6EA2FF; }
  .hue-slate { --c: #A3B1C6; } .hue-green { --c: #4ADE80; } .hue-pink { --c: #F472B6; } .hue-fuchsia { --c: #E879F9; }
  .hue-orange { --c: #FB923C; } .hue-sky { --c: #38BDF8; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(4.5rem + env(safe-area-inset-top, 0px)); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--hub-bg); color: var(--hub-text);
  font-family: var(--hub-font); font-size: .97rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--teal) 28%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 22px; height: 22px; flex: none; }
.ico.sm { width: 16px; height: 16px; }

.wrap { max-width: var(--hub-max); margin: 0 auto; padding: 0 1.15rem; }
@media (min-width: 720px) { .wrap { padding: 0 2rem; } }

.skip {
  position: absolute; left: .5rem; top: -6rem; z-index: 50;
  background: var(--hub-card); color: var(--hub-text); padding: .5rem .75rem; border-radius: 10px;
}
.skip:focus { top: calc(.5rem + env(safe-area-inset-top, 0px)); box-shadow: var(--hub-shadow); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--hub-font-display); margin: 0; color: var(--hub-text); }
h1 { font-size: clamp(2.3rem, 1.45rem + 3.4vw, 3.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
h2 { font-size: clamp(1.35rem, 1.15rem + .85vw, 1.8rem); font-weight: 750; line-height: 1.18; letter-spacing: -.02em; }
h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(.98rem, .94rem + .25vw, 1.08rem); color: var(--hub-muted); max-width: 54ch; margin: .9rem 0 0; }
.sub { color: var(--hub-muted); margin: .45rem 0 0; max-width: 62ch; }
.block { padding-top: clamp(3rem, 2.2rem + 3vw, 5rem); }
.kicker { display: flex; align-items: center; gap: .8rem; margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hub-teal-ink); }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--hub-border); }
.swoosh { display: block; width: min(15rem, 62%); height: auto; margin-top: .55rem; overflow: visible; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; white-space: nowrap; }
.logo { width: 36px; height: 31px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-accent { background: linear-gradient(90deg, #4F8DF7, #2DD4BF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-stack { display: flex; flex-direction: column; line-height: 1.05; }
.brand-main { font-size: 1.1rem; font-weight: 800; letter-spacing: .01em; }
.brand-by { font-size: .72rem; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .72); margin-top: .1rem; }
.brand-by .brand-accent { font-weight: 800; }

/* ---------- Header (navy on every page) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px);
  --logo-leg: #22324F;
  background: rgba(15, 23, 42, .94); color: #fff;
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header-row { display: flex; align-items: center; gap: 1rem 2.5rem; min-height: 4.1rem; }
.main-nav { display: flex; gap: .25rem 1.6rem; font-size: .86rem; font-weight: 600; margin-right: auto; }
.main-nav a { position: relative; color: rgba(255, 255, 255, .7); text-decoration: none; padding: 1.35rem 0 1.25rem; }
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.header-tools { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn .ico { width: 20px; height: 20px; }
.lang-switch { display: flex; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px; }
.lang-switch a { color: rgba(255, 255, 255, .66); text-decoration: none; font-size: .72rem; font-weight: 700; padding: .3rem .55rem; border-radius: 999px; line-height: 1.2; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { color: var(--navy); background: #fff; }
.site-header :focus-visible { outline-color: #2DD4BF; }

/* ---------- Bottom tab bar (phones) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) { .main-nav { display: none; } }
@media (max-width: 720px) {
  :root { --tabbar-h: 62px; }
  .header-row { min-height: 3.6rem; gap: .5rem; }
  .header-tools { gap: .2rem; }
  .logo { width: 32px; height: 28px; }
  .brand-name { font-size: 1.02rem; }
  .brand-main { font-size: 1rem; }
  .brand-by { font-size: .68rem; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: color-mix(in srgb, var(--hub-bg) 94%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-top: 1px solid var(--hub-border);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--hub-muted); text-decoration: none; font-size: .64rem; font-weight: 600; min-width: 0; }
  .tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .tabbar a[aria-current="page"] { color: var(--hub-text); }
  .tabbar a[aria-current="page"] .ico { color: var(--hub-teal-ink); }
}
@media (max-width: 400px) { .lang-switch a { padding: .3rem .42rem; } }

/* ---------- Navy panels: hero, banners, "next project" ---------- */
.hero, .banner, .next {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--navy);
  --logo-leg: #22324F;
}
/* Blueprint grid + soft brand light: the workshop-meets-tech backdrop when there is no photo. */
.hero::before, .banner::before, .next::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 80% at 88% 10%, rgba(59, 130, 246, .2), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(20, 184, 166, .14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px;
}

/* ---------- Hero ---------- */
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, .94) 0%, rgba(15, 23, 42, .7) 45%, rgba(15, 23, 42, .15) 100%),
              linear-gradient(0deg, rgba(15, 23, 42, .5), transparent 40%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 2rem 3rem;
  padding-top: clamp(3rem, 2rem + 5vw, 6rem); padding-bottom: clamp(6rem, 5rem + 4vw, 8.5rem);
}
@media (min-width: 960px) { .hero:not(.has-photo) .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.eyebrow { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin: 0 0 1.1rem; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #2DD4BF; }
.eyebrow span + span::before { content: "•"; margin-right: .75rem; color: rgba(255, 255, 255, .45); }
.hero h1 { color: #fff; max-width: 13ch; text-wrap: balance; }
.hero-swoosh { margin-top: .7rem; }
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-search {
  display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; max-width: 32rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 999px; padding: .3rem .3rem .3rem 1.1rem;
}
.hero-search .ico { color: rgba(255, 255, 255, .6); width: 19px; height: 19px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: #fff; padding: .55rem 0; }
.hero-search input::placeholder { color: rgba(255, 255, 255, .55); }
.hero-search:focus-within { border-color: #2DD4BF; background: rgba(255, 255, 255, .1); }
.go-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; }
.go-btn:hover { background: #2DD4BF; }
.go-btn .ico { color: var(--navy); width: 18px; height: 18px; }

/* Hero illustration: a cutting-plan window over circuit traces. */
.hero-art { position: relative; display: none; aspect-ratio: 5 / 4; max-width: 34rem; width: 100%; justify-self: end; }
@media (min-width: 960px) { .hero-art { display: block; } }
.art-traces { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(45, 212, 191, .4); stroke-width: 2; }
.art-traces circle { fill: var(--navy); stroke: #2DD4BF; }
.art-window {
  position: absolute; left: 9%; right: 6%; top: 13%; display: flex; flex-direction: column; gap: .55rem;
  padding: .9rem 1rem 1.1rem; border-radius: 16px; background: #F8FAFC; color: var(--navy);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-2deg); transition: transform .6s var(--ease);
}
.hero-art:hover .art-window { transform: rotate(0deg) translateY(-4px); }
.art-dots { display: flex; gap: 5px; margin-bottom: .2rem; }
.art-dots i { width: 8px; height: 8px; border-radius: 50%; background: #CBD2DC; }
.art-dots i:first-child { background: #F87171; } .art-dots i:nth-child(2) { background: #FBBF24; } .art-dots i:last-child { background: #34D399; }
.art-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-bottom: .35rem; }
.art-stats span { display: flex; flex-direction: column; gap: .35rem; padding: .55rem .65rem; border-radius: 10px; background: #fff; border: 1px solid #E5E7EB; }
.art-stats span:first-child { background: #EAF2FF; border-color: #CFE0FE; }
.art-stats b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.art-stats span:first-child b { color: #2563EB; }
.art-stats i { display: block; width: 70%; height: 5px; border-radius: 3px; background: #E5E7EB; }
.art-board { display: flex; gap: 2px; height: 2.1rem; padding: 2px; border-radius: 6px; background: #94A3B8; }
.art-board i { display: grid; place-items: center; min-width: 0; border-radius: 3px; font-style: normal; }
.art-board b { font-size: .64rem; font-weight: 700; color: rgba(15, 23, 42, .75); }
.art-board .w1 { background: #F3D7AE; } .art-board .w2 { background: #C9DCFB; } .art-board .w3 { background: #C2EDE3; }
.art-board .off { background: #EEF4FF; outline: 1.5px dashed #3B82F6; outline-offset: -3px; }
.art-board .waste { background: repeating-linear-gradient(135deg, #CBD2DC 0 3px, #E5E7EB 3px 6px); }
.art-chip {
  position: absolute; left: 0; bottom: 9%; display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem; border-radius: 999px; background: var(--navy-2); color: #fff; font-size: .82rem;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6);
}
.art-chip .ico { color: #2DD4BF; }

/* ---------- Pillars (overlap the hero) ---------- */
.pillars-wrap { position: relative; z-index: 2; margin-top: -4.25rem; }
.pillars {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--hub-card); border: 1px solid var(--hub-border); border-radius: 20px; box-shadow: var(--hub-shadow-lg); overflow: hidden;
}
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillars li { min-width: 0; border-top: 1px solid var(--hub-border); }
.pillars li:nth-child(-n+2) { border-top: 0; }
.pillars li:nth-child(even) { border-left: 1px solid var(--hub-border); }
@media (min-width: 900px) {
  .pillars li { border-top: 0; }
  .pillars li + li { border-left: 1px solid var(--hub-border); }
}
.pillar { display: flex; flex-direction: column; height: 100%; padding: 1.35rem 1.4rem 1.4rem; color: var(--hub-text); text-decoration: none; transition: background-color .2s ease; }
a.pillar:hover { background: var(--hub-surface); }
.pillar-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .9rem; border-radius: 12px; color: #2563EB; background: color-mix(in srgb, #3B82F6 10%, var(--hub-card)); }
.pillars li:nth-child(2) .pillar-ico { color: var(--hub-teal-ink); background: color-mix(in srgb, #14B8A6 12%, var(--hub-card)); }
.pillars li:nth-child(3) .pillar-ico { color: #9A6432; background: color-mix(in srgb, #B57A44 14%, var(--hub-card)); }
.pillars li:nth-child(4) .pillar-ico { color: var(--hub-text); background: var(--hub-surface); }
.pillar p { margin: .3rem 0 0; color: var(--hub-muted); font-size: .86rem; line-height: 1.5; }
.pillar-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .9rem; color: var(--hub-link); font-size: .84rem; font-weight: 700; }
.pillar-link .ico { transition: transform .2s var(--ease); }
a.pillar:hover .pillar-link .ico { transform: translateX(3px); }
.pillar-link.soon { align-self: flex-start; color: var(--hub-muted); font-weight: 600; font-size: .74rem; padding: .22rem .6rem; margin-top: auto; border: 1px solid var(--hub-border); border-radius: 999px; }
.pillar.is-soon { padding-bottom: 1.4rem; }
.pillar.is-soon .pillar-link.soon { margin-top: .9rem; }
@media (max-width: 560px) {
  .pillar { padding: 1.05rem 1rem 1.1rem; }
  .pillar-ico { width: 38px; height: 38px; margin-bottom: .7rem; }
  .pillar h3 { font-size: .92rem; }
  .pillar p { font-size: .8rem; }
}
@media (prefers-color-scheme: dark) {
  .pillars li:nth-child(3) .pillar-ico { color: #D29A62; }
  .pillar-ico { color: #7FB0FF; }
}

/* ---------- Section tiles ---------- */
.tiles-block { padding-top: clamp(2.75rem, 2rem + 2.5vw, 4rem); }
.tiles { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile {
  display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 1rem 1rem 1.05rem; border-radius: var(--hub-radius); text-decoration: none; color: var(--hub-text);
  background: var(--hub-card); border: 1px solid var(--hub-border); position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s ease;
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tile-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: .75rem; color: var(--c); background: color-mix(in srgb, var(--c) 13%, var(--hub-card)); }
.tile-name { font-weight: 700; font-size: .92rem; letter-spacing: -.01em; line-height: 1.25; }
.tile-sub { color: var(--hub-muted); font-size: .78rem; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--hub-shadow); border-color: color-mix(in srgb, var(--c) 35%, var(--hub-border)); }
.tile:hover::after { transform: scaleX(1); }

/* ---------- Row heads, "View all" ---------- */
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: .35rem; color: var(--hub-link); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.more .ico { transition: transform .2s var(--ease); }
.more:hover .ico { transform: translateX(3px); }

/* ---------- Featured tools ---------- */
.feat { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: .9rem; }
.feat-card {
  display: flex; flex-direction: column; height: 100%; padding: 1.1rem 1.1rem 1.2rem; border-radius: var(--hub-radius);
  background: var(--hub-surface); border: 1px solid transparent; color: var(--hub-text); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, border-color .2s ease;
}
.feat-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--hub-card); border: 1px solid var(--hub-border); color: var(--c); margin-bottom: 1.4rem; }
.feat-name { font-weight: 700; letter-spacing: -.01em; font-size: .95rem; }
.feat-desc { color: var(--hub-muted); font-size: .83rem; margin-top: .3rem; line-height: 1.5; }
.feat-card:hover { transform: translateY(-3px); background: var(--hub-card); border-color: var(--hub-border); box-shadow: var(--hub-shadow); }
@media (max-width: 720px) {
  .feat { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
  .feat li { scroll-snap-align: start; }
}

/* ---------- Catalog ---------- */
.cat-search { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; padding: 0 1rem; height: 50px; border: 1px solid var(--hub-border); border-radius: 999px; background: var(--hub-card); }
.cat-search .ico { color: var(--hub-muted); width: 19px; height: 19px; }
.cat-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; color: var(--hub-text); }
.cat-search input::placeholder { color: var(--hub-muted); }
.cat-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.catalog { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 2rem; margin-top: 1.75rem; }
@media (min-width: 900px) { .catalog { grid-template-columns: 15rem minmax(0, 1fr); } }
.cat-side h3 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hub-muted); margin-bottom: .7rem; }
.cat-side ul { list-style: none; margin: 0; padding: 0; }
.cat-side a { position: relative; display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 10px; color: var(--hub-muted); text-decoration: none; font-size: .86rem; font-weight: 600; }
.cat-side a .ico { width: 18px; height: 18px; }
.cat-side a span { flex: 1; min-width: 0; }
.cat-side a b { font-weight: 600; font-size: .76rem; color: var(--hub-muted); font-variant-numeric: tabular-nums; }
.cat-side a:hover { color: var(--hub-text); background: var(--hub-surface); }
.cat-side a[aria-current="true"] { color: var(--hub-text); background: var(--hub-surface); }
@media (min-width: 900px) {
  .cat-side a[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 3px; border-radius: 3px; background: var(--brand-grad); }
}
@media (max-width: 899px) {
  .cat-side h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cat-side ul { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1.15rem; padding: 0 1.15rem .25rem; }
  .cat-side a { white-space: nowrap; border: 1px solid var(--hub-border); border-radius: 999px; padding: .45rem .85rem; }
  .cat-side a .ico { display: none; }
  .cat-side a[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
  .cat-side a[aria-current="true"] b { color: inherit; opacity: .7; }
}
@media (max-width: 899px) and (prefers-color-scheme: dark) { .cat-side a[aria-current="true"] { background: #EEF2F7; color: #0B1220; border-color: #EEF2F7; } }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: 1rem; }
.cards.wide { margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.card-item[hidden] { display: none; }
.tcard {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--hub-radius);
  background: var(--hub-card); border: 1px solid var(--hub-border); color: var(--hub-text); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s ease;
}
a.tcard:hover { transform: translateY(-3px); box-shadow: var(--hub-shadow); border-color: var(--hub-border-strong); }
a.tcard:hover .go { transform: translateX(3px); color: var(--hub-link); }
.media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; color: var(--c);
  background:
    linear-gradient(color-mix(in srgb, var(--c) 9%, transparent) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, transparent) 1px, transparent 1px) 0 0 / 18px 18px,
    color-mix(in srgb, var(--c) 8%, var(--hub-card)); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.tcard:hover .media img, .pcard:hover .media img { transform: scale(1.04); }
.ico-xl { width: 34%; height: auto; max-width: 84px; stroke-width: 1.3; }
.tcard .media { margin: .45rem .45rem 0; border-radius: 11px; }
.tcard-body { display: flex; flex-direction: column; flex: 1; padding: .85rem 1rem 1rem; }
.tcard-name { font-weight: 700; letter-spacing: -.01em; font-size: .95rem; }
.tcard-desc { color: var(--hub-muted); font-size: .83rem; line-height: 1.5; margin-top: .3rem; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.go { width: 18px; height: 18px; color: var(--hub-muted); transition: transform .2s var(--ease), color .2s ease; }
.tcard.is-soon { background: var(--hub-surface); border-style: dashed; }
.tcard.is-soon .media { filter: grayscale(1); opacity: .55; }
.tcard.is-soon .tcard-name { color: var(--hub-muted); }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; line-height: 1.2; padding: .28rem .6rem; border-radius: 999px; color: var(--hub-muted); background: var(--hub-surface); }
.chip[class*="hue-"] { color: color-mix(in srgb, var(--c) 78%, var(--hub-text)); background: color-mix(in srgb, var(--c) 12%, var(--hub-card)); }
.is-soon .chip { color: var(--hub-muted); background: var(--hub-card); border: 1px solid var(--hub-border); }
.search-none { color: var(--hub-muted); margin: 1rem 0 0; }
/* Phones: tool cards become compact rows (thumbnail left, text right). */
@media (max-width: 600px) {
  .cards, .cards.wide { gap: .6rem; }
  .tcard { flex-direction: row; align-items: stretch; }
  .tcard .media { flex: none; width: 88px; aspect-ratio: auto; margin: .45rem 0 .45rem .45rem; }
  .tcard .ico-xl { width: 44%; }
  .tcard-body { padding: .7rem .9rem .75rem; min-width: 0; }
  .tcard-foot { padding-top: .55rem; }
}

/* ---------- Project cards ---------- */
.pgrid { display: grid; gap: 1.25rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.pcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--hub-card); border: 1px solid var(--hub-border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s ease;
}
.pcard:hover, .pcard:focus-within { transform: translateY(-4px); box-shadow: var(--hub-shadow); border-color: var(--hub-border-strong); }
.pcard-media { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .pcard-media { aspect-ratio: 21 / 9; } }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.pcard h2, .pcard h3 { font-size: 1.15rem; font-weight: 750; letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; }
.psteps { list-style: none; counter-reset: step; margin: 1rem 0 1.25rem; padding: 0; }
.psteps li { counter-increment: step; position: relative; padding: .38rem 0 .38rem 2rem; font-size: .9rem; line-height: 1.4; }
.psteps li::before {
  content: counter(step); position: absolute; left: 0; top: .4rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--hub-surface); color: var(--hub-muted);
}
.psteps a { font-weight: 700; text-decoration: none; color: var(--hub-text); }
.psteps a:hover { color: var(--hub-link); text-decoration: underline; }
.step-text { color: var(--hub-muted); }
.step-note { display: inline-block; font-size: .7rem; color: var(--hub-muted); border: 1px solid var(--hub-border); border-radius: 999px; padding: 0 .45rem; margin-left: .2rem; }
.pcard .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--hub-accent); color: var(--hub-accent-contrast); font: inherit; font-weight: 700; font-size: .88rem;
  text-decoration: none; padding: .78rem 1.25rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease, transform .2s var(--ease);
}
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-brand { background: var(--teal); color: var(--navy); }
.btn-brand:hover { background: #2DD4BF; opacity: 1; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); opacity: 1; }

/* ---------- The best of both worlds ---------- */
.both { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.75rem 2.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.both li { position: relative; }
@media (min-width: 900px) {
  .both { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .both li + li::before { content: "+"; position: absolute; left: -1.375rem; top: .95rem; transform: translateX(-50%); color: var(--hub-teal-ink); font-weight: 700; font-size: 1.1rem; }
}
.both-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: .9rem; border: 1px solid var(--hub-border); background: var(--hub-card); color: #2563EB; }
.both li:nth-child(2) .both-ico { color: #9A6432; }
.both li:nth-child(3) .both-ico { color: var(--hub-teal-ink); }
.both-ico .ico { width: 26px; height: 26px; }
.both p { margin: .3rem 0 0; color: var(--hub-muted); font-size: .86rem; }
@media (prefers-color-scheme: dark) { .both-ico { color: #7FB0FF; } .both li:nth-child(2) .both-ico { color: #D29A62; } }

/* ---------- "Build your next project" ---------- */
.next { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
@media (min-width: 800px) { .next { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.next-media { position: absolute; inset: 0; z-index: -1; }
.next-media img { width: 100%; height: 100%; object-fit: cover; }
.next.has-photo .next-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .45) 65%, rgba(15, 23, 42, .1)); }
.next-text { padding: clamp(1.75rem, 1.25rem + 2.5vw, 3rem); }
.next-brand { margin: 0 0 .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2DD4BF; }
.next h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; max-width: 16ch; }
.next-text > p:not(.next-brand) { color: rgba(255, 255, 255, .76); max-width: 46ch; margin: 1rem 0 1.5rem; }
.next-art { display: none; place-items: center; padding: 2rem; }
@media (min-width: 800px) { .next-art { display: grid; } }
.next-art .logo { width: min(15rem, 80%); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); transition: transform .6s var(--ease); }
.next:hover .next-art .logo { transform: translateY(-4px) rotate(-2deg); }

/* ---------- Ko-fi ---------- */
.kofi-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border-radius: 20px; background: var(--hub-surface); border: 1px solid var(--hub-border);
}
.kofi-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: color-mix(in srgb, var(--c) 15%, var(--hub-card)); color: var(--c); }
.kofi-ico .ico { width: 26px; height: 26px; }
.kofi-text { flex: 1 1 18rem; }
.kofi-text h2 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }
.kofi-text p { margin: .3rem 0 0; color: var(--hub-muted); max-width: 54ch; }

/* ---------- Banners (section and project pages) ---------- */
.banner-media { position: absolute; inset: 0; z-index: -1; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner.has-photo .banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .45) 60%, rgba(15, 23, 42, .15)); }
.banner:not(.has-photo) .banner-media { background: radial-gradient(50% 120% at 92% 50%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%); }
.banner-art { position: absolute; right: 6%; top: 50%; width: min(30%, 240px); height: auto; transform: translateY(-50%) rotate(-8deg); color: color-mix(in srgb, var(--c) 65%, #fff); opacity: .5; stroke-width: 1; }
.banner-inner { position: relative; padding-top: clamp(2rem, 1.5rem + 3vw, 3.5rem); padding-bottom: clamp(2.25rem, 1.5rem + 3.5vw, 4rem); }
.banner h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); max-width: 18ch; }
.banner .lead { color: rgba(255, 255, 255, .78); }
.banner .crumbs, .banner .crumbs a { color: rgba(255, 255, 255, .7); }
.banner .crumbs li + li::before { color: rgba(255, 255, 255, .35); }

/* ---------- Plain page head ---------- */
.page-head { background: var(--hub-surface); border-bottom: 1px solid var(--hub-border); }
.page-head .wrap { padding-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); padding-bottom: clamp(1.75rem, 1.4rem + 2vw, 2.75rem); }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); max-width: 20ch; }
.crumbs { font-size: .82rem; color: var(--hub-muted); margin-bottom: .9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--hub-border-strong); }
.crumbs a { color: var(--hub-muted); text-decoration: none; }
.crumbs a:hover { color: var(--hub-text); text-decoration: underline; }

/* ---------- Text pages, gear ---------- */
.prose { max-width: 42rem; font-size: 1rem; line-height: 1.75; }
.prose p { margin: 0 0 1.1rem; }
.prose a { color: var(--hub-link); text-decoration: underline; }
.prose h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.prose h2.block { padding-top: 2rem; }
.legal-list { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: .75rem 0 0; }
.legal-list dt { font-weight: 700; }
.legal-list dd { margin: 0; }
.gear-host { margin-top: 1.25rem; }
.gear-group + .gear-group { margin-top: 3rem; }
.gear { border-radius: var(--hub-radius) !important; max-width: 52rem !important; }

/* ---------- Safety ---------- */
.safety { background: var(--hub-safety-bg); border: 1px solid var(--hub-safety-line); border-radius: 18px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); margin-top: 1.25rem; }
.safety:first-child { margin-top: 0; }
.safety h2 { margin-bottom: .35rem; }
.safety > p { max-width: 64ch; }
.ppe-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.ppe-table th, .ppe-table td { text-align: left; vertical-align: top; padding: .85rem 1rem .85rem 0; border-top: 1px solid var(--hub-safety-line); }
.ppe-table th { font-size: .78rem; color: var(--hub-muted); font-weight: 700; border-top: none; }
.ppe-table td:first-child { width: 68px; }
.ppe-table .std { white-space: nowrap; font-size: .88rem; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.picto { display: block; width: 52px; height: 52px; }
@media (max-width: 560px) {
  .ppe-table thead { display: none; }
  .ppe-table, .ppe-table tbody { display: block; width: 100%; }
  .ppe-table tr { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 0 .75rem; border-top: 1px solid var(--hub-safety-line); padding: .85rem 0; }
  .ppe-table td { border: none; padding: 0; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
  .ppe-table td:first-child { grid-row: span 3; }
}
.emergency { list-style: none; margin: 1rem 0 0; padding: 0; }
.emergency li { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--hub-safety-line); }
.emergency a { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--hub-text); text-decoration: none; min-width: 7ch; font-variant-numeric: tabular-nums; }
.emergency a:hover { color: var(--hub-safety); }
.safety-end { font-weight: 700; margin: 1.25rem 0 0; }

/* ---------- Language suggestion banner ---------- */
.lang-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); z-index: 45;
  max-width: 30rem; margin: 0 auto; background: var(--hub-card); color: var(--hub-text);
  border: 1px solid var(--hub-border); border-radius: 14px; padding: .75rem .75rem .75rem 1rem;
  display: flex; align-items: center; gap: .75rem; box-shadow: var(--hub-shadow);
}
.lang-banner p { margin: 0; flex: 1; font-size: .9rem; }
.lang-banner a { font-weight: 700; white-space: nowrap; color: var(--hub-link); }
.lang-banner button { font: inherit; font-size: 1.2rem; line-height: 1; background: none; border: 0; color: var(--hub-muted); cursor: pointer; padding: .25rem .45rem; }

/* ---------- Footer (navy) ---------- */
.site-footer { --logo-leg: #22324F; margin-top: clamp(4rem, 3rem + 4vw, 6rem); background: var(--navy); color: rgba(255, 255, 255, .66); font-size: .84rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #080E1A; border-top: 1px solid var(--hub-border); } }
.footer-grid { display: grid; gap: 2rem 3rem; padding-top: 3rem; padding-bottom: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); } }
.footer-brand .tagline { margin: .9rem 0 0; color: #fff; font-weight: 600; font-size: .95rem; }
.footer-swoosh { width: 9.5rem; margin-top: .35rem; }
.social { list-style: none; display: flex; gap: .6rem; margin: 1.4rem 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.social a:hover { background: rgba(45, 212, 191, .14); border-color: #2DD4BF; transform: translateY(-2px); }
.social .ico { width: 19px; height: 19px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .55rem 2rem; align-content: start; }
.footer-links a { color: #fff; text-decoration: none; width: fit-content; font-weight: 600; }
.footer-links a:hover { color: #2DD4BF; }
.footer-text p { margin: 0 0 .9rem; line-height: 1.65; }
.footer-copy { padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer :focus-visible { outline-color: #2DD4BF; }

/* ---------- Heading reveal (hub.js adds .reveal to <html>) ---------- */
.reveal [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(.5rem); }
.reveal [data-reveal].is-in { transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .tile:hover, .feat-card:hover, a.tcard:hover, .pcard:hover, .pcard:focus-within, .social a:hover { transform: none; }
  a.tcard:hover .media img, .pcard:hover .media img { transform: none; }
  .hero-art:hover .art-window, .next:hover .next-art .logo { transform: none; }
  .art-window { transform: rotate(-2deg); }
  .reveal [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  :root { --hub-bg: #fff; --hub-surface: #fff; --hub-card: #fff; --hub-text: #111; --hub-muted: #444; --hub-border: #bbb; --hub-border-strong: #999; --hub-link: #1D4ED8; --hub-teal-ink: #0F766E; --hub-safety: #8A5300; --hub-safety-bg: #fff; --hub-safety-line: #C9A35A; }
  .site-header, .tabbar, .lang-banner, .hero-search, .hero-ctas, .hero-art, .cat-search, .kofi, .skip, .hero-media, .banner-media, .cat-side, .next, .pillars-wrap, .social { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero, .banner { background: none; color: #000; }
  .hero::before, .banner::before { display: none; }
  .hero h1, .hero .lead, .banner h1, .banner .lead, .eyebrow, .banner .crumbs a { color: #000 !important; }
  .hero-inner { padding: 1rem 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .tcard, .pcard, .tile, .feat-card { break-inside: avoid; box-shadow: none !important; transform: none !important; }
  .safety { background: #fff; border-color: #c9a35a; }
  .site-footer { background: none; color: #000; }
  .footer-links a, .footer-brand .tagline, .brand-by { color: #000; }
  .brand-accent { color: #0F766E; background: none; }
}
