/* ==========================================================================
   SMC Advocates — main stylesheet
   Navy · Gold · Ivory  |  Cormorant Garamond + Mulish
   ========================================================================== */

:root {
	--smc-primary: #0F2237;
	--smc-accent: #B38B4D;
	--smc-ivory: #F7F3EC;
	--smc-deep: color-mix(in srgb, var(--smc-primary) 80%, #000);
	--smc-gold-text: color-mix(in srgb, var(--smc-accent) 78%, #000);
	--smc-gold-soft: color-mix(in srgb, var(--smc-accent) 14%, #fff);
	--smc-ink: #1B2533;
	--smc-muted: #5D6675;
	--smc-line: #E7E1D6;

	--smc-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--smc-sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--smc-wrap: 1240px;
	--smc-gutter: clamp(16px, 4vw, 32px);
	--smc-r: 4px;
	--smc-shadow: 0 1px 2px rgba(15, 34, 55, .04), 0 14px 34px -16px rgba(15, 34, 55, .22);
	--smc-shadow-lg: 0 30px 60px -24px rgba(8, 18, 30, .45);
	--smc-ease: cubic-bezier(.2, .7, .2, 1);
	--smc-section: clamp(76px, 9vw, 124px);
	--smc-header: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--smc-header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--smc-sans); font-size: 16.5px; line-height: 1.75; color: var(--smc-ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--smc-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--smc-primary); }
h1, h2, h3, h4, h5, h6, dt, .smc-hero__dot, .smc-pcard__num, .smc-about__badge strong, .smc-empty__big { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--smc-accent); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--smc-accent); outline-offset: 3px; }
::selection { background: var(--smc-accent); color: #fff; }

.smc-wrap { width: 100%; max-width: var(--smc-wrap); margin: 0 auto; padding: 0 var(--smc-gutter); }
.screen-reader-text, .smc-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.smc-skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--smc-accent); color: #fff; padding: 10px 16px; font-weight: 700; }
.smc-skip:focus { top: 12px; }
.smc-icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Buttons ---------- */
.smc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 14px 28px; border: 1px solid transparent; border-radius: var(--smc-r);
	font-family: var(--smc-sans); font-weight: 700; font-size: 13.5px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase;
	cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.smc-btn .smc-icon { width: 17px; height: 17px; transition: transform .25s var(--smc-ease); }
.smc-btn:hover .smc-icon--arrow { transform: translateX(4px); }
.smc-btn--lg { padding: 17px 34px; font-size: 14px; }
.smc-btn--block { width: 100%; }
.smc-btn--gold { background: var(--smc-accent); color: #fff; }
.smc-btn--gold:hover { background: color-mix(in srgb, var(--smc-accent) 85%, #000); color: #fff; box-shadow: 0 12px 26px -12px var(--smc-accent); }
.smc-btn--navy { background: var(--smc-primary); color: #fff; }
.smc-btn--navy:hover { background: var(--smc-accent); color: #fff; }
.smc-btn--outline { border-color: var(--smc-primary); color: var(--smc-primary); }
.smc-btn--outline:hover { background: var(--smc-primary); color: #fff; }
.smc-btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.smc-btn--outline-light:hover { background: #fff; color: var(--smc-primary); border-color: #fff; }

.smc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--smc-gold-text); }
.smc-link .smc-icon { width: 16px; height: 16px; transition: transform .25s var(--smc-ease); }
a:hover > .smc-link .smc-icon, .smc-link:hover .smc-icon, .smc-pcard:hover .smc-link .smc-icon { transform: translateX(4px); }
.smc-link--sm { font-size: 11.5px; }

/* Labels & heads */
.smc-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--smc-gold-text); }
.smc-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--smc-accent); }
.smc-eyebrow--light { color: var(--smc-accent); }
.smc-section { padding: var(--smc-section) 0; position: relative; }
.smc-head { max-width: 760px; margin: 0 0 clamp(42px, 5vw, 64px); }
.smc-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.smc-head--center .smc-eyebrow { justify-content: center; }
.smc-head--center .smc-eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--smc-accent); }
.smc-title { font-size: clamp(36px, 4.8vw, 58px); margin-bottom: 16px; }
.smc-lead { font-size: 18px; color: var(--smc-muted); margin: 0; }

.smc-bg--white { background: #fff; }
.smc-bg--ivory { background: var(--smc-ivory); }
.smc-bg--navy { background: var(--smc-primary); color: rgba(255, 255, 255, .78); }
.smc-bg--navy h2, .smc-bg--navy h3, .smc-bg--navy .smc-title { color: #fff; }
.smc-bg--navy .smc-lead { color: rgba(255, 255, 255, .7); }

/* ---------- Top bar ---------- */
.smc-topbar { background: var(--smc-deep); color: rgba(255, 255, 255, .72); font-size: 13px; }
.smc-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.smc-topbar__list li { display: flex; align-items: center; gap: 8px; list-style: none; }
.smc-topbar__list { margin: 0; padding: 0; flex: 1; min-width: 0; }
.smc-topbar__list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smc-topbar__right { flex: none; }
.smc-topbar .smc-icon { color: var(--smc-accent); width: 15px; height: 15px; }
.smc-topbar__right { display: flex; align-items: center; gap: 22px; }
.smc-topbar__link { display: inline-flex; align-items: center; gap: 8px; }
.smc-topbar__link:hover { color: #fff; }
.smc-topbar__social { display: flex; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .15); }
.smc-social { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; transition: all .2s; }
.smc-social:hover { background: var(--smc-accent); border-color: var(--smc-accent); }
.smc-social .smc-icon { width: 14px; height: 14px; color: currentColor; }

/* ---------- Header ---------- */
.smc-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--smc-line); transition: box-shadow .3s; }
.smc-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(8, 18, 30, .35); }
.admin-bar .smc-header { top: 32px; }
.smc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--smc-header); }
.smc-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.smc-logo__img { height: 62px; width: auto; max-width: 240px; object-fit: contain; }
.smc-logo__mark { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid var(--smc-accent); color: var(--smc-accent); }
.smc-logo__mark .smc-icon { width: 26px; height: 26px; }
.smc-logo__words { display: flex; flex-direction: column; line-height: 1; }
.smc-logo__name { font-family: var(--smc-serif); font-weight: 700; font-size: 30px; color: var(--smc-primary); letter-spacing: .02em; }
.smc-logo__sub { font-size: 11px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--smc-gold-text); margin-top: 4px; }

