

:root {
  --purple: #550f9d;
  --purple-deep: #31065d;
  --purple-soft: #f3ecfa;
  --gold: #d5bd91;
  --gold-light: #f2e7d2;
  --ink: #231c2a;
  --muted: #665f6c;
  --paper: #fbfaf8;
  --line: #e8e2eb;
  --white: #fff;
  --shadow: 0 24px 70px rgba(49, 6, 93, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px;
  padding: 10px 16px; border-radius: 8px; background: var(--white); color: var(--purple); font-weight: 800;
  transform: translateY(-150%); transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; z-index: 50; top: 0;
  border-bottom: 1px solid rgba(85, 15, 157, .1);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 214px; }
.desktop-nav {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  color: #403747; font-size: .92rem; font-weight: 700;
}
.desktop-nav a { position: relative; padding-block: 12px; }
.desktop-nav a::after {
  position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: var(--purple); content: "";
  transform: scaleX(0); transition: transform 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.phone-pill, .button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 800; transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.phone-pill {
  gap: 6px; padding: 11px 20px; background: var(--purple); color: var(--white);
  box-shadow: 0 12px 28px rgba(85, 15, 157, .22); white-space: nowrap;
}
.phone-pill span { color: var(--gold-light); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.phone-pill:hover, .button:hover { transform: translateY(-2px); }

.hero {
  min-height: calc(100svh - 88px); position: relative; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; background: var(--purple-deep); color: var(--white);
}
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; z-index: -2; inset: 0;
  background: linear-gradient(90deg, rgba(39, 5, 72, .95) 0%, rgba(49, 6, 93, .76) 42%, rgba(49, 6, 93, .14) 76%), linear-gradient(0deg, rgba(24, 5, 41, .38), transparent 46%);
}
.hero-content { padding-block: 110px 130px; }
.eyebrow {
  margin: 0 0 16px; color: var(--gold-light); font-size: .76rem; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow.purple { color: var(--purple); }
.eyebrow.gold { color: var(--gold); }
.hero h1 {
  max-width: 690px; margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 8vw, 7.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .9;
}
.hero h1 span { display: block; color: var(--gold); font-style: italic; }
.hero h1 .business-name {
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
[id] { scroll-margin-top: 105px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button { padding: 13px 25px; }
.button-gold { background: var(--gold); color: #2a1638; }
.button-quiet { border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: var(--white); backdrop-filter: blur(8px); }
.scroll-cue {
  position: absolute; bottom: 25px; left: 50%; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--gold); transform: translateX(-50%);
}

.section { padding-block: 112px; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.centered-heading { margin-inline: auto; text-align: center; }
.section h2, .contact-section h2 {
  margin: 0 0 20px; color: var(--purple-deep); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.02;
}
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; }
.services-section { background: radial-gradient(circle at 10% 15%, rgba(213,189,145,.25), transparent 28%), var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  min-height: 270px; padding: 34px 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--white);
  box-shadow: 0 16px 40px rgba(35,28,42,.05); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover { border-color: rgba(85,15,157,.28); box-shadow: var(--shadow); transform: translateY(-6px); }
.service-icon { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 22px; background: var(--purple-soft); }
.service-icon img { width: 44px; height: 44px; object-fit: contain; }
.service-card h3 { margin: 0 0 8px; color: var(--purple); font-size: .83rem; font-weight: 900; letter-spacing: .12em; }
.service-card p { margin: 0; color: var(--muted); }

.about-section { background: var(--white); }
.split-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: clamp(56px,8vw,110px); }
.chess-frame { position: relative; }
.chess-frame::before { position: absolute; z-index: 0; inset: -22px 35px 35px -22px; border-radius: 32px; background: var(--purple-soft); content: ""; }
.chess-frame > img { position: relative; z-index: 1; width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.experience-badge {
  position: absolute; z-index: 2; right: -24px; bottom: -25px; width: 150px; height: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 8px solid var(--white); border-radius: 50%; background: var(--gold); color: var(--purple-deep); text-align: center;
}
.experience-badge strong { font-family: Georgia, "Times New Roman", serif; font-size: 2.5rem; line-height: 1; }
.experience-badge span { max-width: 90px; font-size: .72rem; font-weight: 900; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.tactics-note { margin-top: 30px; padding: 26px 28px; border-left: 4px solid var(--gold); border-radius: 0 18px 18px 0; background: var(--purple-soft); }
.tactics-note h3 { margin: 0 0 5px; color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.tactics-note p { margin: 0; }

.associations-section { position: relative; overflow: hidden; background: var(--purple-deep); color: rgba(255,255,255,.8); }
.associations-section::after {
  position: absolute; top: -190px; right: -120px; width: 480px; height: 480px; border: 1px solid rgba(213,189,145,.18);
  border-radius: 50%; box-shadow: 0 0 0 70px rgba(213,189,145,.04), 0 0 0 140px rgba(213,189,145,.025); content: "";
}
.association-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 70px; }
.associations-section h2 { color: var(--white); }
.association-logos {
  min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 34px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 30px 80px rgba(12,2,23,.28);
}
.association-logos > img:first-child { width: 100%; object-fit: contain; }
.association-logos .ipa-logo { width: 128px; object-fit: contain; }

.testimonials-section { background: #f6f1f9; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial-card { margin: 0; padding: 34px; border-radius: 26px; background: var(--white); box-shadow: 0 12px 35px rgba(49,6,93,.07); }
.testimonial-card blockquote { position: relative; margin: 0 0 24px; color: #514758; }
.testimonial-card blockquote::before { display: block; height: 28px; color: var(--gold); content: "“"; font-family: Georgia, "Times New Roman", serif; font-size: 4.3rem; line-height: .75; }
.testimonial-card figcaption { color: var(--purple); font-weight: 900; }

.contact-section { padding-block: 100px; background: var(--purple); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 70px; }
.contact-section h2 { color: var(--white); }
.contact-intro > p:not(.eyebrow) { margin-bottom: 8px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.contact-phone { display: inline-block; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem,6vw,5rem); letter-spacing: -.04em; line-height: 1; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-details > div { min-height: 180px; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(255,255,255,.08); }
.contact-details h3 { margin: 0 0 10px; color: var(--gold); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-details p, .contact-details address { margin: 0; color: rgba(255,255,255,.85); font-style: normal; }
.contact-details a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.contact-details .facebook-card { grid-column: 1 / -1; min-height: auto; }
.facebook-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.facebook-mark { width: 38px; height: 38px; display: grid; place-items: end center; overflow: hidden; border-radius: 50%; background: #1877f2; color: #fff; font-family: Arial, sans-serif; font-size: 2rem; font-weight: 900; line-height: .95; }

.site-footer { padding-block: 48px; background: #24112f; color: rgba(255,255,255,.62); font-size: .83rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.footer-inner img { width: 180px; filter: brightness(0) invert(1); opacity: .9; }
.footer-inner p { margin: 0; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .association-layout, .contact-layout { gap: 45px; }
}
@media (max-width: 820px) {
  .section { padding-block: 80px; }
  .hero { min-height: 720px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(39,5,72,.94), rgba(49,6,93,.62)); }
  .split-layout, .association-layout, .contact-layout { grid-template-columns: 1fr; }
  .split-layout { gap: 75px; }
  .association-layout { gap: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner img { margin-inline: auto; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px,1180px); }
  .header-inner { min-height: 76px; gap: 15px; }
  .brand img { width: 155px; }
  .phone-pill { min-height: 44px; padding: 10px 14px; font-size: .82rem; }
  .phone-pill span { display: none; }
  .hero { min-height: calc(100svh - 76px); }
  .hero-content { padding-block: 95px 110px; }
  .hero h1 { font-size: clamp(3.25rem,18vw,5rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .service-grid, .contact-details { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .chess-frame::before { inset: -12px 16px 20px -10px; }
  .experience-badge { right: -4px; bottom: -48px; width: 125px; height: 125px; }
  .association-logos { min-height: 220px; padding: 24px; }
  .contact-section { padding-block: 75px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}



