@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --ivory:        #F8F5EF;
  --ivory-dark:   #EEE9DF;
  --ivory-mid:    #F2EDE4;
  --text-main:    #2A2A2A;
  --text-soft:    #5C5C5C;
  --text-muted:   #8A8A8A;
  --sapphire:     #1B3664;
  --sapphire-mid: #274D8E;
  --sapphire-lt:  #EEF2FA;
  --border:       #DDD8CE;
  --border-light: #EAE5DA;
  --white:        #FFFFFF;
  --shadow-xs:    0 1px 4px rgba(27,54,100,0.06);
  --shadow-sm:    0 3px 12px rgba(27,54,100,0.08);
  --shadow-md:    0 8px 28px rgba(27,54,100,0.11);
  --ff-display:   'Playfair Display', Georgia, serif;
  --ff-serif:     'EB Garamond', Georgia, serif;
  --ff-body:      'Inter', system-ui, sans-serif;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --max-w:        1200px;
  --max-w-text:   760px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sapphire); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
input, textarea, select { outline: none; border: none; background: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--text-main);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
p { margin-bottom: 1.1rem; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-main); font-weight: 600; }
em { font-style: italic; }
blockquote {
  border-left: 3px solid var(--sapphire);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--sapphire-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
blockquote p { color: var(--text-main); font-family: var(--ff-serif); font-size: 1.1rem; margin: 0; }
code {
  font-family: 'Courier New', monospace;
  background: var(--ivory-dark);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.88rem;
  color: var(--sapphire);
}

/* ─── LAYOUT UTILITIES ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-ornament span {
  color: var(--sapphire);
  font-size: 1.2rem;
  opacity: 0.5;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(248,245,239,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  text-decoration: none;
}
.site-logo .logo-mark {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--sapphire);
  letter-spacing: -0.02em;
  line-height: 1;
}
.site-logo .logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sapphire);
  display: inline-block;
  margin-bottom: 4px;
}
.site-logo:hover { text-decoration: none; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--sapphire); text-decoration: none; }
.nav-link.active { color: var(--sapphire); }
.nav-item.has-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.855rem;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
}
.dropdown-menu a:hover { color: var(--sapphire); background: var(--ivory); text-decoration: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-phone {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-phone a { color: var(--text-soft); }
.nav-phone a:hover { color: var(--sapphire); text-decoration: none; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 850;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  padding: 1rem 0 2rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:hover { color: var(--sapphire); text-decoration: none; background: var(--ivory); }
.mobile-nav .mobile-group-title {
  padding: 1rem 1.5rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  padding-top: 68px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0 4rem;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}
.hero-title em {
  font-style: italic;
  font-family: var(--ff-display);
  color: var(--sapphire);
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  font-family: var(--ff-body);
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-caption {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(248,245,239,0.9);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--sapphire);
  color: var(--white);
  border-color: var(--sapphire);
}
.btn-primary:hover { background: var(--sapphire-mid); border-color: var(--sapphire-mid); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-outline {
  background: transparent;
  color: var(--sapphire);
  border-color: var(--sapphire);
}
.btn-outline:hover { background: var(--sapphire); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--ivory-dark); color: var(--text-main); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.95rem 2.2rem; font-size: 0.95rem; }

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding: 1rem 0 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--sapphire); }
.breadcrumb-sep { opacity: 0.5; }

/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  padding-top: 68px;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  padding: 4.5rem 0 3.5rem;
  max-width: var(--max-w-text);
}
.page-hero .eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: 1rem;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 680px;
}

/* ─── SECTION HEADINGS ───────────────────────────────────────── */
.section-head { margin-bottom: 3rem; }
.section-head .eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: 0.8rem;
}
.section-head h2 { margin-bottom: 0.8rem; }
.section-head p { max-width: 560px; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

/* ─── CARDS ──────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1.5rem; }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: 0.6rem;
}
.card-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card-text { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1rem; }
.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sapphire);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card-link::after { content: '→'; font-size: 0.9rem; }
.card-link:hover { text-decoration: none; gap: 0.5rem; }

/* ─── FEATURE CARDS ──────────────────────────────────────────── */
.feature-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: var(--sapphire); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 46px;
  height: 46px;
  background: var(--sapphire-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--sapphire);
  font-size: 1.3rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ─── ARTICLE / CONTENT ──────────────────────────────────────── */
.article-body h2 { margin: 2.5rem 0 0.9rem; }
.article-body h3 { margin: 2rem 0 0.7rem; }
.article-body h4 { margin: 1.5rem 0 0.6rem; }
.article-body p { line-height: 1.75; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.2rem 1.2rem;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4rem; color: var(--text-soft); font-size: 0.97rem; }
.article-body img {
  border-radius: var(--radius-md);
  margin: 2.5rem 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 440px;
  box-shadow: var(--shadow-sm);
}

/* ─── SIDEBAR / TWO-COL LAYOUT ───────────────────────────────── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget ul li { margin-bottom: 0.45rem; }
.sidebar-widget ul li a {
  font-size: 0.88rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sidebar-widget ul li a::before { content: '—'; font-size: 0.7rem; color: var(--sapphire); opacity: 0.6; }
.sidebar-widget ul li a:hover { color: var(--sapphire); text-decoration: none; }

/* ─── STAT BLOCKS ────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 3rem 0;
}
.stat-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sapphire);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─── QUOTE / CALLOUT ────────────────────────────────────────── */
.callout {
  background: var(--sapphire-lt);
  border: 1px solid rgba(27,54,100,0.15);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  margin: 3rem 0;
}
.callout p { color: var(--text-main); font-family: var(--ff-serif); font-size: 1.12rem; line-height: 1.7; margin: 0; }
.callout .callout-source {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sapphire);
  margin-top: 0.9rem;
  letter-spacing: 0.04em;
}

