/*
Theme Name: Jason Todd Real Estate
Theme URI: https://jasontodd.net/
Author: Jason Todd Real Estate
Description: A bespoke, responsive WordPress theme for Jason Todd Real Estate, built for DreamPress.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: jason-todd-real-estate
*/

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --navy: #1f2742;
  --gold: #9b7e4e;
  --muted: #f5f6f8;
  --border: #e4e6ec;
  --subtle: #6b7280;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.site-main { min-height: 50vh; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; clip: auto; color: var(--navy); background: var(--white); }
.current-menu-item > a, .current_page_item > a { color: var(--gold); }
.post-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.post-content > .alignwide { max-width: 1120px; }
.post-content > .alignfull { max-width: none; }
.post-content a:not(.button) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin-bottom: 24px; color: rgba(31,39,66,.72); }
.post-content blockquote { margin-top: 36px; margin-bottom: 36px; padding: 24px 32px; border-left: 3px solid var(--gold); background: var(--muted); }
.post-content blockquote p:last-child { margin-bottom: 0; }
.pagination { display: flex; gap: 12px; justify-content: center; margin-top: 60px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); }
.pagination .current { color: var(--white); border-color: var(--gold); background: var(--gold); }
.contact-form-shell { margin-top: 42px; padding: 36px; border: 1px solid var(--border); background: var(--white); }
.contact-form-shell input:not([type="submit"]), .contact-form-shell textarea, .contact-form-shell select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 0; color: var(--navy); background: var(--white); font: inherit; }
.contact-form-shell input[type="submit"], .contact-form-shell button { min-height: 52px; padding: 15px 28px; border: 1px solid var(--gold); border-radius: 0; color: var(--navy); background: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.wp-caption, .wp-caption img { max-width: 100%; }
.wp-caption-text { color: var(--subtle); font-size: 12px; }
.single-article-hero { padding-bottom: 56px; }
.single-article-hero .article-meta { max-width: 760px; margin-top: 26px; }
.single-featured-image { width: min(1120px, calc(100% - 48px)); max-height: 650px; margin: -40px auto 72px; object-fit: cover; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 300; letter-spacing: .02em; line-height: 1.15; }
h2 { margin-bottom: 26px; font-size: 48px; }
h3 { font-size: 24px; }
p { color: rgba(31,39,66,.65); }
::selection { color: var(--white); background: var(--gold); }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 0 40px; }
.narrow-container { width: min(896px, calc(100% - 48px)); margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 112px 0; }
.muted-section, .consultation-section { background: var(--muted); }
.navy-section { color: var(--white); background: var(--navy); }
.navy-section p { color: rgba(255,255,255,.58); }
.centered { text-align: center; }
.center-action { margin-top: 64px; text-align: center; }
.eyebrow { margin-bottom: 20px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading.centered { margin-right: auto; margin-left: auto; }
.section-heading p { margin-right: auto; margin-left: auto; max-width: 720px; }

.site-header { position: relative; z-index: 50; width: 100%; border-bottom: 1px solid var(--border); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1360px, calc(100% - 48px)); height: 94px; margin: 0 auto; padding: 0 18px; }
.brand-link { display: inline-flex; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 32px; height: 40px; }
.brand-copy { display: flex; flex-direction: column; color: var(--navy); line-height: 1; }
.brand-copy strong { font-size: 20px; font-weight: 300; letter-spacing: .11em; white-space: nowrap; }
.brand-copy small { margin-top: 7px; font-size: 9px; font-weight: 500; letter-spacing: .35em; }
.brand-light .brand-copy { color: var(--white); }
.brand-light img { filter: grayscale(1) brightness(0) invert(1); }
.desktop-nav { display: flex; gap: 40px; align-items: center; }
.desktop-nav ul { display: flex; gap: 40px; align-items: center; margin: 0; padding: 0; list-style: none; }
.desktop-nav li { margin: 0; }
.desktop-nav a { position: relative; padding: 8px 0; font-size: 12px; font-weight: 400; letter-spacing: .28em; }
.desktop-nav a::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: var(--gold); transition: .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; left: 0; }
.menu-button { display: none; width: 34px; height: 34px; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--navy); transition: .22s; }
.mobile-panel { display: none; }

