/* ============================================================
   TivinX Techsolutions — Design System
   A single source of truth for the whole site.
   Edit the variables in :root to re-theme everything at once.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors — terracotta */
  --brand-50:  #faf0ea;
  --brand-100: #f4ddd0;
  --brand-200: #e9bca6;
  --brand-300: #dc9876;
  --brand-400: #cd7048;
  --brand-500: #c0502c;
  --brand-600: #ab4322;
  --brand-700: #8e3619;
  --brand-800: #6f2a13;

  /* Accent (warm amber) */
  --accent-400: #e7a24b;
  --accent-500: #db8a2f;
  --accent-600: #bd6f1d;

  /* Warm highlight */
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;

  /* Neutrals */
  --ink:        #15110c;
  --ink-soft:   #2a2218;
  --muted:      #6b6253;
  --muted-soft: #968c7b;
  --line:       #e4dcc9;
  --line-soft:  #ece5d6;
  --surface:    #fbf7ee;
  --bg:         #f1ebdd;
  --bg-tint:    #eae2cf;

  /* Typography */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(40, 25, 12, .06);
  --shadow-sm: 0 4px 14px rgba(40, 25, 12, .07);
  --shadow-md: 0 14px 40px rgba(40, 25, 12, .11);
  --shadow-lg: 0 30px 60px rgba(120, 50, 25, .18);
  --shadow-brand: 0 16px 30px rgba(160, 60, 30, .26);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--brand-600), var(--brand-400) 60%, var(--accent-500));
  --grad-soft: linear-gradient(135deg, #f7ede0 0%, #f4e7d6 50%, #fbf4e7 100%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-optical-sizing: auto; line-height: 1.12; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--brand-200); color: var(--brand-800); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--tint { background: var(--bg-tint); }
.section--ink { background: var(--ink); color: #cbd5e1; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 640px; }
.measure-sm { max-width: 520px; }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--brand-100);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); }
.section--ink .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--brand-200); }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-top: 18px; }
.section-head .lede { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.section--ink .section-head .lede { color: #94a3b8; }

.title-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: var(--r-pill);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-soft); }

.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-link { color: var(--brand-600); font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.btn-link svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 248, 252, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); background: rgba(255,255,255,.82); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand);
}
.brand .logo svg { width: 22px; height: 22px; }
.brand b { color: var(--brand-600); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--ink-soft); padding: 9px 15px; border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-links a.active { color: var(--brand-700); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--brand-500); border-radius: 2px;
}
/* The in-menu "Apply Now" button is only for the mobile dropdown; hide it on desktop. */
.nav-links > .btn { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform var(--t-fast), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grad-soft);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(99,102,241,.22), transparent 62%);
  filter: blur(8px); border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.03em; }
