/*
Theme Name: Nordic Sport Society
Theme URI: https://nordicsportsociety.com
Author: Nordic Sport Society
Author URI: https://nordicsportsociety.com
Description: A warm, community-focused theme for Nordic Sport Society — a sport organisation in Aarhus, Denmark. Editorial-warm style with deep navy + warm gold on soft cream. Fully compatible with Elementor and standard WordPress plugins.
Version: 1.6.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nordic-sport-society
Tags: sports, nonprofit, community, custom-menu, featured-images, translation-ready, full-width-template, custom-logo
*/

/* ============================================================
   0. Design tokens
   ============================================================ */
:root {
  --nss-ink: #1b2436;
  --nss-navy: #21385c;
  --nss-navy-dk: #162844;
  --nss-gold: #eaa519;
  --nss-gold-soft: #f6cf73;
  --nss-terra: #cf6a45;
  --nss-terra-text: #a5482a; /* AA-compliant terracotta for small text/links */
  --nss-cream: #f7f2e9;
  --nss-cream-2: #efe7d8;
  --nss-card: #ffffff;
  --nss-muted: #6f6557;
  --nss-line: rgba(27,36,54,0.10);
  --nss-maxw: 1180px;
  --nss-font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nss-font-display: "Bricolage Grotesque", Georgia, serif;
  --nss-font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ============================================================
   1. Base / reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--nss-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nss-ink);
  background: var(--nss-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nss-navy); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--nss-font-display); color: var(--nss-ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: rgba(234,165,25,0.3); }
.nss-skip-link { position: absolute; left: -9999px; }
.nss-skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }

/* ============================================================
   2. Layout helpers
   ============================================================ */
