/* ============================================================
   JANNDOT — Site stylesheet
   Layout + components on top of the brand tokens.
   Tokens & type classes live in colors_and_type.css (imported).
   Discipline (BRAND_GUIDELINE.md): flat color, no gradients,
   hairlines over shadows, sentence case, mono eyebrows, one
   accent used only for the dot / links / primary button.
   ============================================================ */

@import url('colors_and_type.css');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent-wash); color: var(--accent-ink); }

/* ============================================================
   PROGRESSIVE-ENHANCEMENT REVEAL STATE
   Content is visible by default. Only once <html> gets .js
   (set synchronously in <head>) do reveal targets pre-hide,
   ready for GSAP. If GSAP fails, motion.js removes .js and
   everything shows. Reduced-motion forces everything visible.
   ============================================================ */
.js [data-reveal],
.js [data-reveal-stagger] > * { opacity: 0; will-change: transform, opacity; }
.js [data-rule] { transform: scaleX(0); transform-origin: left center; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .js [data-rule] { transform: none !important; }
}

/* ============================================================
   LAYOUT PRIMITIVES  (→ Elementor Containers)
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper2 { background: var(--bg-inset); }
.section--ink {
  background: var(--surface-ink);
  color: var(--fg-on-ink);
}
.section--ink .ds-h2,
.section--ink .ds-h3,
.section--ink .ds-h4 { color: var(--fg-on-ink); }
.section--ink .ds-body,
.section--ink .ds-lead { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.section--ink .eyebrow { color: color-mix(in srgb, var(--paper) 55%, transparent); }

/* Hairline divider between stacked sections on the same surface */
.section--ruled { border-top: 1px solid var(--line); }

/* A full-bleed hairline rule that draws in on scroll */
.rule {
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}
.rule--ink { background: color-mix(in srgb, var(--paper) 18%, transparent); }

/* Two-column editorial split: sticky heading left, content right */
.split { display: grid; gap: clamp(32px, 6vw, 88px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .split__aside { position: sticky; top: 120px; }
}

/* Section heading cluster */
.heading { max-width: 24ch; }
.heading--wide { max-width: 40ch; }

/* ============================================================
   EYEBROW  — mono label, optional numbered index + tick
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: var(--w-medium);
  font-size: var(--text-eyebrow);
  line-height: 1;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--plain::before { display: none; }
.eyebrow .idx { color: var(--accent); }

/* ============================================================
   BUTTONS  (→ Elementor Button widget)
   Kinetic detail: trailing arrow slides on hover; press nudges.
   ============================================================ */
.btn {
  --btn-fg: var(--fg-on-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--w-semi);
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--fg-on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-press); }

.btn--outline { border: 1.5px solid var(--ink-900); color: var(--ink-900); padding: 11.5px 20.5px; }
.btn--outline:hover { background: var(--ink-900); color: var(--paper); }

.btn--ghost {
  border: 1.5px solid color-mix(in srgb, var(--paper) 30%, transparent);
  color: var(--paper);
  padding: 11.5px 20.5px;
}
.btn--ghost:hover { border-color: var(--paper); }

