:root {
  --ink: #1d2431;
  --muted: #5f6573;
  --cream: #fbf8f3;
  --paper: #fffdf9;
  --purple: #8568ad;
  --purple-dark: #5c477f;
  --teal: #087f7e;
  --coral: #d97967;
  --line: #e5ded8;
  --shadow: 0 18px 45px rgba(48, 35, 71, 0.1);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 248, 243, 0.92);
  border-bottom: 1px solid rgba(229, 222, 216, 0.9);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.brand span { font: 700 20px/1.1 Georgia, serif; letter-spacing: -0.02em; }
.brand em { color: var(--purple); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav a { padding: 8px 14px; color: var(--muted); border-radius: 999px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--purple-dark); background: #eee8f5; }
.header-cta { padding: 11px 17px; color: white; background: var(--purple-dark); border-radius: 999px; font-weight: 700; text-decoration: none; }
.header-cta:hover { background: var(--ink); }
.menu-toggle { display: none; margin-left: auto; padding: 8px; color: var(--ink); background: none; border: 0; font-size: 25px; cursor: pointer; }

.shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 700px; font-size: clamp(3rem, 7vw, 5.9rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3 { font-size: 1.55rem; }
.lede { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 1.15rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 999px; font-weight: 750; text-decoration: none; }
.button-primary { color: white; background: var(--purple-dark); }
.button-primary:hover { background: var(--ink); }
.button-secondary { color: var(--purple-dark); background: transparent; border: 1px solid #cdbfe0; }
.button-secondary:hover { background: #eee8f5; }

.hero { position: relative; min-height: 650px; overflow: hidden; color: white; background: #251e36; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; opacity: 0.78; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 17, 36, 0.82), rgba(37, 27, 55, 0.28) 62%, rgba(26, 16, 40, 0.18)); content: ""; }
.hero-content { position: relative; z-index: 1; display: grid; align-content: center; min-height: 650px; padding: 90px 0; }
.hero h1 { color: white; }
.hero .lede { color: rgba(255,255,255,0.88); }
.hero .eyebrow { color: #a9e3df; }
.hero .button-primary { color: var(--ink); background: white; }
.hero .button-primary:hover { background: #e8f4f2; }
.hero .button-secondary { color: white; border-color: rgba(255,255,255,0.6); }
.hero .button-secondary:hover { background: rgba(255,255,255,0.13); }
.hero-note { margin-top: 42px; color: rgba(255,255,255,0.78); font-size: 0.95rem; }

.section { padding: 105px 0; }
.section-tight { padding: 72px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 40px; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: start; }
.intro-copy p { max-width: 650px; color: var(--muted); font-size: 1.1rem; }
.quote { margin: 0; padding: 28px; color: var(--purple-dark); background: #eee8f5; border-radius: var(--radius); font: 1.25rem/1.4 Georgia, serif; }
.quote cite { display: block; margin-top: 18px; color: var(--muted); font: 0.85rem/1.4 system-ui, sans-serif; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.pillar, .service-card, .team-card, .price-card, .contact-card { padding: 27px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pillar-number { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 20px; color: white; background: var(--teal); border-radius: 50%; font-weight: 800; }
.pillar p, .service-card p, .team-card p, .contact-card p { margin: 11px 0 0; color: var(--muted); }

.services-section { background: #f2ede8; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-height: 250px; }
.service-card:nth-child(4), .service-card:nth-child(5) { background: #eee8f5; }
.service-card p { flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--purple-dark); font-weight: 800; text-decoration: none; }
.service-link::after { content: "→"; transition: transform .2s ease; }
.service-link:hover::after { transform: translateX(4px); }

.materials-preview { background: #e2f2ef; }
.materials-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.material-card, .material-detail { padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.material-card { display: flex; flex-direction: column; min-height: 290px; }
.material-card-featured { background: linear-gradient(145deg, #fffdf9, #f2eafa); }
.material-card h3 { margin-top: 19px; }
.material-card p, .material-detail p { color: var(--muted); }
.material-card p { flex: 1; }
.status-tag { display: inline-flex; align-items: center; width: fit-content; padding: 6px 11px; color: var(--teal); background: #d8efeb; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status-tag-soft { color: var(--purple-dark); background: #eee8f5; }
.materials-layout { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); }
.material-detail { display: grid; gap: 14px; }
.material-detail h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.material-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.material-kicker { color: var(--muted); font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.material-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.material-points span { padding: 8px 11px; color: var(--purple-dark); background: #eee8f5; border-radius: 999px; font-size: .9rem; }
.materials-note { align-self: start; }
.materials-social { background: #f2ede8; }
.social-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 35px; align-items: stretch; padding: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.social-card h2 { max-width: 600px; }
.social-card p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.social-placeholder { display: grid; align-content: center; gap: 12px; min-height: 190px; padding: 28px; background: linear-gradient(135deg, #eee8f5, #e2f2ef); border-radius: var(--radius); }
.social-placeholder strong { color: var(--purple-dark); font: 700 2rem/1.1 Georgia, serif; }
.social-placeholder > span:last-child { color: var(--muted); }

.proof { color: white; background: var(--purple-dark); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.proof strong { display: block; margin-bottom: 5px; color: white; font: 700 1.8rem/1.1 Georgia, serif; }
.proof span { color: rgba(255,255,255,0.75); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 45px; color: white; background: linear-gradient(120deg, var(--teal), #126c81); border-radius: 30px; }
.cta-panel h2 { max-width: 690px; }
.cta-panel p { max-width: 650px; margin: 16px 0 0; color: rgba(255,255,255,0.84); }
.cta-panel .button-primary { color: var(--ink); background: white; }

.page-hero { padding: 92px 0 78px; background: linear-gradient(135deg, #eee8f5, #fbf8f3 68%); }
.page-hero h1 { max-width: 820px; }
.page-hero .lede { max-width: 700px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 55px; align-items: start; }
.stack { display: grid; gap: 22px; }
.service-detail { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.service-detail h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.service-detail p { color: var(--muted); }
.service-detail ul { padding-left: 20px; color: var(--muted); }
.side-note { position: sticky; top: 105px; padding: 28px; background: #e2f2ef; border-radius: var(--radius); }
.side-note h3 { color: var(--teal); }
.side-note p { color: #315e5b; }
.team-grid, .price-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.team-card { min-height: 300px; }
.team-card .team-portrait { display: block; width: 220px; height: 220px; margin: 0 0 24px; object-fit: cover; object-position: center top; border: 7px solid #f6efe9; border-radius: 50%; box-shadow: 0 10px 24px rgba(47, 35, 61, 0.12); }
.team-card h2 { font-size: 2rem; }
.team-card .role { margin-top: 6px; color: var(--teal); font-weight: 750; }
.credential-panel { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 38px; padding: 30px 34px; background: #e2f2ef; border: 1px solid #c5e2dd; border-radius: var(--radius); }
.dgsf-badge { display: block; width: 150px; height: 150px; object-fit: contain; }
.credential-panel h2 { max-width: 640px; margin-top: 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.credential-panel p:not(.eyebrow) { max-width: 720px; margin-top: 14px; color: #315e5b; }
.text-link { display: inline-block; margin-top: 18px; color: var(--purple); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card h2 { font-size: 1.9rem; }
.price-card .price { margin: 23px 0 4px; color: var(--purple-dark); font: 700 2.1rem/1 Georgia, serif; }
.price-card .price-detail { margin: 0; color: var(--muted); }
.price-card p:last-child { margin-top: auto; color: var(--muted); }
.contact-card h2 { font-size: 2rem; }
.contact-card .contact-value { display: block; margin-top: 12px; color: var(--purple-dark); font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.contact-card .contact-value:hover { color: var(--teal); }
.legal { max-width: 820px; }
.legal h2 { margin-top: 42px; font-size: 2rem; }
.legal p, .legal li { color: var(--muted); }
.draft-note { margin-bottom: 30px; padding: 18px 20px; color: #6b4d17; background: #fff2cc; border: 1px solid #e8d18a; border-radius: 14px; }

.site-footer { padding: 54px 0 35px; color: rgba(255,255,255,0.78); background: #202637; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 45px; }
.site-footer .brand span, .site-footer h3 { color: white; }
.site-footer .brand em { color: #a9e3df; }
.site-footer h3 { margin-bottom: 12px; font: 700 1rem system-ui, sans-serif; letter-spacing: 0; }
.site-footer p { max-width: 320px; margin: 0; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.copyright { margin-top: 45px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.85rem; }

@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; gap: 8px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav { display: none; order: 3; width: 100%; margin-left: 0; padding: 8px 0 5px; flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .hero, .hero-content { min-height: 620px; }
  .intro-grid, .content-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-note { position: static; }
  .services-grid, .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .material-card:first-child { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .social-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .shell { width: min(var(--max), calc(100% - 34px)); }
  .site-header { padding-inline: 17px; }
  .brand span { font-size: 18px; }
  .brand img { width: 38px; height: 38px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .section { padding: 72px 0; }
  .page-hero { padding: 66px 0 54px; }
  .pillars, .services-grid, .materials-grid, .team-grid, .contact-grid, .proof-grid { grid-template-columns: 1fr; }
  .material-card:first-child { grid-column: auto; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 17px; }
  .service-detail, .pillar, .service-card, .team-card, .price-card, .contact-card { padding: 23px; }
  .cta-panel { padding: 30px 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .team-card .team-portrait { width: 190px; height: 190px; }
  .credential-panel { grid-template-columns: 1fr; gap: 18px; padding: 25px 23px; }
  .dgsf-badge { width: 125px; height: 125px; }
}