.nss-container { max-width: var(--nss-maxw); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.nss-section { padding-top: 64px; padding-bottom: 56px; }
.nss-section--tight { padding-top: 40px; padding-bottom: 40px; }
.nss-bordered { border-top: 1px solid var(--nss-line); border-bottom: 1px solid var(--nss-line); }
.nss-eyebrow-wrap { max-width: 640px; }

/* ============================================================
   3. Buttons
   ============================================================ */
.nss-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--nss-font-body); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease;
}
.nss-btn:hover { transform: translateY(-2px); }
.nss-btn--gold { background: var(--nss-gold); color: var(--nss-ink); border-color: var(--nss-gold); }
.nss-btn--navy { background: var(--nss-navy); color: #fff; border-color: var(--nss-navy); }
.nss-btn--ghost { background: transparent; color: var(--nss-navy); border: 1.5px solid rgba(33,56,92,0.25); }
.nss-btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.nss-btn--block { justify-content: center; width: 100%; padding: 16px; font-size: 16px; }

/* ============================================================
   4. Pills / badges
   ============================================================ */
.nss-pill {
  display: inline-block; font-family: var(--nss-font-body); font-weight: 700; font-size: 11px;
  line-height: 1; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
}
.nss-pill--gold  { background: rgba(234,165,25,0.14); color: #a06b00; }
.nss-pill--navy  { background: rgba(33,56,92,0.08); color: var(--nss-navy); }
.nss-pill--terra { background: rgba(207,106,69,0.14); color: #a5482a; }
.nss-pill--light { background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.92); }
.nss-pill--green { background: rgba(36,120,80,0.14); color: #1f6e4a; }

/* ============================================================
   5. Photo placeholder (used until real images added)
   ============================================================ */
.nss-ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(27,36,54,0.08);
  background: repeating-linear-gradient(45deg, #e7dcc8, #e7dcc8 14px, rgba(27,36,54,0.05) 14px, rgba(27,36,54,0.05) 28px);
}
.nss-ph--navy {
  border: 1px solid rgba(255,255,255,0.10);
  background: repeating-linear-gradient(45deg, #26405f, #26405f 14px, rgba(255,255,255,0.05) 14px, rgba(255,255,255,0.05) 28px);
}
.nss-ph__label {
  font-family: var(--nss-font-mono); font-weight: 600; font-size: 12px; line-height: 1.4;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(27,36,54,0.42);
  background: rgba(247,242,233,0.72); padding: 5px 11px; border-radius: 999px; text-align: center;
}
.nss-ph--navy .nss-ph__label { color: rgba(255,255,255,0.6); background: rgba(22,40,68,0.6); }
/* When a real featured image is set, it fills the frame */
.nss-ph--img { background: #e7dcc8; border: 1px solid var(--nss-line); }
.nss-ph--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero media frame — fixed height on desktop, proportional on smaller screens */
.nss-hero__img { height: 440px; border-radius: 24px; }

/* ============================================================
   6. Header / navigation
   ============================================================ */
.nss-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,233,0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nss-line);
}
.nss-nav__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.nss-nav__actions { display: flex; align-items: center; gap: 30px; }
.nss-logo { display: flex; align-items: center; gap: 10px; }
.nss-logo__mark {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--nss-gold), var(--nss-terra));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--nss-font-display); font-weight: 800; font-size: 15px;
  box-shadow: 0 2px 8px rgba(207,106,69,0.35); overflow: hidden;
}
.nss-logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.nss-logo__text { line-height: 1.05; white-space: nowrap; }
.nss-logo__name { display: block; font-family: var(--nss-font-display); font-weight: 800; font-size: 19px; color: var(--nss-navy); }
.nss-logo__sub { display: block; font-weight: 700; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--nss-gold); margin-top: 3px; }
.nss-nav--dark .nss-logo__name { color: #fff; }
.nss-nav--dark .nss-logo__sub { color: rgba(255,255,255,0.6); }

/* Image / brand logo (bundled PNG or Customizer custom-logo) */
.nss-logo--img { display: inline-flex; align-items: center; }
.nss-logo--img img { height: 46px; width: auto; display: block; }
.nss-logo .custom-logo { height: 46px; width: auto; display: block; }
.nss-logo--footer img { height: 42px; }
@media (max-width: 680px) {
  .nss-logo--img img, .nss-logo .custom-logo { height: 38px; }
  .nss-logo--footer img { height: 38px; }
}

.nss-navlinks { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nss-navlink { position: relative; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nss-navlink > a { color: var(--nss-muted); position: relative; display: inline-block; }
.nss-navlink:hover > a { color: var(--nss-navy); }
.nss-navlink.current-menu-item > a,
.nss-navlink.current_page_item > a,
.nss-navlink.current-menu-parent > a,
.nss-navlink--active > a,
.nss-navlink--active { color: var(--nss-navy); }
.nss-navlink.current-menu-item > a::after,
.nss-navlink.current_page_item > a::after,
.nss-navlink.current-menu-parent > a::after,
.nss-navlink--active > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2.5px; border-radius: 2px; background: var(--nss-gold);
}

.nss-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none; cursor: pointer; }
.nss-burger span { width: 24px; height: 2.5px; background: var(--nss-navy); border-radius: 2px; transition: transform .2s; }
.nss-mobile-menu { display: none; flex-direction: column; gap: 0; padding: 4px 28px 20px; }
.nss-mobile-menu.is-open { display: flex; }
.nss-mobile-menu a { font-weight: 600; font-size: 17px; color: var(--nss-muted); padding: 12px 0; border-bottom: 1px solid var(--nss-line); }
.nss-mobile-menu .current-menu-item > a, .nss-mobile-menu .current_page_item > a { color: var(--nss-navy); }
.nss-mobile-menu ul { list-style: none; margin: 0; padding: 0; }

/* ============================================================
   7. Hero
   ============================================================ */
.nss-hero { padding-top: 64px; padding-bottom: 56px; }
.nss-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.nss-h1 { font-weight: 800; font-size: 62px; line-height: 1.04; letter-spacing: -0.02em; margin-top: 22px; }
.nss-h1 .accent { color: var(--nss-terra); }
.nss-lead { font-size: 19px; color: var(--nss-muted); margin-top: 24px; max-width: 480px; line-height: 1.6; }
.nss-hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.nss-hero__media { position: relative; }
.nss-hero__badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--nss-card); border-radius: 18px;
  padding: 18px 22px; box-shadow: 0 18px 40px rgba(27,36,54,0.14); display: flex; align-items: center; gap: 14px;
}
.nss-hero__badge-num { font-family: var(--nss-font-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--nss-gold); }
.nss-hero__badge-txt { font-weight: 600; font-size: 13px; line-height: 1.35; color: var(--nss-muted); }

