:root {
  --navy: #123f67;
  --navy-deep: #073950;
  --teal: #078f93;
  --teal-dark: #067377;
  --aqua: #9ed8d4;
  --seafoam: #e7f2ef;
  --seafoam-2: #dceeea;
  --cream: #f8f6ef;
  --paper: #fdfcf8;
  --sand: #eee9dd;
  --gold: #d6a13a;
  --ink: #163049;
  --muted: #526879;
  --white: #fff;
  --border: rgba(18,63,103,.16);
  --shadow: 0 14px 40px rgba(18,63,103,.09);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 999;
  padding: .65rem 1rem; background: var(--navy); color: white; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 76px 0; }
.section-tight { padding: 52px 0; }
.eyebrow {
  margin: 0 0 .35rem; color: var(--teal); font-weight: 750; letter-spacing: .13em;
  text-transform: uppercase; font-size: .78rem;
}
.display, h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.08;
  font-weight: 600;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.55rem); margin-bottom: .2rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.22rem, 1.8vw, 1.62rem); margin-bottom: .7rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.38rem); color: var(--teal-dark); line-height: 1.45; }
.muted { color: var(--muted); }
.gold-rule { width: 72px; height: 3px; background: var(--gold); border-radius: 99px; margin: 1.2rem 0 1.5rem; }
.teal-rule { width: 72px; height: 3px; background: var(--teal); border-radius: 99px; margin: 1.15rem 0 1.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(253,252,248,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; gap: 32px; }
.brand { text-decoration: none; margin-right: auto; line-height: 1; }
.brand-main { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; color: var(--navy); }
.brand-sub { display: block; margin-top: .45rem; color: var(--teal); letter-spacing: .17em; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: .96rem; font-weight: 600; color: var(--ink); padding: .5rem 0; position: relative; }
.site-nav a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--teal); transition: width .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 10px; color: var(--navy); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .78rem 1.2rem; border-radius: 7px; border: 1px solid transparent;
  background: var(--teal); color: white !important; text-decoration: none; font-weight: 700;
  box-shadow: 0 7px 18px rgba(7,143,147,.14); cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); background: var(--teal-dark); box-shadow: 0 10px 22px rgba(7,143,147,.2); }
.button.secondary { background: transparent; color: var(--navy) !important; border-color: var(--navy); box-shadow: none; }
.button.light { background: var(--cream); color: var(--navy) !important; box-shadow: none; }

.hero {
  position: relative; overflow: hidden; background: linear-gradient(100deg, #fdfcf8 0%, #f9f7f0 56%, #e8f3f0 100%);
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: ""; position: absolute; right: -130px; top: 40px; width: 360px; height: 360px; border-radius: 50%;
  border: 44px solid rgba(123,197,192,.13); pointer-events: none;
}
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 32px; }
.hero-copy { padding: 78px 0; position: relative; z-index: 2; }
.hero-copy .subtitle { font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.1; margin-bottom: 0; }
.hero-copy .lead { margin-bottom: 1.7rem; }
.hero-copy .hero-body { max-width: 570px; font-size: 1.06rem; margin-bottom: 1.7rem; }
.hero-art { align-self: stretch; display: flex; align-items: end; justify-content: center; min-width: 0; position: relative; z-index: 2; }
.hero-art img { width: 100%; max-height: 590px; object-fit: cover; object-position: center; border-radius: 0; }