.smc-nav { display: flex; align-items: center; gap: 16px; }
.smc-nav .menu { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.smc-nav .menu li { position: relative; list-style: none; }
.smc-nav .menu > li > a { display: block; padding: 12px 11px; white-space: nowrap; font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--smc-primary); position: relative; }
.smc-nav .menu > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 1.5px; background: var(--smc-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--smc-ease); }
.smc-nav .menu > li > a:hover::after, .smc-nav .menu > li.current-menu-item > a::after, .smc-nav .menu > li.is-current > a::after { transform: scaleX(1); }
.smc-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border-top: 2px solid var(--smc-accent); box-shadow: var(--smc-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 5; }
.smc-nav .sub-menu a { display: block; padding: 9px 20px; font-size: 14.5px; font-weight: 600; }
.smc-nav .sub-menu a:hover { color: var(--smc-gold-text); background: var(--smc-ivory); }
.smc-nav li:hover > .sub-menu, .smc-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.smc-burger { display: none; width: 48px; height: 48px; border: 1px solid var(--smc-line); background: #fff; color: var(--smc-primary); cursor: pointer; align-items: center; justify-content: center; border-radius: var(--smc-r); }
.smc-burger .smc-icon { width: 22px; height: 22px; }
.smc-burger__close { display: none !important; }

/* ---------- Hero slider ---------- */
.smc-hero { --hero-overlay: .7; position: relative; overflow: hidden; background: var(--smc-primary); color: #fff; min-height: min(86vh, 780px); display: flex; }
.smc-hero__slides { position: relative; flex: 1; display: grid; }
.smc-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--smc-ease), visibility 1s; }
.smc-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.smc-slide__bg { position: absolute; inset: 0; background: var(--slide-img) center / cover no-repeat; transform: scale(1.08); transition: transform 8s linear; }
.smc-slide.is-active .smc-slide__bg { transform: scale(1); }
.smc-slide__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--smc-deep) calc(var(--hero-overlay) * 100% + 15%), transparent) 0%, color-mix(in srgb, var(--smc-primary) calc(var(--hero-overlay) * 100%), transparent) 50%, color-mix(in srgb, var(--smc-primary) calc(var(--hero-overlay) * 55%), transparent) 100%),
		linear-gradient(0deg, color-mix(in srgb, var(--smc-deep) 55%, transparent), transparent 35%);
}
.smc-slide__inner { position: relative; padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(150px, 16vw, 210px); }
.smc-slide__copy { max-width: 780px; }
.smc-slide__copy > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--smc-ease), transform .9s var(--smc-ease); }
.smc-slide.is-active .smc-slide__copy > * { opacity: 1; transform: none; }
.smc-slide.is-active .smc-slide__copy > :nth-child(2) { transition-delay: .12s; }
.smc-slide.is-active .smc-slide__copy > :nth-child(3) { transition-delay: .24s; }
.smc-slide.is-active .smc-slide__copy > :nth-child(4) { transition-delay: .36s; }
.smc-slide__title { color: #fff; font-size: clamp(46px, 7.2vw, 92px); line-height: 1; font-weight: 600; margin-bottom: 26px; }
.smc-slide__title em { color: var(--smc-accent); }
.smc-slide__text { font-size: clamp(17px, 1.6vw, 19.5px); color: rgba(255, 255, 255, .85); max-width: 620px; margin-bottom: 34px; }
.smc-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

.smc-hero__controls { position: absolute; left: 0; right: 0; bottom: clamp(118px, 12vw, 150px); z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.smc-hero__dots { display: flex; gap: 22px; }
.smc-hero__dot { background: none; border: 0; padding: 8px 0; cursor: pointer; color: rgba(255, 255, 255, .5); font-family: var(--smc-serif); font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.smc-hero__dot::after { content: ""; width: 0; height: 1px; background: var(--smc-accent); transition: width .5s var(--smc-ease); }
.smc-hero__dot.is-active { color: #fff; }
.smc-hero__dot.is-active::after { width: 46px; }
.smc-hero__arrows { display: flex; gap: 10px; }
.smc-hero__arrow { width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; transition: all .2s; }
.smc-hero__arrow:hover { background: var(--smc-accent); border-color: var(--smc-accent); }
.smc-hero__arrow .smc-icon { width: 20px; height: 20px; }

/* ---------- Offices (overlap) ---------- */
.smc-offices { position: relative; z-index: 4; }
.smc-hero + .smc-offices { margin-top: calc(-1 * clamp(80px, 9vw, 104px)); }
.smc-offices__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: var(--smc-shadow-lg); border-top: 3px solid var(--smc-accent); }
.smc-offices__grid--3 { grid-template-columns: repeat(3, 1fr); }
.smc-offices__grid--2 { grid-template-columns: repeat(2, 1fr); }
.smc-offices__grid--1 { grid-template-columns: 1fr; }
.smc-office { display: flex; gap: 16px; padding: 30px 26px; border-right: 1px solid var(--smc-line); transition: background .3s; }
.smc-office:last-child { border-right: 0; }
a.smc-office:hover { background: var(--smc-ivory); }
.smc-office__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--smc-accent); color: var(--smc-accent); flex: none; transition: background .3s, color .3s; }
a.smc-office:hover .smc-office__icon { background: var(--smc-accent); color: #fff; }
.smc-office__icon .smc-icon { width: 20px; height: 20px; }
.smc-office__name { display: block; font-family: var(--smc-serif); font-size: 23px; font-weight: 700; color: var(--smc-primary); line-height: 1.2; margin-bottom: 6px; }
.smc-office__addr { display: block; font-size: 14px; color: var(--smc-muted); line-height: 1.6; }

/* ---------- About ---------- */
.smc-about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(44px, 7vw, 100px); align-items: center; }
.smc-about__media { position: relative; padding: 0 0 40px 40px; }
.smc-about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 78%; border: 1px solid var(--smc-accent); }
.smc-about__frame { position: relative; aspect-ratio: 5 / 6; overflow: hidden; }
.smc-about__frame img { width: 100%; height: 100%; object-fit: cover; }
.smc-about__badge { position: absolute; right: -22px; bottom: 80px; background: var(--smc-primary); color: #fff; padding: 26px 30px; text-align: center; box-shadow: var(--smc-shadow-lg); border-bottom: 3px solid var(--smc-accent); }
.smc-about__badge strong { display: block; font-family: var(--smc-serif); font-size: 58px; line-height: 1; color: var(--smc-accent); font-weight: 700; }
.smc-about__badge span { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.smc-about .smc-head { margin-bottom: 26px; }
.smc-about__text { font-size: 18px; color: var(--smc-muted); }
.smc-figures { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 38px; border-top: 1px solid var(--smc-line); border-bottom: 1px solid var(--smc-line); }
.smc-figures div { padding: 22px 10px 20px 0; }
.smc-figures div + div { padding-left: 22px; border-left: 1px solid var(--smc-line); }
.smc-figures dt { font-family: var(--smc-serif); font-size: 46px; font-weight: 700; line-height: 1; color: var(--smc-primary); }
.smc-figures dd { margin: 6px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--smc-gold-text); }

/* ---------- Practice Areas ---------- */
.smc-practice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--smc-line); background: #fff; }
.smc-practice__grid--1 { grid-template-columns: 1fr; }
.smc-practice__grid--2 { grid-template-columns: repeat(2, 1fr); }
.smc-pcard { position: relative; padding: 50px 40px 44px; border-right: 1px solid var(--smc-line); border-bottom: 1px solid var(--smc-line); transition: background .4s, color .4s; overflow: hidden; }
.smc-practice__grid--3 .smc-pcard:nth-child(3n) { border-right: 0; }
.smc-pcard::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--smc-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--smc-ease); }
.smc-pcard:hover { background: var(--smc-primary); color: rgba(255, 255, 255, .78); }
.smc-pcard:hover::before { transform: scaleX(1); }
.smc-pcard__num { position: absolute; right: 30px; top: 26px; font-family: var(--smc-serif); font-size: 54px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--smc-accent) 55%, transparent); }
.smc-pcard__icon { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid var(--smc-accent); border-radius: 50%; color: var(--smc-accent); margin-bottom: 28px; transition: background .3s, color .3s; }
.smc-pcard:hover .smc-pcard__icon { background: var(--smc-accent); color: #fff; }
.smc-pcard__icon .smc-icon { width: 30px; height: 30px; }
.smc-pcard__title { font-size: 29px; margin-bottom: 12px; transition: color .3s; }
.smc-pcard__title a::after { content: ""; position: absolute; inset: 0; }
.smc-pcard:hover .smc-pcard__title { color: #fff; }
.smc-pcard__text { font-size: 15.5px; color: var(--smc-muted); margin-bottom: 20px; transition: color .3s; }
.smc-pcard:hover .smc-pcard__text { color: rgba(255, 255, 255, .72); }
.smc-pcard .smc-link { margin-top: 6px; }
.smc-pcard:hover .smc-link { color: var(--smc-accent); }

/* ---------- Other Services ---------- */
.smc-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.smc-scard { position: relative; display: block; overflow: hidden; background: var(--smc-primary); aspect-ratio: 4 / 3; color: #fff; }
.smc-scard__img { position: absolute; inset: 0; }
.smc-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--smc-ease), opacity .4s; }
.smc-scard:hover .smc-scard__img img { transform: scale(1.07); }
.smc-scard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 30, .05) 25%, color-mix(in srgb, var(--smc-deep) 92%, transparent) 100%); transition: background .4s; }
.smc-scard:hover .smc-scard__img::after { background: linear-gradient(180deg, color-mix(in srgb, var(--smc-primary) 55%, transparent) 0%, color-mix(in srgb, var(--smc-deep) 95%, transparent) 100%); }
.smc-scard__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 14px; padding: 26px 26px 24px; }
.smc-scard__icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; background: var(--smc-accent); color: #fff; }
.smc-scard__icon .smc-icon { width: 24px; height: 24px; }
.smc-scard__title { flex: 1; font-family: var(--smc-serif); font-size: 25px; font-weight: 600; line-height: 1.15; }
.smc-scard__arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); flex: none; transition: all .3s; }
.smc-scard:hover .smc-scard__arrow { background: #fff; color: var(--smc-primary); transform: rotate(-45deg); }
.smc-scard__arrow .smc-icon { width: 16px; height: 16px; }

/* ---------- Attorneys ---------- */
.smc-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; }
.smc-team--3 { grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.smc-team--3 .smc-person__photo { aspect-ratio: 4 / 4.4; }
.smc-person { background: #fff; display: flex; flex-direction: column; transition: box-shadow .35s, transform .35s var(--smc-ease); }
.smc-bg--white .smc-person { border: 1px solid var(--smc-line); }
.smc-person:hover { box-shadow: var(--smc-shadow-lg); transform: translateY(-4px); }
.smc-person__photo { position: relative; display: block; aspect-ratio: 5 / 6; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--smc-primary) 88%, #fff), var(--smc-deep)); }
.smc-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.25); transition: transform .8s var(--smc-ease), filter .5s; }
.smc-person:hover .smc-person__photo img { transform: scale(1.05); filter: none; }
.smc-person__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--smc-accent); transform: scaleX(0); transition: transform .5s var(--smc-ease); }
.smc-person:hover .smc-person__photo::after { transform: scaleX(1); }
.smc-person__mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--smc-serif); font-size: 72px; font-weight: 600; color: var(--smc-accent); letter-spacing: .06em; }
.smc-person__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.smc-person__name { font-size: 25px; margin-bottom: 8px; }
.smc-person__name a:hover { color: var(--smc-gold-text); }
.smc-person__role { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--smc-muted); }
.smc-person__role span { display: block; }
.smc-person__role span:first-child { color: var(--smc-gold-text); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
.smc-person .smc-link { margin-top: auto; }

/* ---------- Consultation ---------- */
.smc-consult { position: relative; isolation: isolate; padding: var(--smc-section) 0; color: rgba(255, 255, 255, .78); }
.smc-consult::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--consult-img) center / cover no-repeat; }
.smc-consult::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--smc-deep) 97%, transparent) 0%, color-mix(in srgb, var(--smc-primary) 93%, transparent) 55%, color-mix(in srgb, var(--smc-primary) 86%, transparent) 100%); }
.smc-consult .smc-title { color: #fff; }
.smc-consult .smc-eyebrow { color: var(--smc-accent); }
.smc-consult__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.smc-consult .smc-head { margin-bottom: 34px; }
.smc-consult__form { background: #fff; color: var(--smc-ink); padding: clamp(28px, 4vw, 48px); box-shadow: var(--smc-shadow-lg); border-top: 3px solid var(--smc-accent); }

.smc-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.smc-blocks > .smc-block:first-child { grid-column: 1 / -1; }
.smc-blocks > .smc-block:first-child > div { flex: 1; max-width: 420px; }
.smc-hours li span:first-child { white-space: nowrap; }
.smc-block { display: flex; gap: 16px; }
.smc-block__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--smc-accent) 70%, transparent); color: var(--smc-accent); flex: none; }
.smc-block__icon .smc-icon { width: 19px; height: 19px; }
.smc-block__title { font-family: var(--smc-sans); font-size: 12.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--smc-accent); margin: 2px 0 8px; }
.smc-block p { margin: 0; color: #fff; font-size: 15.5px; line-height: 1.65; }
.smc-block a:hover { color: var(--smc-accent); }
.smc-hours { margin: 0; padding: 0; list-style: none; font-size: 15px; color: #fff; }
.smc-hours li { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.smc-hours li:last-child { border-bottom: 0; }
.smc-hours li span:last-child { color: rgba(255, 255, 255, .78); white-space: nowrap; }

/* Forms */
.smc-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.smc-field { margin: 0; }
.smc-field--full { grid-column: 1 / -1; }
.smc-field label, .smc-form-plugin label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--smc-primary); margin-bottom: 8px; }
.smc-field input, .smc-field textarea,
.smc-form-plugin input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]), .smc-form-plugin textarea, .smc-form-plugin select,
.smc-entry .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]), .smc-entry .wpcf7 textarea,
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea, .search-form .search-field {
	width: 100%; padding: 14px 16px; border: 1px solid var(--smc-line); border-radius: var(--smc-r); background: var(--smc-ivory); font-size: 15.5px; color: var(--smc-ink);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.smc-field input:focus, .smc-field textarea:focus, .smc-form-plugin input:focus, .smc-form-plugin textarea:focus, .smc-entry .wpcf7 input:focus, .smc-entry .wpcf7 textarea:focus { outline: none; border-color: var(--smc-accent); background: #fff; box-shadow: 0 0 0 4px var(--smc-gold-soft); }
.smc-field textarea, .smc-form-plugin textarea { resize: vertical; min-height: 140px; max-height: 320px; }
.smc-form-plugin p { margin: 0 0 16px; }
.smc-form-plugin input[type=submit], .smc-entry .wpcf7 input[type=submit] { width: 100%; padding: 16px 28px; border: 0; border-radius: var(--smc-r); background: var(--smc-accent); color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.smc-form-plugin input[type=submit]:hover, .smc-entry .wpcf7 input[type=submit]:hover { background: var(--smc-primary); }
.smc-form-plugin .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: var(--smc-r); }
.smc-notice { display: flex; gap: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 15px; border-left: 3px solid; }
.smc-notice--ok { background: #EEF6EE; border-color: #3B7D4A; color: #1F5130; }
.smc-notice--err { background: #FBEEEC; border-color: #B03A2E; color: #7A2117; }
.smc-notice .smc-icon { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- News ---------- */
.smc-news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 5vw, 56px); }
.smc-news__head .smc-head { margin-bottom: 0; }
.smc-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.smc-post { background: #fff; display: flex; flex-direction: column; border: 1px solid var(--smc-line); transition: box-shadow .35s, transform .35s var(--smc-ease); }
.smc-post:hover { box-shadow: var(--smc-shadow-lg); transform: translateY(-4px); }
.smc-post__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--smc-primary); }
.smc-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--smc-ease); }
.smc-post:hover .smc-post__img img { transform: scale(1.06); }
.smc-post__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--smc-accent); }
.smc-post__ph .smc-icon { width: 54px; height: 54px; stroke-width: 1.2; }
.smc-post__cat { position: absolute; left: 18px; top: 18px; background: var(--smc-accent); color: #fff; padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.smc-post__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.smc-post__date { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--smc-muted); }
.smc-post__date .smc-icon { width: 15px; height: 15px; color: var(--smc-accent); }
.smc-post__title { font-size: 25px; line-height: 1.2; margin-bottom: 12px; }
.smc-post__title a:hover { color: var(--smc-gold-text); }
.smc-post__excerpt { font-size: 15px; color: var(--smc-muted); margin-bottom: 18px; }
.smc-post .smc-link { margin-top: auto; }

/* ---------- Footer ---------- */
.smc-footer { background: var(--smc-deep); color: rgba(255, 255, 255, .66); font-size: 15px; padding-top: clamp(64px, 7vw, 96px); border-top: 3px solid var(--smc-accent); }
.smc-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.4fr; gap: 46px; padding-bottom: 54px; }
.smc-footer .smc-logo--img { background: #fff; padding: 10px 14px; margin-bottom: 26px; }
.smc-footer .smc-logo--img .smc-logo__img { height: 54px; }
.smc-footer .smc-logo--text { margin-bottom: 26px; }
.smc-footer .smc-logo__name { color: #fff; }
.smc-footer__title { font-family: var(--smc-serif); font-size: 24px; font-weight: 600; color: #fff; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.smc-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 1px; background: var(--smc-accent); }
.smc-footer__about p { max-width: 380px; }
.smc-footer__social { display: flex; gap: 8px; margin-top: 20px; }
.smc-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.smc-footer__links li { list-style: none; }
.smc-footer__links a { transition: color .2s, padding .25s var(--smc-ease); }
.smc-footer__links a:hover { color: var(--smc-accent); padding-left: 6px; }
.smc-footer__contact { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.smc-footer__contact li { display: flex; gap: 14px; }
.smc-footer__contact .smc-icon { color: var(--smc-accent); width: 19px; height: 19px; margin-top: 3px; }
.smc-footer__contact small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--smc-accent); margin-bottom: 2px; }
.smc-footer__contact a { display: block; }
.smc-footer__contact a:hover { color: #fff; }
.smc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.smc-footer__bottom p { margin: 0; }
.smc-totop { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.smc-totop:hover { color: var(--smc-accent); }
.smc-totop .smc-icon { width: 15px; height: 15px; }
.smc-mobilebar { display: none; }

/* ---------- Inner pages ---------- */
.smc-banner { position: relative; isolation: isolate; padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 96px); color: #fff; background: var(--smc-primary); }
.smc-banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--banner-img) center / cover no-repeat; filter: grayscale(.3); }
.smc-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--smc-deep) 95%, transparent), color-mix(in srgb, var(--smc-primary) 80%, transparent)); }
.smc-banner__title { color: #fff; font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 18px; max-width: 900px; }
.smc-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.smc-crumbs a:hover { color: var(--smc-accent); }
.smc-crumbs [aria-current] { color: var(--smc-accent); }

.smc-layout { display: grid; grid-template-columns: 1fr; gap: 56px; padding-top: clamp(56px, 7vw, 90px); padding-bottom: clamp(56px, 7vw, 100px); }
.smc-layout--side { grid-template-columns: minmax(0, 1fr) 360px; }
.smc-entry { font-size: 17.5px; line-height: 1.8; min-width: 0; }
.smc-entry--wide { padding-top: clamp(56px, 7vw, 90px); padding-bottom: clamp(56px, 7vw, 100px); }
.smc-entry > *:first-child { margin-top: 0; }
.smc-entry h2 { font-size: clamp(30px, 3.4vw, 40px); margin-top: 1.4em; }
.smc-entry h3 { font-size: 28px; margin-top: 1.3em; }
.smc-entry h4 { font-size: 23px; }
.smc-entry h5 { font-family: var(--smc-sans); font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--smc-gold-text); margin: 1.4em 0 .4em; }
.smc-entry a { color: var(--smc-gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.smc-entry a:hover { color: var(--smc-primary); }
.smc-entry ul, .smc-entry ol { padding-left: 1.3em; }
.smc-entry li { margin-bottom: .4em; }
.smc-entry ul li::marker { color: var(--smc-accent); }
.smc-entry blockquote { margin: 1.6em 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--smc-accent); font-family: var(--smc-serif); font-size: 26px; font-style: italic; line-height: 1.45; color: var(--smc-primary); }
.smc-entry hr { border: 0; border-top: 1px solid var(--smc-line); margin: 2.2em 0; }
.smc-entry img { max-width: 100%; height: auto; }
.smc-entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.smc-entry th, .smc-entry td { padding: 12px 14px; border-bottom: 1px solid var(--smc-line); text-align: left; }
.smc-entry th { background: var(--smc-ivory); font-weight: 800; }
.smc-entry .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.smc-entry .alignright { float: right; margin: .4em 0 1em 1.6em; }
.smc-entry .aligncenter { margin-left: auto; margin-right: auto; }
.smc-entry .wp-caption-text, .smc-entry figcaption { font-size: 14px; color: var(--smc-muted); margin-top: 8px; }
.smc-entry__hero { margin: 0 0 32px; }
.smc-entry__hero img { width: 100%; }
.smc-entry::after { content: ""; display: table; clear: both; }

/* Galleries (classic + block) */
.smc-entry .gallery, .smc-entry .wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.8em 0; }
.smc-entry .gallery-columns-2, .smc-entry .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, 1fr); }
.smc-entry .gallery-columns-4, .smc-entry .wp-block-gallery.columns-4 { grid-template-columns: repeat(4, 1fr); }
.smc-entry .gallery br { display: none; }
.smc-entry .gallery-item, .smc-entry .wp-block-gallery .wp-block-image { margin: 0 !important; width: auto !important; max-width: none !important; }
.smc-entry .gallery-item a, .smc-entry .wp-block-gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.smc-entry .gallery-item img, .smc-entry .wp-block-gallery img { width: 100% !important; height: 100% !important; object-fit: cover; border: 0 !important; transition: transform .6s var(--smc-ease); }
.smc-entry .gallery-item a:hover img, .smc-entry .wp-block-gallery a:hover img { transform: scale(1.06); }
.smc-entry [data-lightbox] { cursor: zoom-in; }