.site-footer { color: rgba(255,255,255,.7); background: var(--navy); }
.footer-inner { display: grid; grid-template-columns: 1.5fr .65fr 1.3fr; gap: 72px; width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 80px 18px 74px; }
.footer-brand p { max-width: 425px; margin-top: 28px; color: rgba(255,255,255,.58); font-size: 14px; }
.site-footer h3 { margin-bottom: 25px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .28em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 15px; font-size: 14px; letter-spacing: .04em; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-legal { position: relative; width: min(1360px, calc(100% - 48px)); min-height: 150px; margin: 0 auto; padding: 28px 18px 50px; border-top: 1px solid rgba(255,255,255,.1); }
.housing-line { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .16em; }
.housing-line img { width: 28px; height: 28px; }
.housing-line i { width: 1px; height: 14px; margin: 0 4px; background: rgba(255,255,255,.22); }
.footer-legal p { margin-top: 18px; color: rgba(255,255,255,.4); font-size: 11px; letter-spacing: .1em; }
.legal-links { position: absolute; right: 18px; bottom: 49px; display: flex; gap: 24px; color: rgba(255,255,255,.48); font-size: 11px; letter-spacing: .12em; }

.home-hero { position: relative; height: clamp(560px, 78vh, 820px); overflow: hidden; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(31,39,66,.28), rgba(31,39,66,.58)); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 42px 24px; color: var(--white); text-align: center; }
.hero-kicker { margin-bottom: 34px; color: var(--white); font-size: 12px; letter-spacing: .4em; }
.hero-copy h1 { max-width: 1100px; margin-bottom: 32px; font-size: 16px; font-weight: 300; }
.hero-copy h1 span { display: block; font-size: 60px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.hero-copy h1 span + span { margin-top: 4px; }
.hero-description { max-width: 690px; margin-bottom: 38px; color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 15px 28px; border: 1px solid var(--gold); color: var(--navy); background: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .22em; line-height: 1.45; text-align: center; text-transform: uppercase; transition: color .22s, background .22s, border-color .22s; }
.button:hover, .button:focus-visible { color: var(--white); border-color: var(--navy); background: var(--navy); }
.button-outline { border-color: var(--gold); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: var(--white); background: var(--gold); }
.button-light { color: var(--white); border-color: var(--white); }
.button-light:hover, .button-light:focus-visible { color: var(--navy); border-color: var(--white); background: var(--white); }

.intro-section h2 { max-width: 768px; margin-right: auto; margin-left: auto; font-size: 44px; line-height: 1.2; }
.intro-section p { margin-bottom: 16px; }
.intro-section .button { margin-top: 26px; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.help-card { min-height: 320px; padding: 40px; border: 1px solid var(--border); background: var(--white); }
.line-icon, .resource-icon { display: inline-flex; width: 49px; height: 49px; align-items: center; justify-content: center; margin-bottom: 27px; border: 1px solid rgba(155,126,78,.55); color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.help-card h3 { margin-bottom: 12px; }
.help-card p { min-height: 52px; margin-bottom: 30px; font-size: 14px; }
.help-card .button { min-height: 43px; padding: 11px 20px; font-size: 10px; }

.advantages { min-height: 1000px; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.advantage-grid article { min-height: 290px; padding: 40px; border: 1px solid var(--border); }
.advantage-grid article:nth-child(n+4) { margin-top: -1px; }
.advantage-grid article + article { margin-left: -1px; }
.advantage-grid h3 { margin-bottom: 15px; font-size: 20px; }
.advantage-grid p { font-size: 14px; }

.services-section h2, .resources-section h2, .navy-section > .container > h2 { max-width: 670px; margin-bottom: 56px; font-size: 48px; }
.service-list { border-top: 1px solid rgba(255,255,255,.17); }
.service-list a { display: grid; grid-template-columns: 70px 1.1fr 2fr 42px; gap: 28px; align-items: center; min-height: 133px; border-bottom: 1px solid rgba(255,255,255,.17); transition: color .22s, padding .22s; }
.service-list a > span { color: var(--gold); font-size: 10px; letter-spacing: .2em; }
.service-list h3 { margin: 0; font-size: 30px; }
.service-list p { margin: 0; max-width: 560px; font-size: 14px; }
.service-list i { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.26); font-style: normal; }
.service-list a:hover { color: var(--gold); padding-left: 10px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px 32px; }
.article-card { display: block; }
.article-image { height: 220px; margin-bottom: 19px; overflow: hidden; background: var(--muted); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-meta { display: flex; justify-content: space-between; margin-bottom: 17px; color: var(--gold); font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.article-meta time { color: rgba(31,39,66,.42); letter-spacing: .04em; text-transform: none; }
.article-card h3 { min-height: 56px; margin-bottom: 13px; font-size: 20px; line-height: 1.35; }
.article-card > p { min-height: 66px; margin-bottom: 15px; font-size: 13px; }
.text-link { color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .24em; }
.text-link::after { content: " ↗"; }

.resource-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 55px; }
.resource-heading > div { max-width: 650px; }
.resource-heading h2 { margin-bottom: 16px; }
.resource-heading p { margin: 0; }
.resource-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.17); }
.resource-card { display: flex; min-height: 365px; flex-direction: column; padding: 32px; border-right: 1px solid rgba(255,255,255,.17); transition: background .25s; }
.resource-card:last-child { border-right: 0; }
.resource-card:hover { background: rgba(255,255,255,.07); }
.resource-card .resource-icon { margin-bottom: 25px; }
.resource-card .eyebrow { margin-bottom: 14px; }
.resource-card h3 { margin-bottom: 12px; font-size: 19px; }
.resource-card > p:not(.eyebrow) { font-size: 13px; }
.coming-soon { margin-top: auto; width: fit-content; padding: 7px 13px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .24em; }

.consultation-section { padding: 112px 0; }
.consultation-panel { display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 48px)); min-height: 330px; margin: 0 auto; padding: 64px; border: 1px solid var(--gold); background: var(--white); }
.consultation-panel > div { max-width: 650px; }
.consultation-panel h2 { margin-bottom: 18px; font-size: 40px; }
.consultation-panel p { margin-bottom: 0; }