/* ============================================================
   8. Stats
   ============================================================ */
.nss-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.nss-stat__num { font-family: var(--nss-font-display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--nss-navy); }
.nss-stat__label { font-size: 14px; color: var(--nss-muted); margin-top: 8px; }

/* ============================================================
   9. Section headings
   ============================================================ */
.nss-h2 { font-weight: 800; font-size: 40px; line-height: 1.1; margin-top: 18px; }
.nss-h2--lg { font-size: 54px; line-height: 1.05; letter-spacing: -0.02em; }
.nss-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.nss-link-arrow { font-weight: 700; font-size: 15px; color: var(--nss-navy); }

/* ============================================================
   10. Cards
   ============================================================ */
.nss-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nss-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nss-cards-top { margin-top: 40px; }

.nss-feature-card { background: var(--nss-card); border-radius: 20px; padding: 28px; border: 1px solid var(--nss-line); height: 100%; }
.nss-feature-card__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(234,165,25,0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.nss-feature-card__icon i { width: 18px; height: 18px; border-radius: 5px; background: var(--nss-gold); display: block; }
.nss-feature-card h3 { font-weight: 700; font-size: 21px; line-height: 1.2; }
.nss-feature-card p { font-size: 15px; color: var(--nss-muted); margin-top: 10px; line-height: 1.6; }

.nss-proj-card { background: var(--nss-card); border-radius: 20px; overflow: hidden; border: 1px solid var(--nss-line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.nss-proj-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,36,54,0.12); }
.nss-proj-card__media { height: 188px; border-radius: 0; }
.nss-proj-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.nss-proj-card__meta { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.nss-proj-card__date { font-family: var(--nss-font-mono); font-weight: 600; font-size: 12px; color: var(--nss-muted); letter-spacing: 0.04em; }
.nss-proj-card h3 { font-weight: 700; font-size: 22px; line-height: 1.18; }
.nss-proj-card p { font-size: 15px; color: var(--nss-muted); margin: 10px 0 18px; line-height: 1.6; flex: 1; }
.nss-readmore { font-weight: 700; font-size: 14px; color: var(--nss-terra-text); }

/* Preview cards on home use shorter media */
.nss-proj-card--sm .nss-proj-card__media { height: 180px; }

/* ============================================================
   11. Featured project (archive)
   ============================================================ */
.nss-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--nss-card); border-radius: 24px; overflow: hidden; border: 1px solid var(--nss-line); }
.nss-featured__media { height: 100%; min-height: 360px; border-radius: 0; }
.nss-featured__body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.nss-featured__meta { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.nss-featured__body h2 { font-weight: 800; font-size: 34px; line-height: 1.1; }
.nss-featured__body p { font-size: 16.5px; color: var(--nss-muted); margin: 14px 0 22px; line-height: 1.65; }

/* ============================================================
   12. Filters
   ============================================================ */
.nss-filters { display: flex; gap: 10px; border-top: 1px solid var(--nss-line); padding-top: 24px; flex-wrap: wrap; }
.nss-filter { font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 999px; cursor: pointer; border: 1px solid var(--nss-line); background: transparent; color: var(--nss-muted); transition: all .15s ease; }
.nss-filter:hover { color: var(--nss-navy); }
.nss-filter.is-active { background: var(--nss-navy); color: #fff; border-color: var(--nss-navy); }
.nss-empty { text-align: center; padding: 60px 0; color: var(--nss-muted); }

/* ============================================================
   13. CTA bands
   ============================================================ */
.nss-cta { border-radius: 28px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.nss-cta--navy { background: var(--nss-navy); }
.nss-cta--navy h2 { color: #fff; font-weight: 800; font-size: 38px; line-height: 1.08; max-width: 560px; }
.nss-cta--navy p { color: rgba(255,255,255,0.72); font-size: 17px; margin-top: 14px; max-width: 560px; line-height: 1.6; }
.nss-cta--cream { background: var(--nss-cream-2); }
.nss-cta--cream h2 { font-weight: 800; font-size: 34px; line-height: 1.1; max-width: 520px; }
.nss-cta--cream p { color: var(--nss-muted); font-size: 17px; margin-top: 12px; max-width: 520px; line-height: 1.6; }

/* ============================================================
   14. Contact page
   ============================================================ */
.nss-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.nss-info-list { display: flex; flex-direction: column; gap: 28px; }
.nss-info { display: flex; gap: 16px; align-items: flex-start; }
.nss-info__icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: rgba(234,165,25,0.14); display: flex; align-items: center; justify-content: center; color: var(--nss-gold); }
.nss-info__icon svg { width: 22px; height: 22px; }
.nss-info__title { font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nss-muted); margin-bottom: 5px; }
.nss-info__val { font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--nss-ink); }
.nss-info__val a { color: var(--nss-navy); }
.nss-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--nss-line); height: 300px; margin-top: 4px; }
.nss-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.nss-form-card { background: var(--nss-card); border-radius: 24px; border: 1px solid var(--nss-line); padding: 36px; box-shadow: 0 18px 50px rgba(27,36,54,0.07); }
.nss-form { display: flex; flex-direction: column; gap: 18px; }
.nss-field label { font-weight: 700; font-size: 13px; color: var(--nss-ink); margin-bottom: 7px; display: block; }
.nss-input, .nss-textarea {
  width: 100%; font-family: var(--nss-font-body); font-size: 15px; color: var(--nss-ink);
  padding: 13px 15px; border-radius: 12px; border: 1px solid var(--nss-line); background: #fff; outline: none; transition: border-color .15s;
}
.nss-input:focus, .nss-textarea:focus { border-color: var(--nss-gold); }
.nss-textarea { resize: vertical; min-height: 130px; }
.nss-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nss-captcha { background: var(--nss-cream); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nss-captcha__q { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--nss-ink); }
.nss-captcha .nss-input { width: 90px; }
.nss-form-note { font-weight: 500; font-size: 12.5px; color: var(--nss-muted); text-align: center; margin: 0; }
.nss-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.nss-alert { font-weight: 600; font-size: 14px; border-radius: 10px; padding: 12px 14px; }
.nss-alert--error { color: var(--nss-terra); background: rgba(207,106,69,0.1); }
.nss-alert--ok { color: #1f6e4a; background: rgba(36,120,80,0.12); }
.nss-form-success { text-align: center; padding: 40px 12px; }
.nss-form-success__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(36,120,80,0.14); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.nss-form-success h3 { font-weight: 800; font-size: 26px; }
.nss-form-success p { color: var(--nss-muted); margin: 12px 0 24px; font-size: 16px; line-height: 1.6; }

/* ============================================================
   15. Team
   ============================================================ */
.nss-team-head { display: grid; grid-template-columns: 1fr 0.8fr; gap: 40px; align-items: end; }
.nss-team-head p { font-size: 17px; color: var(--nss-muted); line-height: 1.65; }
.nss-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.nss-member { background: var(--nss-card); border-radius: 22px; overflow: hidden; border: 1px solid var(--nss-line); transition: transform .2s ease, box-shadow .2s ease; display: block; text-decoration: none; color: inherit; }
.nss-member:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,36,54,0.12); }
.nss-member__media { position: relative; height: 240px; border-radius: 0; }
/* Anchor portrait photos to the face, not the chest, when cover-cropping */
.nss-member__media.nss-ph--img img { object-position: center 22%; }

