/* ============================================================
   TeamPractice — css/style.css
   Warm-paper editorial handbook theme. Mobile-first, no frameworks.
   ============================================================ */

@font-face {
  font-family: 'TP Text';
  src: url('../fonts/hanken-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TP Text';
  src: url('../fonts/hanken-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:        #241f19;
  --ink-soft:   #4c443a;
  --muted:      #7a7062;
  --paper:      #f6f2ea;
  --card:       #fffdf8;
  --line:       #e2dac9;
  --line-soft:  #eee8db;
  --green:      #1d6a51;
  --green-deep: #123f31;
  --green-tint: #e4efe9;
  --amber:      #c07a2a;
  --amber-tint: #f6e8d4;

  --font-body: 'TP Text', 'Segoe UI', system-ui, sans-serif;
  --font-head: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --r: 4px;
  --r-lg: 8px;
  --shadow: 0 1px 2px rgba(36,31,25,.06), 0 6px 18px rgba(36,31,25,.05);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img, video, iframe, embed, object { max-width: 100%; height: auto; display: block; }

table { display: block; overflow-x: auto; max-width: 100%; }

input, textarea, select, button { max-width: 100%; box-sizing: border-box; font-family: var(--font-body); }

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

ul, ol { list-style: none; }

/* --- LAYOUT ------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 18px; }
.section { padding: 52px 0; }
.section--alt { background: var(--card); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- TYPE -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.22; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 3.4vw, 1.9rem); }
h3 { font-size: clamp(1.08rem, 2.4vw, 1.3rem); }
h4 { font-size: 1.02rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.text-muted { color: var(--muted); }

.section-label,
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

/* --- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; min-height: 46px;
  border-radius: var(--r);
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  letter-spacing: .03em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fdfcf9; border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; text-decoration: none; }
.btn-accent { background: var(--amber-tint); color: var(--ink); border-color: var(--amber); }
.btn-accent:hover { background: var(--amber); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: .85rem; min-height: 36px; }

/* --- SKIP LINK --------------------------------------------- */
.skip-link {
  position: absolute; top: -100%; left: 14px;
  background: var(--green-deep); color: #fff;
  padding: 8px 16px; border-radius: 0 0 var(--r) var(--r);
  z-index: 9999; text-decoration: none; font-weight: 500; font-size: .9rem;
}
.skip-link:focus { top: 0; }

/* --- HEADER ------------------------------------------------ */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  border-top: 4px solid var(--green);
  position: sticky; top: 0; z-index: 200;
}
.site-header .header-inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }

.site-logo { display: flex; flex-direction: column; gap: 3px; text-decoration: none; min-width: 0; }
.logo-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  color: var(--green-deep); line-height: 1.2; letter-spacing: -.01em;
}
.logo-tagline { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-logo:hover .logo-name { color: var(--amber); }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 13px; font-size: .88rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none; border-radius: var(--r);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green-deep); border-bottom-color: var(--amber); background: transparent; }

.header-contact {
  display: none; font-family: var(--font-mono); font-size: .78rem;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  min-height: 44px; align-items: center;
}
.header-contact:hover { color: var(--green); }

.mobile-menu-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 1px solid var(--line);
  cursor: pointer; padding: 10px; border-radius: var(--r); flex-shrink: 0; margin-left: auto;
}
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; background: var(--card); border-top: 1px solid var(--line); padding: 10px 0 14px; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 11px 20px; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--paper); color: var(--green-deep); }
.mobile-nav .mobile-contact-line { padding: 12px 20px 4px; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }

/* --- HERO --------------------------------------------------- */
.hero {
  position: relative;
  background: var(--green-deep);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px);
  color: #f4efe6;
  padding: 68px 0 60px;
  overflow: hidden;
  border-bottom: 4px solid var(--amber);
}
.hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .05; color: #f4efe6; }
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.hero .hero-eyebrow { color: var(--amber-tint); }
.hero h1 { color: #fdfbf6; font-size: clamp(1.9rem, 5.4vw, 3.2rem); margin-bottom: 18px; }
.hero-inner > p:not(.hero-eyebrow) { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(244,239,230,.85); max-width: 640px; margin-bottom: 28px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: rgba(244,239,230,.8); }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ''; width: 7px; height: 7px; background: var(--amber); border-radius: 1px; transform: rotate(45deg); }

