/*
Theme Name: Cendah
Theme URI: https://cendahltd.co.ke
Author: Cendah Limited
Author URI: https://cendahltd.co.ke
Description: Bespoke theme for Cendah Limited — a Nairobi multidisciplinary firm spanning construction & infrastructure delivery and business development services & training. Engineering-schedule aesthetic, light-first palette, two-accent division system (clay orange + blueprint teal). Includes a Projects custom post type and Customizer-managed contact details.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cendah
Tags: business, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CENDAH LIMITED — shared stylesheet
   Design system: "engineering schedule" — Archivo display, IBM Plex Sans body,
   IBM Plex Mono for spec data. Two accents encode the two divisions:
   construction = clay orange, advisory = blueprint teal.
   ========================================================================== */

:root {
  --ink:      #14201e;   /* bedrock — dark sections, primary text */
  --ink-2:    #1b2b28;   /* raised dark surface */
  --bone:     #edeae2;   /* warm concrete — light page background */
  --paper:    #f7f5f0;   /* lighter card surface */
  --panel:    #e3ddd0;   /* warm sand — tinted band (replaces old dark bands) */
  --hero-1:   #f8f6f1;   /* hero gradient top */
  --hero-2:   #ece9e1;   /* hero gradient bottom */
  --build:    #d2542a;   /* construction accent — clay / survey orange */
  --build-d:  #b5431d;
  --advise:   #1b7a6f;   /* business development accent — blueprint teal */
  --advise-d: #145e55;
  --steel:    #56635f;   /* muted secondary text */
  --steel-2:  #7a8884;
  --line:     rgba(20, 32, 30, 0.14);
  --line-d:   rgba(237, 234, 226, 0.16);
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---- Type roles ------------------------------------------------------- */
.display {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.mono { font-family: "IBM Plex Mono", monospace; }

h1, h2, h3 { font-family: "Archivo", sans-serif; font-weight: 800; }

.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--steel);
  max-width: 62ch;
}

/* ---- Layout primitives ------------------------------------------------ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--dark { background: var(--panel); color: var(--ink); }
.section--dark .eyebrow { color: var(--steel); }
.section--dark .lead { color: var(--steel); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .divider { background: var(--line); }

/* section heading block */
.head { max-width: 760px; }
.head .eyebrow { display: block; margin-bottom: 18px; }
.head h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.head p { margin: 0; }

/* eyebrow with a colored tick */
.tick { display: inline-flex; align-items: center; gap: 10px; }
.tick::before {
  content: ""; width: 22px; height: 3px; background: var(--build); flex: none;
}
.tick--advise::before { background: var(--advise); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 22px; border-radius: var(--r);
  background: var(--ink); color: var(--bone);
  border: 1px solid var(--ink);
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--build { background: var(--build); border-color: var(--build); color: #fff; }
.btn--build:hover { background: var(--build-d); }
.btn--advise { background: var(--advise); border-color: var(--advise); color: #fff; }
.btn--advise:hover { background: var(--advise-d); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.section--dark .btn--ghost { color: var(--ink); border-color: var(--line); }
.section--dark .btn--ghost:hover { background: var(--ink); color: var(--bone); }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 234, 226, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b {
  font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%;
  font-size: 21px; letter-spacing: 0.02em; text-transform: uppercase;
}
.brand span { font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.12em; color: var(--steel); display:block; margin-top:-2px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; color: var(--steel);
  padding: 8px 12px; border-radius: var(--r);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; display:block; height:2px; background: var(--build);
  margin-top: 4px; border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: var(--r); padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; display:block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 16px; margin: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 12px 4px 0; justify-content: center; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--hero-1), var(--hero-2)); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.hero-contours path { fill: none; stroke: rgba(20,32,30,0.07); stroke-width: 1; }
.hero-inner { position: relative; padding-block: clamp(72px, 13vw, 150px); }
.hero .eyebrow { color: var(--steel); display: block; margin-bottom: 26px; }
.hero h1 {
  font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(38px, 8.2vw, 92px); line-height: 0.94;
  letter-spacing: -0.015em; margin: 0 0 28px; max-width: 16ch;
}
.hero h1 .o { color: var(--build); }
.hero h1 .t { color: var(--advise); }
.hero .lead { color: var(--steel); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* spec strip */
.spec-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); margin-top: clamp(44px, 7vw, 76px);
}
.spec-strip .cell { padding: 26px 22px 26px 0; border-right: 1px solid var(--line); }
.spec-strip .cell:last-child { border-right: 0; }
.spec-strip .n { font-family:"Archivo",sans-serif; font-weight:800; font-stretch:125%; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; }
.spec-strip .n .u { color: var(--build); }
.spec-strip .l { display:block; font-family:"IBM Plex Mono",monospace; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--steel-2); margin-top: 10px; }
@media (max-width: 720px) {
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec-strip .cell:nth-child(2n) { border-right: 0; }
  .spec-strip .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---- Page hero (interior pages) -------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--hero-1), var(--hero-2)); color: var(--ink); position: relative; overflow:hidden; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; padding-block: clamp(64px, 9vw, 110px); }