.page-hero { display: flex; min-height: 450px; align-items: center; color: var(--white); background: var(--navy); }
.page-hero-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 80px 40px; }
.page-hero h1 { max-width: 950px; margin-bottom: 27px; font-size: 60px; line-height: 1.1; letter-spacing: .04em; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.page-hero-image { min-height: 620px; background-position: center; background-size: cover; }
.page-hero-split { display: grid; min-height: 650px; grid-template-columns: 1fr 1fr; }
.page-hero-copy { padding: 90px max(7vw, 48px); }
.page-hero-split > img { width: 100%; height: 650px; object-fit: cover; }
.editorial-text h2 { font-size: 44px; }
.editorial-text p { font-size: 16px; line-height: 1.8; }
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.credential-grid > div { display: flex; min-height: 150px; flex-direction: column; gap: 14px; padding: 32px; background: var(--white); }
.credential-grid span, .contact-list span { color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .24em; }
.credential-grid strong, .contact-list strong { font-size: 15px; font-weight: 300; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature-card { min-height: 250px; padding: 38px; border: 1px solid var(--border); background: var(--white); }
.feature-card + .feature-card { margin-left: -1px; }
.feature-card:nth-child(n+4) { margin-top: -1px; }
.feature-number { display: block; margin-bottom: 32px; color: var(--gold); font-size: 10px; letter-spacing: .24em; }
.feature-card h3 { margin-bottom: 16px; font-size: 21px; }
.feature-card p { margin-bottom: 0; font-size: 14px; }
.navy-section .feature-card { border-color: rgba(255,255,255,.16); background: transparent; }
.navy-section .feature-card p { color: rgba(255,255,255,.58); }
.editorial-band { background: var(--white); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.editorial-grid > img { width: 100%; height: 540px; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px; border: 1px solid var(--border); }
.editorial-copy h2, .editorial-copy h3 { margin-bottom: 25px; font-size: 40px; }
.editorial-copy .button { align-self: flex-start; margin-top: 22px; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.library-grid article, .library-grid > a { display: block; min-height: 230px; padding: 32px; border: 1px solid var(--border); background: var(--white); }
.library-grid > a { transition: border-color .2s, transform .2s; }
.library-grid > a:hover { border-color: var(--gold); transform: translateY(-2px); }
.library-grid h3 { margin-bottom: 18px; font-size: 20px; }
.library-grid p { font-size: 14px; }
.library-grid span { color: var(--gold); font-size: 9px; font-weight: 500; letter-spacing: .24em; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-list { border-top: 1px solid var(--border); }
.contact-list > * { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.section-heading, .help-card, .article-card, .feature-card, .resource-card { animation: rise .65s ease both; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 10px; }
  .hero-copy h1 span { font-size: 52px; }
  .container, .narrow-container, .page-hero-inner { padding-right: 24px; padding-left: 24px; }
  .article-grid { gap: 44px 24px; }
  .resource-card { padding: 24px; }
}

@media (max-width: 767px) {
  h2 { font-size: 32px; }
  h3 { font-size: 21px; }
  .container, .narrow-container { width: 100%; padding-right: 24px; padding-left: 24px; }
  .section-pad { padding: 80px 0; }
  .header-inner { width: 100%; height: 85px; padding: 0 24px; }
  .brand { gap: 12px; }
  .brand img { width: 33px; height: 41px; }
  .brand-copy strong { font-size: 18px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-button span:nth-child(2) { opacity: 0; }
  .menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-panel { display: none; border-top: 1px solid var(--border); }
  .menu-open .mobile-panel { display: block; animation: rise .25s ease both; }
  .mobile-panel nav { display: flex; flex-direction: column; padding: 20px 24px 8px; }
  .mobile-panel nav ul { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
  .mobile-panel nav a { padding: 13px 0; font-size: 14px; letter-spacing: .24em; }
  .mobile-contact { margin: 12px 24px 24px; padding-top: 15px; border-top: 1px solid var(--border); }
  .mobile-contact a { display: flex; gap: 16px; padding: 6px 0; color: rgba(31,39,66,.7); font-size: 13px; }
  .mobile-contact span { width: 34px; color: var(--gold); font-size: 8px; font-weight: 500; letter-spacing: .1em; }
  .home-hero { height: clamp(560px, 78vh, 820px); }
  .home-hero > img { object-position: 51% center; }
  .hero-copy { justify-content: flex-start; padding-top: 95px; }
  .hero-kicker { margin-bottom: 28px; font-size: 11px; }
  .hero-copy h1 { margin-bottom: 27px; }
  .hero-copy h1 span { font-size: 28px; line-height: 1.15; letter-spacing: .04em; }
  .hero-copy h1 span + span { margin-top: 4px; }
  .hero-description { margin-bottom: 38px; font-size: 13px; line-height: 1.75; }
  .hero-actions { width: 100%; flex-direction: column; align-items: center; gap: 16px; }
  .hero-actions .button:first-child { width: 299px; }
  .hero-actions .button:last-child { width: 196px; }
  .hero-actions .button { white-space: nowrap; }
  .intro-section h2 { font-size: 28px; }
  .intro-section p { font-size: 14px; }
  .section-heading { margin-bottom: 42px; }
  .help-grid, .advantage-grid, .article-grid, .feature-grid, .library-grid { grid-template-columns: 1fr; }
  .help-card { min-height: 290px; padding: 32px; }
  .advantages { min-height: 0; }
  .advantage-grid article { min-height: 245px; padding: 32px; }
  .advantage-grid article + article { margin-top: -1px; margin-left: 0; }
  .services-section h2, .resources-section h2, .navy-section > .container > h2 { margin-bottom: 40px; font-size: 32px; }
  .service-list a { grid-template-columns: 38px 1fr 36px; gap: 15px; min-height: 160px; padding: 25px 0; }
  .service-list h3 { font-size: 23px; }
  .service-list p { grid-column: 2 / 4; margin-top: -12px; font-size: 13px; }
  .service-list i { grid-column: 3; grid-row: 1; width: 34px; height: 34px; }
  .article-grid { gap: 48px; }
  .article-image { height: 240px; }
  .article-card h3, .article-card > p { min-height: 0; }
  .resource-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .resource-cards { grid-template-columns: 1fr; }
  .resource-card { min-height: 300px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .resource-card:last-child { border-bottom: 0; }
  .consultation-section { padding: 80px 24px; }
  .consultation-panel { width: 100%; min-height: 0; align-items: stretch; flex-direction: column; gap: 34px; padding: 40px 30px; }
  .consultation-panel h2 { font-size: 28px; }
  .page-hero { min-height: 520px; }
  .page-hero-inner { width: 100%; padding: 70px 24px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p:not(.eyebrow) { font-size: 14px; }
  .page-hero-image { min-height: 620px; background-position: center; }
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-copy { padding: 70px 24px; }
  .page-hero-split > img { height: 460px; }
  .editorial-text h2 { font-size: 32px; }
  .credential-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 225px; margin: 0 !important; }
  .feature-card + .feature-card { margin-top: -1px !important; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid > img { height: 360px; }
  .editorial-copy { padding: 42px 30px; }
  .editorial-copy h2, .editorial-copy h3 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-list > * { grid-template-columns: 82px 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 45px; width: 100%; padding: 64px 24px; }
  .footer-legal { width: calc(100% - 48px); min-height: 220px; padding: 28px 0 40px; }
  .housing-line { align-items: flex-start; flex-wrap: wrap; }
  .housing-line i { display: none; }
  .footer-legal p { max-width: 280px; }
  .legal-links { position: static; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/*
Theme Name: Jason Todd Real Estate
Theme URI: https://jasontodd.net/
Author: Jason Todd Real Estate
Description: A bespoke, responsive WordPress theme for Jason Todd Real Estate, built for DreamPress.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: jason-todd-real-estate
*/

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --navy: #1f2742;
  --gold: #9b7e4e;
  --muted: #f5f6f8;
  --border: #e4e6ec;
  --subtle: #6b7280;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.site-main { min-height: 50vh; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; clip: auto; color: var(--navy); background: var(--white); }
.current-menu-item > a, .current_page_item > a { color: var(--gold); }
.post-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.post-content > .alignwide { max-width: 1120px; }
.post-content > .alignfull { max-width: none; }
.post-content a:not(.button) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin-bottom: 24px; color: rgba(31,39,66,.72); }
.post-content blockquote { margin-top: 36px; margin-bottom: 36px; padding: 24px 32px; border-left: 3px solid var(--gold); background: var(--muted); }
.post-content blockquote p:last-child { margin-bottom: 0; }
.pagination { display: flex; gap: 12px; justify-content: center; margin-top: 60px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); }
.pagination .current { color: var(--white); border-color: var(--gold); background: var(--gold); }
.contact-form-shell { margin-top: 42px; padding: 36px; border: 1px solid var(--border); background: var(--white); }
.contact-form-shell input:not([type="submit"]), .contact-form-shell textarea, .contact-form-shell select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 0; color: var(--navy); background: var(--white); font: inherit; }
.contact-form-shell input[type="submit"], .contact-form-shell button { min-height: 52px; padding: 15px 28px; border: 1px solid var(--gold); border-radius: 0; color: var(--navy); background: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.wp-caption, .wp-caption img { max-width: 100%; }
.wp-caption-text { color: var(--subtle); font-size: 12px; }
.single-article-hero { padding-bottom: 56px; }
.single-article-hero .article-meta { max-width: 760px; margin-top: 26px; }
.single-featured-image { width: min(1120px, calc(100% - 48px)); max-height: 650px; margin: -40px auto 72px; object-fit: cover; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 300; letter-spacing: .02em; line-height: 1.15; }
h2 { margin-bottom: 26px; font-size: 48px; }
h3 { font-size: 24px; }
p { color: rgba(31,39,66,.65); }
::selection { color: var(--white); background: var(--gold); }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 0 40px; }
.narrow-container { width: min(896px, calc(100% - 48px)); margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 112px 0; }
.muted-section, .consultation-section { background: var(--muted); }
.navy-section { color: var(--white); background: var(--navy); }
.navy-section p { color: rgba(255,255,255,.58); }
.centered { text-align: center; }
.center-action { margin-top: 64px; text-align: center; }
.eyebrow { margin-bottom: 20px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading.centered { margin-right: auto; margin-left: auto; }
.section-heading p { margin-right: auto; margin-left: auto; max-width: 720px; }

.site-header { position: relative; z-index: 50; width: 100%; border-bottom: 1px solid var(--border); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1360px, calc(100% - 48px)); height: 94px; margin: 0 auto; padding: 0 18px; }
.brand-link { display: inline-flex; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 32px; height: 40px; }
.brand-copy { display: flex; flex-direction: column; color: var(--navy); line-height: 1; }
.brand-copy strong { font-size: 20px; font-weight: 300; letter-spacing: .11em; white-space: nowrap; }
.brand-copy small { margin-top: 7px; font-size: 9px; font-weight: 500; letter-spacing: .35em; }
.brand-light .brand-copy { color: var(--white); }
.brand-light img { filter: grayscale(1) brightness(0) invert(1); }
.desktop-nav { display: flex; gap: 40px; align-items: center; }
.desktop-nav ul { display: flex; gap: 40px; align-items: center; margin: 0; padding: 0; list-style: none; }
.desktop-nav li { margin: 0; }
.desktop-nav a { position: relative; padding: 8px 0; font-size: 12px; font-weight: 400; letter-spacing: .28em; }
.desktop-nav a::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: var(--gold); transition: .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; left: 0; }
.menu-button { display: none; width: 34px; height: 34px; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--navy); transition: .22s; }
.mobile-panel { display: none; }

.site-footer { color: rgba(255,255,255,.7); background: var(--navy); }
.footer-inner { display: grid; grid-template-columns: 1.5fr .65fr 1.3fr; gap: 72px; width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 80px 18px 74px; }
.footer-brand p { max-width: 425px; margin-top: 28px; color: rgba(255,255,255,.58); font-size: 14px; }
.site-footer h3 { margin-bottom: 25px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .28em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 15px; font-size: 14px; letter-spacing: .04em; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-legal { position: relative; width: min(1360px, calc(100% - 48px)); min-height: 150px; margin: 0 auto; padding: 28px 18px 50px; border-top: 1px solid rgba(255,255,255,.1); }
.housing-line { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .16em; }
.housing-line img { width: 28px; height: 28px; }
.housing-line i { width: 1px; height: 14px; margin: 0 4px; background: rgba(255,255,255,.22); }
.footer-legal p { margin-top: 18px; color: rgba(255,255,255,.4); font-size: 11px; letter-spacing: .1em; }
.legal-links { position: absolute; right: 18px; bottom: 49px; display: flex; gap: 24px; color: rgba(255,255,255,.48); font-size: 11px; letter-spacing: .12em; }

.home-hero { position: relative; height: clamp(560px, 78vh, 820px); overflow: hidden; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(31,39,66,.28), rgba(31,39,66,.58)); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 42px 24px; color: var(--white); text-align: center; }
.hero-kicker { margin-bottom: 34px; color: var(--white); font-size: 12px; letter-spacing: .4em; }
.hero-copy h1 { max-width: 1100px; margin-bottom: 32px; font-size: 16px; font-weight: 300; }
.hero-copy h1 span { display: block; font-size: 60px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.hero-copy h1 span + span { margin-top: 4px; }
.hero-description { max-width: 690px; margin-bottom: 38px; color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 15px 28px; border: 1px solid var(--gold); color: var(--navy); background: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .22em; line-height: 1.45; text-align: center; text-transform: uppercase; transition: color .22s, background .22s, border-color .22s; }
.button:hover, .button:focus-visible { color: var(--white); border-color: var(--navy); background: var(--navy); }
.button-outline { border-color: var(--gold); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: var(--white); background: var(--gold); }
.button-light { color: var(--white); border-color: var(--white); }
.button-light:hover, .button-light:focus-visible { color: var(--navy); border-color: var(--white); background: var(--white); }

.intro-section h2 { max-width: 768px; margin-right: auto; margin-left: auto; font-size: 44px; line-height: 1.2; }
.intro-section p { margin-bottom: 16px; }
.intro-section .button { margin-top: 26px; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.help-card { min-height: 320px; padding: 40px; border: 1px solid var(--border); background: var(--white); }
.line-icon, .resource-icon { display: inline-flex; width: 49px; height: 49px; align-items: center; justify-content: center; margin-bottom: 27px; border: 1px solid rgba(155,126,78,.55); color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.help-card h3 { margin-bottom: 12px; }
.help-card p { min-height: 52px; margin-bottom: 30px; font-size: 14px; }
.help-card .button { min-height: 43px; padding: 11px 20px; font-size: 10px; }

.advantages { min-height: 1000px; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.advantage-grid article { min-height: 290px; padding: 40px; border: 1px solid var(--border); }
.advantage-grid article:nth-child(n+4) { margin-top: -1px; }
.advantage-grid article + article { margin-left: -1px; }
.advantage-grid h3 { margin-bottom: 15px; font-size: 20px; }
.advantage-grid p { font-size: 14px; }

.services-section h2, .resources-section h2, .navy-section > .container > h2 { max-width: 670px; margin-bottom: 56px; font-size: 48px; }
.service-list { border-top: 1px solid rgba(255,255,255,.17); }
.service-list a { display: grid; grid-template-columns: 70px 1.1fr 2fr 42px; gap: 28px; align-items: center; min-height: 133px; border-bottom: 1px solid rgba(255,255,255,.17); transition: color .22s, padding .22s; }
.service-list a > span { color: var(--gold); font-size: 10px; letter-spacing: .2em; }
.service-list h3 { margin: 0; font-size: 30px; }
.service-list p { margin: 0; max-width: 560px; font-size: 14px; }
.service-list i { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.26); font-style: normal; }
.service-list a:hover { color: var(--gold); padding-left: 10px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px 32px; }
.article-card { display: block; }
.article-image { height: 220px; margin-bottom: 19px; overflow: hidden; background: var(--muted); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-meta { display: flex; justify-content: space-between; margin-bottom: 17px; color: var(--gold); font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.article-meta time { color: rgba(31,39,66,.42); letter-spacing: .04em; text-transform: none; }
.article-card h3 { min-height: 56px; margin-bottom: 13px; font-size: 20px; line-height: 1.35; }
.article-card > p { min-height: 66px; margin-bottom: 15px; font-size: 13px; }
.text-link { color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .24em; }
.text-link::after { content: " ↗"; }

.resource-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 55px; }
.resource-heading > div { max-width: 650px; }
.resource-heading h2 { margin-bottom: 16px; }
.resource-heading p { margin: 0; }
.resource-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.17); }
.resource-card { display: flex; min-height: 365px; flex-direction: column; padding: 32px; border-right: 1px solid rgba(255,255,255,.17); transition: background .25s; }
.resource-card:last-child { border-right: 0; }
.resource-card:hover { background: rgba(255,255,255,.07); }
.resource-card .resource-icon { margin-bottom: 25px; }
.resource-card .eyebrow { margin-bottom: 14px; }
.resource-card h3 { margin-bottom: 12px; font-size: 19px; }
.resource-card > p:not(.eyebrow) { font-size: 13px; }
.coming-soon { margin-top: auto; width: fit-content; padding: 7px 13px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .24em; }

.consultation-section { padding: 112px 0; }
.consultation-panel { display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 48px)); min-height: 330px; margin: 0 auto; padding: 64px; border: 1px solid var(--gold); background: var(--white); }
.consultation-panel > div { max-width: 650px; }
.consultation-panel h2 { margin-bottom: 18px; font-size: 40px; }
.consultation-panel p { margin-bottom: 0; }

.page-hero { display: flex; min-height: 450px; align-items: center; color: var(--white); background: var(--navy); }
.page-hero-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 80px 40px; }
.page-hero h1 { max-width: 950px; margin-bottom: 27px; font-size: 60px; line-height: 1.1; letter-spacing: .04em; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.page-hero-image { min-height: 620px; background-position: center; background-size: cover; }
.page-hero-split { display: grid; min-height: 650px; grid-template-columns: 1fr 1fr; }
.page-hero-copy { padding: 90px max(7vw, 48px); }
.page-hero-split > img { width: 100%; height: 650px; object-fit: cover; }
.editorial-text h2 { font-size: 44px; }
.editorial-text p { font-size: 16px; line-height: 1.8; }
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.credential-grid > div { display: flex; min-height: 150px; flex-direction: column; gap: 14px; padding: 32px; background: var(--white); }
.credential-grid span, .contact-list span { color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .24em; }
.credential-grid strong, .contact-list strong { font-size: 15px; font-weight: 300; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature-card { min-height: 250px; padding: 38px; border: 1px solid var(--border); background: var(--white); }
.feature-card + .feature-card { margin-left: -1px; }
.feature-card:nth-child(n+4) { margin-top: -1px; }
.feature-number { display: block; margin-bottom: 32px; color: var(--gold); font-size: 10px; letter-spacing: .24em; }
.feature-card h3 { margin-bottom: 16px; font-size: 21px; }
.feature-card p { margin-bottom: 0; font-size: 14px; }
.navy-section .feature-card { border-color: rgba(255,255,255,.16); background: transparent; }
.navy-section .feature-card p { color: rgba(255,255,255,.58); }
.editorial-band { background: var(--white); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.editorial-grid > img { width: 100%; height: 540px; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px; border: 1px solid var(--border); }
.editorial-copy h2, .editorial-copy h3 { margin-bottom: 25px; font-size: 40px; }
.editorial-copy .button { align-self: flex-start; margin-top: 22px; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.library-grid article, .library-grid > a { display: block; min-height: 230px; padding: 32px; border: 1px solid var(--border); background: var(--white); }
.library-grid > a { transition: border-color .2s, transform .2s; }
.library-grid > a:hover { border-color: var(--gold); transform: translateY(-2px); }
.library-grid h3 { margin-bottom: 18px; font-size: 20px; }
.library-grid p { font-size: 14px; }
.library-grid span { color: var(--gold); font-size: 9px; font-weight: 500; letter-spacing: .24em; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-list { border-top: 1px solid var(--border); }
.contact-list > * { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.section-heading, .help-card, .article-card, .feature-card, .resource-card { animation: rise .65s ease both; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 10px; }
  .hero-copy h1 span { font-size: 52px; }
  .container, .narrow-container, .page-hero-inner { padding-right: 24px; padding-left: 24px; }
  .article-grid { gap: 44px 24px; }
  .resource-card { padding: 24px; }
}

@media (max-width: 767px) {
  h2 { font-size: 32px; }
  h3 { font-size: 21px; }
  .container, .narrow-container { width: 100%; padding-right: 24px; padding-left: 24px; }
  .section-pad { padding: 80px 0; }
  .header-inner { width: 100%; height: 85px; padding: 0 24px; }
  .brand { gap: 12px; }
  .brand img { width: 33px; height: 41px; }
  .brand-copy strong { font-size: 18px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-button span:nth-child(2) { opacity: 0; }
  .menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-panel { display: none; border-top: 1px solid var(--border); }
  .menu-open .mobile-panel { display: block; animation: rise .25s ease both; }
  .mobile-panel nav { display: flex; flex-direction: column; padding: 20px 24px 8px; }
  .mobile-panel nav ul { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
  .mobile-panel nav a { padding: 13px 0; font-size: 14px; letter-spacing: .24em; }
  .mobile-contact { margin: 12px 24px 24px; padding-top: 15px; border-top: 1px solid var(--border); }
  .mobile-contact a { display: flex; gap: 16px; padding: 6px 0; color: rgba(31,39,66,.7); font-size: 13px; }
  .mobile-contact span { width: 34px; color: var(--gold); font-size: 8px; font-weight: 500; letter-spacing: .1em; }
  .home-hero { height: clamp(560px, 78vh, 820px); }
  .home-hero > img { object-position: 51% center; }
  .hero-copy { justify-content: flex-start; padding-top: 95px; }
  .hero-kicker { margin-bottom: 28px; font-size: 11px; }
  .hero-copy h1 { margin-bottom: 27px; }
  .hero-copy h1 span { font-size: 28px; line-height: 1.15; letter-spacing: .04em; }
  .hero-copy h1 span + span { margin-top: 4px; }
  .hero-description { margin-bottom: 38px; font-size: 13px; line-height: 1.75; }
  .hero-actions { width: 100%; flex-direction: column; align-items: center; gap: 16px; }
  .hero-actions .button:first-child { width: 299px; }
  .hero-actions .button:last-child { width: 196px; }
  .hero-actions .button { white-space: nowrap; }
  .intro-section h2 { font-size: 28px; }
  .intro-section p { font-size: 14px; }
  .section-heading { margin-bottom: 42px; }
  .help-grid, .advantage-grid, .article-grid, .feature-grid, .library-grid { grid-template-columns: 1fr; }
  .help-card { min-height: 290px; padding: 32px; }
  .advantages { min-height: 0; }
  .advantage-grid article { min-height: 245px; padding: 32px; }
  .advantage-grid article + article { margin-top: -1px; margin-left: 0; }
  .services-section h2, .resources-section h2, .navy-section > .container > h2 { margin-bottom: 40px; font-size: 32px; }
  .service-list a { grid-template-columns: 38px 1fr 36px; gap: 15px; min-height: 160px; padding: 25px 0; }
  .service-list h3 { font-size: 23px; }
  .service-list p { grid-column: 2 / 4; margin-top: -12px; font-size: 13px; }
  .service-list i { grid-column: 3; grid-row: 1; width: 34px; height: 34px; }
  .article-grid { gap: 48px; }
  .article-image { height: 240px; }
  .article-card h3, .article-card > p { min-height: 0; }
  .resource-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .resource-cards { grid-template-columns: 1fr; }
  .resource-card { min-height: 300px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .resource-card:last-child { border-bottom: 0; }
  .consultation-section { padding: 80px 24px; }
  .consultation-panel { width: 100%; min-height: 0; align-items: stretch; flex-direction: column; gap: 34px; padding: 40px 30px; }
  .consultation-panel h2 { font-size: 28px; }
  .page-hero { min-height: 520px; }
  .page-hero-inner { width: 100%; padding: 70px 24px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p:not(.eyebrow) { font-size: 14px; }
  .page-hero-image { min-height: 620px; background-position: center; }
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-copy { padding: 70px 24px; }
  .page-hero-split > img { height: 460px; }
  .editorial-text h2 { font-size: 32px; }
  .credential-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 225px; margin: 0 !important; }
  .feature-card + .feature-card { margin-top: -1px !important; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid > img { height: 360px; }
  .editorial-copy { padding: 42px 30px; }
  .editorial-copy h2, .editorial-copy h3 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-list > * { grid-template-columns: 82px 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 45px; width: 100%; padding: 64px 24px; }
  .footer-legal { width: calc(100% - 48px); min-height: 220px; padding: 28px 0 40px; }
  .housing-line { align-items: flex-start; flex-wrap: wrap; }
  .housing-line i { display: none; }
  .footer-legal p { max-width: 280px; }
  .legal-links { position: static; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