.smc-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 30px; background: rgba(6, 13, 22, .94); }
.smc-lightbox img { max-height: 86vh; max-width: 92vw; width: auto; box-shadow: var(--smc-shadow-lg); }
.smc-lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.smc-lightbox button:hover { background: var(--smc-accent); border-color: var(--smc-accent); }
.smc-lightbox .is-close { top: 18px; right: 18px; }
.smc-lightbox .is-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.smc-lightbox .is-next { right: 18px; top: 50%; transform: translateY(-50%); }
.smc-lightbox .smc-icon { width: 22px; height: 22px; }

/* Page builder (SiteOrigin) content keeps its own layout */
.smc-entry .panel-layout { font-size: 17px; }
.smc-entry .panel-grid { margin-bottom: 30px; }
.smc-entry .widget-title { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 .6em; }

/* Sidebar */
.smc-sidebar { display: flex; flex-direction: column; gap: 26px; }
.smc-card { background: var(--smc-ivory); padding: 32px 28px; }
.smc-card__title { font-size: 27px; margin-bottom: 20px; }
.smc-card--navy { background: var(--smc-primary); color: rgba(255, 255, 255, .78); border-top: 3px solid var(--smc-accent); }
.smc-card--navy .smc-card__title { color: #fff; }
.smc-card--navy .smc-blocks { grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px; }
.smc-card--list { padding: 30px 0 18px; background: #fff; border: 1px solid var(--smc-line); }
.smc-card--list .smc-card__title { padding: 0 26px; }
.smc-sidelist { margin: 0; padding: 0; list-style: none; }
.smc-sidelist a { display: flex; align-items: center; gap: 14px; padding: 14px 26px; border-top: 1px solid var(--smc-line); font-weight: 700; font-size: 15px; color: var(--smc-primary); transition: background .2s, color .2s; }
.smc-sidelist a span { flex: 1; }
.smc-sidelist .smc-icon { color: var(--smc-accent); width: 20px; height: 20px; }
.smc-sidelist .smc-icon--chev-r { width: 16px; height: 16px; opacity: .5; }
.smc-sidelist a:hover, .smc-sidelist .is-current a { background: var(--smc-primary); color: #fff; }
.smc-sidelist .is-current a .smc-icon { color: var(--smc-accent); opacity: 1; }
.smc-recent { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.smc-recent a { display: flex; gap: 14px; align-items: center; }
.smc-recent img { width: 74px; height: 64px; object-fit: cover; flex: none; }
.smc-recent strong { display: block; font-family: var(--smc-serif); font-size: 18px; line-height: 1.25; color: var(--smc-primary); }
.smc-recent small { color: var(--smc-muted); font-size: 12.5px; font-weight: 700; }
.smc-recent a:hover strong { color: var(--smc-gold-text); }
.smc-widget ul { padding-left: 1.1em; }

/* Attorney profile */
.smc-profile { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; padding-top: clamp(56px, 7vw, 90px); padding-bottom: clamp(56px, 7vw, 100px); }
.smc-profile__card { position: sticky; top: calc(var(--smc-header) + 24px); background: #fff; box-shadow: var(--smc-shadow); border-bottom: 3px solid var(--smc-accent); }
.smc-profile__photo img { filter: none; }
.smc-profile__meta { padding: 26px 26px 28px; display: grid; gap: 12px; }
.smc-profile__name { font-size: 32px; margin: 0; }
.smc-profile__meta .smc-person__role { margin-bottom: 8px; }
.smc-profile__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--smc-muted); }
.smc-profile__back:hover { color: var(--smc-gold-text); }
.smc-profile__back .smc-icon { width: 15px; height: 15px; }
.smc-entry--profile h2:first-child { font-size: clamp(28px, 3vw, 36px); line-height: 1.25; padding-bottom: 22px; border-bottom: 1px solid var(--smc-line); }
.smc-entry--profile h2:first-child strong:last-child { display: block; font-family: var(--smc-sans); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--smc-gold-text); margin-top: 10px; }

/* Article */
.smc-article__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 26px; font-size: 13.5px; font-weight: 700; color: var(--smc-muted); }
.smc-article__meta span { display: inline-flex; align-items: center; gap: 8px; }
.smc-article__meta .smc-icon { color: var(--smc-accent); width: 16px; height: 16px; }
.smc-article__meta a { color: var(--smc-gold-text); text-decoration: none; }
.smc-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; border: 1px solid var(--smc-line); font-size: 13px; text-decoration: none !important; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 46px 0 10px; }
.post-navigation a { display: block; height: 100%; padding: 20px 22px; border: 1px solid var(--smc-line); text-decoration: none !important; color: var(--smc-primary) !important; }
.post-navigation a:hover { border-color: var(--smc-accent); }
.post-navigation .nav-next { text-align: right; }
.smc-pn__label { display: block; font-family: var(--smc-sans); font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--smc-gold-text); margin-bottom: 4px; }
.smc-pn__title { font-family: var(--smc-serif); font-size: 20px; font-weight: 600; line-height: 1.3; }

