/*
Theme Name: Skyzer 2026
Theme URI: https://www.skyzer.com.au
Author: Skyzer Pty Ltd
Description: Dark, security-led theme for skyzer.com.au. Custom page templates for Services, Logistics, Security & Trust, About & Group, Contact & Quote and Careers, plus styled News archive and article templates. Works with Contact Form 7.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: skyzer
*/

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (Brand Guidelines, Colour Palette): Primary Green, Primary Blue, Charcoal, White.
     The dark theme is built on Charcoal, as on the business-card back. Pure black is never used. */
  --charcoal: #292929;
  --bg: #292929;
  --bg-deep: #292929;
  --bg-alt: #2F2F2F;
  --surface: #363636;
  --surface-2: #323232;
  --surface-cta: #3A3A3A;
  --surface-research: #292929;
  --line: #3B3B3B;
  --line-2: #404040;
  --line-3: #474747;
  --line-4: #575757;
  --text: #F2F2F2;
  --text-2: #DEDEDE;
  --muted: #C4C4C4;
  --muted-2: #B8B8B8;
  --label: #ABABAB;
  --white: #FFFFFF;
  --blue: #1282C7;           /* Primary Blue: large type, borders, icons and graphics only */
  --brand-blue: #1282C7;
  --green: #80C240;          /* Primary Green */
  --green-hover: #99D163;
  --on-green: #292929;       /* Charcoal text on green (white on green fails contrast) */
  /* Typefaces (Brand Guidelines, Typefaces): Helvetica for headings, Roboto for body copy. */
  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --track-heading: -0.05em;  /* -50 tracking */
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 112px);
  --radius: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }
img { height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
h1, h2, h3, h4 { margin: 0; color: var(--white); font-family: var(--font-display); font-weight: 700; }
p { margin: 0; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
  background: var(--green); color: var(--on-green); padding: 10px 16px; border-radius: 8px;
}

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.band { border-top: 1px solid var(--line); }
.band--bottom { border-bottom: 1px solid var(--line); }
.band--alt { background: var(--bg-alt); }
.band--deep { background-color: var(--bg-deep); }
/* Brand devices */
.gridbg { /* retained as a hook; the grid texture was removed as it is not part of the brand */ }
/* Logomark watermark, as on the guidelines cover and letterhead. */
.watermark { position: relative; overflow: hidden; isolation: isolate; }
.watermark::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: min(62vw, 760px); aspect-ratio: 32.34 / 33.68; right: max(-12vw, -180px); top: 50%; transform: translateY(-50%);
  background: url('assets/brand/logomark-white.svg') no-repeat center / contain; opacity: 0.045;
}
/* Short rule under page titles, as used throughout the guidelines. */
.h1::after { content: ''; display: block; width: 28px; height: 2px; background: var(--white); margin-top: 28px; }
.h1--no-rule::after { display: none; }
.split { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split--end { align-items: flex-end; }
.split--center { align-items: center; }
.split--head { justify-content: space-between; align-items: flex-end; gap: 16px 64px; margin-bottom: 48px; }
.split--head > :first-child { flex: 1 1 520px; }
.split--head > :last-child { flex: 1 1 360px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 280px)), 1fr)); }
.grid--wide-gap { gap: 28px 24px; }
.grid--x40 { gap: 40px; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); margin: 0 0 16px;
}
.eyebrow--blue { color: var(--text); }
.eyebrow--blue::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--blue); margin-right: 10px; vertical-align: 1px; }
.label { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--label); text-transform: uppercase; }
.label--blue { color: var(--text-2); }
.label--green { color: var(--green); }
.h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: var(--track-heading); color: var(--white);
}
.h1--hero { font-size: clamp(44px, 6.2vw, 86px); line-height: 0.98; }
.h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: var(--track-heading); color: var(--white);
}
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.04em; }
.h4 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.lead { font-size: 19px; font-weight: 300; color: var(--text-2); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.accent-blue { color: var(--blue); }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-hover); color: var(--on-green); }
.btn--ghost { border-color: var(--line-4); color: var(--text); font-weight: 500; background: transparent; }
.btn--ghost:hover { border-color: var(--muted-2); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-weight: 500; color: var(--green); }
.pill {
  display: inline-flex; align-items: center; border: 1px solid var(--line-4); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--text-2); background: transparent;
}
.pill--sm { padding: 4px 12px; font-size: 13px; }
a.pill:hover { border-color: var(--muted-2); color: var(--white); }
.pill.is-active { background: var(--green); border-color: var(--green); color: var(--on-green); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-green);
  background: var(--green); padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-3); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--text);
}
.card--lg { padding: 36px 32px; gap: 16px; }
.card--quiet { border-color: var(--line-2); }
.card--outline { border-color: var(--line-4); }
.card--blue { border-color: var(--blue); }
.card--research { background: var(--surface-research); }
a.card:hover { border-color: var(--line-4); color: var(--text); }
.card p { font-size: 15px; color: var(--muted); }
.card--lg p { font-size: 16px; }
.card .more { margin-top: auto; }
.card__icon { width: 32px; height: 32px; color: var(--blue); flex: none; }
.card__icon--lg { width: 40px; height: 40px; }
.card__icon--green { color: var(--green); }

