/*
Theme Name:   Hub Child - Emily Murphy
Theme URI:    https://psrealtync.com
Description:  Child theme for the Hub theme - Emily Murphy, Property Specific Realty
Author:       Emily Murphy / Property Specific Realty
Template:     hub
Version:      1.2.0
Text Domain:  hub-child
*/

/* ============ Brand tokens ============ */
:root {
  --em-cream: #FBF8F3;
  --em-cream-2: #F1E7DB;
  --em-card: #FFFDF9;
  --em-ink: #221E1A;
  --em-ink-60: rgba(34, 30, 26, .65);
  --em-ink-45: rgba(34, 30, 26, .45);
  --em-copper: #A87855;
  --em-copper-lt: #C29A79;
  --em-sand: #D9B99B;
  --em-sand-lt: #E8C9A8;
  --em-serif: 'Cormorant Garamond', Georgia, serif;
  --em-sans: 'Jost', 'Helvetica Neue', sans-serif;
}

body {
  background: var(--em-cream);
  font-family: var(--em-sans);
  color: var(--em-ink);
  font-size: 20px;
  font-weight: 300;
}
a { color: var(--em-ink); text-decoration: none; transition: color .25s, background .25s, border-color .25s; }
a:hover { color: var(--em-copper); }

/* ============ Typography ============ */
.em-h1, .em-h2, .em-h3 { font-family: var(--em-serif); font-weight: 500; color: var(--em-ink); line-height: 1.05; margin: 0 0 30px; }
.em-h1 { font-size: 104px; }
.em-h2 { font-size: 66px; font-weight: 500; }
.em-h3 { font-size: 38px; font-weight: 600; }
.em-h1 em, .em-h2 em, .em-h3 em { font-style: italic; font-weight: 500; color: var(--em-copper); }
.em-hero .em-h1, .em-hero .em-h1 em { color: #fff; }
.em-hero .em-h1 em { color: var(--em-sand-lt); }

.em-kicker {
  font-size: 15px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase;
  color: var(--em-copper); margin-bottom: 20px; display: block;
}
.em-dark .em-kicker { color: var(--em-sand); }
.em-lead { font-size: 22px; line-height: 1.7; font-weight: 300; color: var(--em-ink-60); max-width: 640px; }
.em-body { font-size: 20px; line-height: 1.8; font-weight: 300; color: var(--em-ink-60); }
.em-quote-pull {
  font-family: var(--em-serif); font-style: italic; font-size: 30px; line-height: 1.5;
  color: var(--em-copper); border-left: 1px solid var(--em-copper-lt); padding-left: 28px;
}

/* ============ Sections ============ */
.em-section { padding: 112px 7vw; }
.em-section--tight { padding: 64px 7vw; }
.em-section--cream2 { background: var(--em-cream-2); }
.em-section--dark { background: var(--em-ink); color: var(--em-cream); }
.em-section--dark .em-h2, .em-section--dark .em-h3 { color: var(--em-cream); }
.em-section--dark .em-h2 em { color: var(--em-sand); }
.em-section--center { text-align: center; }

/* ============ Hero ============ */
.em-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; }
.em-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,20,16,.92) 0%, rgba(25,20,16,.55) 45%, rgba(25,20,16,.15) 100%);
}
.em-hero > .vc_column_container, .em-hero .em-hero-inner { position: relative; z-index: 1; }
.em-hero .em-kicker { color: var(--em-sand-lt); text-shadow: 0 1px 12px rgba(25,20,16,.6); }
.em-hero p { color: #fff; text-shadow: 0 1px 16px rgba(25,20,16,.6); }

/* Hero search bar */
.em-search { display: flex; max-width: 640px; background: rgba(251,248,243,.98); }
.em-search input[type="text"] {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 22px 28px; font-family: var(--em-sans); font-size: 20px; font-weight: 300; color: var(--em-ink);
}
.em-search button, .em-btn--solid {
  background: var(--em-ink); color: var(--em-cream); border: none; cursor: pointer;
  font-family: var(--em-sans); font-size: 16px; font-weight: 500; letter-spacing: .22em; padding: 20px 44px;
}
.em-btn--solid:hover { background: var(--em-copper); color: #fff; }
.em-btn--outline {
  display: inline-block; border: 1px solid var(--em-ink); color: var(--em-ink);
  font-size: 16px; font-weight: 500; letter-spacing: .2em; padding: 17px 40px;
}
.em-btn--outline:hover { background: var(--em-ink); color: var(--em-cream); }
.em-link-underline {
  font-size: 16px; font-weight: 500; letter-spacing: .2em; color: var(--em-ink);
  border-bottom: 1px solid var(--em-copper-lt); padding-bottom: 4px;
}

/* ============ Credentials band ============ */
.em-creds { display: flex; justify-content: center; align-items: stretch; max-width: 1400px; margin: 0 auto; }
.em-cred { flex: 1; text-align: center; padding: 0 24px; border-right: 1px solid rgba(251,248,243,.14); }
.em-cred:last-child { border-right: none; }
.em-cred-title { font-family: var(--em-serif); font-style: italic; font-size: 30px; color: var(--em-cream); }
.em-cred-sub { font-size: 14.5px; letter-spacing: .26em; font-weight: 500; color: rgba(217,185,155,.85); text-transform: uppercase; margin-top: 12px; }

/* ============ Editorial index rows (process / doors / guides) ============ */
.em-rows .em-row-item {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) 44px; gap: 28px; align-items: center;
  border-top: 1px solid rgba(34,30,26,.15); padding: 34px 8px;
}
.em-rows a.em-row-item:hover { background: var(--em-cream-2); }
.em-row-num { font-family: var(--em-serif); font-style: italic; font-size: 24px; color: var(--em-copper-lt); }
.em-row-title { font-family: var(--em-serif); font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--em-ink); }
.em-row-cta { font-size: 16px; font-weight: 500; letter-spacing: .22em; color: var(--em-copper); margin-top: 10px; }
.em-row-arrow { font-size: 26px; color: var(--em-copper); text-align: right; }

