/* ==========================================================================
   FirstLink Pros – main stylesheet
   One file for the whole site. Sections:
   1. Fonts and tokens   2. Base   3. Buttons and links   4. Header
   5. Mobile menu   6. "Let's talk" popup and forms   7. Footer
   8. Shared sections   9. Insights and articles   10. Utilities
   ========================================================================== */

/* 1. Fonts and tokens ------------------------------------------------------ */
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url(../fonts/noto-sans.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url(../fonts/source-serif-4.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--red: #E3151C;
	--red-bright: #FF151C;
	--red-dark: #A12024;
	--red-soft: #FF4A50;
	--tint: #F8E3E1;
	--ink: #1E1B18;
	--ink-2: #3D3833;
	--muted: #5C554E;
	--faint: #8A827A;
	--line: #E5E2DC;
	--line-2: #EFEDE8;
	--bg: #FFFFFF;
	--bg-2: #F7F6F3;
	--dark: #1C1917;
	--wine: #2A1114;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 22px;
	--shadow: 0 14px 44px rgba(30, 27, 24, .08);
	--wrap: 1240px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 29px; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(227, 21, 28, .45); outline-offset: 2px; }
.serif { font-family: var(--serif); }
.accent { color: var(--red-bright); }
.eyebrow { font-size: 15px; line-height: 20px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* 3. Buttons and links ------------------------------------------------------ */
.btn, .btn2 {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	text-decoration: none; font-weight: 600; font-size: 14px; line-height: 18px; letter-spacing: .1em; text-transform: uppercase;
	padding: 12px 20px; border-radius: 6px; border: 0; cursor: pointer; position: relative; overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227, 21, 28, .25); }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,.38), rgba(255,255,255,0)); transform: skewX(-20deg); transition: left .65s ease; pointer-events: none; }
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(227, 21, 28, .38); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0); }
.btn2 { background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(30, 27, 24, .10); }
.btn2:hover { color: var(--red); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 27, 24, .16); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.lm { text-decoration: none; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; }
.lm .arrow, .acard .arrow { display: inline-block; transition: transform .22s ease; }
.lm:hover .arrow, .acard:hover .arrow { transform: translateX(6px); }

