/* ==========================================================================
   Bright House Life — core stylesheet
   Brand palette: deep teal + warm amber + terracotta on warm cream
   ========================================================================== */

:root {
  --ink: #12211f;
  --ink-soft: #4a5b58;
  --teal: #0e4c4c;
  --teal-d: #0a3736;
  --teal-l: #14605e;
  --teal-xl: #e4efec;
  --amber: #f0a73e;
  --amber-d: #d98b22;
  --terra: #d96c4a;
  --cream: #faf6f0;
  --cream-d: #f2ebe0;
  --sand: #efe4d4;
  --line: #e4dbcd;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(18, 33, 31, .06);
  --shadow: 0 18px 40px -18px rgba(18, 33, 31, .22);
  --shadow-lg: 0 34px 70px -30px rgba(18, 33, 31, .35);
  --radius: 22px;
  --radius-lg: 34px;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------------- base ---- */
* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-heading {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--teal-d);
  line-height: 1.12;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }

p { color: var(--ink-soft); }

a { color: var(--teal); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--amber-d); }

img, svg { max-width: 100%; }

::selection { background: var(--amber); color: var(--teal-d); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--teal-d);
  color: var(--cream);
  padding: .75rem 1.25rem;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--cream); }

/* ------------------------------------------------------------ buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 999px;
  padding: .8rem 1.7rem;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}

.btn-brand {
  background: linear-gradient(135deg, var(--amber) 0%, var(--terra) 100%);
  color: var(--teal-d);
  box-shadow: 0 14px 26px -12px rgba(217, 108, 74, .75);
}
.btn-brand:hover {
  color: var(--teal-d);
  transform: translateY(-3px);
  box-shadow: 0 20px 32px -12px rgba(217, 108, 74, .8);
}

.btn-dark {
  background: var(--teal-d);
  color: var(--cream);
}
.btn-dark:hover { background: var(--teal); color: var(--white); transform: translateY(-3px); }

.btn-ghost {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: var(--white); transform: translateY(-3px); }

.btn-light {
  background: var(--white);
  color: var(--teal-d);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { color: var(--amber-d); transform: translateY(-3px); }

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-link {
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0;
  border: 0;
  background: none;
}
.btn-link:hover { color: var(--amber-d); gap: .7rem; }

/* ------------------------------------------------------------ layout ----- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.bg-cream { background: var(--cream); }
.bg-tint { background: linear-gradient(180deg, #fdfbf7 0%, var(--teal-xl) 100%); }
.bg-dark { background: var(--teal-d); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: rgba(255, 255, 255, .78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--terra));
}
.bg-dark .eyebrow { color: var(--amber); }

.section-title { max-width: 44rem; }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title.center .eyebrow::before { display: none; }
.section-title.center .eyebrow { justify-content: center; }
.lead-text { font-size: 1.14rem; }

.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
}

/* ------------------------------------------------------------ navbar ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1080;
  background: rgba(250, 246, 240, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 219, 205, .9);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(18, 33, 31, .3); }

.navbar { padding: .85rem 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--teal-d);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--teal-d); }
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 10px rgba(217, 108, 74, .3));
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  line-height: 1;
  margin-top: .18rem;
}

.navbar-nav { gap: .15rem; align-items: center; }
.navbar .nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: .5rem .85rem !important;
  border-radius: 999px;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .18rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--terra);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.navbar .nav-link:hover { color: var(--teal-d); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 1.4rem; }
.navbar .nav-link.active { color: var(--teal-d); font-weight: 700; }

.navbar-toggler {
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: .4rem .6rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230e4c4c' stroke-width='2.4' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- hero ---- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
}
.hero::before {
  width: 34rem; height: 34rem;
  top: -14rem; right: -10rem;
  background: radial-gradient(circle at 30% 30%, rgba(240, 167, 62, .35), rgba(240, 167, 62, 0) 68%);
}
.hero::after {
  width: 28rem; height: 28rem;
  bottom: -12rem; left: -9rem;
  background: radial-gradient(circle at 60% 40%, rgba(20, 96, 94, .22), rgba(20, 96, 94, 0) 68%);
}
.hero .container { position: relative; z-index: 1; }

.hero-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .34em;
  background: linear-gradient(90deg, rgba(240, 167, 62, .55), rgba(217, 108, 74, .35));
  border-radius: 999px;
  z-index: -1;
}
.hero-copy { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-art { position: relative; }
.hero-art-frame {
  border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--white);
  background: var(--white);
  line-height: 0;
}
.hero-art-frame svg,
.hero-art-frame img { width: 100%; height: auto; display: block; }

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 18px;
  padding: .8rem 1.05rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .86rem;
  font-weight: 700;
  color: var(--teal-d);
  line-height: 1.25;
}
.float-card .dot {
  width: 2.4rem; height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 1.1rem;
}
.float-card small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .74rem; }
.float-card.one { left: -1.5rem; bottom: 16%; animation: bob 6s ease-in-out infinite; }
.float-card.two { right: -1rem; top: 12%; animation: bob 7s ease-in-out infinite .8s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* keep the floating badges tidy on small screens */
@media (max-width: 767.98px) {
  .float-card.one { left: .35rem; bottom: 8%; }
  .float-card.two { right: .35rem; top: 6%; }
  .float-card { padding: .6rem .8rem; font-size: .78rem; border-radius: 14px; }
  .float-card .dot { width: 1.9rem; height: 1.9rem; font-size: .9rem; }
  .float-card small { font-size: .66rem; }
  .hero-art-frame { border-radius: 180px 180px var(--radius) var(--radius); border-width: 7px; }
}