/* Text link with the arrow, no box */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--w-semi);
  font-size: var(--text-sm);
  color: var(--ink-900);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease);
}
.link-arrow .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .arrow { transform: translateX(5px); }
.section--ink .link-arrow { color: var(--paper); }
.section--ink .link-arrow:hover { color: var(--paper); opacity: 0.72; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================
   HEADER  (→ Elementor Theme Builder header)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  transition: background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
/* Blur lives on the INNER bar, never on .site-header itself — a filter on
   the header would make it the containing block for the fixed .mobile-nav
   child and collapse the panel. The inner bar is a sibling of the panel. */
.site-header.is-stuck .site-header__inner {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header.is-stuck { background: var(--paper); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding-inline: var(--gutter);
  max-width: 1440px;
  margin-inline: auto;
}
.wordmark {
  font-weight: var(--w-black);
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  line-height: 1;
}
.wordmark .dot { color: var(--accent); }

/* Primary nav */
.nav { display: none; }
@media (min-width: 940px) { .nav { display: flex; align-items: center; gap: 4px; } }
.nav a, .nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav a:hover, .nav__trigger:hover { color: var(--ink-900); background: var(--ink-100); }
.nav a[aria-current="page"] { color: var(--accent); }

/* Services dropdown */
.nav__group { position: relative; }
.nav__trigger .chev { transition: transform var(--dur) var(--ease); font-size: 10px; opacity: 0.6; }
.nav__group:hover .nav__trigger .chev,
.nav__group:focus-within .nav__trigger .chev { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-md);
}
.nav__menu a:hover { background: var(--ink-100); }
.nav__menu .mi-title { display: block; font-weight: var(--w-semi); color: var(--ink-900); font-size: var(--text-sm); }
.nav__menu .mi-desc { display: block; font-size: var(--text-xs); color: var(--fg-2); margin-top: 2px; }

.header-cta { display: none; }
@media (min-width: 940px) { .header-cta { display: inline-flex; } }

/* Mobile toggle — hamburger that morphs to an X */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
@media (min-width: 940px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-900);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: 68px 0 0;
  z-index: 90;
  background: var(--paper);
  padding: 24px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  overflow-y: auto;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  padding: 16px 4px;
  font-size: var(--text-h4);
  font-weight: var(--w-semi);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav__sub { font-size: var(--text-base) !important; font-weight: var(--w-medium) !important; padding-left: 18px !important; color: var(--fg-2); }
.mobile-nav .btn { margin-top: 24px; justify-content: center; }
@media (min-width: 940px) { .mobile-nav { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(64px, 11vw, 150px) clamp(64px, 9vw, 120px); }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-sans);
  font-weight: var(--w-black);
  font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  max-width: 16ch;
}
.hero__title .dot { color: var(--accent); }
.hero__lead {
  margin-top: 32px;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.hero__cta { margin-top: 40px; }

/* Breathing accent dot device (hero / standalone) */
.dot-breathe { display: inline-block; transform-origin: 50% 82%; }
.js .dot-breathe.is-live { animation: dot-breathe 2.8s var(--ease) infinite; }
@keyframes dot-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.14); opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) { .js .dot-breathe.is-live { animation: none; } }

/* Page-head for inner pages */
.page-head { padding-block: clamp(56px, 9vw, 128px) clamp(40px, 5vw, 72px); }
.page-head__title {
  font-weight: var(--w-bold);
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  max-width: 18ch;
}
.page-head__title .dot { color: var(--accent); }
.page-head__lead {
  margin-top: 28px;
  max-width: 60ch;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ============================================================
   NUMBERED SERVICE ROWS  (→ repeatable Elementor block)
   ============================================================ */
.rows { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}
.row-item__idx {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  padding-top: 6px;
}
.row-item__title {
  font-weight: var(--w-semi);
  font-size: var(--text-h3);
  line-height: 1.15;
  letter-spacing: var(--track-snug);
  transition: transform var(--dur) var(--ease);
}
.row-item__body { margin-top: 14px; max-width: 60ch; color: var(--ink-700); }
.row-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.row-item__arrow {
  align-self: center;
  font-size: 22px;
  color: var(--ink-400);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
a.row-item:hover { background: var(--bg-inset); }
a.row-item:hover .row-item__title { transform: translateX(6px); }
a.row-item:hover .row-item__arrow { transform: translateX(6px); color: var(--accent); }
@media (max-width: 680px) {
  .row-item { grid-template-columns: auto 1fr; }
  .row-item__arrow { display: none; }
}

.tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-2);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

/* ============================================================
   FEATURE / VALUE GRID  (Why Janndot, pillars, topics)
   ============================================================ */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.cell {
  background: var(--surface);
  padding: clamp(28px, 3vw, 40px);
}
.section--paper2 .cell { background: var(--paper-pure); }
.cell__idx { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent); letter-spacing: 0.08em; }
.cell__title { margin-top: 18px; font-weight: var(--w-semi); font-size: var(--text-h4); letter-spacing: var(--track-snug); }
.cell__body { margin-top: 10px; color: var(--ink-700); font-size: var(--text-sm); line-height: 1.6; }