/* ─── TABLE ──────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 2rem 0;
}
.data-table thead th {
  background: var(--sapphire);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.data-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-soft);
  vertical-align: top;
}
.data-table tbody tr:hover td { background: var(--ivory); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }

/* ─── BLOG ───────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}
.blog-meta .cat {
  background: var(--sapphire-lt);
  color: var(--sapphire);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.blog-card-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  flex: 1;
}
.blog-card-text { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 1rem; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sapphire);
  margin-top: auto;
}
.read-more::after { content: '→'; }
.read-more:hover { text-decoration: none; gap: 0.55rem; }

/* ─── FORM ───────────────────────────────────────────────────── */
.form-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-main); letter-spacing: 0.02em; }
.form-control {
  padding: 0.75rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--sapphire); box-shadow: 0 0 0 3px rgba(27,54,100,0.08); background: var(--white); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; }

/* form-input / form-textarea (contact page) */
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--sapphire);
  box-shadow: 0 0 0 3px rgba(27,54,100,0.08);
  background: var(--white);
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-error { display: none; font-size: 0.8rem; color: #c0392b; margin-top: 0.25rem; }

/* Policy layout */
.policy-layout { display: grid; grid-template-columns: 220px 1fr; gap: 4rem; align-items: start; }
.policy-toc { position: sticky; top: 90px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; }
.policy-toc h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.policy-toc nav { display: flex; flex-direction: column; gap: 0.35rem; }
.policy-toc nav a { font-size: 0.85rem; color: var(--text-soft); padding: 0.2rem 0; transition: color 0.2s; }
.policy-toc nav a:hover { color: var(--sapphire); text-decoration: none; }
.policy-hero { padding-top: 68px; padding-bottom: 2rem; }
@media (max-width: 860px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}

/* Success message */
.form-success {
  display: none;
  background: #EBF7F0;
  border: 1px solid #A8D9BF;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: #1A6B40; font-family: var(--ff-display); margin-bottom: 0.5rem; }
.form-success p { color: #2A7A50; font-size: 0.95rem; margin: 0; }

/* ─── TEAM ───────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
.team-card {
  text-align: center;
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--sapphire-lt);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sapphire);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-role { font-size: 0.82rem; color: var(--sapphire); font-weight: 500; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.85rem; color: var(--text-muted); }

/* ─── CTA BAND ────────────────────────────────────────────────── */
.cta-band {
  background: var(--sapphire);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-band .btn-primary { background: var(--white); color: var(--sapphire); border-color: var(--white); }
.cta-band .btn-primary:hover { background: var(--ivory-dark); border-color: var(--ivory-dark); color: var(--sapphire); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.7); color: var(--white); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  transition: background 0.15s;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  user-select: none;
}
.faq-question:hover { background: var(--ivory); }
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sapphire-lt);
  color: var(--sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ─── TERMS / POLICY ─────────────────────────────────────────── */
.policy-body h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; color: var(--text-main); }
.policy-body h3 { font-size: 1.15rem; margin: 2rem 0 0.6rem; color: var(--text-main); }
.policy-body p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.policy-body ul { margin: 0.8rem 0 1.2rem 1.2rem; list-style: disc; }
.policy-body li { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.65; }
.policy-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #1A1F2C;
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-mark { color: var(--white); }
.footer-brand .logo-dot { background: rgba(255,255,255,0.4); }
.footer-about {
  font-size: 0.855rem;
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.4rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.835rem;
  margin-bottom: 0.55rem;
}
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--white); text-decoration: none; }
.footer-col h5 {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul li a {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem 0;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--white); text-decoration: none; }

