/* ============================================================
   Cendory Digital — Main Stylesheet
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --ink:          #112639;
  --paper:        #f4f6f8;
  --accent:       #112639;
  --accent-light: #21a7a0;
  --gold:         #21a7a0;
  --muted:        #4a6070;
  --white:        #ffffff;
  --border:       rgba(17,38,57,0.12);
  --serif:        'DM Serif Display', Georgia, serif;
  --sans:         'Roboto', sans-serif;
  --radius:       4px;
  --max-w:        1200px;
  --section-pad:  7rem 4vw;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── BASE ────────────────────────────────────────────────────── */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.45;
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────────── */
.section-label {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.section-title em {
  font-style: italic;
  color: var(--accent-light);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  font-weight: 400;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); color: var(--paper); }

.btn-ghost {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--accent-light); border-color: var(--accent-light); }

.btn-outline-dark {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(245,242,236,0.4);
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 1.25rem;
}
.btn-outline-dark:hover { border-color: var(--paper); background: rgba(245,242,236,0.08); color: var(--paper); }


/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ─────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 500;
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 4vw;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}



.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav-links a {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-light); color: var(--paper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 4vw 6rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-bg-circle {
  position: fixed;
  right: -12vw;
  top: 50%;
  transform: translateY(-50%);
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: -1;
}
.hero-bg-circle::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.hero-bg-circle::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,38,57,0.06) 0%, transparent 70%);
}

.hero-tag {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 0.9rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero h1 em { font-style: italic; color: var(--accent-light); }

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-visual {
  opacity: 0;
  animation: fadeIn 1.2s 0.6s forwards;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 2.5rem;
  width: 3rem; height: 3px;
  background: var(--accent-light);
}
.hero-card-label {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.hero-card p { font-size: 1rem; color: var(--muted); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.hero-stat:last-child { border-left: 1px solid var(--border); padding-left: 1.5rem; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-weight: 400;
}
.hero-stat-label { font-size: 1rem; color: var(--muted); }

/* ── TICKER ──────────────────────────────────────────────────── */
.ticker {
  background: var(--accent);
  color: var(--paper);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 32s linear infinite;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ticker-track span { margin: 0 2.5rem; }
.ticker-sep { color: var(--gold); }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-section { padding: var(--section-pad); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-body { font-size: 1rem; color: var(--muted); margin-bottom: 1.25rem; }

.pillar {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.pillar:first-child { border-top: 1px solid var(--border); }
.pillar-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--border);
  line-height: 1;
  padding-top: 0.1rem;
  font-weight: 400;
}
.pillar-content h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  font-weight: 400;
}
.pillar-content p { font-size: 1rem; color: var(--muted); }

/* ── SERVICES ────────────────────────────────────────────────── */
.services-section {
  padding: var(--section-pad);
  background: var(--white);
}
.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.services-intro { color: var(--muted); font-size: 1rem; margin-top: 0.75rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-child(n+4) { border-top: 1px solid var(--border); }
.service-card:hover { background: var(--paper); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 36px; height: 36px;
  margin-bottom: 1.5rem;
  color: var(--accent-light);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.service-card p { font-size: 1rem; color: var(--muted); line-height: 2; }
.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,154,90,0.4);
  padding: 0.2rem 0.7rem;
}

/* ── HOW WE WORK ─────────────────────────────────────────────── */
.how-section {
  padding: var(--section-pad);
  background: var(--accent);
  color: var(--paper);
}
.how-section .section-label { color: var(--gold); }
.how-section .section-title { color: var(--paper); max-width: 22ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: 1px solid rgba(245,242,236,0.15);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.step {
  padding: 3rem 2.5rem 2.5rem 0;
  border-right: 1px solid rgba(245,242,236,0.12);
}
.step:last-child { border-right: none; padding-right: 0; padding-left: 2.5rem; }
.step:nth-child(2) { padding-left: 2.5rem; }
.step-num {
  font-family: var(--serif);
  font-size: 3rem;
  color: rgba(245,242,236,0.15);
  line-height: 1;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 0.75rem;
}
.step p { font-size: 1rem; color: rgba(255,255,255,0.82); line-height: 1.65; }

/* ── WHY SECTION ─────────────────────────────────────────────── */
.why-section { padding: var(--section-pad); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-of-type { border-top: 1px solid var(--border); }
.why-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.why-item h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.3rem; font-family: var(--sans); }
.why-item p { font-size: 1rem; color: var(--muted); }

.why-quote {
  background: var(--accent);
  color: var(--paper);
  padding: 3rem;
  position: relative;
}
.why-quote::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  color: rgba(245,242,236,0.15);
  position: absolute;
  top: 1rem; left: 2rem;
  line-height: 1;
}
.why-quote blockquote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  color: var(--paper);
}
.why-quote cite {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.standards-box {
  margin-top: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--white);
}
.standards-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.std-tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ── SECTORS ─────────────────────────────────────────────────── */
.sectors-section {
  padding: var(--section-pad);
  background: var(--white);
}
.sectors-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}
.sectors-header p { color: var(--muted); font-size: 0.95rem; margin-top: 0.75rem; }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.sector-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.sector-card:hover { border-color: var(--accent-light); transform: translateY(-3px); }
.sector-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.sector-card h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.sector-card p { font-size: 0.92rem; color: var(--muted); }

/* ── CONTACT SECTION ─────────────────────────────────────────── */
.contact-section {
  padding: var(--section-pad);
  background: var(--ink);
  color: var(--paper);
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.contact-section .section-label { color: var(--gold); }
.contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--paper);
}
.contact-section h2 em { font-style: italic; color: var(--gold); }
.contact-section > .contact-inner > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.6);
}
.form-field label span { color: var(--gold); }

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(245,242,236,0.06);
  border: 1px solid rgba(245,242,236,0.2);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  border-radius: 0;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245,242,236,0.3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,242,236,0.1);
}
.form-field select option { background: var(--accent); color: var(--paper); }
.form-field textarea { resize: vertical; min-height: 130px; }