/* Archive */
.smc-archive { padding-top: clamp(50px, 6vw, 80px); }
.smc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.smc-chips a { padding: 9px 18px; border: 1px solid var(--smc-line); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--smc-primary); }
.smc-chips a:hover { border-color: var(--smc-accent); }
.smc-chips a.is-active { background: var(--smc-primary); border-color: var(--smc-primary); color: #fff; }
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--smc-line); font-weight: 800; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--smc-primary); border-color: var(--smc-primary); color: #fff; }
.pagination .smc-icon { width: 16px; height: 16px; }
.smc-empty { text-align: center; padding: 40px 0; }
.smc-empty__big { font-family: var(--smc-serif); font-size: 140px; line-height: 1; color: var(--smc-accent); margin: 0; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-form .search-submit { padding: 0 22px; border: 0; background: var(--smc-primary); color: #fff; font-weight: 800; cursor: pointer; }
.smc-comments { margin-top: 40px; }
.smc-comment-list { list-style: none; padding: 0; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.smc-comments-wrap { padding-bottom: 60px; }

/* ---------- Reveal ---------- */
.js .smc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--smc-ease), transform .8s var(--smc-ease); }
.js .smc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .smc-reveal { opacity: 1; transform: none; }
	.smc-slide__copy > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.smc-team, .smc-team--3 { grid-template-columns: repeat(3, 1fr); }
	.smc-footer__grid { grid-template-columns: 1fr 1fr; }
	.smc-nav { gap: 18px; }
	.smc-nav .menu > li > a { padding: 12px 10px; font-size: 12.5px; }
	.smc-nav .menu > li > a::after { left: 10px; right: 10px; }
}