/* marquee-ish trust strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.strip-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 2.4rem;
  padding: 1.15rem 0;
  margin: 0;
  list-style: none;
}
.strip-track li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--teal);
}
.strip-track li span { color: var(--amber-d); font-size: 1.15rem; }

/* ------------------------------------------------------ service cards ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(228, 219, 205, .8);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 167, 62, .55);
}
.service-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--cream-d);
}
.service-thumb svg,
.service-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.service-card:hover .service-thumb svg,
.service-card:hover .service-thumb img { transform: scale(1.07); }
.service-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 55, 54, 0) 45%, rgba(10, 55, 54, .42) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.service-card:hover .service-thumb::after { opacity: 1; }

.service-body {
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-body h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.service-body p { font-size: .98rem; margin-bottom: 1.15rem; }
.service-body .btn { margin-top: auto; align-self: flex-start; }

.service-num {
  position: absolute;
  top: .9rem; left: .9rem;
  background: rgba(255, 255, 255, .92);
  color: var(--teal-d);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: .3rem .7rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------- features ---- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  height: 100%;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 3.4rem; height: 3.4rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-xl), #f6ece0);
  margin-bottom: 1.1rem;
}
.feature-icon svg { width: 1.7rem; height: 1.7rem; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature-card p { font-size: .96rem; margin: 0; }

/* --------------------------------------------------------- about page ---- */
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line);
}
.value-list li:last-child { border-bottom: 0; }
.value-list .tick {
  flex: 0 0 auto;
  width: 1.85rem; height: 1.85rem;
  border-radius: 50%;
  background: var(--teal-xl);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
}
.value-list strong { display: block; color: var(--teal-d); font-family: var(--font-head); font-size: 1.06rem; }
.value-list span { font-size: .95rem; color: var(--ink-soft); }

.stat-band {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.stat-band h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.stat-band p { font-size: .94rem; margin: 0; }

.about-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--white);
  background: var(--white);
  line-height: 0;
}
.about-frame svg,
.about-frame img { width: 100%; height: auto; display: block; }

/* --------------------------------------------------------- blog cards ---- */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(228, 219, 205, .8);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-d); }
.post-thumb svg, .post-thumb img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.post-card:hover .post-thumb svg, .post-card:hover .post-thumb img { transform: scale(1.07); }
.post-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(217, 108, 74, .1);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.post-body h3 { font-size: 1.24rem; line-height: 1.25; margin-bottom: .6rem; }
.post-body h3 a { color: var(--teal-d); }
.post-body h3 a:hover { color: var(--amber-d); }
.post-body p { font-size: .97rem; margin-bottom: 1.2rem; }
.post-body .btn-link { margin-top: auto; }

/* --------------------------------------------------------- newsletter ---- */
.newsletter-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-d) 60%, #082b2b 100%);
  padding: clamp(2rem, 4vw, 3.2rem);
}
.newsletter-band .band-art {
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
}
.newsletter-band .band-art svg { width: 100%; height: 100%; object-fit: cover; }
.newsletter-band > * { position: relative; z-index: 1; }

.inline-form {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: .45rem;
  border-radius: 999px;
  max-width: 30rem;
}
.inline-form .form-control {
  background: transparent;
  border: 0;
  color: var(--white);
  padding-left: 1.1rem;
  font-weight: 600;
}
.inline-form .form-control::placeholder { color: rgba(255, 255, 255, .65); }
.inline-form .form-control:focus {
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

/* -------------------------------------------------------------- forms ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-label {
  font-weight: 700;
  font-size: .88rem;
  color: var(--teal-d);
  margin-bottom: .35rem;
  letter-spacing: .01em;
}
.form-control, .form-select {
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: #fdfcfa;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(240, 167, 62, .18);
  background: var(--white);
}
.form-control.is-invalid { border-color: #c6412f; }
.form-text { font-size: .85rem; color: var(--ink-soft); }

.choice {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: #fdfcfa;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: .8rem 1rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.choice:hover { border-color: var(--amber); }
.choice input { margin-top: .28rem; accent-color: var(--teal); flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-xl); }

/* ------------------------------------------------------ contact page ----- */
.contact-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-tile .ic {
  flex: 0 0 auto;
  width: 3rem; height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-xl), #f7ecdf);
}
.contact-tile .ic svg { width: 1.5rem; height: 1.5rem; }
.contact-tile h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.contact-tile p, .contact-tile a { font-size: .97rem; margin: 0; color: var(--ink-soft); word-break: break-word; }
.contact-tile a:hover { color: var(--amber-d); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
  background: var(--white);
  line-height: 0;
}
.map-frame svg,
.map-frame img { width: 100%; height: auto; display: block; }