.page-hero .eyebrow { color: var(--steel); display:block; margin-bottom: 20px; }
.page-hero h1 {
  font-stretch:125%; text-transform: uppercase;
  font-size: clamp(34px, 6.5vw, 68px); line-height: 0.98; letter-spacing:-0.01em;
  margin: 0 0 22px; max-width: 18ch;
}
.page-hero .accent-o { color: var(--build); }
.page-hero .accent-t { color: var(--advise); }
.page-hero .lead { color: var(--steel); }
.page-hero-bg { position:absolute; inset:0; opacity:.65; }
.page-hero-bg path { fill:none; stroke: rgba(20,32,30,0.07); stroke-width:1; }

/* breadcrumb */
.crumb { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--steel); margin-bottom: 22px; }
.crumb a { color: var(--steel); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* ---- Two divisions block (home) -------------------------------------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 820px){ .divisions { grid-template-columns: 1fr; } }
.division {
  position: relative; padding: clamp(34px, 4vw, 56px);
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.divisions .division:first-child { border-right: 0; }
@media (max-width: 820px){ .divisions .division:first-child { border-right: 1px solid var(--line); border-bottom: 0; } }
.division:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(20,32,30,.5); z-index: 1; }
.division .bar { width: 46px; height: 5px; background: var(--build); margin-bottom: 26px; }
.division--advise .bar { background: var(--advise); }
.division .idx { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.14em; color: var(--steel); }
.division h3 { font-size: clamp(24px, 3.2vw, 34px); font-stretch:115%; text-transform:uppercase; line-height:1.02; margin: 14px 0 16px; }
.division p { color: var(--steel); margin: 0 0 24px; }
.division ul { list-style:none; padding:0; margin: 0 0 28px; display:grid; gap:9px; }
.division li { font-family:"IBM Plex Mono",monospace; font-size:12.5px; letter-spacing:.03em; color: var(--ink); padding-left: 18px; position: relative; }
.division li::before { content:"+"; position:absolute; left:0; color: var(--build); font-weight:600; }
.division--advise li::before { color: var(--advise); }
.division .go { font-family:"IBM Plex Mono",monospace; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color: var(--build); display:inline-flex; gap:8px; align-items:center; }
.division--advise .go { color: var(--advise); }