/* ============ Listing cards ============ */
.em-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.em-card { background: var(--em-card); border: 1px solid rgba(34,30,26,.08); display: block; }
.em-card-img { position: relative; height: 300px; overflow: hidden; }
.em-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-card-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(34,30,26,.92); color: var(--em-cream);
  font-size: 14px; letter-spacing: .24em; padding: 8px 14px;
}
.em-card-body { padding: 30px 32px 34px; }
.em-card-price { font-family: var(--em-serif); font-size: 40px; font-weight: 600; color: var(--em-ink); }
.em-card-addr { font-size: 19px; font-weight: 300; color: var(--em-ink-60); margin: 8px 0 16px; }
.em-card-facts { font-size: 15.5px; letter-spacing: .14em; color: var(--em-ink-45); text-transform: uppercase; }

/* ============ Stats band ============ */
.em-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; text-align: center; }
.em-stats .em-stat { border-top: 1px solid rgba(251,248,243,.2); padding-top: 36px; }
.em-stat-value { font-family: var(--em-serif); font-size: 68px; font-weight: 500; color: var(--em-cream); }
.em-stat-label { font-size: 15.5px; font-weight: 500; letter-spacing: .24em; color: var(--em-sand); margin-top: 12px; text-transform: uppercase; }

/* ============ City / neighborhood link grid ============ */
.em-hoods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 64px; border-bottom: 1px solid rgba(34,30,26,.15); }
/* Card styles only on anchors (WPBakery markup). Imported pages use
   span.em-hood as a responsive font hook - no border/padding there. */