/* --- FILTER BAR --------------------------------------------- */
.filter-bar { padding: 18px 0 6px; border-bottom: 1px solid var(--line); background: var(--card); position: relative; z-index: 100; }
.filter-inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 12px; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-chip {
  display: inline-flex; align-items: center; padding: 7px 15px; min-height: 38px;
  border-radius: var(--r); font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: background .15s, color .15s, border-color .15s; text-decoration: none;
}
.filter-chip:hover { background: var(--green-tint); border-color: var(--green); color: var(--green-deep); text-decoration: none; }
.filter-chip.is-active { background: var(--green-deep); border-color: var(--green-deep); color: #f4efe6; text-decoration: none; }

/* --- FEED ---------------------------------------------------- */
.feed { padding: 44px 0 68px; }
.feed-grid { display: flex; flex-direction: column; gap: 22px; }

.article-card {
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color .2s, transform .2s;
}
.article-card:hover { border-left-color: var(--amber); transform: translateY(-2px); }
.article-card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.article-card__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.article-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 2px;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; background: var(--green); color: #fdfcf9;
  text-decoration: none; white-space: nowrap;
}
.badge:hover { background: var(--green-deep); text-decoration: none; color: #fff; }
.badge--basics,     .badge--admin      { background: #1d6a51; }
.badge--meetings,   .badge--governance { background: #2a5f8a; }
.badge--files,      .badge--security   { background: #7a5230; }
.badge--security-2, .badge--guest      { background: #5b4a7d; }
.badge--retention                      { background: #8a4a4a; }
.badge--adoption                       { background: #3d6b35; }

.article-card__read-info { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.article-card__title { font-family: var(--font-head); font-size: clamp(1.08rem, 2.4vw, 1.3rem); font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.32; }
.article-card__title:hover { color: var(--green-deep); }
.article-card__excerpt { font-size: .9rem; color: var(--ink-soft); line-height: 1.65; }
.article-card__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.article-card__byline { font-size: .78rem; color: var(--muted); }
.article-card__byline strong { color: var(--ink-soft); font-weight: 500; }

.read-more { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; text-transform: uppercase; }
.read-more::after { content: '»'; transition: transform .15s; }
.read-more:hover { color: var(--amber); text-decoration: none; }
.read-more:hover::after { transform: translateX(3px); }

.feed-footer { text-align: center; padding-top: 40px; }

/* --- ARTICLE PAGE -------------------------------------------- */
.article-header { background: var(--green-deep); color: #f4efe6; padding: 52px 0 44px; border-bottom: 4px solid var(--amber); }
.article-header__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.article-header h1 { color: #fdfbf6; font-size: clamp(1.65rem, 4vw, 2.55rem); margin-bottom: 14px; }
.article-header__byline { font-size: .86rem; color: rgba(244,239,230,.75); }
.article-header__byline strong { color: rgba(244,239,230,.95); font-weight: 500; }

.article-hero-img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); margin: 34px 0; }

.article-body { max-width: 720px; margin: 0 auto; padding: 44px 0 72px; }
.article-body h2 { font-size: clamp(1.22rem, 3vw, 1.6rem); margin: 42px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.article-body h3 { font-size: clamp(1rem, 2.5vw, 1.18rem); margin: 28px 0 10px; color: var(--green-deep); }
.article-body p { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 1.2em; }
.article-body ul, .article-body ol { list-style: disc; margin: 16px 0 16px 24px; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 7px; line-height: 1.7; color: var(--ink-soft); }
.article-body strong { font-weight: 500; color: var(--ink); }
.article-body code { background: var(--green-tint); border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; font-size: .88em; font-family: var(--font-mono); color: var(--green-deep); }
.article-body pre { background: var(--green-deep); color: rgba(244,239,230,.9); padding: 20px; border-radius: var(--r-lg); overflow-x: auto; font-size: .85rem; line-height: 1.6; margin: 20px 0; }
.article-body pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.article-body blockquote { border-left: 3px solid var(--amber); margin: 24px 0; padding: 14px 20px; background: var(--amber-tint); border-radius: 0 var(--r) var(--r) 0; }
.article-body blockquote p { font-style: italic; color: var(--ink-soft); margin-bottom: 0; }

.info-box { background: var(--green-tint); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 28px 0; }
.info-box h4 { margin-bottom: 8px; color: var(--green-deep); font-size: .98rem; font-family: var(--font-body); font-weight: 500; }
.info-box p, .info-box li { font-size: .9rem; color: var(--ink-soft); margin-bottom: 4px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); margin-top: 46px; }
.article-tag { padding: 4px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); text-decoration: none; }
.article-tag:hover { background: var(--green-deep); color: #f4efe6; border-color: var(--green-deep); text-decoration: none; }

.author-bio { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 38px; }
.author-bio__img { width: 60px; height: 60px; border-radius: var(--r); object-fit: cover; flex-shrink: 0; filter: grayscale(.35); }
.author-bio__name { font-size: 1rem; font-weight: 500; font-family: var(--font-body); color: var(--ink); margin-bottom: 2px; }
.author-bio__role { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 500; margin-bottom: 8px; display: block; }
.author-bio__text { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.related-articles { padding: 48px 0; border-top: 1px solid var(--line); }
.related-articles h2 { font-size: 1.25rem; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* --- STATIC PAGES --------------------------------------------- */
.page-header { background: var(--green-deep); color: #f4efe6; padding: 52px 0 44px; border-bottom: 4px solid var(--amber); }
.page-header h1 { color: #fdfbf6; font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 12px; }
.page-header p { color: rgba(244,239,230,.82); font-size: 1.02rem; max-width: 600px; margin-bottom: 0; }
.page-header .hero-eyebrow { color: var(--amber-tint); margin-bottom: 16px; }

.page-body { max-width: 840px; margin: 0 auto; padding: 48px 0 64px; }
.page-body h2 { font-size: clamp(1.22rem, 3vw, 1.6rem); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.page-body p { line-height: 1.8; color: var(--ink-soft); }

.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 34px 0; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: var(--r); padding: 18px; text-align: center; }
.stat-card__num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--green-deep); line-height: 1; margin-bottom: 5px; }
.stat-card__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 26px 0; }
.team-card { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.team-card__img { width: 68px; height: 68px; border-radius: var(--r); object-fit: cover; flex-shrink: 0; filter: grayscale(.35); }
.team-card__name { font-size: 1.05rem; margin-bottom: 2px; }
.team-card__role { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 500; margin-bottom: 8px; display: block; }
.team-card__bio { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.principles-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.principle-item { display: flex; gap: 16px; align-items: flex-start; }
.principle-icon { width: 38px; height: 38px; border-radius: var(--r); background: var(--green-tint); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green-deep); font-size: 1rem; }
.principle-item h4 { margin-bottom: 4px; font-size: .96rem; font-family: var(--font-body); font-weight: 500; }
.principle-item p { font-size: .88rem; color: var(--muted); margin-bottom: 0; line-height: 1.65; }

/* --- CONTACT --------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail__icon { width: 38px; height: 38px; background: var(--green-tint); border: 1px solid var(--line); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.contact-detail__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-detail__value { font-size: .92rem; color: var(--ink); text-decoration: none; }
.contact-detail__value:hover { color: var(--green); }
address { font-style: normal; }

.contact-form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 1.3rem; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s; min-height: 44px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,106,81,.12); }
.form-group textarea { resize: vertical; min-height: 120px; }

.hp-field { display: none !important; visibility: hidden; height: 0; width: 0; padding: 0; margin: 0; overflow: hidden; }

.form-success { text-align: center; padding: 40px 24px; }
.form-success__icon { width: 58px; height: 58px; background: var(--green-tint); border: 1px solid var(--green); border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; color: var(--green-deep); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: .9rem; }

.map-wrapper { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; border: 1px solid var(--line); }
.map-wrapper iframe { display: block; width: 100%; height: 280px; border: none; }
.map-card { position: relative; width: 100%; height: 280px; overflow: hidden; }
.map-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-card__label { position: absolute; left: 16px; bottom: 16px; right: 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--r); padding: 12px 14px; font-size: .82rem; line-height: 1.5; color: var(--ink); box-shadow: var(--shadow); }

/* --- LEGAL ------------------------------------------------------ */
.legal-body { max-width: 800px; margin: 0 auto; padding: 48px 16px 72px; }
.legal-body .last-updated { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 34px; text-transform: uppercase; }
.legal-body h2 { font-size: 1.18rem; margin: 34px 0 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.legal-body h3 { font-size: 1rem; margin: 20px 0 6px; }
.legal-body p, .legal-body li { font-size: .92rem; line-height: 1.75; color: var(--ink-soft); }
.legal-body ul, .legal-body ol { list-style: disc; margin: 12px 0 12px 24px; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 4px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .85rem; }
.legal-body th, .legal-body td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-body th { background: var(--paper); font-weight: 500; }

.disclaimer-box { background: var(--amber-tint); border: 1px solid var(--amber); border-radius: var(--r); padding: 18px 22px; margin: 26px 0; }
.disclaimer-box p { font-size: .9rem; color: var(--ink); margin-bottom: 0; }

/* --- FOOTER ------------------------------------------------------ */
.site-footer { background: #1c1913; color: rgba(244,239,230,.8); padding: 54px 0 0; border-top: 4px solid var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand .logo-name { color: #f4efe6; font-size: 1.2rem; display: block; margin-bottom: 4px; }
.footer-brand .logo-tagline { color: rgba(244,239,230,.6); margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; color: rgba(244,239,230,.62); line-height: 1.65; }
.footer-col h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .88rem; color: rgba(244,239,230,.72); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { font-size: .85rem; color: rgba(244,239,230,.7); margin-bottom: 7px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact-item a { color: rgba(244,239,230,.8); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-disclaimer { font-size: .76rem; color: rgba(244,239,230,.55); line-height: 1.65; padding: 20px 0; border-top: 1px solid rgba(244,239,230,.12); margin-top: 24px; }
.footer-bottom { border-top: 1px solid rgba(244,239,230,.12); padding: 16px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .78rem; color: rgba(244,239,230,.6); margin-bottom: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links a { font-size: .78rem; color: rgba(244,239,230,.7); text-decoration: none; }
.footer-legal-links a:hover { color: #fff; }

/* --- MISC ------------------------------------------------------ */
.thankyou-wrapper { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.thankyou-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 32px; text-align: center; max-width: 480px; width: 100%; box-shadow: var(--shadow); }
.thankyou-icon { width: 70px; height: 70px; background: var(--green-tint); border: 1px solid var(--green); border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.9rem; color: var(--green-deep); }

.breadcrumb-strip { background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: 8px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: .8rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb li + li::before { content: '/'; padding-right: 4px; color: var(--line); }

.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* --- RESPONSIVE ------------------------------------------------- */
@media (min-width: 480px) { .container { padding: 0 22px; } }

@media (min-width: 700px) {
  .feed-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .article-card { grid-template-columns: 280px 1fr; }
  .article-card__img { aspect-ratio: auto; height: 100%; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .container { padding: 0 26px; }
  .section { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; }
  .map-wrapper iframe { height: 320px; }
  .hero { padding: 76px 0 64px; }
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .mobile-menu-btn { display: none; }
  .mobile-nav.is-open { display: none; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card { grid-template-columns: 1fr; }
  .article-card__img { aspect-ratio: 16 / 9; height: auto; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .map-wrapper iframe { height: 360px; }
}

@media (min-width: 1280px) {
  .header-contact { display: flex; }
  .container { padding: 0 32px; }
  .hero { padding: 92px 0 76px; }
}

.article-body .feed-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .article-body .feed-grid { grid-template-columns: repeat(2, 1fr); } .article-body .article-card { grid-template-columns: 1fr; } }

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