/* ---- Generic card grids ---------------------------------------------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px){ .grid--3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.cell-card { background: var(--bone); padding: clamp(26px, 3vw, 38px); }
.section--dark .grid { background: var(--line); border-color: var(--line); }
.section--dark .cell-card { background: var(--paper); }
.cell-card .num { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.12em; color: var(--steel); }
.cell-card h3 { font-size: 20px; font-stretch:110%; text-transform:uppercase; line-height:1.06; margin: 12px 0 12px; }
.cell-card p { margin: 0; color: var(--steel); font-size: 15.5px; }
.section--dark .cell-card p { color: var(--steel); }
.cell-card .top-accent { width: 34px; height: 4px; background: var(--advise); margin-bottom: 20px; }

/* ---- Service list (BDS) ---------------------------------------------- */
.service { display:grid; grid-template-columns: 120px 1fr; gap: clamp(20px,4vw,56px); padding-block: clamp(34px,5vw,56px); border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .sidx { font-family:"Archivo",sans-serif; font-weight:800; font-stretch:125%; font-size: clamp(40px,6vw,66px); color: var(--advise); line-height:.9; }
.service h3 { font-size: clamp(22px, 3vw, 30px); font-stretch:115%; text-transform:uppercase; margin: 0 0 12px; line-height:1.04; }
.service > div > p { color: var(--steel); margin: 0 0 22px; max-width: 64ch; }
.service .tags { display:flex; flex-wrap:wrap; gap: 8px; }
.service .tags span { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.02em; padding: 6px 11px; border:1px solid var(--line); border-radius: 100px; color: var(--ink); background: var(--paper); }
@media (max-width:680px){ .service { grid-template-columns: 1fr; gap: 14px; } .service .sidx { font-size:44px; } }

/* training catalog columns */
.catalog { display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:900px){ .catalog{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:540px){ .catalog{ grid-template-columns:1fr;} }
.catalog .col { background: var(--bone); padding: clamp(24px,2.6vw,32px); }
.catalog .col h4 { font-family:"Archivo",sans-serif; font-weight:800; font-stretch:110%; text-transform:uppercase; font-size:16px; margin:0 0 16px; padding-bottom:14px; border-bottom:2px solid var(--advise); }
.catalog .col ul { list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.catalog .col li { font-size:14.5px; color: var(--steel); line-height:1.35; }

/* ---- Project schedule (signature) ------------------------------------ */
.schedule { border-top: 2px solid var(--ink); }
.section--dark .schedule { border-top-color: var(--ink); }
.project {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline;
  gap: clamp(14px, 3vw, 40px); padding: clamp(24px,3vw,34px) 0;
  border-bottom: 1px solid var(--line); text-decoration:none; color: inherit;
}
.section--dark .project { border-bottom-color: var(--line); }
.project .pno { font-family:"IBM Plex Mono",monospace; font-size:13px; color: var(--steel); }
.project .pbody h3 { font-size: clamp(19px, 2.4vw, 26px); font-stretch:110%; text-transform:uppercase; line-height:1.05; margin:0 0 10px; }
.project .pmeta { display:flex; flex-wrap:wrap; gap: 8px 20px; }
.project .pmeta span { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.03em; color: var(--steel); }
.project .pmeta .role { color: var(--build); }
.project .pmeta .role.advise { color: var(--advise); }
.project .pval { font-family:"Archivo",sans-serif; font-weight:800; font-stretch:115%; font-size: clamp(18px, 2.4vw, 26px); white-space:nowrap; text-align:right; }
.project .pval small { display:block; font-family:"IBM Plex Mono",monospace; font-weight:400; font-size:11px; letter-spacing:.1em; color: var(--steel); margin-top:4px; }
.project .status { font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--advise); }
@media (max-width: 680px){
  .project { grid-template-columns: 40px 1fr; }
  .project .pval { grid-column: 2; text-align:left; margin-top: 6px; }
}

/* ---- Credentials grid ------------------------------------------------- */
.creds { display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--line); border:1px solid var(--line); }
@media (max-width:820px){ .creds{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .creds{ grid-template-columns:1fr;} }
.cred { background: var(--paper); padding: 28px clamp(20px,2.4vw,30px); }
.cred .chk { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background: var(--advise); color:#fff; font-size:14px; margin-bottom:16px; }
.cred .code { font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em; color: var(--steel); display:block; margin-bottom:6px; }
.cred p { margin:0; font-size:15px; color: var(--ink); }

/* ---- Approach steps --------------------------------------------------- */
.steps { counter-reset: step; display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:820px){ .steps{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:520px){ .steps{ grid-template-columns:1fr;} }
.step { background: var(--bone); padding: clamp(26px,3vw,38px); position:relative; }
.step .sn { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.12em; color: var(--build); margin-bottom:18px; }
.step h4 { font-family:"Archivo",sans-serif; font-weight:800; font-stretch:110%; text-transform:uppercase; font-size:18px; margin:0 0 10px; }
.step p { margin:0; color: var(--steel); font-size:15px; }

/* ---- Sector chips ----------------------------------------------------- */
.sectors { display:flex; flex-wrap:wrap; gap:10px; }
.sectors span { font-family:"IBM Plex Mono",monospace; font-size:13px; letter-spacing:.03em; padding: 12px 18px; border:1px solid var(--line); border-radius: var(--r); background: var(--paper); }

/* ---- Why / feature rows ---------------------------------------------- */
.feature { display:grid; grid-template-columns: 1fr 1.4fr; gap: clamp(16px,3vw,48px); padding-block: clamp(28px,3.5vw,44px); border-top:1px solid var(--line); align-items:start; }
.feature:last-child{ border-bottom:1px solid var(--line); }
.feature h3 { font-size: clamp(20px,2.6vw,28px); font-stretch:110%; text-transform:uppercase; margin:0; line-height:1.03; }
.feature .fno { font-family:"IBM Plex Mono",monospace; font-size:12px; color: var(--build); margin-bottom:10px; }
.feature p { margin:0; color: var(--steel); }
@media (max-width:680px){ .feature{ grid-template-columns:1fr; gap:10px; } }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { background: var(--build); color:#fff; }
.cta-band.advise { background: var(--advise); }
.cta-band .wrap { display:grid; grid-template-columns: 1fr auto; gap: 28px; align-items:center; padding-block: clamp(48px,6vw,80px); }
.cta-band h2 { font-size: clamp(26px,4.4vw,46px); font-stretch:120%; text-transform:uppercase; line-height:1; margin:0; max-width:18ch; }
.cta-band p { margin: 14px 0 0; color: rgba(255,255,255,.85); font-family:"IBM Plex Mono",monospace; font-size:13px; letter-spacing:.04em; }
.cta-band .btn { background:#fff; color: var(--ink); border-color:#fff; }
.cta-band .btn:hover { background: var(--ink); color:#fff; }
@media (max-width:760px){ .cta-band .wrap{ grid-template-columns:1fr; } }

/* ---- Contact ---------------------------------------------------------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-list { list-style:none; margin:0; padding:0; }
.contact-list li { padding: 22px 0; border-top:1px solid var(--line); display:grid; grid-template-columns: 140px 1fr; gap: 18px; }
.contact-list li:last-child{ border-bottom:1px solid var(--line); }
.contact-list .k { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color: var(--steel); }
.contact-list .v { font-size: 16px; }
.contact-list .v a { color: var(--ink); text-decoration:none; border-bottom:1px solid var(--build); }
.contact-list .v a:hover { color: var(--build); }

.form { display:grid; gap: 16px; }
.field { display:grid; gap: 7px; }
.field label { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--steel); }
.field input, .field select, .field textarea {
  font-family:"IBM Plex Sans",sans-serif; font-size:15px; color: var(--ink);
  padding: 13px 14px; border:1px solid var(--line); border-radius: var(--r);
  background: var(--paper); width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--advise); outline-offset: 1px; border-color: transparent; }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.form-note { font-family:"IBM Plex Mono",monospace; font-size:12px; color: var(--steel); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--bone); padding-block: clamp(48px,6vw,72px) 30px; }
.foot-top { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(24px,4vw,56px); }
@media (max-width:780px){ .foot-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .foot-top{ grid-template-columns:1fr; } }
.foot-top .brand b { color: var(--bone); }
.site-footer .fblurb { color:#a9b0ab; max-width: 38ch; margin: 18px 0 0; font-size:15px; }
.foot-col h5 { font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color: var(--steel-2); margin:0 0 16px; font-weight:500; }
.foot-col ul { list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.foot-col a { color:#cdd2ce; text-decoration:none; font-size:15px; }
.foot-col a:hover { color: var(--bone); }
.foot-bar { display:flex; flex-wrap:wrap; gap: 12px 24px; justify-content:space-between; align-items:center; margin-top: clamp(36px,5vw,56px); padding-top: 22px; border-top:1px solid var(--line-d); }
.foot-bar p { margin:0; font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.04em; color: var(--steel-2); }
.foot-bar .tags { display:flex; gap:14px; }
.foot-bar .tags span { font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.08em; color:#8b938e; }

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* small helpers */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.center{ text-align:center; }
.stack-gap > * + * { margin-top: 18px; }