a.em-hood { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(34,30,26,.15); padding: 32px 8px 36px; }
.em-hood-name { font-family: var(--em-serif); font-size: 44px; font-weight: 600; color: var(--em-ink); display: flex; justify-content: space-between; align-items: baseline; }
.em-hood-name::after { content: '→'; font-family: var(--em-sans); font-size: 22px; color: var(--em-copper); }
.em-hood-hook { font-size: 17.5px; font-weight: 300; color: rgba(34,30,26,.55); }

/* ============ Hero / page-header breathing room ============ */
/* Hero wrappers carry a fixed inline height; unlock them so they grow
   with the padded content instead of clipping it. (Selectors cover
   minified inline styles and any content wrapper class.) */
body.em-brand div[style*="85vh, 780px"],
body.em-brand div[style*="85vh,780px"],
body.em-brand div[style*="60vh, 560px"],
body.em-brand div[style*="60vh,560px"],
body.em-brand div:has(> .em-heropad) {
  height: auto !important;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.em-heropad { position: relative !important; z-index: 1; inset: auto !important; padding-top: 100px !important; padding-bottom: 125px !important; }

/* ============ Photo offset (About) ============ */
.em-photo-offset { position: relative; }
.em-photo-offset::before { content: ''; position: absolute; inset: 32px -32px -32px 32px; background: var(--em-cream-2); }
.em-photo-offset img { position: relative; width: 100%; height: auto; display: block; }

/* ============ Review spotlight ============ */
.em-review-mark { font-family: var(--em-serif); font-size: 94px; line-height: .4; color: var(--em-copper-lt); }
.em-review-quote { font-family: var(--em-serif); font-size: 44px; line-height: 1.35; font-weight: 500; color: var(--em-ink); margin: 28px auto 32px; max-width: 880px; }
.em-review-name { font-size: 16px; letter-spacing: .22em; color: rgba(34,30,26,.55); text-transform: uppercase; }

/* ============ Info columns (schools / local life / good to know) ============ */
.em-info-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.em-info-col { border-top: 1px solid rgba(34,30,26,.2); padding-top: 22px; }
.em-info-label { font-size: 14px; letter-spacing: .3em; color: var(--em-copper); font-weight: 500; margin-bottom: 14px; text-transform: uppercase; }
.em-info-col p { font-size: 19px; line-height: 1.75; font-weight: 300; color: rgba(34,30,26,.75); margin: 0; }
.em-note { background: var(--em-cream-2); padding: 22px 26px; font-size: 18px; }
.em-note strong { font-size: 14px; letter-spacing: .28em; color: var(--em-copper); font-weight: 500; }

/* ============ Hub / WPBakery overrides ============ */
.vc_row.em-section { margin-left: 0; margin-right: 0; }
.lqd-section-title h2, .em-section .vc_custom_heading h2 { font-family: var(--em-serif); }

/* ============================================================
   IMPORTED-CONTENT SUPPORT (pages from emily-murphy-site.wxr.xml)
   The imported pages carry their design inline; these rules add
   the fonts, base resets, and responsive behavior they expect.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

.page .entry-content, .page .lqd-page-content { max-width: none; padding: 0; margin: 0; }
/* Kill the theme's cream gap between the page content and the footer. */
.page .site-main, .page .content-area, .page main, .page article.page,
.page .site-content, .page #content, .page .lqd-container { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.page .entry-content > :last-child, .page .entry-content > div:last-of-type { margin-bottom: 0 !important; }
/* Neutralize any stray autop tags inside the imported layouts. */
.page .entry-content > p:empty, .page .entry-content div > p:empty { display: none; }
/* wpautop drops stray <p>/<br> around the raw-HTML block - every real element on these pages is a div, so top-level p/br are always junk. */
.page .entry-content > p, .page .entry-content > br { display: none; }
.page .site-footer, .page footer.em-footer { margin-top: 0 !important; }
.page .entry-content br:only-child { display: none; }
/* Keep the pinned bars below the WP admin bar when logged in. */
body.admin-bar .em-topbar { top: 32px; }
body.admin-bar .em-header { top: 72px; }
@media (max-width: 960px) { body.admin-bar .em-header { top: 46px; } }
.page .entry-content > div { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.page .entry-content a { text-decoration: none; }
.page .entry-content ::placeholder { color: rgba(34, 30, 26, .38); }
/* Custom select chevron - pulled in from the edge. */
.page .entry-content select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23A87855' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 52px;
}
.page .entry-content select::-ms-expand { display: none; }

@media (max-width: 960px) {
  .em-pad { padding: 64px 24px !important; }
  .em-heropad { padding: 150px 24px !important; }
  .em-h1 { font-size: 52px !important; }
  .em-herop { font-size: 20px !important; }
  .em-h2 { font-size: 40px !important; }
  .em-h2big { font-size: 48px !important; }
  .em-split, .em-hoodrow { display: flex !important; flex-direction: column !important; gap: 44px !important; align-items: stretch !important; }
  .em-splitimg { height: 340px !important; }
  .em-heroimg, .em-hoodimg { height: 260px !important; }
  .em-grid2, .em-grid3 { grid-template-columns: 1fr !important; }
  .em-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px !important; }
  .em-cred { flex-direction: column !important; gap: 30px !important; }
  .em-cred > div { border-right: none !important; }
  .em-rowhead, .em-resultbar { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; padding: 0 !important; }
  .em-postrow { grid-template-columns: 48px minmax(0, 1fr) !important; gap: 16px !important; padding: 28px 0 !important; }
  .em-postmeta, .em-postarrow, .em-soldmeta { display: none !important; }
  .em-ctarow { flex-direction: column !important; gap: 20px !important; }
  .em-steprow { grid-template-columns: 56px minmax(0, 1fr) !important; gap: 18px !important; }
  .em-stepdesc { grid-column: 2 !important; }
  .em-soldrow { grid-template-columns: minmax(0, 1fr) auto !important; }
  .em-valform, .em-searchbar { flex-direction: column !important; }
  .em-valform input, .em-valform button, .em-searchbar input, .em-searchbar button { width: 100% !important; }
  .em-hoodstats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
  .em-contact { grid-template-columns: 1fr !important; gap: 44px !important; }
  .em-grid2 { grid-template-columns: 1fr !important; }
  .em-doortitle { font-size: 31px !important; }
  span.em-hood { font-size: 34px !important; }
  a.em-hood { font-size: inherit; }
  .em-stat { font-size: 46px !important; }
  .em-quote { font-size: 30px !important; }
}