.tiles {
  display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.tiles > * { background: var(--surface-2); padding: 32px; }
.tiles .label { margin-bottom: 12px; display: block; }
.tiles h3 { font-size: 20px; margin-bottom: 8px; }
.tiles p { font-size: 15px; color: var(--muted); }
.tiles--list > * { background: var(--surface); padding: 20px 22px; }

.rule-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-4); }
.rule-list > * { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.rule-list a { color: var(--text); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.rule-list a:hover { color: var(--white); }
.rule-list .meta { font-size: 14px; color: var(--muted-2); }

.topline { border-top: 2px solid var(--blue); padding-top: 22px; }
.topline--green { border-top-color: var(--green); }
.topline h3 { margin: 10px 0 8px; font-family: var(--font-display); font-size: 24px; }
.topline p { font-size: 15px; color: var(--muted); }

/* ---------- Images ---------- */
.media {
  margin: 0; position: relative; overflow: hidden; aspect-ratio: var(--ratio, 16 / 9);
  border-radius: var(--radius); border: 1px solid var(--line-3); background: var(--surface);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--bare { border: 0; border-radius: 0; background: transparent; }
.media--placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  border-style: dashed; border-color: var(--line-4);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted-2); line-height: 1.6;
}
.media--placeholder strong { display: block; font-family: var(--font-body); font-size: 15px; letter-spacing: 0; color: var(--text); margin-bottom: 4px; }
.media--placeholder small { color: var(--label); font-size: 11px; }
.card .media { margin: -28px -28px 8px; border: 0; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line-3); }
.band-media { padding-bottom: var(--section-y); }

.site-card .media--placeholder { font-size: 11px; }
.site-card .media--placeholder strong { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--text); }
.site-card .media--placeholder small { display: none; }

/* Hero background image: sits behind the copy, faded into the page. */
.has-bg { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border: 0; border-radius: 0; }
.hero-bg img { opacity: 0.5; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(41,41,41,0.94) 38%, rgba(41,41,41,0.45) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(41,41,41,0) 40%);
}
.hero-bg .media--placeholder { align-items: flex-end; justify-content: flex-end; padding: 24px; opacity: 0.8; }
@media (max-width: 760px) {
  .hero-bg img { opacity: 0.28; }
}