/* ============================================================
   Micro-interactions (subtle, fast, GPU-friendly)
   ============================================================ */
/* Hero video fills its frame like a photo */
.nss-hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Image zoom on hover for project + team cards */
.nss-proj-card .nss-ph--img img,
.nss-member .nss-ph--img img,
.nss-featured .nss-ph--img img { transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.nss-proj-card:hover .nss-ph--img img,
.nss-member:hover .nss-ph--img img,
.nss-featured:hover .nss-ph--img img { transform: scale(1.06); }

/* Read-more arrow nudges on card hover */
.nss-proj-card .nss-readmore { transition: color .15s ease; }
.nss-proj-card:hover .nss-readmore { color: var(--nss-navy); }

/* Animated underline on nav hover (kept off the active item's gold rule) */
.nss-navlink > a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2.5px; border-radius: 2px;
  background: var(--nss-navy); opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity .2s ease, transform .2s ease;
}
.nss-navlink:not(.current-menu-item):not(.current_page_item):hover > a::before { opacity: .45; transform: scaleX(1); }

/* Footer links: gentle slide */
.nss-footer__col a { transition: color .15s ease, padding-left .15s ease; }
.nss-footer__col a:hover { padding-left: 4px; }

/* Honour reduced-motion: disable all the above movement */
@media (prefers-reduced-motion: reduce) {
  .nss-btn, .nss-proj-card, .nss-member,
  .nss-proj-card .nss-ph--img img, .nss-member .nss-ph--img img, .nss-featured .nss-ph--img img,
  .nss-navlink > a::before, .nss-footer__col a { transition: none !important; transform: none !important; }
}
.nss-member__initials { position: absolute; bottom: 14px; left: 14px; width: 48px; height: 48px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--nss-font-display); font-weight: 800; font-size: 18px; box-shadow: 0 6px 16px rgba(27,36,54,0.25); }
.nss-member__body { padding: 22px; }
.nss-member__body h3 { font-weight: 700; font-size: 21px; line-height: 1.2; }
.nss-member__role { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nss-terra-text); margin-top: 7px; }