/* Ink-surface variant of the grid */
.section--ink .grid { background: color-mix(in srgb, var(--paper) 14%, transparent); border-color: color-mix(in srgb, var(--paper) 14%, transparent); }
.section--ink .cell { background: var(--ink-900); }
.section--ink .cell__title { color: var(--paper); }
.section--ink .cell__body { color: color-mix(in srgb, var(--paper) 66%, transparent); }

/* Simple point list (checklist / "what's included") */
.points { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.point {
  background: var(--bg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding: clamp(20px, 2.4vw, 28px) 0;
}
.section--paper2 .point { background: var(--bg-inset); }
.point__mark { color: var(--accent); font-family: var(--font-mono); font-size: var(--text-sm); }
.point__text { font-size: var(--text-lg); font-weight: var(--w-medium); letter-spacing: -0.01em; }
.point__text small { display: block; margin-top: 6px; font-size: var(--text-sm); font-weight: var(--w-regular); color: var(--fg-2); letter-spacing: 0; }

/* Numbered process steps */
.steps { display: grid; gap: clamp(20px, 3vw, 32px); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.step {
  border-top: 1.5px solid var(--ink-900);
  padding-top: 20px;
}
.step__n { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent); letter-spacing: 0.1em; }
.step__title { margin-top: 12px; font-weight: var(--w-semi); font-size: var(--text-h4); }
.step__body { margin-top: 10px; color: var(--ink-700); font-size: var(--text-sm); line-height: 1.6; }

/* ============================================================
   ARTICLE CARDS (News & Tips)
   ============================================================ */
.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  min-height: 260px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
a.card:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.card__meta { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.card__title { margin-top: 18px; font-weight: var(--w-semi); font-size: var(--text-h4); line-height: 1.25; letter-spacing: var(--track-snug); text-wrap: balance; }
.card__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); font-weight: var(--w-semi); color: var(--accent); }
.card__foot .arrow { transition: transform var(--dur) var(--ease); }
a.card:hover .card__foot .arrow { transform: translateX(5px); }

/* ============================================================
   FAQ  — native details/summary  (→ Elementor Accordion)
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 30px) 0;
  font-weight: var(--w-semi);
  font-size: var(--text-h4);
  letter-spacing: var(--track-snug);
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .sign {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq summary .sign::before,
.faq summary .sign::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1.5px; background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}
.faq summary .sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .sign::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding-bottom: clamp(22px, 2.6vw, 30px); max-width: 68ch; color: var(--ink-700); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { }
.cta-band__title {
  font-weight: var(--w-bold);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  max-width: 20ch;
}
.cta-band__title .dot { color: var(--accent); }
.cta-band__lead { margin-top: 22px; max-width: 54ch; font-size: var(--text-lg); color: var(--fg-2); }
.section--ink .cta-band__lead { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.cta-band__actions { margin-top: 40px; }

/* ============================================================
   CONTACT FORM  (→ Elementor Form widget)
   ============================================================ */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--ink-700); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-base);
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}

/* Segmented project-type control (radio pills) */
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  padding: 9px 14px;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.segmented label:hover { border-color: var(--ink-900); }
.segmented input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--fg-on-accent); }
.segmented input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__note { font-size: var(--text-sm); color: var(--fg-2); }

/* Contact detail rail */
.contact-detail { display: grid; gap: 4px; }
.contact-detail__label { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-2); }
.contact-detail__value { font-size: var(--text-lg); font-weight: var(--w-medium); }
.contact-detail__value a { border-bottom: 1px solid var(--line); transition: border-color var(--dur-fast) var(--ease); }
.contact-detail__value a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   FOOTER  (→ Elementor Theme Builder footer)
   ============================================================ */
