:root {
  --navy: #0a1f33;
  --navy-soft: #1c3a57;
  --mist: #cdeaf7;
  --mist-light: #eef8fc;
  --silver: #b8c4d1;
  --white: #ffffff;
  --text: #0a1f33;
  --text-soft: #3d5670;
  --radius: 1.75rem;
  --shadow: 0 10px 30px rgba(10, 31, 51, 0.10);
  --shadow-lg: 0 16px 40px rgba(10, 31, 51, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--mist-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Background wash */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background: url("https://vibe.filesafe.space/1782052991632615736/assets/9694408a-252f-4658-b2d5-1a199f82a907.png") center/cover no-repeat;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(205,234,247,.75) 50%, rgba(255,255,255,.92));
  backdrop-filter: blur(2px);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,196,209,.5);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: .8rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; text-decoration: none; letter-spacing: .01em; }
.brand span { font-family: var(--script); font-weight: 400; font-size: 1.7rem; color: var(--navy-soft); }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.nav-links a:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--silver);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .9rem 1.2rem; }
}

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
section { padding: 3.5rem 0; }
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700;
  text-align: center; margin: 0 0 .3rem;
}
.section-sub { text-align: center; color: var(--text-soft); margin: 0 auto 2.2rem; max-width: 34rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }

/* Hero */
.hero { text-align: center; padding-top: 3rem; }
.hero-logo { height: 110px; width: auto; margin: 0 auto; mix-blend-mode: multiply; }
.avatar {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow-lg); margin: -14px auto 0; position: relative;
}
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 1rem 0 .2rem; line-height: 1.1; }
.tagline { font-family: var(--script); font-size: 2.4rem; color: var(--navy-soft); margin: .3rem 0; }
.pillars { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; font-weight: 500; color: var(--text-soft); margin: .4rem 0 1rem; }
.pillars span + span::before { content: "•"; margin-right: .9rem; color: var(--silver); }
.hero-lead { font-size: 1.15rem; max-width: 30rem; margin: 0 auto; }

/* Cards */
.card {
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid rgba(184,196,209,.55); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Lead form */
.lead { max-width: 480px; margin: 2.5rem auto 0; padding: 2rem 1.6rem; text-align: center; }
.lead h2 { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 .4rem; }
.lead p { color: var(--text-soft); font-size: .95rem; margin: 0 0 1.4rem; }
.field {
  width: 100%; height: 3rem; padding: 0 1.25rem; margin-bottom: .75rem;
  border-radius: 999px; border: 1px solid var(--silver); font: inherit; font-size: .95rem; background: #fff;
}
.field:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 3rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font: inherit; font-weight: 600; font-size: 1rem;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, background .2s; text-decoration: none;
}
.btn:hover { background: var(--navy-soft); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--mist-light); }
.proof { margin-top: 1.6rem; text-align: center; }

/* Links grid */
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.links .link-card { flex: 1 1 300px; max-width: 352px; }
.link-card {
  display: block; text-decoration: none; text-align: center;
  padding: 1.15rem 1.4rem; border-radius: 999px;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--navy-soft); }
.link-card strong { display: block; font-size: 1.08rem; }
.link-card small { display: block; font-size: .85rem; opacity: .82; margin-top: .15rem; }
.link-card.highlight { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.link-card.highlight:hover { background: var(--mist-light); }

/* Blog box */
.blog-box { padding: 2.2rem 1.6rem; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 330px)); justify-content: center; gap: 1.4rem; }
.post {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid rgba(184,196,209,.55); box-shadow: 0 4px 14px rgba(10,31,51,.06);
  transition: transform .25s, box-shadow .25s;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--mist), #fff); object-fit: cover; width: 100%; }
.post-img.placeholder { display: flex; align-items: center; justify-content: center; font-family: var(--script); font-size: 2.4rem; color: var(--navy-soft); }
.post-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.post h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin: .35rem 0 .5rem; }
.post p { font-size: .9rem; color: var(--text-soft); margin: 0 0 1rem; flex: 1; }
.read-more { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.blog-cta { max-width: 260px; margin: 2rem auto 0; }
.empty { text-align: center; color: var(--text-soft); padding: 2rem 0; }

/* Social box */
.social-box { padding: 2.2rem 1.6rem; text-align: center; max-width: 760px; margin: 0 auto; }
.handle { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 0 0 1.4rem; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.socials .social { flex: 1 1 110px; max-width: 150px; }
.social {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  padding: 1.1rem .6rem; border-radius: 1.2rem; text-decoration: none;
  background: var(--mist-light); border: 1px solid rgba(184,196,209,.55);
  transition: transform .25s, background .25s, color .25s;
}
.social svg { width: 28px; height: 28px; }
.social span { font-size: .85rem; font-weight: 600; }
.social:hover { transform: translateY(-3px); background: var(--navy); color: #fff; }

/* Footer */
footer { text-align: center; padding: 2.5rem 1rem 3rem; font-size: .85rem; color: var(--text-soft); }
footer .tagline { font-size: 1.9rem; }
.footer-icons { display: flex; justify-content: center; gap: 1.2rem; margin: 1rem 0; }
.footer-icons a { color: var(--text-soft); transition: color .2s, transform .2s; }
.footer-icons a:hover { color: var(--navy); transform: translateY(-2px); }
.footer-icons svg { width: 22px; height: 22px; }

/* Dialog + toast */
dialog { border: 0; border-radius: 1.4rem; padding: 2rem 1.6rem; max-width: 420px; width: calc(100% - 2rem); box-shadow: var(--shadow-lg); text-align: center; }
dialog::backdrop { background: rgba(10,31,51,.45); }
dialog h2 { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 .3rem; }
dialog p { color: var(--text-soft); margin: 0 0 1.2rem; }
.dialog-close { position: absolute; top: .6rem; right: .9rem; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--text-soft); }
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 150%);
  background: var(--navy); color: #fff; padding: .9rem 1.4rem; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-size: .92rem; transition: transform .35s, visibility .35s; z-index: 50; max-width: calc(100% - 2rem);
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* Article pages */
.article { max-width: 720px; margin: 2.5rem auto; padding: 2.4rem 1.6rem; }
.article h1 { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 2.9rem); line-height: 1.15; margin: .4rem 0 1rem; }
.article h2 { font-family: var(--serif); font-size: 1.7rem; margin: 2rem 0 .5rem; }
.article p, .article li { font-size: 1.04rem; }
.article .hero-img { border-radius: 1.2rem; margin: 1.4rem 0; }
.back { display: inline-block; margin-bottom: 1rem; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text-soft); }
.back:hover { color: var(--navy); }

.fade-in { animation: fade .8s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* SEO additions */
.h1-sub { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-top: .6rem; }
.about-box { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; padding: 2.2rem; }
.about-box img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.about-box .section-title { text-align: left; }
.about-box .tagline { margin: .4rem 0 0; }
@media (max-width: 720px) { .about-box { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.4rem; } .about-box img { margin: 0 auto; width: 160px; height: 160px; } .about-box .section-title { text-align: center; } }
.disclaimer { max-width: 760px; margin: 1.2rem auto 0; font-size: .74rem; line-height: 1.5; opacity: .85; }