.site-card.site-card--media { padding: 0; overflow: hidden; align-items: stretch; flex-wrap: nowrap; }
.site-card.site-card--media .media { flex: 0 0 34%; border: 0; border-radius: 0; aspect-ratio: auto; min-height: 140px; border-right: 1px solid var(--line-2); }
.site-card.site-card--media .site-card__body { flex: 1 1 auto; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 520px) {
  .site-card.site-card--media { flex-direction: column; }
  .site-card.site-card--media .media { flex-basis: auto; aspect-ratio: 3 / 2; border-right: 0; border-bottom: 1px solid var(--line-2); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(41,41,41,0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
.utility { background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.utility__inner {
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center;
  padding-top: 7px; padding-bottom: 7px;
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.04em; color: var(--muted-2);
}
.utility__group, .utility__links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.utility__label { color: var(--label); text-transform: uppercase; }
.utility a { color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; }
.utility a:hover, .utility a.is-current { color: var(--white); }
.utility a.is-current { border-bottom-color: var(--green); }
.utility .is-home { color: var(--text); }
.masthead {
  display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; justify-content: space-between;
  padding-top: 24px; padding-bottom: 24px;
}
.brand { display: inline-flex; color: var(--white); margin-right: 48px; }
.brand img { width: 172px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; align-items: center; }
.primary-nav ul a {
  color: var(--text-2); padding: 10px 0; border-bottom: 2px solid transparent; display: inline-block;
}
.primary-nav ul a:hover { color: var(--white); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_parent > a,
.primary-nav .is-current > a { color: var(--white); border-bottom-color: var(--green); }
.primary-nav__extra { display: none; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-4);
  background: transparent; color: var(--white); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
.site-header.is-open .menu-toggle .icon-menu { display: none; }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; }
  .site-header.is-open .primary-nav {
    display: flex; flex-direction: column; align-items: stretch; width: 100%;
    border-top: 1px solid var(--line); margin-top: 14px; padding-top: 8px; padding-bottom: 12px;
  }
  .site-header.is-open .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-open .primary-nav ul a {
    display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .primary-nav .current-menu-item > a,
  .site-header.is-open .primary-nav .current_page_item > a,
  .site-header.is-open .primary-nav .current_page_parent > a,
  .site-header.is-open .primary-nav .is-current > a { border-bottom-color: var(--line); color: var(--green); }
  .utility { display: none; }
  .site-header.is-open .primary-nav__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 18px 0 10px; font-size: 15px; }
  .site-header.is-open .primary-nav__extra a { color: var(--text-2); min-height: 32px; display: inline-flex; align-items: center; }
  .site-header.is-open .primary-nav__extra .label { flex-basis: 100%; margin-top: 6px; }
  .site-header.is-open .primary-nav .btn { margin-top: 8px; }
  .site-header.is-open { max-height: 100vh; overflow-y: auto; }
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
  padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 8vw, 104px);
}
.hero__copy { flex: 999 1 520px; min-width: 0; }
.hero__copy .lead { margin-top: 32px; max-width: 600px; }
.hero__copy .btn-row { margin-top: 40px; }
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero .lead { margin-top: 28px; }

.trace {
  flex: 1 1 400px; min-width: 0; max-width: 480px; background: var(--surface); border: 1px solid var(--line-3);
  border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.35);
  font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: 13px; overflow: hidden;
}
.trace__head { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); color: var(--muted-2); letter-spacing: 0.08em; }
.trace__head span:last-child { color: var(--label); }
.trace__serial { padding: 18px 20px 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trace__serial strong { font-size: 20px; font-weight: 500; color: var(--white); }
.trace__serial span { color: var(--text-2); }
.trace ol { list-style: none; margin: 0; padding: 10px 20px 20px; }
.trace li { display: grid; grid-template-columns: 22px 64px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); color: var(--text); }
.trace li:last-child { border-bottom: 0; color: var(--muted-2); }
.trace li small { display: block; color: var(--muted-2); font-size: 13px; }
.trace time { color: var(--label); }
.trace .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-top: 6px; }
.trace .dot--now { background: var(--blue); box-shadow: 0 0 0 5px rgba(18,130,199,0.3); }
.trace .dot--next { background: transparent; border: 1px solid #6E6E6E; }

.proof { background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.proof .grid { --min: 200px; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
.proof strong { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.3; }
.proof strong.proof__text { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.9; }
.proof span { font-size: 14px; color: var(--muted-2); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; border-top: 2px solid var(--blue); padding-top: 24px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--white); }
.quote figcaption { font-size: 14px; color: var(--muted-2); }
.quote figcaption strong { color: var(--text); font-weight: 600; }

/* ---------- Group ---------- */
.group-card .h3 { font-size: 30px; }
.strip-link { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; color: var(--text); padding-top: 28px; padding-bottom: 28px; }
.strip-link:hover { color: var(--text); }
.strip-link__title { flex: 1 1 320px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); }

/* ---------- CTA band ---------- */
.cta {
  background-color: var(--surface-cta); border: 1px solid var(--line-3); border-radius: 24px;
  padding: clamp(32px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between; align-items: center;
}
.cta h2 { flex: 1 1 520px; font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.cta--compact { border-radius: 20px; padding: clamp(28px, 5vw, 56px); }
.cta--compact h2, .cta--compact h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; flex: 1 1 420px; font-family: var(--font-display); }

/* ---------- Logistics loop ---------- */
.loop { margin: 0; background: var(--surface); border: 1px solid var(--line-3); border-radius: 24px; padding: clamp(20px, 4vw, 48px); }
.loop__inbound { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.loop__inbound .icon, .loop__exit .icon { width: 22px; height: 22px; color: var(--blue); }
.loop__exit .icon { color: var(--muted-2); }
.loop__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  grid-template-rows: auto 120px auto;
}
.loop__node { border: 1px solid var(--line-4); border-radius: 14px; padding: 18px 20px; }
.loop__node strong { display: block; font-size: 18px; font-weight: 600; color: var(--white); }
.loop__node span { font-size: 14px; color: var(--muted-2); }
.loop__node .label { color: var(--muted-2); }
.loop__node--blue { border-color: var(--blue); background: rgba(18,130,199,0.12); }
.loop__node--blue .label { color: var(--text-2); }
.loop__node--green { border-color: var(--green); background: rgba(128,194,64,0.08); }
.loop__node--green .label { color: var(--green); }
.loop__arrow { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.loop__arrow--green { color: var(--green); }
.loop__arrow svg { width: 28px; height: 28px; }
.loop__center { grid-column: 2 / span 3; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 12px; }
.loop__center strong { display: block; font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.loop__exit { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); margin-top: 8px; }
.loop__exit > div { grid-column: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted-2); }
.loop__exit p { border: 1px dashed var(--line-4); border-radius: 12px; padding: 10px 16px; font-size: 14px; color: var(--text-2); text-align: center; }
@media (max-width: 760px) {
  .loop__grid { display: flex; flex-direction: column; gap: 10px; }
  .loop__arrow { display: none; }
  .loop__center { order: -1; padding: 0 0 12px; text-align: left; justify-content: flex-start; }
  .loop__node[data-step="1"] { order: 1; } .loop__node[data-step="2"] { order: 2; }
  .loop__node[data-step="3"] { order: 3; } .loop__node[data-step="4"] { order: 4; }
  .loop__node[data-step="5"] { order: 5; } .loop__node[data-step="6"] { order: 6; }
  .loop__exit { display: block; }
}

/* ---------- Timeline ---------- */
.timeline { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-4); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.timeline li.is-green::before { background: var(--green); }
.timeline .year { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--text-2); }
.timeline li.is-green .year { color: var(--green); }
.timeline strong { display: block; color: var(--white); font-weight: 600; }
.timeline span { font-size: 15px; color: var(--muted-2); }

.site-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-card strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white); }
.site-card p { font-size: 15px; color: var(--muted-2); }
.site-card__tag { align-self: center; font-family: var(--font-mono); font-size: 13px; color: var(--green); }
.site-card__tag--blue { color: var(--blue); }