.form-submit {
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.form-submit .btn-loading { display: none; }
.form-submit.loading .btn-text { display: none; }
.form-submit.loading .btn-loading { display: inline; }

.form-feedback {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form-feedback.success { background: rgba(45,102,71,0.25); border: 1px solid rgba(45,102,71,0.5); color: #a3d4b5; display: block; }
.form-feedback.error   { background: rgba(200,60,60,0.2);  border: 1px solid rgba(200,60,60,0.4);  color: #f5a0a0; display: block; }

/* Contact info */
.contact-info-block {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,242,236,0.12);
  margin-bottom: 1.5rem;
}
.contact-info-block h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--paper);
}
.contact-info-block p { font-size: 0.95rem; color: rgba(255,255,255,0.82); }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245,242,236,0.08);
}
.contact-detail-label {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail a,
.contact-detail span { font-size: 0.9rem; color: rgba(255,255,255,0.88); text-decoration: none; }
.contact-detail a:hover { color: var(--paper); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(245,242,236,0.1);
  padding: 2.5rem 4vw;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-copy { font-size: 0.8rem; color: rgba(245,242,236,0.4); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--paper); }

.footer-social {
  color: rgba(245,242,236,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social:hover { color: var(--paper); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .service-card:nth-child(3n)  { border-right: 1px solid var(--border); }
  .service-card:nth-child(even) { border-right: none; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 7rem; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: 1fr; border-top: none; }
  .step { border-right: none !important; border-top: 1px solid rgba(245,242,236,0.12); padding: 2rem 0 !important; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 5rem 5vw; }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(245,242,236,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 4vw;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 1rem 0; font-size: 0.9rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; border: none; }
  .service-card { border: 1px solid var(--border) !important; border-top: none !important; }
  .service-card:first-child { border-top: 1px solid var(--border) !important; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── WORDPRESS OVERRIDES ─────────────────────────────────────── */
.wp-caption { max-width: 100%; }
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }

/* Screen reader only */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* ── FOOTER WIDGET BAR ───────────────────────────────────────── */
.footer-widgets-bar {
  background: #0c1d2b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 4vw;
}

.footer-widgets-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Widget title (hidden by default for social icon widgets) */
.footer-widget .footer-widget-title {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-weight: 400;
  font-family: var(--sans);
}

/* Social Icons Widget — force icons white on dark bg */
.footer-widgets-bar a,
.footer-widgets-bar svg,
.footer-widgets-bar i {
  color: rgba(255,255,255,0.6) !important;
  fill: rgba(255,255,255,0.6) !important;
  transition: color 0.2s, fill 0.2s, opacity 0.2s !important;
}
.footer-widgets-bar a:hover,
.footer-widgets-bar a:hover svg,
.footer-widgets-bar a:hover i {
  color: #21a7a0 !important;
  fill: #21a7a0 !important;
  opacity: 1 !important;
}

/* Social Icons Widget — icon sizing */
.footer-widgets-bar .social-icons a,
.footer-widgets-bar ul li a,
.footer-widgets-bar .widget ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s !important;
}
.footer-widgets-bar .social-icons a:hover,
.footer-widgets-bar ul li a:hover,
.footer-widgets-bar .widget ul li a:hover {
  border-color: #21a7a0 !important;
  background: rgba(33,167,160,0.1) !important;
}

/* WPZoom Social Icons Widget specific overrides */
.footer-widgets-bar .wpzoom-social-icons-widget-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.footer-widgets-bar .wpzoom-social-icons-widget-list li {
  margin: 0 !important;
}
.footer-widgets-bar .wpzoom-social-icons-widget-list .social-icon-item {
  background: transparent !important;
  box-shadow: none !important;
}

/* Simple Social Icons plugin overrides */
.footer-widgets-bar .simple-social-icons ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.footer-widgets-bar .simple-social-icons ul li {
  margin: 0 !important;
}
.footer-widgets-bar .simple-social-icons ul li a {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}
.footer-widgets-bar .simple-social-icons ul li a:hover {
  background: rgba(33,167,160,0.15) !important;
  border-color: #21a7a0 !important;
}

/* Rename footer bottom section */
.footer-bottom {
  background: var(--ink);
  padding: 1.75rem 4vw;
  border-top: none;
}

@media (max-width: 600px) {
  .footer-widgets-bar { padding: 2rem 5vw; }
  .footer-widgets-inner { gap: 1rem; }
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

/* ── BLOG HERO ───────────────────────────────────────────────── */
.blog-hero {
  background: var(--accent);
  padding: 9rem 4vw 5rem;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  right: -10vw;
  top: 50%;
  transform: translateY(-50%);
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.blog-hero::after {
  content: '';
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  width: 28vw;
  height: 28vw;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.blog-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.blog-hero .section-label { color: var(--gold); }

.blog-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.blog-hero-title em { font-style: italic; color: var(--gold); }

.blog-hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  line-height: 1.7;
}

/* ── CATEGORY FILTER BAR ─────────────────────────────────────── */
.blog-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 100;
  padding: 0 4vw;
}
.blog-filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.85rem 0;
}
.blog-filter-inner::-webkit-scrollbar { display: none; }

.filter-pill {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 100px;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── BLOG SECTION WRAPPER ────────────────────────────────────── */
.blog-section { padding: 4rem 4vw 6rem; background: var(--paper); }
.blog-container { max-width: var(--max-w); margin: 0 auto; }

/* ── FEATURED POST ───────────────────────────────────────────── */
.blog-featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.blog-featured-post:hover { box-shadow: 0 8px 40px rgba(17,38,57,0.1); }

.blog-featured-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.blog-featured-post:hover .blog-featured-img img { transform: scale(1.03); }

.blog-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
}
.featured-title a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.featured-title a:hover { color: var(--accent-light); }

.featured-excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ── POST META (shared) ──────────────────────────────────────── */
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.post-cat {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-light);
  padding: 0.2rem 0.7rem;
  text-decoration: none;
  transition: background 0.2s;
  border-radius: 100px;
}
.post-cat:hover { background: var(--accent); color: #fff; }
.post-date,
.post-read {
  font-size: 1rem;
  color: var(--muted);
}
.post-date::before { content: ''; }
.post-read::before { content: '·'; margin-right: 0.5rem; color: var(--border); }

.post-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: border-color 0.2s, gap 0.2s;
  margin-top: auto;
}
.post-read-link:hover { border-color: var(--accent-light); gap: 0.65rem; }

/* ── BLOG GRID ───────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* ── BLOG CARD ───────────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  box-shadow: 0 6px 32px rgba(17,38,57,0.09);
  transform: translateY(-3px);
}

.blog-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 0.75rem;
}
.blog-card-title a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--accent-light); }

.blog-card-excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ── PAGINATION ──────────────────────────────────────────────── */
.blog-pagination { text-align: center; padding: 2rem 0; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  font-size: 1rem;
  text-decoration: none;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-pagination .page-numbers:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.blog-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next { width: auto; padding: 0 1rem; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}
.blog-empty h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0.75rem 0;
}
.blog-empty p { color: var(--muted); font-size: 0.95rem; }
.blog-empty a { color: var(--accent-light); }

/* ── SINGLE POST ─────────────────────────────────────────────── */
.post-hero {
  background: var(--accent);
  padding: 9rem 4vw 4rem;
  position: relative;
  overflow: hidden;
}
.post-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.post-hero .post-meta { margin-bottom: 1.25rem; }
.post-hero .post-date,
.post-hero .post-read { color: rgba(255,255,255,0.55); }

.post-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.post-standfirst {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.author-name {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}
.author-role {
  display: block;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

.post-featured-img {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 4vw;
}
.post-featured-img-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.post-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* ── POST LAYOUT (sidebar + content) ────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  max-width: calc(var(--max-w) * 0.85);
  margin: 0 auto;
  padding: 4rem 4vw 5rem;
  align-items: start;
}

/* Share sidebar */
.post-sidebar { position: sticky; top: 100px; }
.share-label {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 50%;
}
.share-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Post body typography */
.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.post-body h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
}
.post-body p { margin-bottom: 1.4rem; }
.post-body a { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(33,167,160,0.4); }
.post-body a:hover { text-decoration-color: var(--accent-light); }
.post-body ul,
.post-body ol { margin: 0 0 1.4rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body blockquote {
  border-left: 3px solid var(--accent-light);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(33,167,160,0.05);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent);
}
.post-body img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}
.post-body pre {
  background: var(--ink);
  color: #e2e8f0;
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 1rem;
  line-height: 1.6;
  margin: 2rem 0;
}
.post-body code {
  font-size: 0.88em;
  background: rgba(17,38,57,0.07);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.post-body pre code { background: transparent; padding: 0; }

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.post-tag {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 100px;
}
.post-tag:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* Author bio */
.author-bio-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
}
.author-bio-avatar { border-radius: 50%; flex-shrink: 0; }
.author-bio-label {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.author-bio-name { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.author-bio-text { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Related posts */
.related-posts {
  background: white;
  padding: 4rem 4vw;
  border-top: 1px solid var(--border);
}
.related-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* Back to blog */
.back-to-blog {
  text-align: center;
  padding: 3rem 4vw;
  border-top: 1px solid var(--border);
  background: var(--paper);
}

/* ── BLOG RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .blog-featured-post { grid-template-columns: 1fr; }
  .blog-featured-img { aspect-ratio: 16/9; }
  .blog-featured-content { padding: 2rem; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; display: flex; gap: 0.5rem; align-items: center; }
  .share-label { margin-bottom: 0; margin-right: 0.5rem; }
  .share-btn { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 8rem 5vw 3.5rem; }
  .post-hero { padding: 8rem 5vw 3rem; }
}

/* ============================================================
   PAGE & PRIVACY STYLES
   ============================================================ */

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  background: var(--accent);
  padding: 9rem 4vw 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -8vw; top: 50%;
  transform: translateY(-50%);
  width: 36vw; height: 36vw;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .section-label { color: var(--gold); }
.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-hero-meta {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
}

/* ── PAGE BODY ───────────────────────────────────────────────── */
.page-body-wrap {
  padding: 4rem 4vw 6rem;
  background: var(--paper);
}
.page-body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
}
.page-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.85rem;
  color: var(--ink);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.page-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.page-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 1.75rem 0 0.6rem;
}
.page-body p { margin-bottom: 1.35rem; }
.page-body a { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(33,167,160,0.4); }
.page-body a:hover { text-decoration-color: var(--accent-light); }
.page-body ul, .page-body ol { margin: 0 0 1.35rem 1.5rem; }
.page-body li { margin-bottom: 0.5rem; }
.page-body strong { font-weight: 500; }

/* ── FOOTER — Privacy link styling ──────────────────────────── */
.footer-links .privacy-link {
  color: rgba(245,242,236,0.35) !important;
  font-size: 0.72rem !important;
  padding-left: 1rem;
  border-left: 1px solid rgba(245,242,236,0.12);
  margin-left: 0.5rem;
}
.footer-links .privacy-link:hover { color: rgba(245,242,236,0.7) !important; }