.hero p.sub { font-size: 1.15rem; color: var(--ink-soft); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); }
.hero-meta .m span { font-size: .9rem; color: var(--muted); }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 26px 26px 58px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.hero-card .hc-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero-card .hc-avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.hero-card .hc-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.hero-card .hc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card .hc-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.hero-card .hc-ico svg { width: 20px; height: 20px; }
.hero-badge {
  position: absolute; bottom: -28px; left: -16px; background: var(--ink); color: #fff;
  padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hero-badge small { display: block; color: var(--muted-soft); font-size: .72rem; }
.hero-badge b { font-family: var(--font-head); }

/* ---------- Trusted / logos strip ---------- */
.trust { padding-block: 34px; border-block: 1px solid var(--line); background: var(--surface); }
.trust .label { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-head); }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); margin-top: 20px; }
.trust-logos span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--muted-soft); letter-spacing: -.01em; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-xs); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--brand-50); color: var(--brand-600); }
.card-icon svg { width: 28px; height: 28px; }
.card-icon.alt { background: #ecfeff; color: var(--accent-600); }
.card-icon.gold { background: #fffbeb; color: var(--gold-500); }

.card-list { margin-top: 18px; display: grid; gap: 11px; }
.card-list li { display: flex; gap: 10px; color: var(--ink-soft); font-size: .96rem; }
.card-list li svg { width: 19px; height: 19px; color: var(--brand-500); flex: none; margin-top: 3px; }

/* Feature card (compact) */
.feature { display: flex; gap: 18px; }
.feature .f-ico { width: 50px; height: 50px; border-radius: 14px; flex: none; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.feature .f-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 12px; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { color: var(--muted); margin-top: 6px; font-size: .96rem; }
.section--ink .stat .lbl { color: #94a3b8; }
.section--ink .stat .num { background: linear-gradient(135deg, #e9b07f, #d2744a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.step .step-n { counter-increment: step; font-family: var(--font-head); font-weight: 700; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-brand); }
.step .step-n::before { content: "0" counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Program / tracks ---------- */
.program {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-xs); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.program.featured { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.program .p-tag { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 600; font-family: var(--font-head); color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 5px 11px; border-radius: var(--r-pill); }
.program .p-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-brand); }
.program .p-ico svg { width: 26px; height: 26px; }
.program h3 { font-size: 1.25rem; margin-bottom: 8px; }
.program > p { color: var(--muted); font-size: .96rem; }
.program .p-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag { font-size: .78rem; font-weight: 500; font-family: var(--font-head); color: var(--ink-soft); background: var(--bg-tint); border: 1px solid var(--line); padding: 5px 11px; border-radius: var(--r-pill); }
.program .p-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }

/* ---------- Project / work cards ---------- */
.work-card { overflow: hidden; padding: 0; }
.work-card .w-media { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.work-card .w-media svg { width: 56px; height: 56px; opacity: .92; }
.work-card .w-body { padding: 24px; }
.work-card .w-cat { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); font-family: var(--font-head); }
.work-card h3 { font-size: 1.18rem; margin: 8px 0 8px; }
.work-card p { color: var(--muted); font-size: .94rem; }
.work-card .w-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

/* gradient fills for media / icons */
.grad-1 { background: linear-gradient(135deg, #c0502c, #8e3619); }
.grad-2 { background: linear-gradient(135deg, #db8a2f, #c0502c); }
.grad-3 { background: linear-gradient(135deg, #d99a2f, #a8401f); }
.grad-4 { background: linear-gradient(135deg, #cd7048, #6f2a13); }
.grad-5 { background: linear-gradient(135deg, #dc9876, #ab4322); }
.grad-6 { background: linear-gradient(135deg, #e7a24b, #b9461f); }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.quote .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { color: var(--ink-soft); font-size: 1.02rem; }
.quote .q-by { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote .q-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.quote .q-by b { display: block; font-family: var(--font-head); font-size: .98rem; }
.quote .q-by span { color: var(--muted); font-size: .86rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: var(--ink); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(700px circle at 20% -20%, rgba(99,102,241,.5), transparent 55%), radial-gradient(600px circle at 100% 120%, rgba(6,182,212,.35), transparent 55%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-band p { color: #cbd5e1; margin: 16px auto 30px; max-width: 560px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.field label .req { color: #ef4444; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ef4444; }
.field .err { font-size: .82rem; color: #ef4444; display: none; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-note { font-size: .86rem; color: var(--muted); }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md);
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 500;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

/* ---------- Info / contact tiles ---------- */
.info-tile { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }
.info-tile .i-ico { width: 48px; height: 48px; border-radius: 13px; flex: none; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.info-tile .i-ico svg { width: 22px; height: 22px; }
.info-tile h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 3px; }
.info-tile p, .info-tile a { color: var(--muted); font-size: .95rem; }
.info-tile a:hover { color: var(--brand-600); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-xs); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq-q .chev { width: 22px; height: 22px; flex: none; color: var(--brand-500); transition: transform var(--t); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grad-soft); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(99,102,241,.18), transparent 62%); border-radius: 50%; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; max-width: 620px; margin: 18px auto 0; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 18px; font-family: var(--font-head); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb svg { width: 15px; height: 15px; }

/* ---------- Filter chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft); background: var(--surface); border: 1.5px solid var(--line); padding: 9px 18px; border-radius: var(--r-pill); transition: all var(--t-fast); }
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Split / media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.media-block { border-radius: var(--r-lg); aspect-ratio: 4 / 3; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.media-block svg { width: 90px; height: 90px; opacity: .9; }
.checklist { display: grid; gap: 14px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-soft); }
.checklist li svg { width: 22px; height: 22px; color: var(--brand-500); flex: none; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; padding-block: clamp(56px, 7vw, 80px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .f-about { margin-top: 18px; max-width: 320px; font-size: .96rem; line-height: 1.7; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.f-links { display: grid; gap: 11px; }
.f-links a { color: #94a3b8; font-size: .96rem; transition: color var(--t-fast); }
.f-links a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; font-size: .96rem; margin-bottom: 12px; }
.f-contact svg { width: 19px; height: 19px; color: var(--brand-400); flex: none; margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cbd5e1; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.socials a:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 48px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); padding: 18px var(--gutter) 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform var(--t), opacity var(--t);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-actions .btn:not(.nav-toggle) { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: 8px; justify-content: center; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .stats, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { left: 0; }
}

/* ============================================================
   Photos  — real & stock imagery
   Images sit on top of the existing gradient placeholders, so if
   a remote stock image fails to load (e.g. offline) the gradient
   + icon underneath still show. Real local photos always load.
   ============================================================ */

/* Photo filling a split-section media block */
.media-block .media-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.media-block.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(21,17,12,.05) 40%, rgba(21,17,12,.6));
}
.media-caption {
  position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.media-caption svg { width: 16px; height: 16px; flex: none; opacity: .9; }

/* Workshop highlight photo (works page) — share the .media-block sizing,
   but a touch taller to suit the on-campus shot. */
.split .media-block.media-tall { aspect-ratio: 5 / 4; }

/* ============================================================
   Journal / blog
   ============================================================ */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; transition: transform .6s var(--ease);
}
.post-card:hover .post-media img { transform: scale(1.05); }
.post-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700);
  background: rgba(251,247,238,.92); padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
}
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.18rem; margin-bottom: 9px; }
.post-card:hover .post-body h3 { color: var(--brand-700); }
.post-body p { color: var(--muted); font-size: .94rem; }
.post-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  margin-top: auto; padding-top: 18px; color: var(--muted);
  font-family: var(--font-head); font-size: .84rem;
}
.post-meta b { color: var(--ink-soft); font-weight: 600; }
.post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-soft); }

/* Featured / lead post */
.post-featured { display: grid; grid-template-columns: 1.05fr .95fr; padding: 0; overflow: hidden; }
.post-featured .post-media { aspect-ratio: auto; min-height: 360px; height: 100%; }
.post-featured .post-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-featured h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 14px 0 12px; }
.post-featured .post-body p { font-size: 1.02rem; }

@media (max-width: 760px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-media { min-height: 240px; }
}

/* Newsletter / subscribe band */
.subscribe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 520px; margin: 26px auto 0; }
.subscribe input {
  flex: 1; min-width: 220px; padding: 14px 18px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff;
}
.subscribe input::placeholder { color: rgba(255,255,255,.55); }
.subscribe input:focus { outline: none; border-color: var(--brand-300); background: rgba(255,255,255,.12); }