.nss-band { background: var(--nss-navy); color: #fff; }
.nss-band .nss-pill--light { color: rgba(255,255,255,0.92); }
.nss-band__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.nss-band h2 { color: #fff; font-weight: 800; font-size: 36px; line-height: 1.12; margin-top: 16px; }
.nss-band p { font-size: 16.5px; color: rgba(255,255,255,0.74); margin-top: 16px; line-height: 1.65; }
.nss-band__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nss-band__media .nss-ph { height: 180px; }
.nss-band__media .nss-ph:nth-child(2) { margin-top: 28px; }
.nss-band__media .nss-ph:nth-child(3) { margin-top: -14px; }
.nss-band__media .nss-ph:nth-child(4) { margin-top: 14px; }

.nss-expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.nss-expertise__item { display: flex; align-items: center; gap: 14px; background: var(--nss-card); border: 1px solid var(--nss-line); border-radius: 14px; padding: 16px 18px; }
.nss-expertise__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--nss-gold); flex-shrink: 0; }
.nss-expertise__item span:last-child { font-weight: 600; font-size: 15.5px; color: var(--nss-ink); }

/* ============================================================
   16. Single project / generic content
   ============================================================ */
.nss-article { max-width: 760px; margin: 0 auto; }
.nss-article__hero { height: 420px; border-radius: 24px; margin-bottom: 36px; }
.nss-prose { font-size: 17px; line-height: 1.75; color: #38414f; }
.nss-prose > * + * { margin-top: 20px; }
.nss-prose h2 { font-size: 30px; margin-top: 36px; }
.nss-prose h3 { font-size: 23px; margin-top: 28px; }
.nss-prose a { color: var(--nss-terra-text); text-decoration: underline; }
.nss-prose img { border-radius: 16px; margin: 28px 0; }
.nss-prose ul, .nss-prose ol { padding-left: 22px; }
.nss-prose blockquote { border-left: 3px solid var(--nss-gold); padding-left: 20px; color: var(--nss-muted); font-style: italic; }
.nss-back { font-weight: 700; font-size: 15px; color: var(--nss-navy); margin-bottom: 24px; display: inline-block; }
.nss-page-header { max-width: 760px; }
.nss-page-header .nss-h2--lg { margin-top: 18px; }

/* ============================================================
   17. Footer
   ============================================================ */
.nss-footer { background: var(--nss-navy-dk); color: rgba(255,255,255,0.7); }
.nss-footer__inner { padding-top: 56px; padding-bottom: 30px; }
.nss-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.nss-footer__about { font-size: 14.5px; margin-top: 18px; max-width: 280px; line-height: 1.6; }
.nss-footer__col-title { font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nss-gold-soft); margin-bottom: 16px; }
.nss-footer__col a, .nss-footer__col span { display: block; font-size: 14.5px; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
.nss-footer__col a:hover { color: #fff; }
.nss-footer ul { list-style: none; margin: 0; padding: 0; }
.nss-footer__bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 13.5px; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   18. WordPress core / plugin interoperability
   ============================================================ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--nss-muted); text-align: center; margin-top: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.nss-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.nss-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--nss-line); font-weight: 700; color: var(--nss-navy); }