/* -------------------------------------------------------- legal pages ---- */
.legal-layout { display: grid; gap: 2.5rem; }
@media (min-width: 992px) {
  .legal-layout { grid-template-columns: 16rem 1fr; align-items: start; }
}
.legal-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 6.5rem;
}
.legal-toc h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.legal-toc ol { margin: 0; padding-left: 1.15rem; }
.legal-toc li { margin-bottom: .45rem; }
.legal-toc a { font-size: .93rem; font-weight: 600; color: var(--ink-soft); }
.legal-toc a:hover { color: var(--amber-d); }

.legal-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.4vw, 3rem);
}
.legal-body h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem;
  margin-bottom: .8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 1.14rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.legal-body p, .legal-body li { font-size: 1rem; }
.legal-body ul, .legal-body ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: .45rem; }
.legal-body strong { color: var(--teal-d); }
.callout {
  background: var(--teal-xl);
  border-left: 5px solid var(--teal);
  border-radius: 0 16px 16px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}
.callout p { margin: 0; color: var(--teal-d); font-weight: 600; }

/* ------------------------------------------------------------ article ---- */
.article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  line-height: 0;
}
.article-hero svg,
.article-hero img { width: 100%; height: auto; display: block; }
.article-body { font-size: 1.08rem; }
.article-body h2 { font-size: 1.6rem; margin-top: 2.2rem; margin-bottom: .7rem; }
.article-body h3 { font-size: 1.22rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.article-body p { margin-bottom: 1.15rem; }
.article-body ul { padding-left: 1.15rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .5rem; color: var(--ink-soft); }
.article-body blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-left: 5px solid var(--amber);
  border-radius: 0 18px 18px 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--teal-d);
  box-shadow: var(--shadow-sm);
}
.article-body blockquote p { margin: 0; color: inherit; }
.author-line {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2rem 0;
}
.author-line .avatar {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--terra));
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  flex: 0 0 auto;
}
.author-line strong { display: block; color: var(--teal-d); font-family: var(--font-head); }
.author-line span { font-size: .9rem; color: var(--ink-soft); }

/* ------------------------------------------------------------- footer ---- */
.site-footer {
  background: var(--teal-d);
  color: rgba(255, 255, 255, .72);
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 30rem; height: 30rem;
  top: -16rem; right: -10rem;
  background: radial-gradient(circle, rgba(240, 167, 62, .16), transparent 65%);
  pointer-events: none;
}
.site-footer .brand { color: var(--white); }
.site-footer .brand:hover { color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-size: 1.02rem;
  letter-spacing: .02em;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  color: rgba(255, 255, 255, .72);
  font-size: .96rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: width .25s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { width: .8rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  font-size: .96rem;
}
.footer-contact .ic {
  flex: 0 0 auto;
  width: 2.1rem; height: 2.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
}
.footer-contact .ic svg { width: 1.05rem; height: 1.05rem; }
.footer-contact a { color: rgba(255, 255, 255, .85); font-weight: 600; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 1.4rem 0;
  font-size: .9rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom a { color: rgba(255, 255, 255, .7); font-weight: 600; }
.footer-bottom a:hover { color: var(--amber); }

.social-row { display: flex; gap: .55rem; }
.social-row a {
  width: 2.5rem; height: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  transition: background .25s ease, transform .25s ease;
}
.social-row a:hover { background: var(--amber); transform: translateY(-3px); }
.social-row svg { width: 1.15rem; height: 1.15rem; }

/* ------------------------------------------------------------ reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------- back to top --- */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1050;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 0;
  background: var(--teal-d);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .25s ease;
  cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--teal-d); }

/* --------------------------------------------------------- page header --- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--teal-xl) 0%, #fdf6ec 100%);
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.6rem, 5vw, 4rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 26rem; height: 26rem;
  right: -9rem; top: -12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 167, 62, .22), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: .5rem;
  color: var(--amber-d);
}
.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { color: var(--amber-d); }

/* ------------------------------------------------------------ helpers ---- */
.text-brand { color: var(--teal) !important; }
.text-accent { color: var(--terra) !important; }
.divider-dots { display: flex; gap: .4rem; margin: 1.1rem 0; }
.divider-dots i { width: .55rem; height: .55rem; border-radius: 50%; display: block; }
.divider-dots i:nth-child(1) { background: var(--amber); }
.divider-dots i:nth-child(2) { background: var(--terra); }
.divider-dots i:nth-child(3) { background: var(--teal); }
.divider-dots i:nth-child(4) { background: var(--sage, #7fa99b); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--teal-d);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber); }

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  height: 100%;
}
.step-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step-card p { font-size: .95rem; margin: 0; }
.step-badge {
  width: 2.9rem; height: 2.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--terra));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.alert-note {
  border-radius: 16px;
  border: 2px dashed var(--amber);
  background: rgba(240, 167, 62, .1);
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--teal-d);
  font-size: .95rem;
}