/* ---------- Prose (page & post content) ---------- */
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); max-width: 720px; }
.prose > * + * { margin-top: 24px; }
.prose h2 { margin-top: 48px; font-family: var(--font-display); font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.prose h3 { margin-top: 40px; font-family: var(--font-display); font-size: 23px; line-height: 1.2; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote {
  margin: 48px 0; padding: 32px 0 32px 32px; border-left: 3px solid var(--green); border-top: 0; border-bottom: 0; text-align: left;
}
.prose blockquote p, .prose .wp-block-pullquote p { font-family: var(--font-display); font-size: 28px; line-height: 1.3; letter-spacing: -0.01em; color: var(--white); }
.prose blockquote cite, .prose blockquote footer, .prose figcaption { display: block; margin-top: 16px; font-size: 15px; font-style: normal; color: var(--muted-2); }
.prose img { border-radius: 12px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line-2); padding: 10px 8px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 48px 0; }
.prose--wide { max-width: 860px; }
.alignwide { max-width: 1000px; }
.alignfull { max-width: none; }

/* ---------- News ---------- */
.feature {
  display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line-3);
  border-radius: 20px; overflow: hidden; color: var(--text);
}
.feature:hover { color: var(--text); border-color: var(--line-4); }
.feature__media { flex: 1.3 1 480px; min-height: 340px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 40px); background-color: #224458; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__media .badge { position: relative; align-self: flex-start; }
.feature__body { flex: 1 1 380px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.feature__body h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.feature__body p { color: var(--muted); }
.art {
  display: flex; align-items: flex-end; padding: 20px; background-color: #224458;
  font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  color: rgba(255,255,255,0.92); overflow: hidden; position: relative;
}
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art--1 { background-color: #224458; } .art--2 { background-color: #43572F; } .art--3 { background-color: #3A3A3A; }
.art--4 { background-color: #243B49; } .art--5 { background-color: #3A482E; } .art--0 { background-color: #333333; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.post-card:hover { color: var(--text); border-color: var(--line-4); }
.post-card .art { height: 190px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 22px; line-height: 1.25; }
.post-card p { font-size: 15px; color: var(--muted); }
.post-card__tags { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--muted-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.filters .pill { min-height: 40px; }
.pagination-wrap { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.empty { border: 1px dashed var(--line-4); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted-2); }
.related-card { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.related-card .art { flex: 1 1 160px; min-height: 160px; font-size: 28px; }
.related-card > div:last-child { flex: 1.4 1 220px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.related-card h3 { font-size: 20px; }
.article-media { height: clamp(240px, 32vw, 460px); border-radius: 20px; border: 1px solid var(--line-3); justify-content: center; align-items: center; font-size: clamp(56px, 10vw, 140px); }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.article-layout > article { flex: 999 1 560px; min-width: 0; }
.article-layout > aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-self: flex-start; }
.prose .share a { text-decoration: none; }
.share { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Forms (incl. Contact Form 7) ---------- */
.form-panel { background: var(--surface); border: 1px solid var(--line-3); border-radius: 20px; padding: clamp(24px, 4vw, 48px); }
.form-panel h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 22px; }
.wpcf7 form, .skyzer-form { display: flex; flex-direction: column; gap: 22px; }
.wpcf7 p { margin: 0; }
.wpcf7 label, .skyzer-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea,
.skyzer-form input[type="email"], .skyzer-form input[type="text"] {
  width: 100%; font: inherit; font-size: 16px; min-height: 50px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-4); background: var(--bg); color: var(--white);
}
.wpcf7 textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.wpcf7 select { padding: 0 12px; }
.sk-fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.sk-legend { font-size: 14px; color: var(--text-2); margin-bottom: 10px; display: block; }
.wpcf7 .wpcf7-checkbox, .wpcf7 .wpcf7-radio { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.wpcf7 .wpcf7-radio { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.wpcf7 .wpcf7-list-item-label { white-space: nowrap; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label {
  flex-direction: row; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-4); border-radius: 10px; font-size: 15px; color: var(--text); cursor: pointer;
}
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 18px; height: 18px; accent-color: var(--green); }
.wpcf7 .wpcf7-submit {
  align-self: flex-start; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 0;
  background: var(--green); color: var(--on-green); font: inherit; font-weight: 600; cursor: pointer;
}
.wpcf7 .wpcf7-submit:hover { background: var(--green-hover); }
.wpcf7 .wpcf7-not-valid-tip { color: #FF9C8A; font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 10px; padding: 14px 16px; border-color: var(--line-4); color: var(--text); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #FF9C8A; }
.wpcf7-spinner { margin-left: 12px; }
.form-note { font-size: 13px; color: var(--muted-2); }
.notice-box { border: 1px dashed var(--line-4); border-radius: 12px; padding: 20px; color: var(--muted-2); font-size: 15px; }

/* ---------- Certification badges ---------- */
.cert-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cert-badge { display: block; width: auto !important; max-width: none; flex: none; align-self: flex-start; }
.cert-badges--proof { display: flex; margin-bottom: 8px; }
.site-footer__certs { display: inline-flex; }
.site-footer__certs:hover .cert-badge { opacity: 0.85; }
.card .cert-badge { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); }
.site-footer::before { content: ''; display: block; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.site-footer__inner { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.site-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { width: 172px; height: auto; margin-bottom: 8px; }
.site-footer__brand p { font-size: 14px; color: var(--muted-2); max-width: 300px; }
.site-footer__cols { flex: 2 1 560px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); font-size: 14px; }
.site-footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--muted-2);
}
.site-footer__bottom .mono { font-family: var(--font-mono); }
.site-footer__bottom nav { display: flex; gap: 20px; }
.site-footer__bottom a { color: var(--muted-2); }

/* ---------- WordPress bits ---------- */
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--muted-2); }
.sticky, .bypostauthor { /* required by theme review; no special styling */ }
.nav-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-4); border-radius: 999px; color: var(--text);
}
.nav-links .page-numbers.current { background: var(--green); border-color: var(--green); color: var(--on-green); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