/* ─── TYPOGRAPHY SPECIMEN ────────────────────────────────────── */
.type-specimen {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 2rem 0;
}
.specimen-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.specimen-display {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.specimen-meta {
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.specimen-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.specimen-meta span strong { color: var(--text-main); }
.scale-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 1.5rem 0;
}
.scale-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-light);
}
.scale-item:last-child { border-bottom: none; }
.scale-size { font-size: 0.72rem; color: var(--text-muted); width: 42px; flex-shrink: 0; }
.scale-text { font-family: var(--ff-display); color: var(--text-main); line-height: 1.2; }

/* ─── COLOR SWATCHES ─────────────────────────────────────────── */
.color-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.swatch { border-radius: var(--radius-sm); overflow: hidden; flex: 1; min-width: 80px; }
.swatch-block { height: 80px; }
.swatch-label { padding: 0.5rem 0.6rem; background: var(--white); border: 1px solid var(--border); border-top: none; }
.swatch-name { font-size: 0.72rem; font-weight: 600; color: var(--text-main); }
.swatch-hex { font-size: 0.68rem; color: var(--text-muted); font-family: monospace; }

/* ─── GRID DEMO ──────────────────────────────────────────────── */
.grid-demo {
  display: grid;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 1.5rem 0;
}
.grid-cell {
  background: var(--sapphire-lt);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--sapphire);
  font-weight: 600;
}

/* ─── TAG LIST ───────────────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-soft);
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--sapphire); color: var(--sapphire); text-decoration: none; }

/* ─── BREADCRUMB BACKGROUND PAGE ────────────────────────────── */
.inner-page-top { padding-top: 68px; }

/* ─── FONT COMPARISON TABLE ──────────────────────────────────── */
.font-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2rem 0;
}
.font-pair-item { background: var(--white); padding: 2rem; }
.font-pair-item .fp-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.font-pair-item .fp-heading { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 700; color: var(--text-main); line-height: 1.15; margin-bottom: 0.5rem; }
.font-pair-item .fp-body { font-size: 0.95rem; color: var(--text-soft); line-height: 1.65; }
.font-pair-item.serif-only .fp-heading { font-family: var(--ff-serif); }
.font-pair-item.serif-only .fp-body { font-family: var(--ff-serif); }

/* ─── RELATED LINKS ──────────────────────────────────────────── */
.related-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 4rem 0 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.related-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-nav-item:hover { border-color: var(--sapphire); box-shadow: var(--shadow-xs); text-decoration: none; }
.related-nav-item .rn-dir { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.related-nav-item .rn-title { font-family: var(--ff-display); font-size: 1rem; color: var(--text-main); font-weight: 600; }
.related-nav-item.next { text-align: right; }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--sapphire);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--sapphire-mid); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { gap: 2.5rem; }
  .content-with-sidebar { grid-template-columns: 1fr 260px; gap: 2rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; display: none; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-img-wrap { max-width: 560px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .font-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta .nav-phone { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .related-nav { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  .form-section { padding: 2rem 1.5rem; }
  .cta-band { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