@media (max-width: 1279px) {
	.smc-burger { display: inline-flex; }
	.smc-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(380px, 88vw);
		flex-direction: column; align-items: stretch; gap: 24px; padding: 100px 28px 30px;
		background: var(--smc-primary); transform: translateX(100%); visibility: hidden;
		transition: transform .4s var(--smc-ease), visibility .4s; overflow-y: auto;
	}
	.smc-nav .menu { flex-direction: column; }
	.smc-nav .menu > li > a { color: #fff; font-size: 15px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.smc-nav .menu > li > a::after { display: none; }
	.smc-nav .menu > li > a:hover, .smc-nav .menu > li.current-menu-item > a { color: var(--smc-accent); }
	.smc-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 16px; }
	.smc-nav .sub-menu a { color: rgba(255, 255, 255, .8); }
	.smc-nav .sub-menu a:hover { background: transparent; color: var(--smc-accent); }
	.nav-open .smc-nav { transform: none; visibility: visible; }
	.nav-open .smc-header { z-index: 300; }
	.nav-open .smc-burger { position: fixed; top: 20px; right: var(--smc-gutter); z-index: 220; background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
	.nav-open .smc-burger__open { display: none !important; }
	.nav-open .smc-burger__close { display: inline-block !important; }
	.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 150; background: rgba(4, 10, 18, .6); }
	.nav-open { overflow: hidden; }

	.smc-offices__grid, .smc-offices__grid--3 { grid-template-columns: repeat(2, 1fr); }
	.smc-office:nth-child(2n) { border-right: 0; }
	.smc-office:nth-child(-n+2) { border-bottom: 1px solid var(--smc-line); }
	.smc-about__grid, .smc-consult__grid { grid-template-columns: 1fr; }
	.smc-about__media { max-width: 560px; }
	.smc-practice__grid, .smc-practice__grid--3 { grid-template-columns: repeat(2, 1fr); }
	.smc-practice__grid .smc-pcard { border-right: 1px solid var(--smc-line) !important; }
	.smc-practice__grid .smc-pcard:nth-child(2n) { border-right: 0 !important; }
	.smc-services__grid, .smc-posts { grid-template-columns: repeat(2, 1fr); }
	.smc-layout--side, .smc-profile { grid-template-columns: 1fr; }
	.smc-profile__card { position: static; max-width: 460px; }
}

