/*
Theme Name: M&SUN Legal
Theme URI: https://msunlegal.com/
Author: M&SUN Legal
Description: Custom responsive WordPress theme for M&SUN Legal, with dedicated legal information pages, practice-area guides, a rotating homepage hero and appointment request form.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: msun-legal
*/

:root {
  --red: #980000;
  --red-dark: #760000;
  --red-soft: #f8eeee;
  --ink: #161616;
  --body: #393939;
  --muted: #5c5c5c;
  --subtle: #777777;
  --paper: #f7f6f4;
  --white: #ffffff;
  --line: #e4e0dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --shadow: 0 22px 65px rgba(22, 15, 15, .11);
  --shadow-card: 0 16px 38px rgba(22, 15, 15, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--body); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 11px 16px; color: var(--white); background: var(--red-dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }

/* Utility bar and navigation */
.topbar { color: rgba(255,255,255,.9); background: #111111; font-size: 12px; font-weight: 600; letter-spacing: .015em; }
.topbar-inner, .topbar-links { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.topbar-inner { min-height: 42px; }
.topbar i { margin-right: 8px; color: #e7aaaa; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #efb4b4; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(16px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.09); }
.nav-wrap { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; min-width: 0; align-items: center; }
.brand-image { display: block; width: auto; max-width: 340px; max-height: 70px; height: auto; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 31px); font-size: 14px; font-weight: 700; }
.primary-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; color: #303030; }
.primary-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; content: ""; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.primary-nav > a:not(.nav-cta):hover::after, .primary-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; padding: 0 19px; color: var(--white); background: var(--red); font-size: 13px; font-weight: 800; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.nav-cta:hover { background: var(--red-dark); box-shadow: 0 8px 22px rgba(152,0,0,.2); transform: translateY(-2px); }
.nav-cta i { font-size: 11px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

/* Home hero */
.hero { position: relative; display: flex; min-height: 690px; align-items: center; overflow: hidden; color: var(--white); background: #090909; }
.hero-photo { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=2200&q=88") center 48%/cover no-repeat; opacity: .58; transform: scale(1.025); animation: hero-settle 1.7s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 48%, rgba(0,0,0,.42) 100%), linear-gradient(0deg, rgba(0,0,0,.52), transparent 65%); }
.hero-content { position: relative; z-index: 1; padding-top: 105px; padding-bottom: 118px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; }
.eyebrow > span { display: inline-block; width: 32px; height: 2px; background: var(--red); }
.eyebrow-light { color: rgba(255,255,255,.88); }
.eyebrow-light > span { background: #d59a9a; }
.hero h1 { max-width: 900px; margin: 0 0 27px; color: var(--white); font-family: var(--serif); font-size: clamp(58px, 7.2vw, 92px); font-weight: 600; letter-spacing: -.045em; line-height: 1.03; }
.hero h1 em, h2 em, .footer-tagline em { color: #d89c9c; font-weight: 500; }
.hero-copy { max-width: 650px; margin: 0 0 36px; color: rgba(255,255,255,.9); font-size: 18px; font-weight: 500; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 18px; padding: 0 25px; border: 1px solid transparent; font-size: 14px; font-weight: 800; letter-spacing: .005em; cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-red { color: var(--white); background: var(--red); }
.button-red:hover { background: #b10000; box-shadow: 0 11px 26px rgba(152,0,0,.23); }
.button-outline-light { border-color: rgba(255,255,255,.58); color: var(--white); background: rgba(255,255,255,.03); }
.button-outline-light:hover { border-color: #e9b7b7; background: rgba(255,255,255,.1); }
.button i { font-size: 13px; }
.hero-bottomline { display: flex; align-items: center; gap: 13px; margin-top: 62px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-bottomline span { width: 42px; height: 1px; background: #d59a9a; }
.hero-index { position: absolute; right: max(32px, calc((100% - var(--container))/2)); bottom: 48px; display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.7); font-family: var(--serif); font-size: 15px; }
.hero-index strong { color: var(--white); font-size: 19px; }
.hero-index span { width: 58px; height: 1px; background: #d59a9a; }
.hero-scroll { position: absolute; bottom: 42px; left: max(32px, calc((100% - var(--container))/2)); display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: var(--white); animation: float-y 2.4s ease-in-out infinite; }

/* Firm facts and about */
.fact-strip { position: relative; z-index: 2; background: #f3f0ed; border-bottom: 1px solid var(--line); }
.fact-grid { display: grid; min-height: 120px; grid-template-columns: .8fr 1.2fr 1fr; align-items: center; gap: 35px; }
.fact-intro { display: flex; flex-direction: column; line-height: 1.4; }
.fact-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.fact-intro strong { margin-top: 5px; color: var(--ink); font-family: var(--serif); font-size: 23px; font-weight: 600; }
.fact-item { display: flex; min-width: 0; align-items: center; gap: 15px; padding: 12px 0; }
.fact-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; color: var(--red); background: var(--white); border: 1px solid #eadcda; font-size: 18px; transition: color .25s ease, background .25s ease, transform .25s ease; }
.fact-item:hover .fact-icon { color: var(--white); background: var(--red); transform: translateY(-3px); }
.fact-item > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.fact-item small { color: #595959; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.fact-item strong { color: #1c1c1c; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.fact-arrow { margin-left: auto; color: #777; font-size: 12px; transition: transform .2s ease, color .2s ease; }
.fact-item:hover .fact-arrow { color: var(--red); transform: translate(3px,-3px); }
.section { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: clamp(60px, 8vw, 118px); }
.about-visual { position: relative; min-height: 540px; padding: 0 38px 38px 0; }
.about-visual > img { position: relative; z-index: 1; width: 100%; height: 500px; object-fit: cover; filter: saturate(.75) contrast(1.02); }
.visual-outline { position: absolute; right: 0; bottom: 0; width: 78%; height: 84%; border: 1px solid var(--red); }
.visual-caption { position: absolute; z-index: 2; right: -15px; bottom: 67px; display: flex; align-items: center; gap: 17px; padding: 20px 25px; color: var(--white); background: var(--ink); font-family: var(--serif); font-size: 15px; line-height: 1.5; box-shadow: var(--shadow); }
.caption-mark { color: #e0a5a5; font-size: 30px; }
.visual-number { position: absolute; bottom: 8px; left: 0; color: #777; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.about-copy h2, .section-heading h2, .contact-heading h2, .contact-info-column h2, .booking-panel-heading h2 { margin: 0 0 25px; color: var(--ink); font-family: var(--serif); font-size: clamp(43px, 4.5vw, 62px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.about-copy h2 em, .section-heading h2 em, .contact-heading h2 em, .contact-info-column h2 em, .booking-panel-heading h2 em { color: var(--red); }
.about-lead { margin: 0 0 18px; color: #252525; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.55; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: #4b4b4b; font-size: 16px; line-height: 1.95; }
.text-link { display: inline-flex; align-items: center; gap: 17px; margin-top: 16px; padding-bottom: 7px; border-bottom: 2px solid var(--red); color: var(--ink); font-size: 14px; font-weight: 800; }
.text-link i { color: var(--red); transition: transform .2s ease; }
.text-link:hover i { transform: translateX(5px); }

/* Interactive practice areas */
.practice-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro-wrap { max-width: 435px; padding-bottom: 4px; }
.section-intro { margin: 0 0 10px; color: #4b4b4b; font-size: 16px; line-height: 1.85; }
.interaction-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 12px; font-weight: 800; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; align-items: stretch; }
.practice-card { position: relative; min-width: 0; border: 1px solid #ded8d4; background: var(--white); box-shadow: 0 4px 14px rgba(0,0,0,.025); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, background .3s ease; }
.practice-card:hover { border-color: #c79696; box-shadow: var(--shadow-card); transform: translateY(-5px); }
.practice-card[open] { grid-row: span 1; border-color: var(--red); box-shadow: 0 17px 42px rgba(60,0,0,.10); }
.practice-card summary { display: flex; min-height: 300px; flex-direction: column; align-items: flex-start; padding: 29px 29px 26px; cursor: pointer; list-style: none; outline-offset: -5px; }
.practice-card summary::-webkit-details-marker { display: none; }
.practice-card summary:focus-visible { outline: 3px solid rgba(152,0,0,.28); }
.card-top { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid #e8cece; color: var(--red); background: #fffafa; font-size: 21px; transition: color .25s ease, background .25s ease, transform .3s ease; }
.practice-card:hover .service-icon, .practice-card[open] .service-icon { color: var(--white); background: var(--red); transform: rotate(-5deg); }
.card-number { color: #888; font-family: var(--serif); font-size: 16px; }
.practice-card h3 { margin: 0 0 12px; color: var(--ink); font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); font-weight: 600; line-height: 1.28; }
.practice-card summary > p { margin: 0 0 22px; color: #555; font-size: 15px; line-height: 1.7; }
.card-action { display: inline-flex; align-items: center; gap: 11px; margin-top: auto; color: var(--red); font-size: 13px; font-weight: 800; }
.card-action i { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #e4caca; border-radius: 50%; font-size: 10px; transition: transform .25s ease, color .25s ease, background .25s ease; }
.practice-card[open] .card-action i { color: var(--white); background: var(--red); transform: rotate(45deg); }
.practice-detail { padding: 0 29px 27px; border-top: 1px solid #eee7e4; animation: detail-in .32s ease both; }
.practice-detail > p { margin: 19px 0 14px; color: #414141; font-size: 15px; line-height: 1.8; }
.practice-detail ul { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; }
.practice-detail li { position: relative; padding-left: 20px; color: #4f4f4f; font-size: 14px; line-height: 1.6; }
.practice-detail li::before { position: absolute; top: .72em; left: 0; width: 7px; height: 7px; content: ""; background: var(--red); transform: rotate(45deg); }
.detail-link { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 13px; font-weight: 800; }
.detail-link i { transition: transform .2s ease; }
.detail-link:hover i { transform: translateX(5px); }
.practice-note { margin: 25px 0 0; color: #666; font-size: 13px; line-height: 1.7; }

/* Approach / contact band */
.approach-section { position: relative; overflow: hidden; padding: 110px 0; color: var(--white); background: #101010; }
.approach-section::after { position: absolute; top: -180px; right: -180px; width: 530px; height: 530px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; content: ""; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); pointer-events: none; }
.approach-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.approach-heading h2 { margin: 0 0 24px; color: var(--white); font-family: var(--serif); font-size: clamp(48px, 5vw, 66px); font-weight: 600; line-height: 1.12; }
.approach-heading h2 em { color: #d89c9c; }
.approach-heading > p:last-child { max-width: 390px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.9; }
.approach-steps { border-top: 1px solid rgba(255,255,255,.2); }
.approach-step { position: relative; display: grid; grid-template-columns: 40px 58px 1fr; gap: 20px; align-items: start; padding: 29px 0; border-bottom: 1px solid rgba(255,255,255,.2); transition: padding .25s ease; }
.approach-step:hover { padding-left: 9px; }
.step-no { padding-top: 4px; color: #d99f9f; font-family: var(--serif); font-size: 18px; }
.step-icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(255,255,255,.28); color: #e5b5b5; font-size: 19px; }
.approach-step h3 { margin: 0 0 7px; color: var(--white); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.approach-step p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.8; }
.contact-band { padding: 75px 0; background: #f2efec; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.contact-band-inner .eyebrow { margin-bottom: 13px; }
.contact-band-inner h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(36px, 4vw, 50px); font-weight: 600; line-height: 1.18; }
.contact-band-inner h2 em { color: var(--red); }
.contact-band-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact-band-links > a:not(.button) { display: inline-flex; align-items: center; gap: 9px; color: #333; font-size: 14px; font-weight: 800; }
.contact-band-links > a:not(.button) i { color: var(--red); }

/* Contact page */
.page-hero { position: relative; overflow: hidden; color: var(--white); background: #111; }
.contact-hero { min-height: 360px; background: linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.67)), url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=85") center 46%/cover no-repeat; }
.page-hero-inner { padding-top: 72px; padding-bottom: 67px; }
.page-hero h1 { margin: 0 0 19px; color: var(--white); font-family: var(--serif); font-size: clamp(52px, 6vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.page-hero h1 em { color: #d99f9f; }
.page-hero-inner > p:not(.eyebrow) { max-width: 650px; margin: 0; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.8; }
.breadcrumb { display: flex; align-items: center; gap: 11px; margin-top: 30px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; }
.breadcrumb a { color: #e4b1b1; }
.breadcrumb i { font-size: 10px; }
.contact-page-section { background: var(--paper); }
.contact-page-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 6vw, 84px); align-items: start; }
.contact-info-column { padding-top: 15px; }
.contact-info-column h2 { margin-bottom: 20px; }
.contact-intro { max-width: 425px; margin: 0 0 31px; color: #505050; font-size: 16px; line-height: 1.9; }
.contact-detail-card { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 19px; border: 1px solid #e2dcd8; background: var(--white); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.contact-detail-card:hover { border-color: #c88f8f; box-shadow: var(--shadow-card); transform: translateX(4px); }
.detail-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; color: var(--red); background: var(--red-soft); font-size: 18px; }
.contact-detail-card > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.contact-detail-card small, .contact-location small { color: #5e5e5e; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.contact-detail-card strong { color: var(--ink); font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.contact-detail-card em { color: var(--red); font-size: 12px; font-style: normal; font-weight: 700; }
.detail-arrow { margin-left: auto; color: #777; font-size: 12px; }
.contact-location { display: flex; align-items: center; gap: 17px; margin-top: 23px; padding: 14px 5px; color: var(--red); }
.contact-location div { display: flex; flex-direction: column; }
.contact-location strong { color: var(--ink); font-family: var(--serif); font-size: 20px; }
.contact-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 30px; padding: 17px; border-left: 3px solid var(--red); background: #f0ebe7; }
.contact-note > i { margin-top: 5px; color: var(--red); }
.contact-note p { margin: 0; color: #505050; font-size: 13px; line-height: 1.75; }

/* Appointment request form */
.booking-panel { padding: 38px 40px 35px; border: 1px solid #e5deda; background: var(--white); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.booking-panel-heading .eyebrow { margin-bottom: 15px; }
.booking-panel-heading h2 { margin-bottom: 13px; font-size: clamp(39px, 4vw, 52px); }
.booking-panel-heading > p:last-child { margin: 0 0 24px; color: #505050; font-size: 15px; line-height: 1.85; }
.availability-panel { margin: 0 0 26px; padding: 19px 20px; border: 1px solid #ecdada; background: #fffafa; }
.availability-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--red); }
.availability-heading strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.availability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.availability-grid > div { display: flex; flex-direction: column; gap: 3px; padding-left: 14px; border-left: 2px solid var(--red); }
.availability-day { color: #5b5b5b; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.availability-grid strong { color: var(--ink); font-size: 17px; font-weight: 800; }
.availability-grid small { color: #646464; font-size: 11px; }
.appointment-form { display: flex; flex-direction: column; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.appointment-form label:not(.consent-check) { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #252525; font-size: 13px; font-weight: 800; }
.appointment-form label > span, .consent-check b { color: var(--red); }
.appointment-form label > small { display: inline; color: #666; font-size: 12px; font-weight: 500; }
.appointment-form input:not([type="checkbox"]), .appointment-form textarea, .appointment-form select { width: 100%; min-width: 0; min-height: 51px; padding: 12px 14px; border: 1px solid #d7d2ce; border-radius: 0; outline: 0; color: var(--ink); background: #fff; font-size: 15px; font-weight: 600; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.appointment-form textarea { min-height: 105px; resize: vertical; }
.appointment-form input:focus, .appointment-form textarea:focus, .appointment-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(152,0,0,.12); background: #fffdfd; }
.appointment-form input::placeholder, .appointment-form textarea::placeholder { color: #777; font-weight: 500; }
.field-guidance { color: #5f5f5f; font-size: 11px; font-weight: 600; line-height: 1.5; }
.consent-check { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 11px !important; color: #444 !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.6; }
.consent-check input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--red); }
.submit-button { width: 100%; margin-top: 2px; border: 0; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-privacy { margin: -4px 0 0; color: #555; font-size: 11px; line-height: 1.7; }
.form-privacy a { color: var(--red); font-weight: 800; text-decoration: underline; }
.form-message { display: none; padding: 14px 16px; font-size: 14px; font-weight: 700; line-height: 1.65; }
.form-message.success { display: block; color: #20583b; background: #eff8f1; border: 1px solid #c8e4ce; }
.form-message.error { display: block; color: #862d2d; background: #fff1ef; border: 1px solid #edcbc6; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.contact-bottom-band { background: #141414; color: var(--white); }
.contact-bottom-band > div { display: flex; min-height: 82px; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-bottom-band span { color: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; }
.contact-bottom-band a { color: #e0aaaa; font-size: 15px; font-weight: 800; }

/* Footer and motion */
.site-footer { color: #555; background: #fff; border-top: 1px solid var(--line); }
.footer-main { display: grid; min-height: 175px; grid-template-columns: 1fr .8fr 1.3fr; align-items: center; gap: 35px; }
.footer-brand img { width: auto; max-width: 275px; max-height: 56px; object-fit: contain; }
.footer-tagline { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.4; }
.footer-tagline em { color: var(--red); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13px; font-weight: 700; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--red); }
.footer-bottom { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #666; font-size: 12px; font-weight: 600; }
 .reveal { opacity: 1; transform: none; }
html.js-enabled .reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease var(--reveal-delay, 0ms), transform .75s cubic-bezier(.2,.65,.25,1) var(--reveal-delay, 0ms); }
html.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-settle { from { transform: scale(1.09); } to { transform: scale(1.025); } }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes detail-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .brand-image { max-width: 290px; }
  .primary-nav { gap: 17px; font-size: 13px; }
  .nav-cta { padding: 0 14px; }
  .approach-layout { gap: 60px; }
  .contact-page-grid { grid-template-columns: .72fr 1.28fr; gap: 42px; }
  .booking-panel { padding: 31px 29px; }
}
@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 44px)); }
  .nav-wrap { min-height: 82px; }
  .brand-image { max-width: 275px; max-height: 60px; }
  .menu-toggle { display: block; flex: 0 0 46px; }
  .primary-nav { position: fixed; top: 124px; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 28px 45px; background: var(--white); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > a:not(.nav-cta) { padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; min-height: 53px; margin-top: 22px; font-size: 14px; }
  .hero { min-height: 640px; }
  .hero-content { padding-top: 85px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(54px, 9vw, 76px); }
  .hero-copy { max-width: 600px; font-size: 17px; }
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 14px 25px; padding-top: 23px; padding-bottom: 23px; }
  .fact-intro { grid-column: 1 / -1; }
  .section { padding: 90px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-visual { max-width: 600px; min-height: 480px; }
  .about-visual > img { height: 445px; }
  .about-copy h2, .section-heading h2, .contact-info-column h2 { font-size: 51px; }
  .practice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .practice-card summary { min-height: 290px; padding: 25px 23px 23px; }
  .practice-card h3 { font-size: 23px; }
  .practice-detail { padding-right: 23px; padding-left: 23px; }
  .approach-layout { grid-template-columns: 1fr; gap: 36px; }
  .approach-heading > p:last-child { max-width: 600px; }
  .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .contact-band-links { gap: 18px 24px; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-column { max-width: 700px; }
  .booking-panel { max-width: 760px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px; padding-top: 30px; padding-bottom: 30px; }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 34px); }
  .topbar-inner { justify-content: center; min-height: 39px; }
  .topbar-inner > span { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 9px; font-size: 10px; }
  .topbar i { margin-right: 5px; }
  .nav-wrap { min-height: 75px; gap: 15px; }
  .brand-image { max-width: 225px; max-height: 52px; }
  .primary-nav { top: 114px; }
  .hero { min-height: 620px; }
  .hero-content { padding-top: 72px; padding-bottom: 108px; }
  .hero h1 { font-size: clamp(47px, 12vw, 64px); }
  .hero-copy { font-size: 16px; line-height: 1.8; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .button { min-height: 54px; justify-content: space-between; font-size: 13px; }
  .hero-bottomline { margin-top: 43px; font-size: 10px; }
  .hero-index { right: 18px; bottom: 24px; }
  .hero-scroll { bottom: 19px; left: 18px; width: 38px; height: 38px; }
  .fact-grid { grid-template-columns: 1fr; gap: 9px; }
  .fact-intro { grid-column: auto; padding-bottom: 5px; }
  .fact-item { gap: 13px; padding: 8px 0; }
  .fact-item strong { font-size: 15px; }
  .section { padding: 73px 0; }
  .about-visual { min-height: 340px; padding: 0 24px 25px 0; }
  .about-visual > img { height: 315px; }
  .visual-caption { right: -7px; bottom: 43px; padding: 14px 18px; font-size: 12px; }
  .caption-mark { font-size: 23px; }
  .about-copy h2, .section-heading h2, .contact-info-column h2 { font-size: 42px; }
  .about-lead { font-size: 20px; }
  .about-copy > p:not(.eyebrow):not(.about-lead) { font-size: 15px; }
  .section-heading { display: block; margin-bottom: 29px; }
  .section-intro-wrap { margin-top: 18px; }
  .section-intro { font-size: 15px; }
  .practice-grid { grid-template-columns: 1fr; gap: 13px; }
  .practice-card summary { min-height: 0; padding: 23px 22px; }
  .practice-card summary > p { margin-bottom: 18px; }
  .practice-detail { padding: 0 22px 23px; }
  .practice-detail > p { font-size: 14px; }
  .practice-detail li { font-size: 13px; }
  .approach-section { padding: 75px 0; }
  .approach-heading h2 { font-size: 48px; }
  .approach-heading > p:last-child { font-size: 15px; }
  .approach-step { grid-template-columns: 30px 46px 1fr; gap: 12px; padding: 23px 0; }
  .step-icon { width: 43px; height: 43px; font-size: 16px; }
  .approach-step h3 { font-size: 20px; }
  .approach-step p { font-size: 14px; }
  .contact-band { padding: 57px 0; }
  .contact-band-inner h2 { font-size: 39px; }
  .contact-band-links { align-items: stretch; flex-direction: column; width: 100%; }
  .contact-band-links .button { width: 100%; }
  .contact-hero { min-height: 340px; }
  .page-hero-inner { padding-top: 61px; padding-bottom: 55px; }
  .page-hero h1 { font-size: 54px; }
  .page-hero-inner > p:not(.eyebrow) { font-size: 15px; }
  .contact-detail-card { gap: 12px; padding: 15px; }
  .contact-detail-card strong { font-size: 15px; }
  .booking-panel { padding: 25px 18px 23px; }
  .booking-panel-heading h2 { font-size: 42px; }
  .booking-panel-heading > p:last-child { font-size: 14px; }
  .availability-panel { padding: 15px 13px; }
  .availability-grid { grid-template-columns: 1fr; gap: 15px; }
  .availability-grid strong { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 15px; }
  .appointment-form { gap: 15px; }
  .appointment-form input:not([type="checkbox"]), .appointment-form textarea, .appointment-form select { font-size: 16px; }
  .contact-bottom-band > div { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-top: 19px; padding-bottom: 19px; }
  .footer-main { grid-template-columns: 1fr; gap: 18px; padding-top: 29px; padding-bottom: 26px; }
  .footer-brand img { max-width: 245px; }
  .footer-tagline br { display: none; }
  .footer-links { grid-column: auto; gap: 12px 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-top: 14px; padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Privacy notice page */
.privacy-content { max-width: 880px; }
.privacy-content h1 { margin: 0 0 24px; color: var(--ink); font-family: var(--serif); font-size: clamp(48px, 6vw, 68px); line-height: 1.1; }
.privacy-content h1 em { color: var(--red); font-weight: 500; }
.privacy-content h2 { margin: 36px 0 11px; color: var(--ink); font-family: var(--serif); font-size: 26px; }
.privacy-content p { color: #494949; font-size: 16px; line-height: 1.9; }
.privacy-content .privacy-lead { color: #262626; font-family: var(--serif); font-size: 22px; line-height: 1.65; }
.privacy-content a { color: var(--red); font-weight: 800; text-decoration: underline; }
.privacy-content .privacy-updated { margin-top: 45px; color: #666; font-size: 12px; }


/* Multi-page information architecture and SEO content pages */
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.article-section { padding: 82px 0 110px; background: var(--paper); }
.article-layout { display:grid; grid-template-columns: 250px minmax(0, 1fr); align-items:start; gap: clamp(35px, 5vw, 76px); }
.article-sidebar { position:sticky; top:125px; }
.toc-card { padding:25px 23px; border:1px solid var(--line); background:#fff; box-shadow:0 8px 25px rgba(0,0,0,.035); }
.toc-card > strong { display:block; margin-bottom:14px; color:var(--ink); font-family:var(--serif); font-size:20px; }
.toc-card nav { display:flex; flex-direction:column; gap:0; }
.toc-card nav a { padding:9px 0; border-top:1px solid #eee9e5; color:#3b3b3b; font-size:12px; font-weight:700; line-height:1.5; transition:color .2s ease, padding .2s ease; }
.toc-card nav a:hover { padding-left:5px; color:var(--red); }
.sidebar-note { display:flex; gap:12px; margin-top:16px; padding:17px; background:#f0e9e6; color:var(--red); }
.sidebar-note p { margin:0; color:#555; font-size:12px; line-height:1.7; }
.article-content { min-width:0; max-width:850px; color:#343434; font-size:16px; line-height:1.9; }
.article-content p { margin:0 0 18px; }
.article-lead { margin:0 0 40px !important; color:#252525; font-size:20px; font-weight:600; line-height:1.85; }
.article-block { scroll-margin-top:120px; margin:0 0 46px; }
.article-block h2, .content-narrow h2 { margin:0 0 19px; color:var(--ink); font-family:var(--serif); font-size:clamp(29px,3vw,38px); font-weight:600; letter-spacing:-.025em; line-height:1.25; }
.article-block h3, .content-narrow h3 { margin:24px 0 10px; color:var(--ink); font-family:var(--serif); font-size:24px; }
.article-content a:not(.resource-card):not(.related-card), .content-narrow a:not(.resource-card):not(.related-card) { color:#850000; font-weight:800; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.article-content a:hover, .content-narrow a:hover { color:#bd0000; }
.article-content ul, .content-narrow ul { margin:15px 0 22px; padding-left:23px; }
.article-content li, .content-narrow li { margin:8px 0; padding-left:4px; }
.resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:21px; }
.resource-card { display:flex; min-height:65px; align-items:center; justify-content:space-between; gap:15px; padding:16px 18px; border:1px solid #e3dcd7; color:#202020; background:#fff; font-size:13px; font-weight:800; line-height:1.5; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.resource-card i { flex:0 0 auto; color:var(--red); font-size:12px; }
.resource-card:hover { border-color:#c68e8e; box-shadow:var(--shadow-card); transform:translateY(-3px); }
.faq-block { margin-top:55px; }
.faq-list { border-top:1px solid #ddd5d0; }
.faq-item { border-bottom:1px solid #ddd5d0; background:transparent; }
.faq-item summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 4px; color:var(--ink); font-size:16px; font-weight:800; cursor:pointer; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary i { color:var(--red); transition:transform .2s ease; }
.faq-item[open] summary i { transform:rotate(45deg); }
.faq-item > div { padding:0 36px 15px 4px; color:#505050; font-size:14px; line-height:1.8; animation:detail-in .25s ease both; }
.faq-item > div p { margin:0; }
.article-disclaimer { margin:34px 0 0; padding:20px 22px; border-left:3px solid var(--red); background:#f0ebe7; }
.article-disclaimer strong { display:block; margin-bottom:6px; color:var(--ink); font-size:14px; }
.article-disclaimer p { margin:0; color:#565656; font-size:13px; line-height:1.8; }
.related-section { background:#f6f3f0; }
.related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-top:24px; }
.related-card { display:flex; min-height:78px; align-items:center; justify-content:space-between; gap:14px; padding:18px 20px; border:1px solid #e1dad5; background:#fff; color:var(--ink); font-size:14px; font-weight:800; line-height:1.5; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.related-card i { color:var(--red); font-size:13px; }
.related-card:hover { border-color:#c18a8a; box-shadow:var(--shadow-card); transform:translateY(-3px); }
.related-all { margin:22px 0 0; }
.content-narrow { max-width:900px; }
.content-narrow > p { color:#3f3f3f; font-size:16px; line-height:1.9; margin:0 0 22px; }
.content-narrow > h2 { margin-top:49px; }
.profile-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; margin:25px 0 36px; border-top:1px solid var(--line); }
.profile-facts > div { display:flex; flex-direction:column; gap:4px; padding:18px 0; border-bottom:1px solid var(--line); }
.profile-facts small { color:var(--red); font-size:10px; font-weight:800; letter-spacing:.14em; }
.profile-facts strong { color:#202020; font-size:16px; overflow-wrap:anywhere; }
.profile-facts strong a { color:inherit; text-decoration:none !important; }
.directory-section { background:var(--paper); }
.directory-intro { max-width:720px; margin-bottom:34px; }
.directory-intro h2 { margin:0 0 14px; color:var(--ink); font-family:var(--serif); font-size:clamp(40px,4.5vw,58px); line-height:1.1; }
.directory-intro h2 em { color:var(--red); }
.directory-intro > p:last-child { color:#4a4a4a; font-size:16px; line-height:1.85; }
.directory-search { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:25px; }
.directory-search label { display:flex; width:min(530px,100%); min-height:55px; align-items:center; gap:12px; padding:0 17px; border:1px solid #d9d2ce; background:#fff; color:var(--red); }
.directory-search input { width:100%; min-width:0; border:0; outline:0; color:#181818; background:transparent; font-size:15px; font-weight:600; }
.directory-search input::placeholder { color:#777; }
.directory-search > span { color:#666; font-size:12px; font-weight:800; }
.directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.directory-card { min-height:290px; padding:27px 26px 24px; border:1px solid #e0d9d5; background:#fff; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.directory-card:hover { border-color:#bf8787; box-shadow:var(--shadow-card); transform:translateY(-5px); }
.directory-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; }
.directory-card h2 { margin:0 0 12px; color:var(--ink); font-family:var(--serif); font-size:23px; line-height:1.3; }
.directory-card p { min-height:78px; margin:0 0 18px; color:#505050; font-size:14px; line-height:1.8; }
.empty-search { padding:20px; background:#fff; border:1px solid var(--line); color:#555; }
.contact-side-card { padding:33px; border:1px solid var(--line); background:#fff; }
.contact-side-card h2 { margin:0 0 14px; color:var(--ink); font-family:var(--serif); font-size:clamp(38px,4vw,50px); line-height:1.12; }
.contact-side-card h2 em { color:var(--red); }
.contact-side-card > p:not(.eyebrow) { margin:0 0 19px; color:#555; font-size:15px; line-height:1.8; }
.contact-side-card .resource-card { margin-top:10px; }
.appointment-single { display:grid; grid-template-columns:.72fr 1.28fr; align-items:start; gap:clamp(35px,5vw,75px); }
.appointment-info { position:sticky; top:125px; }
.appointment-info h2 { margin:0 0 18px; color:var(--ink); font-family:var(--serif); font-size:clamp(40px,4.2vw,56px); line-height:1.13; }
.appointment-info h2 em { color:var(--red); }
.appointment-info > p:not(.eyebrow) { color:#4b4b4b; line-height:1.85; }
.appointment-single .booking-panel { max-width:100%; }
.approach-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.approach-detail-card { position:relative; min-height:340px; padding:32px; border:1px solid #e3dcd7; background:#fff; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.approach-detail-card:hover { border-color:#c79696; box-shadow:var(--shadow-card); transform:translateY(-5px); }
.approach-detail-card > .step-no { display:inline-flex; width:38px; height:38px; align-items:center; justify-content:center; margin-bottom:20px; border:1px solid #ead7d7; color:var(--red); font-family:var(--serif); font-size:15px; }
.approach-detail-card > i { float:right; color:var(--red); font-size:23px; }
.approach-detail-card h2 { margin:0 0 13px; color:var(--ink); font-family:var(--serif); font-size:26px; line-height:1.25; }
.approach-detail-card p { margin:0 0 15px; color:#4d4d4d; font-size:14px; line-height:1.8; }
.approach-detail-card ul { margin:0; padding-left:18px; color:#555; font-size:13px; line-height:1.7; }
.approach-detail-card li { margin:5px 0; }
@media (max-width:1100px) {
  .brand-image { max-width:235px; }
  .primary-nav { gap:12px; font-size:12px; }
  .nav-cta { min-height:43px; padding:0 11px; font-size:11px; }
}
@media (max-width:900px) {
  .article-layout { grid-template-columns:1fr; }
  .article-sidebar { position:relative; top:auto; }
  .toc-card nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:18px; }
  .appointment-single { grid-template-columns:1fr; }
  .appointment-info { position:relative; top:auto; }
  .directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:820px) {
  .primary-nav { gap:0; }
  .primary-nav > a:not(.nav-cta) { padding:14px 0; font-size:16px; }
  .primary-nav .nav-cta { width:100%; justify-content:center; margin-top:12px; font-size:14px; }
  .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .article-section { padding:58px 0 75px; }
  .article-content { font-size:15px; }
  .article-lead { font-size:17px; }
  .resource-grid, .directory-grid, .approach-detail-grid, .related-grid, .profile-facts { grid-template-columns:1fr; }
  .directory-search { align-items:flex-start; flex-direction:column; }
  .directory-search label { width:100%; }
  .directory-card { min-height:0; }
  .directory-card p { min-height:0; }
  .approach-detail-card { min-height:0; padding:25px; }
  .contact-side-card { padding:25px; }
  .toc-card nav { grid-template-columns:1fr; }
  .faq-item summary { font-size:14px; }
}
@media (prefers-reduced-motion: reduce) {
  .directory-card,.related-card,.approach-detail-card,.resource-card { transition:none; }
}


/* Official public-reference links */
.official-reference-section { background: #f8f7f5; }
.official-reference-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #dedbd7; margin-top:34px; }
.official-reference-card { min-height:145px; position:relative; display:flex; flex-direction:column; gap:8px; padding:24px; color:var(--ink); border-right:1px solid #dedbd7; transition:background .25s ease, transform .25s ease; }
.official-reference-card:last-child { border-right:0; }
.official-reference-card:hover { background:#fff; transform:translateY(-3px); }
.official-reference-card > span { color:var(--red); font-size:11px; letter-spacing:.14em; }
.official-reference-card strong { font-family:var(--serif); font-size:20px; font-weight:600; }
.official-reference-card small { color:#555; font-size:13px; }
.official-reference-card > i { position:absolute; right:22px; top:24px; color:var(--red); font-size:13px; }
.official-reference-inline { margin-top:28px; padding:17px 20px; border-left:3px solid var(--red); background:#f8f7f5; }
.official-reference-inline p { margin:0; color:#4d4d4d; font-size:14px; line-height:1.8; }
.official-reference-inline a { color:var(--red); font-weight:800; text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 760px) { .official-reference-grid { grid-template-columns:1fr; } .official-reference-card { min-height:unset; border-right:0; border-bottom:1px solid #dedbd7; } .official-reference-card:last-child { border-bottom:0; } }
.footer-official-resources { display:flex; align-items:center; flex-wrap:wrap; gap:12px 22px; padding:17px 0; border-top:1px solid rgba(255,255,255,.13); border-bottom:1px solid rgba(255,255,255,.13); }
.footer-resource-label { color:#c9c3bd; font-size:10px; font-weight:800; letter-spacing:.16em; }
.footer-official-resources a { color:#f4f0eb; font-size:12px; font-weight:700; transition:color .2s ease; }
.footer-official-resources a:hover { color:#e4a6a6; }
@media (max-width:760px) { .footer-official-resources { align-items:flex-start; flex-direction:column; gap:9px; } }


/* V4 — compact navigation, legal insights and cross-fading hero slider */
.topbar-inner { min-height: 31px; }
.nav-wrap { min-height: 72px; gap: 24px; }
.brand-image { max-width: 305px; max-height: 58px; }
.primary-nav { gap: clamp(14px, 1.8vw, 24px); font-size: 13px; }
.primary-nav > a:not(.nav-cta) { padding: 9px 0; }
.nav-cta { min-height: 42px; padding: 0 16px; }
.hero-slider { min-height: 585px; isolation: isolate; }
.hero-slider .hero-photo { position:absolute; inset:0; animation:none; opacity:0; transform:scale(1.045); transition:opacity 1.05s ease, transform 7s ease; background-position:center 44%; background-size:cover; background-repeat:no-repeat; }
.hero-slider .hero-photo.is-active { opacity:.62; transform:scale(1); }
.hero-slider .hero-shade { z-index:0; background:linear-gradient(90deg,rgba(0,0,0,.93) 0%,rgba(0,0,0,.82) 45%,rgba(0,0,0,.36) 100%),linear-gradient(0deg,rgba(0,0,0,.55),transparent 62%); }
.hero-slider .hero-content { z-index:2; padding-top:82px; padding-bottom:116px; transition:opacity .28s ease, transform .28s ease; }
.hero-slider .hero-content.is-changing { opacity:0; transform:translateY(12px); }
.hero-slider h1 { max-width:880px; }
.hero-slider-controls { position:absolute; z-index:3; left:max(32px,calc((100vw - var(--container))/2)); bottom:34px; display:flex; align-items:center; gap:15px; }
.hero-arrow { display:grid; width:38px; height:38px; place-items:center; border:1px solid rgba(255,255,255,.55); color:#fff; background:rgba(0,0,0,.15); font-size:24px; line-height:1; cursor:pointer; transition:background .2s ease,border-color .2s ease; }
.hero-arrow:hover { background:var(--red); border-color:var(--red); }
.hero-dots { display:flex; align-items:center; gap:8px; }
.hero-dot { width:8px; height:8px; padding:0; border:0; border-radius:20px; background:rgba(255,255,255,.5); cursor:pointer; transition:width .25s ease,background .25s ease; }
.hero-dot.active { width:27px; background:#e0a0a0; }
.hero-slider .hero-index { right:max(32px,calc((100vw - var(--container))/2)); bottom:38px; }
.insights-preview { background:#f7f6f4; }
.insights-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:35px; }
.insight-card { display:flex; min-height:250px; flex-direction:column; padding:28px; color:var(--ink); background:#fff; border:1px solid #e5e0dc; transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease; }
.insight-card:hover { transform:translateY(-5px); border-color:#c99b9b; box-shadow:0 18px 40px rgba(0,0,0,.08); }
.insight-number { color:var(--red); font-size:10px; font-weight:800; letter-spacing:.13em; }
.insight-card h3 { margin:19px 0 11px; font-family:var(--serif); font-size:25px; line-height:1.2; }
.insight-card p { margin:0 0 22px; color:#55504d; font-size:14px; line-height:1.8; }
.insight-read { margin-top:auto; display:flex; align-items:center; justify-content:space-between; color:var(--red); font-size:12px; font-weight:800; }
.insights-hub { padding-top:82px; }
.hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.insights-cross-link { background:#faf9f7; }
.article-hero .page-hero-inner { padding-top:76px; padding-bottom:75px; }
.article-content a { color:#8b0000; text-decoration:underline; text-decoration-color:rgba(139,0,0,.35); text-underline-offset:3px; font-weight:700; }
.article-content a:hover { text-decoration-color:#8b0000; }
.article-content .resource-grid a { text-decoration:none; }
.footer-official-resources { row-gap:10px; }
@media (max-width:1100px) {
 .nav-wrap { min-height:70px; gap:18px; }
 .brand-image { max-width:255px; max-height:54px; }
 .primary-nav { gap:12px; font-size:12px; }
 .nav-cta { min-height:40px; padding:0 12px; font-size:11px; }
}
@media (max-width:820px) {
 .topbar-inner { min-height:32px; }
 .nav-wrap { min-height:70px; }
 .brand-image { max-width:250px; max-height:53px; }
 .primary-nav { top:102px; }
 .hero-slider { min-height:610px; }
 .hero-slider .hero-content { padding-top:72px; padding-bottom:140px; }
 .hero-slider-controls { left:22px; bottom:30px; }
 .hero-slider .hero-index { right:22px; bottom:34px; }
 .insights-card-grid,.hub-grid { grid-template-columns:1fr; }
}
@media (max-width:560px) {
 .topbar-inner { min-height:34px; }
 .nav-wrap { min-height:66px; }
 .brand-image { max-width:220px; max-height:48px; }
 .primary-nav { top:100px; }
 .hero-slider { min-height:650px; }
 .hero-slider .hero-content { padding-top:66px; padding-bottom:145px; }
 .hero-slider h1 { font-size:clamp(46px,11.8vw,62px); }
 .hero-slider-controls { left:17px; bottom:26px; }
 .hero-slider .hero-index { right:17px; bottom:30px; }
 .insight-card { min-height:220px; padding:24px; }
}
@media (prefers-reduced-motion:reduce) {
 .hero-slider .hero-photo,.hero-slider .hero-content,.insight-card { transition:none !important; }
}


/* V5 — tighter desktop masthead */
@media (min-width: 821px) {
  .topbar-inner { min-height: 25px; }
  .nav-wrap { min-height: 62px; gap: 18px; }
  .brand-image { max-height: 49px; max-width: 288px; }
  .primary-nav { gap: clamp(12px, 1.55vw, 21px); font-size: 12.5px; }
  .primary-nav > a:not(.nav-cta) { padding: 6px 0; }
  .nav-cta { min-height: 37px; padding: 0 14px; }
}

/* V1.1 — reliable mobile drawer, collision-free hero controls, and native WordPress content templates */
@media (max-width: 820px) {
  html { scroll-padding-top: 86px; }
  body.menu-open { overflow: hidden; }
  .site-header { z-index: 1000; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-wrap { position: relative; }
  .menu-toggle { position: relative; z-index: 1003; display: grid; width: 48px; height: 48px; flex: 0 0 48px; align-content: center; justify-content: center; padding: 0; border: 1px solid #ded8d4; background: #fff; }
  .menu-toggle span { width: 21px; height: 2px; margin: 3px auto; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav {
    position: absolute !important;
    top: 100% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: 1002;
    display: flex !important;
    width: 100vw;
    max-height: calc(100vh - 105px);
    max-height: calc(100dvh - 105px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px max(22px, calc((100vw - 620px) / 2)) 24px;
    border-top: 1px solid #eee9e5;
    background: #fff;
    box-shadow: 0 22px 38px rgba(0,0,0,.17);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -9px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .primary-nav > a:not(.nav-cta) {
    display: flex;
    min-height: 51px;
    align-items: center;
    padding: 13px 5px;
    border-bottom: 1px solid #ece8e4;
    color: #202020;
    font-size: 15px;
    line-height: 1.35;
  }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .primary-nav .nav-cta {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 0;
    padding: 0 17px;
    font-size: 14px;
  }
  .primary-nav a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #c77b7b; outline-offset: 3px; }
  .hero-slider { position: relative; min-height: 650px; padding-bottom: 82px; }
  .hero-slider .hero-content { padding-top: 63px; padding-bottom: 95px; }
  .hero-slider-controls { left: 17px; bottom: 20px; gap: 10px; }
  .hero-slider .hero-index { display: none; }
  .hero-slider .hero-scroll { display: none !important; }
}

@media (max-width: 560px) {
  .topbar-inner { min-height: 34px; }
  .nav-wrap { min-height: 68px; gap: 12px; }
  .brand-image { width: auto; max-width: min(220px, calc(100vw - 105px)); max-height: 45px; }
  .menu-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .primary-nav { max-height: calc(100vh - 102px); max-height: calc(100dvh - 102px); padding-right: 22px; padding-left: 22px; }
  .hero-slider { min-height: 655px; }
  .hero-slider .hero-content { padding-top: 57px; padding-bottom: 100px; }
  .hero-slider h1 { font-size: clamp(43px, 11.2vw, 59px); line-height: 1.04; }
  .hero-slider .hero-copy { font-size: 15px; line-height: 1.75; }
  .hero-slider .hero-actions { max-width: 100%; }
  .hero-slider .hero-actions .button { width: 100%; }
  .hero-slider-controls { left: 16px; bottom: 18px; gap: 9px; }
  .hero-slider-controls .hero-arrow { width: 36px; height: 36px; flex: 0 0 36px; }
  .hero-slider-controls .hero-dots { gap: 7px; }
  .hero-slider-controls .hero-dot { width: 7px; height: 7px; }
  .hero-slider-controls .hero-dot.active { width: 23px; }
}

/* WordPress native content: pages, posts, categories, archives and search results */
.standard-page-hero { color: #fff; background: linear-gradient(110deg, #101010 0%, #292020 100%); }
.standard-page-hero-inner { padding-top: 66px; padding-bottom: 58px; }
.standard-page-hero h1 { max-width: 980px; margin: 0 0 12px; color: #fff; font-family: var(--serif); font-size: clamp(42px, 5.4vw, 68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.standard-page-hero-inner > p:not(.eyebrow) { max-width: 760px; margin: 13px 0 0; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.8; }
.standard-content-wrap { width: min(100% - 48px, 1040px); margin: 0 auto; padding-top: 66px; padding-bottom: 88px; }
.standard-page-content { max-width: 880px; margin: 0 auto; }
.entry-content { color: #393939; font-family: var(--sans); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content p { margin-bottom: 1.15em; color: #454545; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin-top: 1.65em; margin-bottom: .55em; color: #171717; font-family: var(--serif); font-weight: 600; line-height: 1.25; }
.entry-content h2 { font-size: clamp(30px, 4vw, 42px); }
.entry-content h3 { font-size: clamp(24px, 3vw, 31px); }
.entry-content h4 { font-size: 23px; }
.entry-content a { color: #850000; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(133,0,0,.35); text-underline-offset: 3px; }
.entry-content a:hover { color: #b00000; text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { margin: 1em 0 1.4em; padding-left: 1.5em; }
.entry-content li { margin: .45em 0; padding-left: .2em; }
.entry-content blockquote { margin: 1.7em 0; padding: 17px 24px; border-left: 3px solid var(--red); background: #f8f5f3; color: #38312f; font-family: var(--serif); font-size: 21px; line-height: 1.55; }
.entry-content blockquote p { margin: 0; color: inherit; }
.entry-content figure { margin: 1.6em 0; }
.entry-content img { height: auto; border-radius: 2px; }
.entry-content .wp-block-image img, .entry-content .wp-block-gallery img { border-radius: 2px; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 9px; color: #69615d; font-size: 12px; line-height: 1.6; text-align: center; }
.entry-content hr { margin: 2em 0; border: 0; border-top: 1px solid #e5dfdb; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid #e3ddd8; text-align: left; vertical-align: top; }
.entry-content th { color: #171717; background: #f6f3f0; font-weight: 800; }
.entry-content pre, .entry-content code { max-width: 100%; overflow-x: auto; }
.entry-content pre { padding: 19px; background: #f4f2f0; font-size: 13px; }
.entry-content .wp-block-button__link { display: inline-flex; min-height: 48px; align-items: center; padding: 10px 23px; border-radius: 0; color: #fff; background: var(--red); font-size: 14px; font-weight: 800; text-decoration: none; }
.entry-content .wp-block-file__button { color: #fff; background: var(--red); }
.entry-content .wp-block-separator { border-color: #e5dfdb; }
.entry-content .wp-block-cover, .entry-content .wp-block-media-text { margin-top: 2em; margin-bottom: 2em; }
.entry-content .alignwide { width: min(1100px, calc(100vw - 48px)); max-width: 1100px; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); }
.standard-post-meta { display: flex; flex-wrap: wrap; gap: 9px; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; }
.standard-post-meta a { color: #f0c1c1; text-decoration: underline; }
.standard-post-layout { max-width: 1040px; }
.standard-featured-image { margin: 0 auto 35px; }
.standard-featured-image img { width: 100%; max-height: 560px; object-fit: cover; }
.standard-post-footer { margin-top: 42px; padding-top: 25px; border-top: 1px solid #e5dfdb; }
.standard-post-categories { color: #635b57; font-size: 13px; }
.post-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 25px; }
.post-navigation a { color: var(--red); font-size: 13px; font-weight: 800; }
.msun-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.msun-content-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e5dfdb; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.msun-content-card:hover { transform: translateY(-4px); border-color: #d4b5b5; box-shadow: 0 16px 38px rgba(0,0,0,.08); }
.msun-content-card-image { display: block; overflow: hidden; aspect-ratio: 16/9; background: #eee9e5; }
.msun-content-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.msun-content-card:hover .msun-content-card-image img { transform: scale(1.035); }
.msun-content-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.msun-content-card-meta { margin: 0 0 12px; color: #716963; font-size: 11px; font-weight: 700; }
.msun-content-card-meta a { color: var(--red); }
.msun-content-card h2 { margin: 0 0 12px; color: #171717; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 29px); line-height: 1.25; }
.msun-content-card h2 a { color: inherit; text-decoration: none; }
.msun-content-card-excerpt { color: #55504d; font-size: 14px; line-height: 1.75; }
.msun-content-card-excerpt p { margin: 0; }
.msun-content-card-link { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--red); font-size: 12px; font-weight: 800; }
.msun-pagination { margin-top: 42px; }
.msun-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 9px; }
.msun-pagination .page-numbers { display: inline-flex; min-width: 39px; min-height: 39px; align-items: center; justify-content: center; padding: 5px 11px; border: 1px solid #e3ddd8; color: #282321; font-size: 13px; font-weight: 700; }
.msun-pagination .page-numbers.current, .msun-pagination .page-numbers:hover { color: #fff; border-color: var(--red); background: var(--red); }
.archive-description { max-width: 760px; color: rgba(255,255,255,.86); }
.archive-description p { margin: 12px 0 0; }
.search-form { display: flex; max-width: 560px; gap: 8px; margin-top: 20px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 46px; padding: 9px 13px; border: 1px solid #d8d0ca; background: #fff; font: inherit; }
.search-form .search-submit { min-height: 46px; padding: 0 20px; border: 0; color: #fff; background: var(--red); font-weight: 800; cursor: pointer; }
.content-none { min-height: 300px; }
.msun-comments { max-width: 880px; margin: 55px auto 0; padding-top: 35px; border-top: 1px solid #e5dfdb; }
.msun-comments h2 { font-family: var(--serif); font-size: 28px; }
.msun-comments .comment-list { padding-left: 20px; }
.msun-comments .comment-body { margin: 20px 0; padding: 18px; background: #f8f6f4; }
.msun-comments .comment-form input:not([type="submit"]), .msun-comments .comment-form textarea { width: 100%; max-width: 560px; padding: 12px; border: 1px solid #ded8d2; background: #fff; }
.msun-comments .comment-form input[type="submit"] { min-height: 45px; padding: 0 20px; border: 0; color: #fff; background: var(--red); font-weight: 800; }
@media (max-width: 700px) {
  .standard-content-wrap { width: calc(100% - 38px); padding-top: 43px; padding-bottom: 62px; }
  .standard-page-hero-inner { padding-top: 47px; padding-bottom: 43px; }
  .standard-page-hero h1 { font-size: clamp(38px, 9vw, 52px); }
  .entry-content { font-size: 15px; line-height: 1.8; }
  .entry-content h2 { font-size: 30px; }
  .entry-content h3 { font-size: 25px; }
  .entry-content .alignwide { width: calc(100vw - 38px); }
  .entry-content .alignfull { margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); }
  .msun-post-grid { grid-template-columns: 1fr; gap: 16px; }
  .msun-content-card-body { padding: 21px; }
  .post-navigation { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-nav, .menu-toggle span, .msun-content-card, .msun-content-card-image img { transition: none !important; }
}

/* WordPress menu-location support: same appearance for admin-managed menus and fallback links */
.primary-nav-links { display:flex; align-items:center; gap:clamp(12px, 1.55vw, 21px); margin:0; padding:0; list-style:none; }
.primary-nav-links > li { position:relative; margin:0; padding:0; list-style:none; }
.primary-nav-links > a, .primary-nav-links > li > a { position:relative; display:inline-flex; align-items:center; padding:6px 0; color:#303030; font-size:12.5px; font-weight:700; white-space:nowrap; }
.primary-nav-links > a::after, .primary-nav-links > li > a::after { position:absolute; right:0; bottom:0; left:0; height:2px; content:""; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.primary-nav-links > a:hover::after, .primary-nav-links > a[aria-current="page"]::after, .primary-nav-links > li.current-menu-item > a::after, .primary-nav-links > li.current_page_item > a::after { transform:scaleX(1); }
@media (max-width:1100px) {
  .primary-nav-links { gap:12px; }
  .primary-nav-links > a, .primary-nav-links > li > a { font-size:12px; }
}
@media (max-width:820px) {
  .primary-nav-links { display:flex; width:100%; flex-direction:column; align-items:stretch; gap:0; }
  .primary-nav-links > li { display:block; width:100%; border-bottom:1px solid #ece8e4; }
  .primary-nav-links > a, .primary-nav-links > li > a { display:flex; width:100%; min-height:51px; align-items:center; padding:13px 5px; border-bottom:1px solid #ece8e4; color:#202020; font-size:15px; line-height:1.35; white-space:normal; }
  .primary-nav-links > a::after, .primary-nav-links > li > a::after { display:none; }
  .primary-nav-links > li > a { border-bottom:0; }
}