.service-split { background: var(--cream); padding: 0; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.service-card { min-height: 500px; padding: 56px 9%; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.service-card:first-child { border-right: 1px solid var(--border); }
.service-card::before, .service-card::after { content:""; position:absolute; border-radius:50%; background: rgba(123,197,192,.17); width: 260px; height:260px; z-index:0; }
.service-card::before { left:-120px; bottom:-130px; }
.service-card::after { right:-150px; top:-140px; background: rgba(188,221,213,.2); }
.service-card > * { position: relative; z-index: 1; }
.service-illustration { height: 126px; display:flex; justify-content:center; align-items:flex-end; margin-bottom:.3rem; }
.service-illustration img { max-height: 120px; width: auto; object-fit: contain; }
.service-card h2 { margin-bottom: .1rem; }
.service-card .eyebrow { margin-bottom: 1.25rem; }
.service-card .desc { max-width: 410px; margin: 0 auto 1.6rem; }
.ampersand { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; background: var(--teal); color: white; display: grid; place-items:center; font-family: Georgia,serif; font-size: 2.2rem; z-index: 4; border: 5px solid var(--cream); }
.feature-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; margin: 0 auto 1.8rem; max-width: 430px; padding: 0; list-style: none; color: var(--ink); }
.feature-list li { display:flex; align-items:center; gap:.45rem; font-size:.92rem; }
.icon { width: 31px; height:31px; display:grid; place-items:center; border: 2px solid var(--teal); border-radius:50%; color:var(--teal); font-size:.87rem; font-weight:800; }

.philosophy { background: var(--paper); text-align:center; border-bottom:1px solid var(--border); }
.philosophy .sun-waves { margin: 0 auto 10px; width: 120px; height: 64px; }
.philosophy p { max-width: 760px; margin-inline:auto; color: var(--navy); }

.lower-panel { background: linear-gradient(180deg, #f2f8f6 0%, #fbfaf5 100%); border-bottom:1px solid var(--border); }
.about-testimonial { display:grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items:start; }
.about-mini { display:grid; grid-template-columns: 150px 1fr; gap: 24px; align-items:start; }
.about-mini img { width:150px; aspect-ratio: 6/7; object-fit:cover; border-radius:14px; border:1px solid var(--border); box-shadow: var(--shadow); }
.testimonial { border-left:1px solid var(--border); padding-left: 52px; }
.quote { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.75rem); color: var(--navy); line-height:1.45; position:relative; }
.quote::before { content: "“"; position:absolute; left:-40px; top:-16px; font-size:4rem; color:var(--teal); line-height:1; }
.attribution { color: var(--teal-dark); font-weight:700; margin-top:1rem; }
.testimonial-more { display:inline-block; margin-top:1.1rem; color:var(--teal-dark); font-weight:700; font-size:.95rem; text-decoration:none; }
.testimonial-more:hover, .testimonial-more:focus-visible { text-decoration:underline; text-underline-offset:3px; }

/* Client Perspectives page */
.testimonial-list { display:grid; gap:34px; max-width:880px; margin-inline:auto; }
.testimonial-full { position:relative; background:var(--white); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:44px 46px 38px; }
.testimonial-full::before { content:"\201C"; position:absolute; top:14px; left:24px; font-family:Georgia,"Times New Roman",serif; font-size:4.5rem; line-height:1; color:var(--aqua); }
.testimonial-lede { font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.2rem,1.7vw,1.45rem); line-height:1.4; color:var(--navy); margin-bottom:1.25rem; }
.testimonial-full p { font-size:1.02rem; margin-bottom:1rem; }
.testimonial-full .attribution { margin-top:1.4rem; margin-bottom:0; padding-top:1.1rem; border-top:1px solid var(--border); }
.testimonial-note { max-width:880px; margin:40px auto 0; font-size:.88rem; line-height:1.6; color:var(--muted); text-align:center; }
.testimonial-note a { color:var(--teal-dark); font-weight:650; }
.credentials { margin-top: 48px; padding-top: 28px; border-top:1px solid var(--border); }
.credentials-title { display:flex; align-items:center; gap:20px; justify-content:center; color:var(--teal); font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:.76rem; margin-bottom:22px; }
.credentials-title::before, .credentials-title::after { content:""; height:1px; background:var(--border); flex:1; }
.credential-row { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.credential { min-height:142px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; color:var(--navy); padding:16px 12px; border:1px solid var(--border); border-radius:12px; background:rgba(255,255,255,.58); }
.credential-org { min-height:46px; display:flex; align-items:center; justify-content:center; margin-bottom:.65rem; color:var(--navy); font-weight:900; letter-spacing:-.02em; line-height:1; }
.credential-org .org-short { font-size:1.45rem; }
.credential-org .org-word { font-family:Georgia, "Times New Roman", serif; font-size:1.08rem; line-height:1.05; }
.credential-name { font-weight:800; font-size:.82rem; line-height:1.25; }
.credential-issuer { display:block; color:var(--muted); font-weight:600; font-size:.7rem; line-height:1.25; margin-top:.38rem; }
.credential a { color:inherit; text-decoration:none; }
.credential a:hover .credential-name, .credential a:focus-visible .credential-name { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }

/* Center the final row of three credential cards on desktop while preserving the existing card styling. */
@media (min-width: 901px) {
  .credential-row { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .credential { grid-column: span 2; }
  .credential:nth-child(5) { grid-column: 2 / span 2; }
  .credential:nth-child(6) { grid-column: 4 / span 2; }
  .credential:nth-child(7) { grid-column: 6 / span 2; }
}

.cta-band { background: linear-gradient(135deg, #087d80 0%, #075e6e 100%); color:white; position:relative; overflow:hidden; }
.cta-band::after { content:""; position:absolute; right:-130px; top:-80px; width:360px; height:220px; border-radius:50%; background:rgba(158,216,212,.15); }
.cta-grid { min-height:150px; display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center; position:relative; z-index:1; }
.cta-band h2 { color:white; margin-bottom:.25rem; font-size:clamp(1.65rem,2.5vw,2.15rem); }
.cta-band p { margin-bottom:0; color:rgba(255,255,255,.9); }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.9); }
.footer-grid { min-height:72px; display:flex; align-items:center; gap:24px; font-size:.82rem; }
.footer-grid .copyright { margin-right:auto; }
.footer-links { display:flex; gap:20px; align-items:center; }
.footer-links a { text-decoration:none; }
.footer-links a:hover { text-decoration:underline; }
.social { display:flex; gap:10px; }
.social a, .social span { width:34px; height:34px; border:1px solid rgba(255,255,255,.55); border-radius:50%; display:grid; place-items:center; text-decoration:none; font-weight:800; }
.social .disabled { opacity:.45; cursor:not-allowed; }

/* Interior pages */
.page-hero { padding: 92px 0 72px; background: linear-gradient(110deg,#fdfcf8 0%,#edf7f4 100%); border-bottom:1px solid var(--border); }
.page-hero h1 { font-size:clamp(2.25rem,4.8vw,3.85rem); }
.page-hero p { max-width:760px; font-size:1.15rem; color:var(--muted); }
/* Client-requested About-page adjustment: slightly smaller hero headline with more breathing room before intro copy. */
.about-page-hero h1 { font-size:clamp(2rem,4vw,3.2rem); margin-bottom:1.25rem; }
.content-grid { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.7fr); gap:70px; align-items:start; }
.prose p, .prose li { font-size:1.03rem; }
.prose ul { padding-left:1.25rem; }
.callout { background:var(--seafoam); padding:28px; border-radius:var(--radius); border:1px solid var(--border); }
.placeholder-card { padding:34px; border:1px solid var(--border); border-radius:var(--radius); background:white; box-shadow:var(--shadow); }
.placeholder-card h3 { margin-bottom:.5rem; }

/* Contact form */
.contact-layout { display:grid; grid-template-columns: .78fr 1.22fr; gap:60px; align-items:start; }
.form-card { padding:36px; border-radius:var(--radius); background:white; border:1px solid var(--border); box-shadow:var(--shadow); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column:1 / -1; }
.field label { font-size:.9rem; font-weight:750; color:var(--navy); }
.field input, .field select, .field textarea { width:100%; border:1px solid #b9c8cf; background:#fff; color:var(--ink); padding:.85rem .9rem; border-radius:8px; outline:none; }
.field textarea { min-height:160px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(7,143,147,.12); }
.honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.form-actions { display:flex; gap:14px; align-items:center; margin-top:22px; }
.form-status { margin-top:16px; min-height:1.5rem; font-size:.92rem; }
.form-status.success { color:#126a44; }
.form-status.error { color:#a43d35; }

/* 404 */
.not-found { min-height:60vh; display:grid; place-items:center; text-align:center; padding:80px 20px; }
.not-found .code { font-family:Georgia,serif; color:var(--teal); font-size:6rem; line-height:1; }

@media (max-width: 900px) {
  .nav-toggle { display:block; }
  .site-nav { position:absolute; top:86px; left:0; right:0; background:var(--paper); border-bottom:1px solid var(--border); display:none; flex-direction:column; align-items:stretch; gap:0; padding:14px 20px 20px; }
  .site-nav.open { display:flex; }
  .site-nav a { padding:13px 6px; }
  .site-nav .button { margin-top:8px; }
  .hero-grid { grid-template-columns:1fr; min-height:auto; }
  .hero-copy { padding:58px 0 22px; }
  .hero-art { max-height:500px; overflow:hidden; }
  .hero-art img { max-height:none; }
  .service-grid { grid-template-columns:1fr; }
  .service-card:first-child { border-right:0; }
  .ampersand { top:50%; left:50%; }
  .about-testimonial, .content-grid, .contact-layout { grid-template-columns:1fr; }
  .testimonial { border-left:0; padding-left:40px; padding-top:28px; border-top:1px solid var(--border); }
  .testimonial-full { padding:38px 26px 32px; }
  .testimonial-full::before { font-size:3.4rem; top:10px; left:14px; }
  .credential-row { grid-template-columns:repeat(2,1fr); }
  .cta-grid { grid-template-columns:1fr; padding:32px 0; gap:18px; }
  .footer-grid { flex-wrap:wrap; padding:20px 0; }
  .footer-grid .copyright { width:100%; }
}

@media (max-width: 620px) {
  .container { width:min(100% - 28px, var(--max)); }
  .brand-main { font-size:1.6rem; }
  .brand-sub { font-size:.59rem; }
  .nav-wrap { min-height:76px; }
  .site-nav { top:76px; }
  .hero-copy { padding-top:44px; }
  .hero-art { margin-inline:-14px; }
  .service-card { padding:48px 22px; min-height:auto; }
  .ampersand { display:none; }
  .section { padding:58px 0; }
  .about-mini { grid-template-columns:110px 1fr; gap:17px; }
  .about-mini img { width:110px; }
  .credential-row { grid-template-columns:1fr; }
  .credential { min-height:auto; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .footer-links { flex-wrap:wrap; }
}
