/* ==========================================================================
   Home Space Style — homespacestyle.com
   Brand design system (layered on top of local Bootstrap 5.3.3)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink-900: #14251F;
  --ink-800: #1E352C;
  --ink-700: #2C473C;
  --ink-500: #5C7268;
  --ink-400: #7B8F86;
  --clay-700: #A34A24;
  --clay-600: #C25A2E;
  --clay-500: #D97244;
  --clay-100: #F9E9DF;
  --amber-100: #FBF0DC;
  --sage-600: #6F8F72;
  --sage-100: #E7EFE6;
  --sand-50: #FCF9F5;
  --sand-100: #F6EFE6;
  --sand-200: #EDE2D4;
  --teal-700: #1F5E52;
  --line: #E7DCCD;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(20, 37, 31, .06);
  --shadow-md: 0 14px 34px rgba(20, 37, 31, .10);
  --shadow-lg: 0 30px 60px rgba(20, 37, 31, .14);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --font-head: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--sand-50);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-head {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin-bottom: 1rem; }
a { color: var(--clay-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay-700); }
img { max-width: 100%; }
::selection { background: var(--clay-100); color: var(--ink-900); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.bg-sand { background: var(--sand-100); }
.bg-sand-50 { background: var(--sand-50); }
.bg-ink { background: var(--ink-900); color: #D8E2DD; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-ink p { color: #C3D2CB; }

.text-clay { color: var(--clay-600) !important; }
.text-ink { color: var(--ink-900) !important; }
.text-ink-soft { color: var(--ink-500) !important; }
.lead-soft { font-size: 1.06rem; color: var(--ink-500); }

/* ---------- Logo (single line, one style throughout the site) ---------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none !important;
  white-space: nowrap;
}
.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--clay-500) 0%, var(--clay-700) 100%);
  box-shadow: 0 6px 16px rgba(194, 90, 46, .28);
}
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: .34rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink-900);
}
.brand-word .brand-home { color: var(--ink-900); }
.brand-word .brand-style { color: var(--clay-600); font-style: italic; }
.brand-word sup { font-size: .5rem; top: -1.05em; margin-left: .12rem; }
.footer-brand .brand-word,
.footer-brand .brand-word .brand-home { color: #fff; }
.footer-brand .brand-word .brand-style { color: var(--clay-500); }
.footer-brand .brand-tagline { color: #94AAA1; }

.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: .3rem;
  font-weight: 600;
}

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(252, 249, 245, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px rgba(20, 37, 31, .07);
  border-bottom-color: var(--line);
}
.site-header .navbar { padding: .7rem 0; }
.site-header .nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-800);
  padding: .5rem .85rem !important;
  border-radius: var(--radius-pill);
  transition: background .2s ease, color .2s ease;
}
.site-header .nav-link:hover { background: var(--sand-100); color: var(--clay-700); }
.site-header .nav-link.active { color: var(--clay-700); background: var(--clay-100); }
.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .4rem .6rem;
  background: #fff;
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--clay-100); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; letter-spacing: .01em; border-radius: var(--radius-pill); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:focus-visible { box-shadow: 0 0 0 .25rem var(--clay-100); }
.btn-clay {
  background: var(--clay-600);
  border: 1px solid var(--clay-600);
  color: #fff;
  padding: .72rem 1.5rem;
}
.btn-clay:hover { background: var(--clay-700); border-color: var(--clay-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(194, 90, 46, .26); }
.btn-ink { background: var(--ink-900); border: 1px solid var(--ink-900); color: #fff; padding: .72rem 1.5rem; }
.btn-ink:hover { background: var(--ink-700); border-color: var(--ink-700); color: #fff; transform: translateY(-2px); }
.btn-outline-ink { border: 1.5px solid var(--ink-900); color: var(--ink-900); background: transparent; padding: .68rem 1.4rem; }
.btn-outline-ink:hover { background: var(--ink-900); color: #fff; transform: translateY(-2px); }
.btn-outline-clay { border: 1.5px solid var(--clay-600); color: var(--clay-700); background: transparent; padding: .68rem 1.4rem; }
.btn-outline-clay:hover { background: var(--clay-600); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; padding: .68rem 1.4rem; }
.btn-ghost-light:hover { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn-sm-pill { padding: .5rem 1.1rem; font-size: .87rem; }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay-700);
  background: var(--clay-100);
  padding: .42rem .95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.eyebrow.on-dark { background: rgba(217, 114, 68, .16); color: #F0B79B; }
.eyebrow svg { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, #FBEEE2 0%, rgba(251,238,226,0) 62%),
    radial-gradient(760px 420px at -10% 105%, #E9F0E6 0%, rgba(233,240,230,0) 60%),
    var(--sand-50);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; bottom: -170px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(194,90,46,.10) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: clamp(340px, 46vw, 520px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--clay-500);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .45;
}
.hero-card {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 280px;
}
.hero-card .icon-badge { margin: 0; }
.hero-card strong { display: block; color: var(--ink-900); font-size: .95rem; }
.hero-card span { font-size: .8rem; color: var(--ink-400); }

.hero-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.hero-list li { position: relative; padding-left: 1.9rem; margin-bottom: .5rem; color: var(--ink-700); font-weight: 500; }
.hero-list li::before {
  content: "";
  position: absolute; left: 0; top: .5rem;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--clay-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C25A2E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(900px 420px at 12% -20%, #FBEEE2 0%, rgba(251,238,226,0) 60%),
    var(--ink-900);
  color: #D8E2DD;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  right: -160px; top: -180px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,.07) 0 1px, transparent 1px 24px);
}
.page-banner h1 { color: #fff; margin-bottom: .75rem; }
.page-banner p { color: #BFD0C8; max-width: 640px; margin-bottom: 0; }
.crumbs { font-size: .85rem; color: #8FA79D; margin-bottom: 1rem; }
.crumbs a { color: #C3D2CB; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 .45rem; opacity: .6; }

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sand-200); }

.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card .service-media { position: relative; overflow: hidden; }
.service-card .service-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.service-card:hover .service-media img { transform: scale(1.06); }
.service-card .service-num {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(252,249,245,.94);
  color: var(--clay-700);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  padding: .28rem .7rem;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
}
.service-card .service-body { padding: 1.5rem 1.5rem 1.65rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-card h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.service-card p { color: var(--ink-500); font-size: .95rem; margin-bottom: 1.35rem; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--clay-100);
  color: var(--clay-700);
  margin-bottom: 1rem;
}
.icon-badge svg { width: 25px; height: 25px; }
.icon-badge.badge-sage { background: var(--sage-100); color: var(--sage-600); }
.icon-badge.badge-amber { background: var(--amber-100); color: #A9761F; }
.icon-badge.badge-teal { background: #E1EFEC; color: var(--teal-700); }
.icon-badge.badge-ink { background: #E7EBE9; color: var(--ink-800); }

/* ---------- Value / feature cards ---------- */
.value-card { padding: 1.9rem 1.7rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.value-card p { font-size: .94rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- Checklist ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .35rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--clay-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C25A2E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.on-dark li { color: #C3D2CB; }
.check-list.on-dark li::before { background-color: rgba(217,114,68,.22); }

/* ---------- Steps ---------- */
.step { position: relative; padding-left: 4.2rem; }
.step .step-num {
  position: absolute; left: 0; top: 0;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1.5px dashed var(--clay-500);
  color: var(--clay-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.step p { font-size: .93rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-media { overflow: hidden; }
.post-card .post-media img { width: 100%; height: 235px; object-fit: cover; transition: transform .6s ease; display: block; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-card .post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-card h3 { font-size: 1.28rem; margin: .7rem 0 .6rem; }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--clay-700); }
.post-card p { color: var(--ink-500); font-size: .94rem; }
.post-card .read-more { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; }
.post-card .read-more svg { width: 15px; height: 15px; transition: transform .25s ease; }
.post-card .read-more:hover svg { transform: translateX(4px); }

.pill-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-600);
  background: var(--sage-100);
  padding: .28rem .7rem;
  border-radius: var(--radius-pill);
}
.pill-tag.tag-clay { color: var(--clay-700); background: var(--clay-100); }
.pill-tag.tag-amber { color: #A9761F; background: var(--amber-100); }

.article-hero img { width: 100%; height: clamp(280px, 44vw, 480px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-body { font-size: 1.04rem; color: var(--ink-700); }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 2.4rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.7rem 0 .7rem; }
.article-body > p:first-of-type { font-size: 1.13rem; color: var(--ink-800); }
.article-body ul { padding-left: 1.15rem; }
.article-body ul li { margin-bottom: .5rem; }
.pull-quote {
  border-left: 3px solid var(--clay-500);
  background: var(--sand-100);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head);
  font-size: 1.14rem;
  color: var(--ink-800);
  margin: 1.8rem 0;
}
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.share-row .share-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: .42rem .95rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-700);
}
.share-row .share-chip:hover { border-color: var(--clay-500); color: var(--clay-700); }

/* ---------- Newsletter strip ---------- */
.newsletter-strip {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(217,114,68,.28) 0%, rgba(217,114,68,0) 65%),
    var(--ink-900);
  color: #C3D2CB;
  overflow: hidden;
}
.newsletter-strip h2 { color: #fff; margin-bottom: .6rem; }
.newsletter-strip p { color: #BFD0C8; margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; color: var(--ink-800); font-size: .9rem; }
.form-control, .form-select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: .78rem 1rem;
  font-size: .95rem;
  color: var(--ink-800);
}
.form-control::placeholder { color: #A6B4AE; }
.form-control:focus, .form-select:focus {
  border-color: var(--clay-500);
  box-shadow: 0 0 0 .22rem var(--clay-100);
}
.form-check-input:checked { background-color: var(--clay-600); border-color: var(--clay-600); }
.form-check-input:focus { border-color: var(--clay-500); box-shadow: 0 0 0 .2rem var(--clay-100); }
.form-check-label { font-size: .92rem; color: var(--ink-700); }
.form-note { font-size: .84rem; color: var(--ink-400); }
.newsletter-inline .form-control { border-radius: var(--radius-pill) 0 0 var(--radius-pill); border-right: 0; padding-left: 1.3rem; }
.newsletter-inline .btn { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
@media (max-width: 575.98px) {
  .newsletter-inline .form-control { border-radius: var(--radius-pill); border-right: 1px solid var(--line); }
  .newsletter-inline .btn { border-radius: var(--radius-pill); width: 100%; margin-top: .6rem; }
}

/* ---------- Contact ---------- */
.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-tile .icon-badge { margin-bottom: 0; flex: 0 0 auto; }
.contact-tile h3 { font-size: 1.02rem; margin-bottom: .2rem; font-family: var(--font-body); font-weight: 700; }
.contact-tile p, .contact-tile a { margin-bottom: 0; font-size: .94rem; color: var(--ink-500); word-break: break-word; }
.contact-tile a { color: var(--clay-600); font-weight: 600; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-fallback {
  height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(150deg, var(--sand-100), var(--sand-50));
  padding: 2rem;
}
.alert-box {
  border-radius: var(--radius);
  border: 1px solid var(--sage-100);
  background: var(--sage-100);
  color: var(--ink-800);
  padding: 1.1rem 1.3rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .95rem;
}
.alert-box.warn { background: var(--amber-100); border-color: #F1DFC0; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: .85rem; overflow: hidden; background: #fff; }
.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.03rem;
  color: var(--ink-900);
  background: #fff;
  padding: 1.1rem 1.25rem;
}
.accordion-button:not(.collapsed) { background: var(--sand-100); color: var(--clay-700); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem var(--clay-100); }
.accordion-body { color: var(--ink-500); font-size: .95rem; padding-top: .35rem; }

/* ---------- Policy / legal content ---------- */
.policy-body h2 { font-size: 1.42rem; margin: 2.1rem 0 .7rem; }
.policy-body h3 { font-size: 1.12rem; margin: 1.5rem 0 .5rem; }
.policy-body p, .policy-body li { color: var(--ink-700); font-size: .98rem; }
.policy-body ul { padding-left: 1.15rem; }
.policy-body ul li { margin-bottom: .45rem; }
.policy-toc { position: sticky; top: 104px; }
.policy-toc a {
  display: block;
  padding: .42rem .8rem;
  border-left: 2px solid var(--line);
  color: var(--ink-500);
  font-size: .9rem;
  font-weight: 500;
}
.policy-toc a:hover { border-left-color: var(--clay-500); color: var(--clay-700); background: var(--sand-100); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3.4rem);
  background:
    radial-gradient(700px 320px at 12% 5%, rgba(217,114,68,.30) 0%, rgba(217,114,68,0) 62%),
    linear-gradient(135deg, var(--ink-900) 0%, #244A3D 100%);
  color: #C3D2CB;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #BFD0C8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #A9BDB5; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer p { color: #A2B6AE; font-size: .94rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #A9BDB5; font-size: .94rem; }
.footer-links a:hover { color: #fff; padding-left: 3px; }
.footer-divider { border-color: rgba(255,255,255,.10); margin: 2.5rem 0 1.5rem; opacity: 1; }
.footer-bottom { font-size: .87rem; color: #8FA79D; }
.footer-bottom a { color: #A9BDB5; }
.footer-bottom a:hover { color: #fff; }
.social-row { display: flex; gap: .55rem; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  color: #CFDCD7;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.social-row a:hover { background: var(--clay-600); color: #fff; transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; }

/* ---------- Misc ---------- */
.hr-fancy { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 2.5rem 0; opacity: 1; }
.img-round { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.img-frame { position: relative; }
.img-frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1.5px solid var(--clay-500);
  border-radius: var(--radius-lg);
  opacity: .4;
  z-index: -1;
}
.quote-card { padding: 1.8rem; }
.quote-card p { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink-800); }
.quote-author { display: flex; align-items: center; gap: .75rem; }
.avatar-initial {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clay-100);
  color: var(--clay-700);
  font-weight: 700;
  font-family: var(--font-head);
}
.avatar-initial.sage { background: var(--sage-100); color: var(--sage-600); }
.avatar-initial.amber { background: var(--amber-100); color: #A9761F; }
.avatar-initial.teal { background: #E1EFEC; color: var(--teal-700); }
.badge-soft {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-700);
  background: var(--sand-100);
  border: 1px solid var(--line);
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}
.side-links a {
  display: block;
  padding: .45rem 0 .45rem .85rem;
  border-left: 2px solid var(--line);
  color: var(--ink-500);
  font-size: .93rem;
  font-weight: 500;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.side-links a:hover { border-left-color: var(--clay-500); color: var(--clay-700); background: var(--sand-100); }
article [id] { scroll-margin-top: 100px; }

.ico { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; flex: 0 0 auto; }
.ico-16 { width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-24 { width: 24px; height: 24px; }
.ico-28 { width: 28px; height: 28px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 12px 0; z-index: 2000;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--clay-500); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
  .brand-word { font-size: 1.25rem; }
  .hero-card { left: 8px; bottom: -12px; }
  .hero-media { margin-bottom: 2.2rem; }
  .hero-media::before { display: none; }
  .step { padding-left: 0; padding-top: 3.6rem; }
}