/* ============ Responsive (WPBakery markup classes) ============ */
@media (max-width: 960px) {
  .em-section, .em-section--tight { padding: 64px 24px; }
  .em-h1 { font-size: 56px; }
  .em-h2 { font-size: 42px; }
  .em-h3 { font-size: 31px; }
  .em-lead { font-size: 20px; }
  .em-creds { flex-direction: column; gap: 30px; }
  .em-cred { border-right: none; }
  .em-cards, .em-hoods, .em-info-cols { grid-template-columns: 1fr; }
  .em-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .em-stat-value { font-size: 46px; }
  .em-rows .em-row-item { grid-template-columns: 56px minmax(0, 1fr); }
  .em-row-arrow { display: none; }
  .em-row-title { font-size: 31px; }
  .em-hood-name { font-size: 34px; }
  .em-review-quote { font-size: 30px; }
  .em-search { flex-direction: column; }
  .em-search button { padding: 18px 0; }
}

/* ============================================================
   HEADER + PRIMARY NAV + MEGA-MENU
   ============================================================ */
.em-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--em-ink); color: var(--em-cream); padding: 12px 20px;
  font-family: var(--em-sans); font-size: 14px; letter-spacing: .2em;
}
.em-skip-link:focus { left: 12px; top: 12px; }