/* 4. Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 6px 24px rgba(30, 27, 24, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { max-width: 1320px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; transition: padding .25s ease; }
.site-header.is-scrolled .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; position: relative; height: 56px; min-width: 56px; }
.logo__full { height: 46px; width: auto; transition: opacity .25s ease, transform .25s ease; }
.logo__mark { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(30, 27, 24, .12); opacity: 0; transform: scale(.85); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.logo__mark img { width: 24px; height: 27px; }
.site-header.is-scrolled .logo__full { opacity: 0; transform: scale(.9); }
.site-header.is-scrolled .logo__mark { opacity: 1; transform: none; }
.site-header:not(.is-scrolled) .logo:hover .logo__full { opacity: .88; }
.site-header.is-scrolled .logo:hover .logo__mark { transform: scale(1.06); box-shadow: 0 10px 26px rgba(30, 27, 24, .18); }

.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 34px; }
.navlink { background: none; border: 0; padding: 10px 0; color: var(--ink-2); font: 500 15px/20px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; position: relative; transition: color .2s ease; }
.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.navlink:hover, .navlink[aria-expanded="true"], .navlink[aria-current="page"] { color: var(--red); }
.navlink:hover::after, .navlink[aria-current="page"]::after { transform: scaleX(1); }
.navlink .icon { transition: transform .2s ease; }
.navlink[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dd { position: static; }
.dd__panel { position: absolute; top: calc(100% - 6px); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(30, 27, 24, .16); padding: 24px 32px; width: 290px; display: none; z-index: 60; }
.dd__panel.is-open { display: block; animation: ddIn .2s ease both; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#dd-insights { right: 220px; }
#dd-about { right: 120px; }
.dd__panel--mega { left: 50%; transform: translateX(-50%); width: min(820px, calc(100% - 32px)); padding: 40px 48px; }
.dd__panel--mega.is-open { display: flex; flex-wrap: wrap; gap: 32px; animation: none; }
.mega__col { flex: 1 1 180px; padding-right: 32px; border-right: 1px solid var(--line); }
.mega__col--wide { flex: 2 1 380px; padding-right: 0; border-right: 0; }
.mega__head { font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.menuitem { display: block; text-decoration: none; color: var(--ink); font-size: 17px; padding: 10px 0; transition: color .2s ease, transform .2s ease; }
.menuitem:hover { color: var(--red); transform: translateX(5px); }
.menuitem--strong { color: var(--red); font-weight: 600; }
.sol { display: flex; gap: 14px; text-decoration: none; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease; }
.sol:last-child { border-bottom: 0; }
.sol .icon { flex: none; margin-top: 4px; color: var(--red); }
.sol:hover { padding-left: 6px; }
.sol__title { display: block; font-size: 17px; transition: color .2s ease; }
.sol:hover .sol__title { color: var(--red); }
.sol__desc { display: block; font-size: 14px; line-height: 22px; color: var(--muted); }

.mbtn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; transition: background-color .2s ease; }
.mbtn:hover { background: var(--tint); }
.mbtn--show { display: flex; }
@media (max-width: 1180px) {
	.main-nav, .header-cta { display: none; }
	.mbtn { display: flex; }
}

/* 5. Mobile menu ------------------------------------------------------------ */
.mpanel { position: fixed; inset: 0; z-index: 80; background: #fff; overflow: auto; }
.mpanel:not([hidden]) { animation: mpIn .3s ease both; }
@keyframes mpIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mpanel__top { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: #fff; }
.mpanel__top img { height: 40px; width: auto; }
.mpanel__body { padding: 6px 24px 40px; max-width: 640px; margin: 0 auto; }
.mhead { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 26px 0 4px; }
.mlink { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--ink); font-size: 19px; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.mlink span { color: var(--red); }
.mlink:hover { color: var(--red); }
.mpanel__cta { margin-top: 30px; padding: 16px 20px; }
body.is-locked { overflow: hidden; }

/* 6. "Let's talk" popup and forms --------------------------------------------- */
.tk { position: fixed; inset: 0; z-index: 90; }
.tk__scrim { position: absolute; inset: 0; background: rgba(30, 27, 24, .55); animation: tkFade .25s ease both; }
.tk__wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; pointer-events: none; }
.tk__box { pointer-events: auto; position: relative; width: min(540px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(30, 27, 24, .35); animation: tkUp .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tkUp { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.tk__bar { height: 8px; background: var(--red); border-radius: var(--radius) var(--radius) 0 0; }
.tk__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, transform .2s ease; }
.tk__x:hover { background: var(--tint); transform: rotate(90deg); }
.tk__body { padding: 36px 40px 40px; }
.tk__title { margin: 0 50px 8px 0; font-weight: 700; font-size: 38px; line-height: 1.08; }
.tk__lead { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 26px; }
.tk__fine { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--faint); text-align: center; }

.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld label, .fld .flabel { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { font: 400 16px/22px var(--sans); color: var(--ink); border: 1.5px solid #DAD5CE; border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.fld textarea { min-height: 92px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 21, 28, .12); }
.fld.has-error input, .fld.has-error textarea { border-color: var(--red); }
.fld__err { font-size: 13px; color: #C8141A; min-height: 0; }
.fld__err:empty { display: none; }
.fld-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.req { color: var(--red); }
.form-msg { font-size: 14px; color: #C8141A; margin: 0 0 12px; }
.form-msg:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: center; padding: 20px 0 6px; }
.form-done__icon { width: 80px; height: 80px; margin: 0 auto 22px; border-radius: 999px; background: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(227, 21, 28, .35); animation: tkUp .45s ease both; }
.form-done__title { margin: 0 0 10px; font-weight: 700; font-size: 34px; }
.form-done p { margin: 0 0 24px; color: var(--ink-2); font-size: 16px; line-height: 26px; }
.cf-turnstile { margin: 4px 0 12px; }
@media (max-width: 560px) {
	.fld-row { grid-template-columns: 1fr; gap: 0; }
	.tk__body { padding: 30px 22px 28px; }
}

/* 7. Footer ----------------------------------------------------------------- */
.site-footer { background: var(--red); color: #fff; font-size: 14px; line-height: 22px; }
.site-footer a { color: #fff; }
.fgrid { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 36px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 40px 48px; }
.fbrand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fbrand img { height: 40px; width: auto; }
.fbrand p { max-width: 340px; }
.fhead { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px; opacity: .85; }
.fcol { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.flink { text-decoration: none; width: fit-content; background-image: linear-gradient(#fff, #fff); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.flink:hover { background-size: 100% 1px; color: #fff; }
.nap { display: flex; flex-direction: column; gap: 8px; }
.napr { display: flex; align-items: center; gap: 10px; }
.napr .icon { flex: none; }
.frating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: rgba(0, 0, 0, .14); border-radius: 999px; padding: 7px 14px; width: fit-content; font-size: 13px; transition: background-color .2s ease; }
.frating:hover { background: rgba(0, 0, 0, .24); color: #fff; }
.frating__stars { display: flex; gap: 1px; }
.fsocial { display: flex; gap: 6px; margin-top: 4px; }
.soc { display: inline-flex; padding: 8px; border-radius: 999px; transition: transform .2s ease, background-color .2s ease; }
.soc:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .2); color: #fff; }
.fareas { min-width: 0; }
.fmap { display: block; background: rgba(0, 0, 0, .14); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .25s ease, background-color .25s ease; }
.fmap:hover { transform: translateY(-3px); background: rgba(0, 0, 0, .22); color: #fff; }
.fmap svg { display: block; width: 100%; height: auto; }
.fmap__river { fill: none; stroke: #fff; stroke-opacity: .25; stroke-width: 10; stroke-linecap: round; }
.fmap__us321 { fill: none; stroke: #fff; stroke-opacity: .35; stroke-width: 5; stroke-dasharray: 14 10; }
.fmap__i40 { fill: none; stroke: #fff; stroke-opacity: .5; stroke-width: 7; stroke-linecap: round; }
.fmap text { font: 400 30px var(--sans); fill: #fff; opacity: .9; }
.fmap text.is-main { font-weight: 600; }
.fpulse { fill: #fff; opacity: .18; transform-box: fill-box; transform-origin: center; animation: fpulse 3s ease-in-out infinite; }
@keyframes fpulse { 0%, 100% { transform: scale(.55); } 50% { transform: scale(1.2); } }
.fmap__cap { display: block; padding: 10px 14px 12px; font-size: 13px; font-weight: 600; }
.ftowns { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 13px; }
.flegal { border-top: 1px solid rgba(255, 255, 255, .3); }
.flegal__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: 13px; }
.flegal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* 8. Shared sections --------------------------------------------------------- */
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container--text { max-width: 808px; }
.section { padding: 110px 0; }
.section--tint { background: var(--bg-2); }
.red-band { height: 14px; background: var(--red); }
.page-hero { position: relative; background: var(--bg-2); overflow: hidden; }
.page-hero--plain { padding: 100px 0 90px; }
.page-hero--plain .container { display: flex; flex-direction: column; gap: 20px; }
.page-hero__title { font-weight: 700; font-size: clamp(48px, 6.6vw, 100px); line-height: .98; letter-spacing: -.02em; }
.page-hero__lead { font-size: 20px; line-height: 32px; color: var(--ink-2); max-width: 640px; }
.fit-cta { background: var(--bg-2); overflow: hidden; }
.fit-cta__inner { display: flex; flex-wrap: wrap; align-items: center; min-height: 460px; }
.fit-cta__photo { flex: 1 1 560px; min-width: 0; position: relative; align-self: stretch; min-height: 380px; }
.fit-cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.fit-cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,246,243,.85) 0%, rgba(247,246,243,0) 22%, rgba(247,246,243,0) 62%, #F7F6F3 100%), linear-gradient(0deg, rgba(247,246,243,.6), rgba(247,246,243,0) 30%); }
.fit-cta__text { flex: 1 1 480px; min-width: 0; padding: 80px 24px 80px 56px; }
.fit-cta__text h2 { font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 1.02; }
.fit-cta__text p { margin: 20px 0 32px; color: var(--ink-2); max-width: 460px; }
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--4 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
	.section { padding: 64px 0; }
	.page-hero--plain { padding: 64px 0; }
	.fit-cta__text { padding: 56px 24px; }
	.fit-cta__photo { flex-basis: 100%; min-height: 260px; }
}

/* 9. Insights and articles ----------------------------------------------------- */
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; border-bottom: 1px solid var(--line); margin-bottom: 48px; padding-bottom: 10px; }
.list-head h2 { font-weight: 700; font-size: 40px; }
.topic-filter { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.fbtn { font: 500 16px/22px var(--sans); color: var(--ink-2); text-decoration: none; padding: 10px 4px; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.fbtn:hover, .fbtn.is-on { color: var(--red); }
.fbtn.is-on { border-bottom-color: var(--red); }
.acard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 36px rgba(30, 27, 24, .07); transition: transform .3s ease, box-shadow .3s ease; }
.acard:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(30, 27, 24, .13); color: var(--ink); }
.acard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.acard:hover .acard__img img { transform: scale(1.05); }
.acard__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.acard__title { font-weight: 700; font-size: 26px; line-height: 1.22; transition: color .2s ease; }
.acard:hover .acard__title { color: var(--red); }
.acard__dek { color: var(--muted); font-size: 16px; line-height: 26px; flex: 1; }
.acard__meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--faint); }
.acard__read { color: var(--red); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ctag { display: inline-block; font-size: 12px; line-height: 18px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--red-dark); background: var(--tint); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.pager { margin-top: 48px; text-align: center; }
.pager .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 2px; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.pager .page-numbers.current { background: var(--red); color: #fff; }

.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--red); z-index: 70; }
.article__head { background: var(--bg-2); padding-top: 90px; }
.back-link { font-size: 15px; }
.article__cat { margin: 26px 0 18px; }
.article__title { font-weight: 700; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.01em; }
.article__dek { margin: 24px auto 0; max-width: 680px; font-size: 21px; line-height: 33px; color: var(--ink-2); }
.article__meta { margin: 26px 0 60px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 15px; color: var(--faint); }
.article__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.article__photo img.is-portrait { object-position: center 24%; }
.acard__img img.is-portrait { object-position: center 22%; }
.article__cta { margin-top: 50px; padding: 40px 44px; border-radius: var(--radius); background: var(--dark); color: #F7F4EF; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.prose .article__cta h2, .article__cta h2 { color: #fff; font-weight: 700; font-size: 30px; margin: 0 0 8px; }
.prose .article__cta p, .article__cta p { color: #D8D0C6; margin: 0; font-size: 17px; line-height: 28px; }
.article__cta > div { flex: 1 1 340px; }

.prose { font-size: 19px; line-height: 33px; color: var(--ink-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.2; margin-top: 52px; color: var(--ink); }
.prose h3 { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.25; margin-top: 40px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose img { border-radius: 12px; }
.prose blockquote { margin-left: 0; padding-left: 22px; border-left: 3px solid var(--red); font-style: italic; }

.prose .takeaways { background: var(--bg-2); border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; padding: 24px 28px; margin: 0 0 36px; }
.prose .takeaways__title { font-family: var(--serif); font-weight: 700; font-size: 22px; margin: 0 0 8px; }
.prose .takeaways ul { margin: 0; padding-left: 20px; }
.prose .takeaways li { margin: 6px 0; }

/* 11. Page building blocks (homepage and service pages) ------------------------ */
.container--1160 { max-width: 1160px; }
.container--1320 { max-width: 1320px; }
.section--line > .container { border-bottom: 0; }
.section--nobottom { padding-bottom: 0; }
.h-xl { font-weight: 700; font-size: clamp(40px, 4.8vw, 66px); line-height: 1.04; }
.h-xxl { font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 1.02; }
.muted-ink { color: var(--ink-2); }
.lead-narrow { margin-top: 22px; max-width: 760px; color: var(--ink-2); }
.section-lead { margin: 20px 0 48px; color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.hero { position: relative; background: var(--bg-2); overflow: hidden; }
.hero__img { position: absolute; top: 0; right: 0; bottom: 0; width: 78%; height: 100%; object-fit: cover; object-position: 60% center; filter: saturate(.85) brightness(1.04); }
.hero__fade { position: absolute; inset: 0; background: linear-gradient(90deg, #F7F6F3 0%, #F7F6F3 28%, rgba(247,246,243,.92) 40%, rgba(247,246,243,.55) 56%, rgba(247,246,243,.18) 74%, rgba(247,246,243,.08) 100%); }
.hero__fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(0deg, rgba(247,246,243,.75), rgba(247,246,243,0)); }
.hero__inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 120px 24px 140px; }
.hero__text { max-width: 680px; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-weight: 700; font-size: clamp(60px, 8vw, 128px); line-height: .95; letter-spacing: -.02em; min-height: 1.9em; color: var(--ink); }
.hero__typed { white-space: nowrap; }
.hero__lead { font-size: 21px; line-height: 34px; color: var(--ink-2); }
.hero__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 20px; color: var(--faint); }
.hero__stats > div:not(.hero__stat-line) { display: flex; align-items: baseline; gap: 10px; }
.hero__stat-num { font-size: 26px; font-weight: 500; }
.hero__stat-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hero__stat-year { font-size: 24px; }
.hero__stat-line { width: 1px; height: 40px; background: #D3CEC6; }
@keyframes flblink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.typecursor { display: inline-block; width: .07em; height: .8em; background: var(--red-bright); margin-left: .06em; vertical-align: -.02em; animation: flblink 1s steps(1) infinite; }
@media (max-width: 900px) {
	.hero__img { position: relative; width: 100%; height: 340px; }
	.hero__fade { display: none; }
	.hero__inner { padding-top: 44px; padding-bottom: 64px; }
}
@media (max-width: 760px) { .hero__img { height: 300px; } }

.reasons { margin-top: 64px; gap: 40px; }
.feat { display: flex; flex-direction: column; gap: 16px; }
.disc { width: 76px; height: 76px; border-radius: 999px; background: var(--tint); display: flex; align-items: center; justify-content: center; transition: transform .35s ease, background-color .35s ease; }
.feat:hover .disc { transform: translateY(-5px) rotate(-6deg); background: #FBD0CD; }
.feat__title { font-weight: 700; font-size: 28px; line-height: 1.15; transition: color .2s ease; }
.feat:hover .feat__title { color: var(--red); }
.feat__text { color: var(--muted); font-size: 16px; line-height: 26px; }

.split { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.split--reverse { flex-wrap: wrap-reverse; }
.split--center { align-items: center; gap: 56px 80px; }
.split__main { flex: 1 1 460px; min-width: 0; }
.split__side { flex: 1 1 420px; min-width: 0; }
.split--center .split__main { flex-basis: 520px; }
.split--center .split__side { flex-basis: 460px; }

.acc-item { border-bottom: 1px solid var(--line); }
.acc-item__h { margin: 0; font: inherit; }
.acc { width: 100%; background: none; border: 0; padding: 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; text-align: left; color: var(--ink); transition: color .2s ease; }
.acc:hover { color: var(--red); }
.acc__label { font-family: var(--serif); font-weight: 700; }
.acc__chev { flex: none; transition: transform .2s ease; }
.acc[aria-expanded="true"] .acc__chev { transform: rotate(180deg); }
.acc-item__panel { padding: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 27px; }
.acc-item__panel p + p, .acc-item__panel p + a { margin-top: 14px; display: inline-block; }
.acc-item__panel p + p { display: block; }
.acc-list--big .acc__label { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; }
.acc-list--steps .acc { padding: 28px 0; }
.acc-list--steps .acc__label { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.acc-list--steps .acc-item__panel { font-size: 15px; line-height: 25px; }
.acc__num { font-weight: 600; font-size: 46px; line-height: 1; color: #C9C3BA; transition: color .2s ease; }
.acc[aria-expanded="true"] .acc__num { color: var(--red); }
.acc-list--faq .acc-item { border-bottom-color: #DED8CF; }
.acc-list--faq .acc { padding: 26px 0; align-items: flex-start; }
.acc-list--faq .acc__label { font-size: 22px; line-height: 1.35; }
.acc-list--faq .acc__chev { margin-top: 6px; }
.acc-list--faq .acc-item__panel { padding-bottom: 26px; font-size: 15px; line-height: 25px; }
.faq3 { gap: 0 56px; align-items: start; }
.art { width: 100%; height: auto; display: block; }
.art--phone { max-width: 420px; margin-top: 12px; }

.pull-quote { display: flex; gap: 22px; margin: 18px 0 0; }
.pull-quote svg { flex: none; }
.pull-quote blockquote { margin: 0; font-weight: 600; color: var(--ink-2); }
.pull-quote figcaption { margin-top: 14px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.photowrap { overflow: hidden; border-radius: 10px; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s ease; }
.photowrap:hover .photo { transform: scale(1.04); }

.cases { gap: 24px; }
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(30, 27, 24, .12); border-color: transparent; }
.case { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 30px; background: #fff; }
.case:hover { color: var(--ink); }
.case__img { position: relative; overflow: hidden; border-radius: 10px; }
.case__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.case:hover .case__img img { transform: scale(1.05); }
.case__tag { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; line-height: 20px; }
.case__body { padding: 0 12px; }
.case__client { margin-top: 26px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case__title { margin: 10px 0 14px; font-weight: 700; font-size: 26px; line-height: 1.2; transition: color .2s ease; }
.case:hover .case__title { color: var(--red); }
.case__more { color: var(--red); font-size: 15px; }
.case .arrow { display: inline-block; transition: transform .22s ease; }
.case:hover .arrow { transform: translateX(6px); }

.review-band { background: linear-gradient(100deg, #2B0D10 0%, #6E1218 55%, #A12024 100%); color: #fff; }
.review-band__inner { max-width: 1000px; margin: 0 auto; padding: 110px 24px 90px; display: flex; gap: 40px; }
.review-band__mark { flex: none; margin-top: 8px; }
.review-band__slides { flex: 1 1 auto; min-width: 0; }
.review-band__slide { margin: 0; }
.review-band__slide:not([hidden]) { animation: tkFade .5s ease both; }
.review-band blockquote { margin: 0; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.55; }
.review-band figcaption { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.review-band__avatar { width: 58px; height: 58px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }
.review-band__who { font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: #F3D9DA; }
.review-band__dots { display: flex; justify-content: center; gap: 10px; padding-bottom: 70px; }
.dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .4); transition: transform .2s ease, background-color .2s ease; }
.dot[aria-pressed="true"] { background: #fff; }
.dot:hover { transform: scale(1.35); }
@media (max-width: 760px) {
	.review-band__inner { flex-direction: column; gap: 20px; padding-top: 64px; padding-bottom: 48px; }
	.review-band__mark { width: 52px; height: 40px; }
}

.who__head { display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: center; padding-bottom: 70px; }
.who__head h2 { flex: 1 1 380px; }
.who__head p { flex: 1 1 420px; }
.who { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who__col { flex: 1 1 460px; min-width: 0; padding: 70px 48px 70px 0; }
.who__col + .who__col { padding: 70px 0 70px 48px; border-left: 1px solid var(--line); }
.who__title { font-weight: 700; font-size: 34px; margin-bottom: 40px; }
.who__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.fit { display: flex; gap: 14px; transition: transform .2s ease; }
.fit > svg { flex: none; }
.fit:hover { transform: translateX(4px); }
@media (max-width: 1000px) {
	.who__col, .who__col + .who__col { padding: 48px 0; border-left: 0; }
	.who__col + .who__col { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .who__list { grid-template-columns: 1fr; gap: 18px; } }

.closing { gap: 72px; }
.closing__art { max-width: 620px; }
.btn-row--center { align-items: center; padding-top: 6px; gap: 16px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 18px; letter-spacing: .06em; padding: 12px 18px; border-radius: 6px; box-shadow: 0 8px 20px rgba(30, 27, 24, .10); }
.closing__fine { font-style: italic; color: var(--faint); }
@media (max-width: 760px) {
	.reasons { margin-top: 40px; }
	.who__head { padding-bottom: 40px; }
	.closing { gap: 40px; }
}

/* Case studies (Our Work page) */
.cstudies { background: var(--bg-2); padding: 100px 0 110px; }
.cstudies__head { text-align: center; margin-bottom: 56px; }
.cstudies__head h2 { margin-top: 12px; font-weight: 700; font-size: clamp(38px, 4.2vw, 54px); line-height: 1.06; }
.cstudy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 14px 44px rgba(30, 27, 24, .07); scroll-margin-top: 110px; }
.cstudy + .cstudy { margin-top: 40px; }
.cstudy--flip .cstudy__img { order: 2; }
.cstudy__img img { width: 100%; height: auto; border-radius: 14px; }
.cstudy__text { padding: 12px 18px 12px 0; }
.cstudy--flip .cstudy__text { padding: 12px 0 12px 18px; }
.cstudy__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cstudy__client { margin-top: 18px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cstudy__title { margin-top: 8px; font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; }
.cstudy__list { margin: 22px 0 28px; }
.cstudy__list dt { font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-top: 16px; }
.cstudy__list dd { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; line-height: 27px; }
.case--cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; background: #1C1917; border-color: transparent; padding: 36px 32px; color: #fff; }
.case--cta:hover { color: #fff; }
.case--cta .case__client { color: #B5ACA2; margin-top: 0; }
.case--cta .case__title { margin: 0; color: #fff; }
.case--cta:hover .case__title { color: #FF4A50; }
.case--cta p { color: #D8D0C6; font-size: 16px; line-height: 26px; }
.case--cta .case__more { color: #FF4A50; }
@media (max-width: 900px) {
	.cstudies { padding: 72px 0 80px; }
	.cstudy { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
	.cstudy--flip .cstudy__img { order: 0; }
	.cstudy__text, .cstudy--flip .cstudy__text { padding: 0 6px 10px; }
}

/* Optional marketing consent checkbox on forms */
.optin { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; line-height: 19px; color: var(--muted); cursor: pointer; }
.optin input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }

/* Packages (Packages and Pricing pages) */
.pkg{display:flex;flex-wrap:wrap;gap:48px 80px;align-items:flex-start}
.pkgnum{font-family:"Source Serif 4",Georgia,serif;font-weight:700;font-size:120px;line-height:.8;color:#F8E3E1;-webkit-text-stroke:2px #E3151C}
.incl{background:#FFFFFF;border-radius:22px;box-shadow:0 16px 46px rgba(30,27,24,.08);padding:38px 40px 40px}
.incl .row{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #EFEDE8}
.incl .row:last-of-type{border-bottom:0}
.forwho{display:inline-flex;gap:8px;align-items:center;background:#F8E3E1;color:#A12024;border-radius:999px;padding:8px 16px;font-size:14px;font-weight:600}
.ctable{width:100%;border-collapse:separate;border-spacing:0;font-size:15px}
.ctable th{padding:20px 16px;font-weight:600;text-align:center;font-size:15px;line-height:20px}
.ctable th:first-child,.ctable td:first-child{text-align:left}
.ctable td{padding:16px;text-align:center;color:#3D3833;border-top:1px solid #EFEDE8}
.ctable tbody tr:hover td{background:#FBFAF8}
.no{color:#C9C2B9}
.d-fit{transition:transform .2s ease}
.d-fit:hover{transform:translateX(4px)}
@media (prefers-reduced-motion: reduce) { .d-fit { transition: none !important; } }
@media (max-width: 760px) { .pkgnum { font-size: 84px; } .incl { padding: 28px 24px 30px; } }

/* Town pages (Areas We Serve > town) */
.town-hero { background: var(--bg-2); padding: 70px 0 90px; }
.town-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.town-crumbs a { color: var(--muted); text-decoration: none; }
.town-crumbs a:hover { color: var(--red); }
.town-hero__title { margin: 16px 0 22px; font-weight: 700; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; max-width: 980px; }
.town-hero__lead { max-width: 680px; font-size: 20px; line-height: 32px; color: var(--ink-2); margin-bottom: 30px; }
.town-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px 72px; align-items: start; }
.town-split__text p { color: var(--ink-2); margin-bottom: 18px; }
.town-h2 { font-weight: 700; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; margin-bottom: 22px; }
.town-h3 { font-weight: 700; font-size: 26px; line-height: 1.2; margin: 34px 0 12px; }
.town-card { background: #1C1917; color: #fff; border-radius: 22px; padding: 34px 32px; position: sticky; top: 120px; }
.town-card__label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #B5ACA2; margin-bottom: 16px; }
.town-chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-chips li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 12px; font-size: 14px; line-height: 20px; }
.town-head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.town-head .town-h2 { margin-top: 12px; }
.town-svc { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px; }
.town-svc h3 { font-weight: 700; font-size: 26px; line-height: 1.2; transition: color .2s ease; }
.town-svc:hover { color: var(--ink); }
.town-svc:hover h3 { color: var(--red); }
.town-svc p { color: var(--muted); font-size: 16px; line-height: 27px; flex: 1; }
.town-steps { max-width: 820px; margin: 56px auto 0; }
.town-steps ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.town-steps li { margin: 10px 0; }
.town-steps p { color: var(--ink-2); }
.town-list { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.town-list li { margin: 6px 0; }
@media (max-width: 900px) {
	.town-hero { padding: 48px 0 64px; }
	.town-split { grid-template-columns: 1fr; }
	.town-card { position: static; }
}

/* 12. Designed pages (page-*.php) ------------------------------------------- */
.dc-if { display: contents; }
.dc-if[hidden], .dc-var[hidden], .dc-panel[hidden], [data-dc-cat][hidden] { display: none !important; }
.dc-rot { transition: transform .25s ease; }
[aria-expanded="true"] .dc-rot { transform: rotate(180deg); }
.dcp img { max-width: 100%; }
.dcp h1, .dcp h2, .dcp h3, .dcp h4 { color: inherit; }
@media (max-width: 900px) {
	/* Photo sits above the text on phones and tablets: trim the big desktop spacing under it. */
	.dcp .heroimg ~ div:not(.herofade) { padding-top: 44px !important; padding-bottom: 64px !important; }
}
.dcp button { font-family: inherit; }
.catbtn { color: var(--ink-2); }
.catbtn[aria-pressed] { font-weight: 400; }
.catbtn.on { color: var(--red); }
.catbtn[aria-pressed].on { font-weight: 600; }
.catbtn .catdot > span { background: transparent; }
.catbtn.on .catdot > span { background: #fff; }
.wfilter { color: var(--ink-2); }
.wfilter.on { color: var(--red); }
.stepnode .dotc { background: #fff; color: var(--red); box-shadow: none; }
.stepnode.done .dotc { background: var(--red); color: #fff; }
.stepnode.on .dotc { box-shadow: 0 0 0 8px rgba(227, 21, 28, .15); }
.stepnode .steplabel { color: var(--ink-2); }
.stepnode.on .steplabel { color: var(--red); }

/* 10. Utilities ------------------------------------------------------------ */
.center { text-align: center; }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.btn::after { display: none; }
}