.site-footer { background: var(--surface-ink); color: var(--fg-on-ink); }
.site-footer__top {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 64px);
}
@media (min-width: 860px) { .site-footer__top { grid-template-columns: 1.1fr 1fr; } }
.site-footer .wordmark { color: var(--paper); font-size: 40px; }
.site-footer__tag { margin-top: 20px; max-width: 32ch; color: color-mix(in srgb, var(--paper) 66%, transparent); }
.site-footer__cta { margin-top: 32px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.foot-col h4 { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--paper) 50%, transparent); margin-bottom: 18px; }
.foot-col a { display: block; padding: 10px 0; color: color-mix(in srgb, var(--paper) 82%, transparent); font-size: var(--text-sm); transition: color var(--dur-fast) var(--ease); }
.foot-col a:hover { color: var(--paper); }
.site-footer__bottom {
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  padding-block: 28px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
.site-footer__bottom span, .site-footer__bottom a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

/* ============================================================
   IMAGE PLACEHOLDERS  (→ Elementor Image / Gallery widgets)
   Brand-faithful: hairline frame, faint crossed-diagonal marker,
   mono label + intended-image caption + aspect-ratio pill. Flat
   color, no shadows. Swap each for a real <img> in the build.
   ============================================================ */
.media-ph {
  --ph-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%230B0B0C' stroke-opacity='0.06' vector-effect='non-scaling-stroke'/%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%230B0B0C' stroke-opacity='0.06' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  aspect-ratio: 16 / 9;
  padding: 24px;
  background-color: var(--bg-inset);
  background-image: var(--ph-cross);
  background-size: 100% 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.media-ph > * { position: relative; z-index: 1; }
.media-ph__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.media-ph__desc {
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--fg-2);
  max-width: 32ch;
  line-height: 1.5;
}
.media-ph__ratio {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  background: var(--surface);
}
.media-ph--wide     { aspect-ratio: 16 / 9; }
.media-ph--ratio-3-2 { aspect-ratio: 3 / 2; }
.media-ph--portrait { aspect-ratio: 4 / 5; }
.media-ph--square   { aspect-ratio: 1 / 1; }

/* Ink-surface variant */
.section--ink .media-ph {
  --ph-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23F7F6F2' stroke-opacity='0.12' vector-effect='non-scaling-stroke'/%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23F7F6F2' stroke-opacity='0.12' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-color: color-mix(in srgb, var(--paper) 5%, transparent);
  border-color: color-mix(in srgb, var(--paper) 16%, transparent);
}
.section--ink .media-ph__desc { color: color-mix(in srgb, var(--paper) 68%, transparent); }
.section--ink .media-ph__ratio {
  background: transparent;
  border-color: color-mix(in srgb, var(--paper) 22%, transparent);
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

/* Image-beside-text layout for feature sections */
.media-split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .media-split { grid-template-columns: 1fr 1fr; }
  .media-split--reverse .media-split__media { order: -1; }
}
.media-split__body .heading { margin-top: 20px; }
.media-split__body .lead-prose { margin-top: 20px; }

/* Article-card thumbnail (News & Tips) */
.card__media {
  --ph-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%230B0B0C' stroke-opacity='0.06' vector-effect='non-scaling-stroke'/%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%230B0B0C' stroke-opacity='0.06' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  margin-bottom: 22px;
  background-color: var(--bg-inset);
  background-image: var(--ph-cross);
  background-size: 100% 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease);
}
.card__media span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
a.card:hover .card__media { border-color: var(--ink-300); }

/* Filled state — a real <img> comped into the placeholder frame.
   The mockup uses watermarked Envato Elements previews; each item
   link is noted in an adjacent HTML comment. Swap for licensed
   full-res downloads at the Elementor build. */
.media-ph--filled,
.card__media--filled {
  position: relative;
  padding: 0;
  overflow: hidden;
  background-image: none;
}
.media-ph--filled > :not(.media-ph__img),
.card__media--filled > :not(.card__media__img) { display: none; }
.media-ph--filled .media-ph__img,
.card__media--filled .card__media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Light desaturation keeps photography from fighting the
     ink-on-paper, single-accent brand. */
  filter: saturate(0.72) contrast(1.02);
}

/* ============================================================
   MISC HELPERS
   ============================================================ */
.mono-meta { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.lead-prose p + p { margin-top: 20px; }
.lead-prose { max-width: 62ch; color: var(--ink-700); font-size: var(--text-lg); line-height: 1.6; }
.stack-sm > * + * { margin-top: 16px; }
.mt-eyebrow { margin-bottom: 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--accent); color: var(--fg-on-accent); padding: 10px 16px; border-radius: var(--radius-md);
}
.skip-link:focus { left: 16px; }