@media (max-width: 900px) {
	.smc-topbar__list { display: none; }
	.smc-topbar__inner { justify-content: center; }
}

@media (max-width: 720px) {
	:root { --smc-header: 74px; }
	body { font-size: 16px; }
	.smc-topbar__list, .smc-topbar__mail, .smc-topbar__social { display: none; }
	.smc-topbar__inner { justify-content: center; min-height: 40px; }
	.smc-logo__img { height: 48px; max-width: 190px; }
	.smc-logo__name { font-size: 25px; }
	.smc-hero { min-height: 0; }
	.smc-slide__inner { padding-top: 70px; padding-bottom: 150px; }
	.smc-slide__actions .smc-btn { width: 100%; }
	.smc-hero__controls { bottom: 86px; }
	.smc-hero__arrow { width: 42px; height: 42px; }
	.smc-hero + .smc-offices { margin-top: -54px; }
	.smc-offices__grid, .smc-offices__grid--3, .smc-offices__grid--2 { grid-template-columns: 1fr; }
	.smc-office { border-right: 0 !important; border-bottom: 1px solid var(--smc-line); padding: 22px 20px; }
	.smc-office:last-child { border-bottom: 0; }
	.smc-about__media { padding: 0 0 26px 26px; }
	.smc-about__badge { right: 0; bottom: 50px; padding: 18px 20px; }
	.smc-about__badge strong { font-size: 42px; }
	.smc-figures dt { font-size: 36px; }
	.smc-figures div + div { padding-left: 14px; }
	.smc-practice__grid, .smc-practice__grid--3, .smc-practice__grid--2 { grid-template-columns: 1fr; }
	.smc-practice__grid .smc-pcard { border-right: 0 !important; padding: 38px 26px 34px; }
	.smc-services__grid, .smc-posts { grid-template-columns: 1fr; }
	.smc-team, .smc-team--3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.smc-blocks > .smc-block:first-child { grid-column: auto; }
	.smc-person__body { padding: 16px 14px 18px; }
	.smc-person__name { font-size: 20px; }
	.smc-person__role { font-size: 12.5px; }
	.smc-person__role span:first-child { font-size: 10.5px; }
	.smc-blocks { grid-template-columns: 1fr; }
	.smc-form__grid { grid-template-columns: 1fr; }
	.smc-news__head { flex-direction: column; align-items: flex-start; }
	.smc-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.smc-entry .gallery, .smc-entry .wp-block-gallery, .smc-entry .gallery-columns-4, .smc-entry .wp-block-gallery.columns-4 { grid-template-columns: repeat(2, 1fr); }
	.smc-entry .alignleft, .smc-entry .alignright { float: none; margin: 1em 0; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.admin-bar .smc-header { top: 0; }

	.has-mobile-bar { padding-bottom: 64px; }
	.smc-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; background: var(--smc-primary); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -14px rgba(0, 0, 0, .4); }
	.smc-mobilebar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
	.smc-mobilebar .smc-icon { width: 20px; height: 20px; color: var(--smc-accent); }
	.smc-mobilebar a.is-cta { background: var(--smc-accent); }
	.smc-mobilebar a.is-cta .smc-icon { color: #fff; }
}

/* Consultation form on the Contact page */
.smc-contact-form > :first-child { margin-top: 0; }
.smc-contact-form { margin-top: 40px; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid rgba(15, 34, 55, .08); border-top: 3px solid var(--smc-accent); box-shadow: var(--smc-shadow-lg); scroll-margin-top: 120px; }
.smc-entry .smc-contact-form__title, .smc-contact-form__title { margin: 0 0 20px; font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* Sharia-compliant law highlight */
.smc-sharia { background: var(--smc-primary); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.smc-sharia::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(179, 139, 77, .16), transparent 70%); pointer-events: none; }
.smc-sharia__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.smc-sharia h2 { color: #fff; }
.smc-sharia .smc-eyebrow { color: var(--smc-accent); }
.smc-sharia__text { font-size: 18px; line-height: 1.75; max-width: 60ch; margin: 0 0 28px; }
.smc-sharia__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.smc-sharia__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.smc-sharia__list li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.smc-sharia__list a, .smc-sharia__list li > .smc-sharia__name { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; color: #fff; text-decoration: none; font-family: var(--smc-serif); font-size: clamp(20px, 2vw, 25px); font-weight: 600; transition: color .25s var(--smc-ease), padding .25s var(--smc-ease); }
.smc-sharia__list .smc-icon { width: 20px; height: 20px; color: var(--smc-accent); flex: none; transition: transform .25s var(--smc-ease); }
.smc-sharia__list a:hover, .smc-sharia__list a:focus-visible { color: var(--smc-accent); padding-left: 10px; }
.smc-sharia__list a:hover .smc-icon { transform: translateX(4px); }
@media (max-width: 900px) { .smc-sharia__grid { grid-template-columns: 1fr; } }

/* FAQ accordions inside pages */
.smc-entry .smc-faq { border-top: 1px solid var(--smc-line); padding: 0; margin: 0; }
.smc-entry .smc-faq:last-of-type { border-bottom: 1px solid var(--smc-line); }
.smc-entry .smc-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--smc-serif); font-size: 21px; font-weight: 600; color: var(--smc-primary); }
.smc-entry .smc-faq summary::-webkit-details-marker { display: none; }
.smc-entry .smc-faq summary::after { content: "+"; color: var(--smc-accent); font-family: var(--smc-sans); font-weight: 400; font-size: 24px; line-height: 1; }
.smc-entry .smc-faq[open] summary::after { content: "–"; }
.smc-entry .smc-faq p { margin: 0 0 18px; }

/* Compact desktop header (seven menu items + button) */
@media (min-width: 1280px) and (max-width: 1459px) {
	.smc-header__inner { gap: 16px; }
	.smc-nav { gap: 12px; }
	.smc-nav .menu > li > a { padding: 12px 7px; font-size: 12px; letter-spacing: .05em; }
	.smc-nav .menu > li > a::after { left: 7px; right: 7px; }
	.smc-header .smc-btn { padding: 12px 18px; letter-spacing: .08em; }
}