.nss-pagination .page-numbers.current { background: var(--nss-navy); color: #fff; border-color: var(--nss-navy); }
/* Admin bar offset for sticky nav */
.admin-bar .nss-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nss-nav { top: 46px; } }

/* ============================================================
   19. Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nss-featured { grid-template-columns: 1fr; }
  .nss-featured__media { min-height: 280px; }
}
@media (max-width: 900px) {
  .nss-hero__grid, .nss-grid-2, .nss-contact-grid, .nss-team-head, .nss-band__grid { grid-template-columns: 1fr; }
  .nss-grid-3, .nss-stats { grid-template-columns: 1fr 1fr; }
  .nss-expertise { grid-template-columns: 1fr 1fr; }
  .nss-footer__grid { grid-template-columns: 1fr 1fr; }
  .nss-h1 { font-size: 52px; }
  .nss-h2--lg { font-size: 44px; }
  .nss-band__media .nss-ph { margin-top: 0 !important; }
  .nss-hero__media { margin-bottom: 22px; }
  /* Hero/featured images become proportional so the whole photo shows, no half-crop */
  .nss-hero__img { height: auto; aspect-ratio: 16 / 10; }
  .nss-featured__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  .nss-navlinks, .nss-nav__cta { display: none; }
  .nss-burger { display: flex; }
  .nss-grid-3, .nss-stats, .nss-expertise, .nss-footer__grid { grid-template-columns: 1fr; }
  .nss-h1 { font-size: 40px; }
  .nss-h2 { font-size: 32px; }
  .nss-h2--lg { font-size: 36px; }
  .nss-section { padding-top: 48px; padding-bottom: 44px; }
  .nss-container { padding-left: 20px; padding-right: 20px; }
  .nss-cta, .nss-form-card, .nss-featured__body { padding: 32px 24px; }
  .nss-field-row { grid-template-columns: 1fr; }
  .nss-hero__badge { left: 0; }
  /* Proportional media on phones so full photos show (no tall half-crop) */
  .nss-hero__img { aspect-ratio: 16 / 11; }
  .nss-proj-card__media, .nss-proj-card--sm .nss-proj-card__media { height: auto; aspect-ratio: 16 / 10; }
  .nss-member__media { height: auto; aspect-ratio: 4 / 5; }
  .nss-band__media .nss-ph { height: auto; aspect-ratio: 1 / 1; }
}