/* Top utility bar - dark, full width, every page; stays pinned on scroll. */
.em-topbar { background: var(--em-ink); position: sticky; top: 0; z-index: 201; }
.em-topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  max-width: 1680px; margin: 0 auto; height: 40px; padding: 0 7vw;
  font-size: 13px; font-weight: 300; letter-spacing: .12em; color: rgba(251,248,243,.75);
}
.em-topbar-contact { display: flex; gap: 14px; }
.em-topbar-dot { color: rgba(251,248,243,.35); }
.em-topbar-links { display: flex; gap: 32px; }
.em-topbar a { color: rgba(251,248,243,.75); }
.em-topbar a:hover { color: var(--em-sand); }

/* Cream sticky nav bar (matches the HTML design), below the pinned topbar. */
.em-header {
  position: sticky; top: 40px; z-index: 200;
  background: rgba(251,248,243,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34,30,26,.1);
}
.em-header-inner {
  display: flex; align-items: center; gap: 40px; height: 104px;
  padding: 0 7vw; max-width: 1680px; margin: 0 auto;
}
.em-menu > li > a { color: var(--em-ink); }
.em-menu > li > a:hover { color: var(--em-copper); }

/* Logo */
.em-logo { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.em-logo img { max-height: 76px; width: auto; }
.em-logo-name { font-family: var(--em-sans); font-size: 19px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--em-ink); }
.em-logo-sub { font-family: var(--em-sans); font-size: 14px; font-weight: 500; letter-spacing: .34em; color: var(--em-copper); }

/* Primary menu */
.em-nav { flex: 1; display: flex; justify-content: center; }
.em-menu { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; align-items: center; }
.em-menu > li { position: static; }
.em-menu > li > a {
  font-family: var(--em-sans); font-size: 15px; font-weight: 400; letter-spacing: .16em;
  text-transform: uppercase; padding: 40px 0; display: inline-flex; align-items: center; gap: 7px;
  position: relative;
}
.em-menu > li > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--em-copper-lt); transition: right .3s ease;
}
.em-menu > li > a:hover::after { right: 0; }
.em-caret { font-size: 11px; color: var(--em-copper); transition: transform .25s ease; }
.em-menu > li.is-open > .em-caret,
.em-menu > li:hover .em-caret { transform: rotate(180deg); }

.em-header-cta { flex-shrink: 0; }
.em-btn--sm { padding: 13px 26px; font-size: 13px; }

/* Mega-menu panel */
.em-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--em-cream); border-top: 1px solid rgba(34,30,26,.1);
  box-shadow: 0 24px 40px -24px rgba(34,30,26,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  pointer-events: none;
}
.em-has-mega:hover > .em-mega,
.em-has-mega.is-open > .em-mega {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.em-mega-inner { max-width: 1680px; margin: 0 auto; padding: 56px 7vw 60px; }
.em-mega-cols { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; }
.em-mega-col { min-width: 0; }
.em-mega-colhead {
  font-family: var(--em-serif); font-size: 25px; font-weight: 600; color: var(--em-ink);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(34,30,26,.15);
}
.em-mega-colarrow { color: var(--em-copper); font-size: 16px; }
.em-mega-colhead:hover { color: var(--em-copper); }
.em-mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.em-mega-link a {
  font-family: var(--em-sans); font-size: 16px; font-weight: 300; color: var(--em-ink-60);
}
.em-mega-link a:hover { color: var(--em-copper); }

/* Fallback mega panels (Buy / Sell / Search / Cities / About) */
.em-mega-flex { display: flex; gap: 80px; max-width: 1240px; }
.em-mega-main { flex: 1; min-width: 0; }
.em-mega-title {
  font-size: 15px; letter-spacing: .34em; font-weight: 500; color: var(--em-copper);
  border-bottom: 1px solid rgba(34,30,26,.12); padding-bottom: 16px; margin-bottom: 28px;
}
.em-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 56px; }
.em-mega-item { display: block; }
.em-mega-itemtitle { display: block; font-family: var(--em-serif); font-size: 25px; font-weight: 600; color: var(--em-ink); transition: color .25s; }
.em-mega-item:hover .em-mega-itemtitle { color: var(--em-copper); }
.em-mega-itemdesc { display: block; font-size: 17px; font-weight: 300; color: var(--em-ink-60); margin-top: 3px; }
.em-mega-sublink { display: block; font-size: 15px; font-weight: 500; letter-spacing: .1em; color: var(--em-copper); margin: 8px 0 0 18px; }
.em-mega-sublink:hover { color: var(--em-ink); }
.em-mega-ctabox { width: 320px; flex-shrink: 0; background: var(--em-cream-2); padding: 36px 32px; align-self: flex-start; }
.em-mega-ctakicker { font-size: 14px; letter-spacing: .34em; color: var(--em-copper); font-weight: 500; margin-bottom: 14px; }
.em-mega-ctatitle { font-family: var(--em-serif); font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--em-ink); }
.em-mega-ctadesc { font-size: 17.5px; font-weight: 300; line-height: 1.6; color: var(--em-ink-60); margin: 12px 0 22px; }

/* Sticky header needs no content offset. */

/* Mobile toggle (hidden on desktop) */
.em-nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 34px; height: 26px; position: relative; flex-shrink: 0; }
.em-nav-toggle span { position: absolute; left: 0; right: 0; height: 2px; background: var(--em-ink); transition: transform .3s, opacity .3s; }
.em-nav-toggle span:nth-child(1) { top: 2px; }
.em-nav-toggle span:nth-child(2) { top: 12px; }
.em-nav-toggle span:nth-child(3) { top: 22px; }

/* Mobile drawer */
.em-drawer { display: none; }
body.em-drawer-open { overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.em-footer { background: var(--em-ink); color: var(--em-cream); }
.em-footer-top {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr; gap: 56px 48px;
  max-width: 1680px; margin: 0 auto; padding: 96px 7vw 72px;margin-top:-40px;
}
.em-logo-name--footer { font-family: var(--em-serif); font-size: 34px; color: var(--em-cream); letter-spacing: 0; text-transform: none; }
.em-logo-sub--footer { color: var(--em-sand); margin-top: 6px; }
.em-footer-blurb { font-size: 17px; font-weight: 300; line-height: 1.7; color: rgba(251,248,243,.6); max-width: 380px; margin: 24px 0 26px; }
.em-footer-social { display: flex; gap: 26px; }
.em-footer-social a { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--em-sand); }
.em-footer-social a:hover { color: #fff; }

.em-footer-head { font-family: var(--em-serif); font-style: italic; font-size: 24px; font-weight: 500; color: var(--em-cream); margin: 0 0 22px; }
.em-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.em-footer-menu a { font-size: 16px; font-weight: 300; color: rgba(251,248,243,.62); }
.em-footer-menu a:hover { color: var(--em-sand-lt); }

.em-footer-phone { display: block; font-family: var(--em-serif); font-size: 30px; font-weight: 600; color: var(--em-cream); }
.em-footer-email { display: block; font-size: 16px; color: var(--em-sand-lt); margin: 10px 0 20px; }
.em-footer-addr { font-size: 15.5px; font-weight: 300; line-height: 1.7; color: rgba(251,248,243,.55); margin: 0; }

.em-footer-creds {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  max-width: 1680px; margin: 0 auto; padding: 30px 7vw;
  border-top: 1px solid rgba(251,248,243,.12); border-bottom: 1px solid rgba(251,248,243,.12);
}
.em-footer-creds span {
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(217,185,155,.85); position: relative;
}
.em-footer-creds span:not(:last-child)::after {
  content: '·'; position: absolute; right: -22px; color: rgba(251,248,243,.3);
}

.em-footer-legal { padding: 28px 7vw 34px; }
.em-footer-legal-inner {
  max-width: 1680px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px 40px;
}
.em-footer-legal p { font-size: 14px; font-weight: 300; color: rgba(251,248,243,.5); margin: 0; }
.em-footer-legal-links { display: flex; gap: 26px; }
.em-footer-legal-links a { font-size: 13px; letter-spacing: .12em; color: rgba(251,248,243,.5); }
.em-footer-legal-links a:hover { color: var(--em-sand-lt); }
.em-footer-eho { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .1em; color: rgba(251,248,243,.5); }
.em-eho-mark { font-size: 20px; }

/* ============================================================
   HEADER + FOOTER RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .em-menu { gap: 26px; }
  .em-menu > li > a { font-size: 12px; letter-spacing: .14em; }
  .em-header-inner { gap: 24px; }
}
@media (max-width: 1100px) {
  .em-nav, .em-header-cta { display: none; }
  .em-nav-toggle { display: block; }
  .em-topbar { display: none; }
  .em-header { top: 0; }
  .em-header-inner { height: 76px; justify-content: space-between; }
  .em-logo img { max-height: 56px; }
  .em-logo-name { font-size: 15px; }
  .em-logo-sub { font-size: 11px; }

  .em-drawer {
    display: block; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 190;
    background: var(--em-cream); padding: 32px 24px 40px; overflow-y: auto;
  }
  .em-drawer[hidden] { display: none; }
  .em-drawer-menu { list-style: none; margin: 0; padding: 0; }
  .em-drawer-menu li { border-bottom: 1px solid rgba(34,30,26,.12); }
  .em-drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .em-drawer-row > a,
  .em-drawer-menu > li > a {
    display: flex; flex: 1; align-items: center; padding: 18px 4px; min-height: 44px;
    font-family: var(--em-serif); font-size: 30px; font-weight: 600; color: var(--em-ink);
  }
  .em-drawer-toggle {
    background: none; border: none; cursor: pointer; flex-shrink: 0;
    min-width: 48px; min-height: 48px; padding: 0;
    font-family: var(--em-sans); font-size: 30px; font-weight: 300; line-height: 1; color: var(--em-copper);
    transition: transform .25s ease;
  }
  .em-drawer-toggle[aria-expanded="true"] { transform: rotate(45deg); }
  .em-drawer-sub { display: grid; gap: 4px; padding: 0 4px 20px; }
  .em-drawer-sub[hidden] { display: none; }
  .em-drawer-sub a {
    display: flex; align-items: center; min-height: 40px;
    font-size: 18px; font-weight: 300; color: var(--em-ink-60);
  }
  .em-drawer-sub a:hover { color: var(--em-copper); }
  .em-drawer-menu .sub-menu, .em-drawer-menu .em-mega { display: none; }
  .em-drawer-cta { display: block; text-align: center; margin-top: 28px; }
  .em-drawer-contact { margin-top: 20px; font-size: 15px; letter-spacing: .14em; color: rgba(34,30,26,.55); text-align: center; }

  .em-footer-top { grid-template-columns: 1fr 1fr; gap: 44px 32px; padding: 64px 24px 48px; }
  .em-footer-brand { grid-column: 1 / -1; }
  .em-footer-creds { gap: 12px 26px; padding: 26px 24px; }
  .em-footer-creds span:not(:last-child)::after { content: none; }
  .em-footer-legal { padding: 24px 24px 30px; }
  .em-footer-legal-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .em-footer-top { grid-template-columns: 1fr; }
}

/* ============ Testimonial sliders ============ */
.em-reviews { -ms-overflow-style: none; scrollbar-width: none; }
.em-reviews::-webkit-scrollbar { display: none; }
.em-reviews-nav { display: flex; gap: 12px; margin-top: 22px; }
.em-reviews-nav button {
  width: 48px; height: 48px; border: 1px solid rgba(34,30,26,.3); background: transparent;
  color: #221E1A; font-size: 19px; cursor: pointer; font-family: inherit; transition: background .2s, color .2s;
}
.em-reviews-nav button:hover { background: var(--em-ink); color: var(--em-cream); }
@media (max-width: 960px) {
  .em-reviews > * { flex: 0 0 86% !important; }
}
