/* Classic Realty — generated theme styles */
:root {
  /* Brand Colors */
  --color-primary: #1f3a5f;
  --color-primary-hover: #2c507f;
  --color-primary-light: #e9eef4;
  --color-primary-dark: #152a47;
  --color-secondary: #9a6a1e;
  --color-secondary-hover: #825812;
  --color-secondary-light: #f6edd9;
  --color-secondary-dark: #634210;
  --color-accent: #a1572b;
  --color-accent-hover: #894825;

  /* Neutral Colors */
  --color-neutral-50: #fafaf9;
  --color-neutral-100: #f5f5f4;
  --color-neutral-200: #e7e5e4;
  --color-neutral-300: #d6d3d1;
  --color-neutral-400: #a8a29e;
  --color-neutral-500: #78716c;
  --color-neutral-600: #57534e;
  --color-neutral-700: #44403c;
  --color-neutral-800: #292524;
  --color-neutral-900: #1c1917;
  --color-neutral-950: #0c0a09;

  /* Semantic Colors */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-error: #ef4444;
  --color-error-light: #fee2e2;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;

  /* Background Colors */
  --color-bg-primary: #fdfbf6;
  --color-bg-secondary: #f6f0e4;
  --color-bg-tertiary: #ece3d2;
  --color-bg-inverse: #1f3a5f;

  /* Surface Colors */
  --color-surface-default: #fffdf9;
  --color-surface-raised: #ffffff;
  --color-surface-overlay: rgba(21, 42, 71, 0.55);

  /* Text Colors */
  --color-text-primary: #2a2622;
  --color-text-secondary: #5b5247;
  --color-text-muted: #6e6457;
  --color-text-inverse: #ffffff;
  --color-text-link: #1f3a5f;
  --color-text-linkHover: #825812;

  /* Border Colors */
  --color-border-default: #e7ddca;
  --color-border-light: #f2ebdd;
  --color-border-dark: #d4c8b0;
  --color-border-focus: #1f3a5f;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing */
  --spacing-0: 0;
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  --spacing-32: 8rem;
  --spacing-40: 10rem;
  --spacing-48: 12rem;
  --spacing-56: 14rem;
  --spacing-64: 16rem;

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-default: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-default: 0 1px 3px 0 rgb(41 37 36 / 0.08), 0 1px 2px -1px rgb(41 37 36 / 0.08);
  --shadow-md: 0 6px 18px -6px rgb(41 37 36 / 0.14);
  --shadow-lg: 0 20px 40px -18px rgb(31 58 95 / 0.22);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* Animation */
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --easing-linear: linear;
  --easing-easeIn: cubic-bezier(0.4, 0, 1, 1);
  --easing-easeOut: cubic-bezier(0, 0, 0.2, 1);
  --easing-easeInOut: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Theme framework (shared, token-driven component styles) */
/* ===== Theme framework base (token-driven; theme customCSS overrides) ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif);font-size:16px;line-height:var(--leading-normal,1.65);color:var(--color-text-primary,#1f2937);background:var(--color-bg-primary,#fff);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;min-height:100vh;display:flex;flex-direction:column}
/* Sticky footer: short pages (empty collections, 404, thin content) push the footer
   to the bottom of the viewport instead of leaving white space below it. */
main#MainContent{flex:1 0 auto}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .15s ease}
button{font:inherit;color:inherit}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading,var(--font-body,inherit));color:var(--color-text-primary,#0f172a);line-height:var(--leading-tight,1.15);margin:0 0 .5em;font-weight:var(--font-weight-bold,700);letter-spacing:-0.01em}
p{margin:0 0 1rem}
ul{margin:0;padding:0}
:focus-visible{outline:2px solid var(--color-primary,#4f46e5);outline-offset:2px}
.container{width:100%;max-width:var(--container-width,1200px);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.container--narrow{max-width:760px}
.eyebrow,.hero__eyebrow,.about__content .eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:var(--font-weight-semibold,600);color:var(--color-primary,#4f46e5);margin-bottom:.85rem}
.rte>*{margin-bottom:1rem}.rte img{border-radius:var(--radius-md,.5rem)}.rte a{color:var(--color-text-link,var(--color-primary,#4f46e5));text-decoration:underline}
.empty{text-align:center;color:var(--color-text-muted,#9ca3af);padding:3rem 0;font-size:1.05rem}
/* ---- Section rhythm ---- */
main>.shopify-section{display:block}
main>.shopify-section+.shopify-section .section,main>.shopify-section .section{padding-block:var(--section-spacing,clamp(3rem,7vw,6rem))}
.section__head{text-align:center;max-width:680px;margin:0 auto clamp(2rem,4vw,3rem)}
.section__head h1,.section__head h2{font-size:clamp(1.7rem,3.2vw,2.5rem);margin-bottom:.65rem}
.section__head p{color:var(--color-text-secondary,#64748b);font-size:1.08rem;margin:0}
.section__cta{text-align:center;margin-top:clamp(2rem,4vw,3rem)}
/* ---- Grid ---- */
.grid{display:grid;gap:var(--grid-gap,clamp(1.25rem,2.5vw,2rem));grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:640px){.grid--cols-2,.grid--cols-3,.grid--cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:960px){.grid--cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--font-body,inherit);font-weight:var(--font-weight-semibold,600);font-size:.95rem;line-height:1;padding:.8rem 1.4rem;border-radius:var(--radius-md,.625rem);border:1.5px solid transparent;cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .12s ease;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn--primary{background:var(--color-primary,#4f46e5);color:var(--color-text-inverse,#fff);box-shadow:0 1px 2px rgba(15,23,42,.08)}
.btn--primary:hover{background:var(--color-primary-hover,var(--color-primary-dark,#4338ca));box-shadow:0 8px 20px -8px var(--color-primary,#4f46e5)}
.btn--outline{background:transparent;color:var(--color-primary,#4f46e5);border-color:var(--color-border-default,#cbd5e1)}
.btn--outline:hover{background:var(--color-primary,#4f46e5);color:var(--color-text-inverse,#fff);border-color:var(--color-primary,#4f46e5)}
.btn--lg{padding:1rem 1.9rem;font-size:1.05rem}
.btn--block{width:100%}
.icon{display:inline-flex;vertical-align:middle;flex:none}
/* ---- Header ---- */
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--color-bg-primary,#fff) 88%,transparent);backdrop-filter:saturate(180%) blur(12px);-webkit-backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--color-border-light,#eef0f3);transition:box-shadow .25s ease,background .25s ease}
.site-header.is-scrolled{box-shadow:0 6px 24px -12px rgba(15,23,42,.18)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:72px}
.site-header__logo{display:inline-flex;align-items:center;flex:none}
.site-header__brand{font-family:var(--font-heading,inherit);font-weight:var(--font-weight-bold,700);font-size:1.3rem;letter-spacing:-0.02em;color:var(--color-text-primary,#0f172a)}
.site-header__nav{display:none;align-items:center;gap:2rem;margin-inline-start:auto}
.site-header__nav a{font-weight:var(--font-weight-medium,500);font-size:.95rem;color:var(--color-text-secondary,#475569);position:relative;padding-block:.25rem}
.site-header__nav a:hover,.site-header__nav a.is-active{color:var(--color-primary,#4f46e5)}
.site-header__nav a.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--color-primary,#4f46e5)}
.site-header__actions{display:flex;align-items:center;gap:1rem}
.site-header__phone{display:none;align-items:center;gap:.45rem;font-weight:var(--font-weight-medium,500);font-size:.92rem;color:var(--color-text-secondary,#475569)}
.site-header__toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;background:transparent;color:var(--color-text-primary,#0f172a);cursor:pointer;border-radius:var(--radius-md,.5rem)}
.site-header__toggle:hover{background:var(--color-bg-secondary,#f1f5f9)}
@media(min-width:900px){.site-header__nav{display:flex}.site-header__phone{display:inline-flex}.site-header__toggle{display:none}}
.site-header.is-menu-open .site-header__nav{display:flex;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:flex-start;background:var(--color-bg-primary,#fff);padding:1.25rem clamp(1rem,4vw,2rem);border-bottom:1px solid var(--color-border-light,#eef0f3);gap:1.1rem;box-shadow:0 12px 28px -16px rgba(15,23,42,.25)}
/* ---- Hero ---- */
.hero{position:relative;padding-block:clamp(4rem,10vw,8rem);background-size:cover;background-position:center;color:var(--color-text-primary,#0f172a);overflow:hidden;isolation:isolate}
.hero[style*="background-image"]{color:#fff}
.hero__overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.55));opacity:0;pointer-events:none}
.hero[style*="background-image"] .hero__overlay{opacity:1}
.hero__content{position:relative;z-index:1;max-width:760px}
.hero--center .hero__content{margin-inline:auto;text-align:center}
.hero__heading{font-size:clamp(2.2rem,5.5vw,3.75rem);line-height:1.05;margin-bottom:1.1rem;letter-spacing:-0.025em}
.hero__subheading{font-size:clamp(1.05rem,2vw,1.3rem);line-height:1.55;opacity:.92;margin-bottom:2rem;max-width:60ch}
.hero--center .hero__subheading{margin-inline:auto}
.hero__actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:.5rem}
.hero--center .hero__actions{justify-content:center}
.hero[style*="background-image"] .btn--outline{color:#fff;border-color:rgba(255,255,255,.7)}
.hero[style*="background-image"] .btn--outline:hover{background:#fff;color:var(--color-primary,#4f46e5);border-color:#fff}
/* ---- Search ---- */
.hero-search{display:flex;gap:.5rem;background:var(--color-bg-primary,#fff);padding:.55rem;border-radius:var(--radius-lg,1rem);box-shadow:0 24px 60px -24px rgba(15,23,42,.35);max-width:580px}
.hero--center .hero-search{margin-inline:auto}
.hero-search input{flex:1;border:none;outline:none;padding:.7rem .95rem;font-size:1rem;background:transparent;color:var(--color-text-primary,#0f172a);min-width:0}
.search-form{display:grid;gap:1rem;grid-template-columns:1fr;background:var(--color-surface-raised,#fff);padding:1.5rem;border-radius:var(--radius-lg,1rem);box-shadow:0 10px 40px -20px rgba(15,23,42,.2);border:1px solid var(--color-border-light,#eef0f3)}
@media(min-width:920px){.search-form{grid-template-columns:2fr 1fr 1fr 1fr 1fr auto;align-items:end}}
.search-form__field{display:flex;flex-direction:column;gap:.4rem}
.search-form__field label,.field label{font-size:.8rem;font-weight:var(--font-weight-medium,500);color:var(--color-text-secondary,#64748b)}
.search-form input,.search-form select,.field input,.field textarea,.newsletter__form input,.property-results__sort select{width:100%;padding:.7rem .85rem;border:1px solid var(--color-border-default,#d1d5db);border-radius:var(--radius-md,.55rem);font-size:.95rem;font-family:inherit;background:var(--color-bg-primary,#fff);color:var(--color-text-primary,#0f172a);transition:border-color .15s ease,box-shadow .15s ease}
.search-form input:focus,.search-form select:focus,.field input:focus,.field textarea:focus,.newsletter__form input:focus{border-color:var(--color-primary,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary,#4f46e5) 18%,transparent);outline:none}
/* ---- Cards ---- */
.property-card,.article-card,.card,.service-card,.team-card{background:var(--color-surface-raised,var(--color-bg-primary,#fff));border:1px solid var(--color-border-light,#eef0f3);border-radius:var(--radius-lg,1rem);overflow:hidden;transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease}
.property-card:hover,.article-card:hover,.card:hover{box-shadow:0 22px 48px -24px rgba(15,23,42,.28);transform:translateY(-4px);border-color:var(--color-border-default,#e2e8f0)}
.property-card__media,.article-card__media{display:block;position:relative;aspect-ratio:3/2;background:var(--color-bg-secondary,#f1f5f9);overflow:hidden}
.property-card__media img,.article-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.property-card:hover .property-card__media img,.article-card:hover .article-card__media img{transform:scale(1.05)}
.property-card__badge{position:absolute;top:.85rem;left:.85rem;background:var(--color-primary,#4f46e5);color:#fff;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:.32rem .65rem;border-radius:var(--radius-full,999px)}
.property-card__status{position:absolute;top:.85rem;right:.85rem;background:rgba(15,23,42,.78);color:#fff;font-size:.7rem;padding:.32rem .65rem;border-radius:var(--radius-full,999px);text-transform:capitalize;backdrop-filter:blur(4px)}
.property-card__body,.article-card__body{padding:1.25rem 1.4rem 1.5rem}
.property-card__price{font-size:1.35rem;font-weight:var(--font-weight-bold,700);color:var(--color-primary,#4f46e5);margin:0 0 .4rem;letter-spacing:-0.01em}
.property-card__title,.article-card__title{font-size:1.15rem;line-height:1.3;margin:0 0 .4rem}
.property-card__title a:hover,.article-card__title a:hover{color:var(--color-primary,#4f46e5)}
.property-card__location{color:var(--color-text-secondary,#64748b);font-size:.92rem;margin:0 0 1rem;display:flex;align-items:center;gap:.35rem}
.property-card__meta{display:flex;flex-wrap:wrap;gap:1.1rem;list-style:none;color:var(--color-text-secondary,#64748b);font-size:.88rem;border-top:1px solid var(--color-border-light,#eef0f3);padding-top:.9rem}
.property-card__meta li{display:inline-flex;align-items:center;gap:.4rem}
.price__suffix{font-size:.8rem;color:var(--color-text-muted,#9ca3af);font-weight:500}
.article-card__category{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--color-primary,#4f46e5);margin-bottom:.5rem}
.article-card__excerpt{color:var(--color-text-secondary,#64748b);font-size:.93rem;line-height:1.6}
.article-card__meta{display:flex;gap:1rem;color:var(--color-text-muted,#9ca3af);font-size:.8rem;margin-top:.85rem}
/* ---- Collection cards (collections index) + single collection page header ---- */
.collection-card{background:var(--color-surface-raised,var(--color-bg-primary,#fff));border:1px solid var(--color-border-light,#eef0f3);border-radius:var(--radius-lg,1rem);overflow:hidden;transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease}
.collection-card:hover{box-shadow:0 22px 48px -24px rgba(15,23,42,.28);transform:translateY(-4px);border-color:var(--color-border-default,#e2e8f0)}
.collection-card__media{display:block;position:relative;aspect-ratio:3/2;background:var(--color-bg-secondary,#f1f5f9);overflow:hidden}
.collection-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.collection-card:hover .collection-card__media img{transform:scale(1.05)}
.collection-card__placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--color-text-muted,#9ca3af)}
.collection-card__count{position:absolute;bottom:.85rem;left:.85rem;background:rgba(15,23,42,.78);color:#fff;font-size:.72rem;font-weight:600;padding:.32rem .65rem;border-radius:var(--radius-full,999px);backdrop-filter:blur(4px)}
.collection-card__body{padding:1.25rem 1.4rem 1.5rem}
.collection-card__title{font-size:1.15rem;line-height:1.3;margin:0 0 .4rem}
.collection-card__title a:hover{color:var(--color-primary,#4f46e5)}
.collection-card__desc{color:var(--color-text-secondary,#64748b);font-size:.93rem;line-height:1.6;margin:0}
.collection__head{text-align:center;max-width:760px;margin:0 auto clamp(1.75rem,4vw,2.75rem)}
.collection__title{font-size:clamp(1.9rem,3.6vw,2.8rem);margin-bottom:.6rem}
.collection__desc{color:var(--color-text-secondary,#64748b);font-size:1.05rem;line-height:1.7}
.collection__count{color:var(--color-text-muted,#9ca3af);font-size:.9rem;font-weight:600;margin-top:.75rem}
/* ---- Footer (dark band with light text). --color-bg-inverse is the footer's
   contrast band colour and MUST be a DARK value for every theme (it is NOT the
   page background). Light themes already supply a dark inverse; dark themes must
   too (e.g. luxury -> #0a0a0a) so the footer is never a light/invisible block. ---- */
.site-footer{background:var(--color-bg-inverse,#0f172a);color:rgba(255,255,255,.78)}
.site-footer__inner{display:grid;gap:2.5rem;grid-template-columns:1fr;padding-block:clamp(2.5rem,5vw,4rem)}
@media(min-width:800px){.site-footer__inner{grid-template-columns:1.4fr 2fr}}
.site-footer__name{font-family:var(--font-heading,inherit);font-weight:700;font-size:1.25rem;color:#fff}
.site-footer__desc{color:rgba(255,255,255,.62);margin-top:.85rem;max-width:38ch;line-height:1.65}
.site-footer__cols{display:grid;gap:2rem;grid-template-columns:repeat(2,1fr)}
@media(min-width:600px){.site-footer__cols{grid-template-columns:repeat(3,1fr)}}
.site-footer__col h4{color:#fff;font-size:.92rem;font-weight:600;letter-spacing:.02em;margin-bottom:1rem}
.site-footer__col ul{list-style:none;display:grid;gap:.65rem}
.site-footer__col a{color:rgba(255,255,255,.68);font-size:.92rem}
.site-footer__col a:hover{color:#fff}
.site-footer__bar{border-top:1px solid rgba(255,255,255,.12);padding-block:1.35rem;font-size:.85rem;color:rgba(255,255,255,.55)}
.site-footer__bar-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.25rem}
.site-footer__copyright{margin:0}
.site-footer__powered{margin:0;font-size:.82rem;color:rgba(255,255,255,.5)}
.site-footer__powered a{color:rgba(255,255,255,.72);font-weight:600;transition:color .18s ease}
.site-footer__powered a:hover{color:var(--color-primary,#fff)}
.social-links{display:flex;gap:.65rem;list-style:none;margin-top:1.15rem}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-full,999px);background:rgba(255,255,255,.08);color:#fff;transition:background .18s ease,transform .18s ease}
.social-links a:hover{background:var(--color-primary,#4f46e5);transform:translateY(-2px)}
/* ---- Stats ---- */
.stats{background:var(--color-bg-secondary,#f8fafc)}
.stats__grid{display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr);text-align:center}
@media(min-width:800px){.stats__grid{grid-template-columns:repeat(4,1fr)}}
.stat__value{display:block;font-family:var(--font-heading,inherit);font-size:clamp(2rem,4.5vw,3rem);font-weight:var(--font-weight-extrabold,800);color:var(--color-primary,#4f46e5);letter-spacing:-0.03em;line-height:1}
.stat__label{display:block;margin-top:.5rem;color:var(--color-text-secondary,#64748b);font-size:.95rem}
/* ---- Testimonials ---- */
.testimonials__grid{display:grid;gap:1.5rem;grid-template-columns:repeat(1,1fr)}
@media(min-width:700px){.testimonials__grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.testimonials__grid{grid-template-columns:repeat(3,1fr)}}
.testimonial{background:var(--color-surface-raised,#fff);border:1px solid var(--color-border-light,#eef0f3);border-radius:var(--radius-lg,1rem);padding:2rem;margin:0;box-shadow:0 10px 30px -22px rgba(15,23,42,.2)}
.testimonial__rating{color:#f59e0b;margin-bottom:.85rem;letter-spacing:3px;font-size:1.05rem}
.testimonial blockquote{margin:0 0 1.25rem;font-size:1.05rem;line-height:1.6;color:var(--color-text-primary,#0f172a)}
.testimonial figcaption strong{display:block;font-weight:600}
.testimonial figcaption span{color:var(--color-text-muted,#9ca3af);font-size:.85rem}
/* ---- Team ---- */
.team-card{text-align:center;padding-bottom:1.4rem;border:1px solid var(--color-border-light,#eef0f3)}
.team-card img{width:100%;aspect-ratio:1;object-fit:cover}
.team-card h3{margin:1.1rem 0 .25rem;font-size:1.1rem}
.team-card__role{color:var(--color-text-secondary,#64748b);font-size:.92rem}
/* ---- Services ---- */
.service-card{padding:2rem}
.service-card__icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md,.75rem);background:color-mix(in srgb,var(--color-primary,#4f46e5) 12%,transparent);color:var(--color-primary,#4f46e5);margin-bottom:1.25rem}
.service-card h3{font-size:1.15rem;margin-bottom:.5rem}
.service-card p{color:var(--color-text-secondary,#64748b);margin:0}
/* ---- About ---- */
.about__inner{display:grid;gap:clamp(2rem,5vw,3.5rem);align-items:center;grid-template-columns:1fr}
@media(min-width:880px){.about--split .about__inner{grid-template-columns:1fr 1fr}}
.about__media img{border-radius:var(--radius-lg,1rem);width:100%}
.about__content h2{font-size:clamp(1.7rem,3.2vw,2.4rem);margin-bottom:1rem}
/* ---- CTA banner ---- */
.cta-banner{background:var(--color-primary,#4f46e5);background-size:cover;background-position:center;color:#fff;position:relative;isolation:isolate}
.cta-banner__inner{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between}
.cta-banner h2{color:#fff;margin:0;font-size:clamp(1.6rem,3vw,2.25rem)}
.cta-banner p{color:rgba(255,255,255,.88);margin:.6rem 0 0;max-width:52ch}
.cta-banner .btn--primary{background:#fff;color:var(--color-primary,#4f46e5)}
.cta-banner .btn--primary:hover{background:rgba(255,255,255,.9)}
/* ---- Carousel ---- */
.carousel{position:relative}
.carousel__track{display:flex;gap:1.5rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:.25rem .25rem 1rem;scrollbar-width:none}
.carousel__track::-webkit-scrollbar{display:none}
.carousel__slide{flex:0 0 86%;max-width:380px;scroll-snap-align:start}
@media(min-width:700px){.carousel__slide{flex-basis:46%}}
@media(min-width:1000px){.carousel__slide{flex-basis:31.5%}}
.carousel__nav{position:absolute;top:36%;width:46px;height:46px;border-radius:var(--radius-full,999px);border:1px solid var(--color-border-light,#eef0f3);background:var(--color-surface-raised,#fff);box-shadow:0 8px 24px -10px rgba(15,23,42,.25);color:var(--color-text-primary,#0f172a);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s ease}
.carousel__nav:hover{transform:scale(1.08)}
.carousel__nav--prev{left:-12px}.carousel__nav--next{right:-12px}
/* ---- FAQ ---- */
.faq__list{display:grid;gap:.85rem}
.faq__item{border:1px solid var(--color-border-light,#eef0f3);border-radius:var(--radius-md,.75rem);padding:1.15rem 1.4rem;background:var(--color-surface-raised,#fff)}
.faq__item summary{cursor:pointer;font-weight:var(--font-weight-semibold,600);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq__item summary::after{content:"+";font-size:1.4rem;color:var(--color-primary,#4f46e5);line-height:1}
.faq__item[open] summary{margin-bottom:.85rem}
.faq__item[open] summary::after{content:"-"}
/* ---- Gallery ---- */
.gallery__grid{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}
@media(min-width:800px){.gallery__grid{grid-template-columns:repeat(3,1fr)}}
.gallery__item{margin:0;border-radius:var(--radius-md,.75rem);overflow:hidden}
.gallery__item img{width:100%;aspect-ratio:1;object-fit:cover;transition:transform .4s ease}
.gallery__item:hover img{transform:scale(1.06)}
/* ---- Video ---- */
.video__frame{position:relative;aspect-ratio:16/9;border-radius:var(--radius-lg,1rem);overflow:hidden;box-shadow:0 18px 48px -24px rgba(15,23,42,.3)}
.video__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* ---- Map ---- */
.property-map .map{border-radius:var(--radius-lg,1rem);overflow:hidden;background:var(--color-bg-secondary,#f1f5f9);border:1px solid var(--color-border-light,#eef0f3)}
.map--empty{display:flex;align-items:center;justify-content:center}
.map__placeholder{color:var(--color-text-secondary,#64748b);font-size:.95rem;text-align:center;padding:2rem;max-width:36ch}
.leaflet-container{font:inherit}
/* ---- Newsletter ---- */
.newsletter{background:var(--color-bg-secondary,#f8fafc)}
.newsletter__inner{text-align:center}
.newsletter__form{display:flex;gap:.6rem;max-width:480px;margin:1.75rem auto 0}
.newsletter__form input{flex:1}
.form-success{color:var(--color-success,#16a34a);font-weight:600}
/* ---- Timeline ---- */
.timeline__list{list-style:none;display:grid;gap:1.75rem;border-inline-start:2px solid var(--color-border-default,#e2e8f0);padding-inline-start:1.75rem}
.timeline__item{position:relative}
.timeline__item::before{content:"";position:absolute;left:-2.2rem;top:.35rem;width:13px;height:13px;border-radius:50%;background:var(--color-primary,#4f46e5);box-shadow:0 0 0 4px color-mix(in srgb,var(--color-primary,#4f46e5) 18%,transparent)}
.timeline__date{font-size:.8rem;font-weight:600;color:var(--color-primary,#4f46e5);text-transform:uppercase;letter-spacing:.05em}
/* ---- Contact ---- */
.contact-form__grid{display:grid;gap:clamp(2rem,4vw,3rem);grid-template-columns:1fr}
@media(min-width:880px){.contact-form__grid{grid-template-columns:1fr 1.2fr}}
.contact-form__details{list-style:none;display:grid;gap:.85rem;margin-top:1.5rem}
.contact-form__details li{display:flex;align-items:center;gap:.65rem;color:var(--color-text-secondary,#64748b)}
.contact-form__form{display:grid;gap:1.1rem}
.field{display:flex;flex-direction:column;gap:.4rem}
/* ---- Pagination / breadcrumbs ---- */
.pagination{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:clamp(2rem,4vw,3rem);flex-wrap:wrap}
.pagination__list{display:flex;gap:.3rem;list-style:none}
.pagination a,.pagination__current{display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .85rem;border-radius:var(--radius-md,.5rem);border:1px solid var(--color-border-default,#e2e8f0);color:var(--color-text-secondary,#475569);font-size:.92rem}
.pagination a:hover{border-color:var(--color-primary,#4f46e5);color:var(--color-primary,#4f46e5)}
.pagination__current{background:var(--color-primary,#4f46e5);color:#fff;border-color:var(--color-primary,#4f46e5)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;color:var(--color-text-muted,#9ca3af);font-size:.85rem;padding:1rem 0}
.breadcrumbs a:hover{color:var(--color-primary,#4f46e5)}
.breadcrumbs li:not(:last-child)::after{content:"/";margin-inline-start:.5rem;color:var(--color-border-default,#cbd5e1)}
/* ---- Page header / results ---- */
.page-header{background:var(--color-bg-secondary,#f8fafc);padding-block:clamp(2.5rem,5vw,4rem);border-bottom:1px solid var(--color-border-light,#eef0f3)}
.page-header h1{font-size:clamp(1.9rem,4vw,2.75rem);margin:0}
.property-results__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.75rem;flex-wrap:wrap}
.property-results__count{color:var(--color-text-secondary,#64748b);margin:0}
.property-results__sort{display:flex;align-items:center;gap:.5rem}
/* ---- Property detail ---- */
.property-detail{padding-block:clamp(1.5rem,4vw,2.5rem)}
.property-detail__head{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-start;justify-content:space-between;margin:1rem 0 1.75rem}
.property-detail__head h1{font-size:clamp(1.7rem,4vw,2.6rem);margin:0 0 .4rem}
.property-detail__location{color:var(--color-text-secondary,#64748b);display:flex;align-items:center;gap:.4rem;margin:0}
.property-detail__price{font-size:clamp(1.6rem,3vw,2.1rem);font-weight:700;color:var(--color-primary,#4f46e5)}
.property-gallery{display:grid;gap:.85rem;margin-bottom:2.5rem}
.property-gallery__main img{width:100%;border-radius:var(--radius-lg,1rem);aspect-ratio:3/2;object-fit:cover}
.property-gallery__thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:.55rem}
.property-gallery__thumbs img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-md,.55rem);cursor:pointer;transition:opacity .15s ease}
.property-gallery__thumbs img:hover{opacity:.82}
.property-detail__grid{display:grid;gap:clamp(2rem,4vw,3rem);grid-template-columns:1fr}
@media(min-width:960px){.property-detail__grid{grid-template-columns:1fr 360px;align-items:start}}
.property-specs{display:flex;flex-wrap:wrap;gap:1.75rem;list-style:none;padding:1.4rem 1.6rem;background:var(--color-bg-secondary,#f8fafc);border-radius:var(--radius-lg,1rem);margin:0 0 1.75rem}
.property-specs li{display:flex;align-items:center;gap:.55rem;color:var(--color-text-secondary,#475569)}
.property-specs strong{color:var(--color-text-primary,#0f172a)}
.property-features{columns:2;gap:1.75rem;list-style:none;padding:0}
.property-features li{padding:.4rem 0 .4rem 1.6rem;position:relative;break-inside:avoid}
.property-features li::before{content:"✓";position:absolute;left:0;color:var(--color-primary,#4f46e5);font-weight:700}
/* ---- Full dynamic specifications (iconographic spec grid; shared by all themes, token-driven) ---- */
.property-detail__specs{display:grid;gap:1.5rem;margin:2rem 0}
.property-spec-group{border:1px solid var(--color-border-light,#eef0f3);border-radius:var(--radius-lg,1rem);padding:1.4rem 1.5rem;background:var(--color-surface-raised,#fff)}
.property-spec-group__title{font-size:1.05rem;font-weight:var(--font-weight-bold,700);margin:0 0 1.1rem;color:var(--color-text-primary,#0f172a)}
.property-spec-grid{display:grid;gap:.75rem 1.25rem;grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:560px){.property-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.property-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.property-spec-tile{display:flex;align-items:center;gap:.8rem;padding:.7rem .85rem;border-radius:var(--radius-md,.65rem);background:var(--color-bg-secondary,#f8fafc);border:1px solid var(--color-border-light,#eef0f3)}
.property-spec-tile__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:var(--radius-md,.6rem);background:color-mix(in srgb,var(--color-primary,#4f46e5) 12%,transparent);color:var(--color-primary,#4f46e5)}
.property-spec-tile__icon .icon{width:20px;height:20px}
.property-spec-tile__text{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.property-spec-tile__label{font-size:.74rem;font-weight:var(--font-weight-medium,500);color:var(--color-text-secondary,#64748b);text-transform:uppercase;letter-spacing:.04em}
.property-spec-tile__value{font-size:.98rem;font-weight:var(--font-weight-semibold,600);color:var(--color-text-primary,#0f172a);line-height:1.35;overflow-wrap:anywhere}
.contact-card{position:sticky;top:96px;background:var(--color-surface-raised,#fff);border:1px solid var(--color-border-light,#eef0f3);border-radius:var(--radius-lg,1rem);padding:1.75rem;box-shadow:0 16px 44px -26px rgba(15,23,42,.28)}
.contact-card h3{margin-top:0}
.contact-card form{display:grid;gap:.95rem}
/* ---- Article / page ---- */
.article__head{text-align:center;margin:1.25rem 0 1.75rem}
.article__category{display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--color-primary,#4f46e5);margin-bottom:.6rem}
.article__head h1{font-size:clamp(1.9rem,4vw,2.9rem)}
.article__meta{display:flex;gap:1.1rem;justify-content:center;color:var(--color-text-muted,#9ca3af);font-size:.88rem}
.article__hero{width:100%;border-radius:var(--radius-lg,1rem);margin-bottom:2rem;aspect-ratio:16/9;object-fit:cover}
.article__body{font-size:1.08rem;line-height:var(--leading-relaxed,1.8)}
.page{padding-block:clamp(2.5rem,5vw,4rem)}
.page__title{font-size:clamp(1.9rem,4vw,2.75rem)}
.page__content{font-size:1.08rem;line-height:var(--leading-relaxed,1.8)}
.related-properties,.related-articles{padding-block-start:clamp(2.5rem,5vw,4rem)}
.related-properties>h2,.related-articles>h2{margin-bottom:1.5rem}

/* Theme-specific styles */

/* ============================================
 * Classic Realty — Theme Styles
 * Traditional, warm, editorial real estate.
 *
 * Variables resolve against either the storefront or theme-engine token
 * pipeline (with literal fallbacks) so styles never break:
 *   var(--color-primary), var(--color-secondary), var(--color-text-primary),
 *   var(--color-text-secondary), var(--color-bg-secondary), var(--color-border),
 *   var(--section-spacing), var(--border-radius), var(--font-heading)
 * ============================================ */

:root {
  --cr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cr-primary: var(--color-primary, #1f3a5f);
  --cr-primary-hover: var(--color-primary-hover, #2c507f);
  --cr-secondary: var(--color-secondary, #9a6a1e);
  --cr-heading: var(--font-heading, 'Playfair Display', Georgia, 'Times New Roman', serif);
  --cr-body: var(--font-body, 'Source Sans 3', system-ui, sans-serif);
  --cr-text: var(--color-text-primary, var(--color-text, #2a2622));
  --cr-text-secondary: var(--color-text-secondary, #5b5247);
  --cr-surface-2: var(--color-bg-secondary, var(--color-background-secondary, #f6f0e4));
  --cr-border: var(--color-border, var(--color-border-default, #e7ddca));
  --cr-radius: var(--border-radius, var(--radius-md, 0.375rem));
  --cr-section-spacing: var(--section-spacing, 6rem);
}

/* Warm, legible body with classic ligatures */
body {
  font-family: var(--cr-body);
  color: var(--cr-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elegant serif headings with refined ligatures */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cr-heading);
  font-weight: 700;
  letter-spacing: 0;
  font-feature-settings: 'liga' 1, 'dlig' 1;
  text-wrap: balance;
}

/* Section rhythm leaning on the layout token */
.section-spacing {
  padding-top: var(--cr-section-spacing);
  padding-bottom: var(--cr-section-spacing);
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--cr-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* On-brand selection */
::selection {
  background: var(--cr-primary);
  color: #ffffff;
}

/* Smooth scrolling with sticky-header-aware anchor offsets */
html {
  scroll-behavior: smooth;
}
[id] {
  scroll-margin-top: 5.5rem;
}

/* Tasteful micro-interactions on interactive elements */
a,
button {
  transition: color 220ms var(--cr-ease),
              background-color 220ms var(--cr-ease),
              border-color 220ms var(--cr-ease),
              box-shadow 220ms var(--cr-ease),
              transform 220ms var(--cr-ease);
}

/* Warm gold underline on text links as they are hovered */
.section-description a,
.prose a {
  color: var(--cr-primary);
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, var(--cr-secondary) 55%, transparent);
}
.section-description a:hover,
.prose a:hover {
  color: var(--cr-secondary);
  text-decoration-color: var(--cr-secondary);
}

/* Distinguished serif logo wordmark */
.logo-text {
  font-family: var(--cr-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cr-primary);
}

/* Classic uppercase navigation tracking */
.nav-item a {
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Cards: warm hairline frame with a gentle lift */
.property-card,
.card,
.service-card,
.team-card {
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius);
  transition: transform 320ms var(--cr-ease),
              box-shadow 320ms var(--cr-ease),
              border-color 320ms var(--cr-ease);
}
.property-card:hover,
.card:hover,
.service-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--cr-secondary) 45%, var(--cr-border));
  box-shadow: 0 20px 40px -18px rgba(31, 58, 95, 0.30);
}

/* Imagery sits in framed, slowly zooming windows */
.property-card img,
.gallery-item img,
.neighborhood-card img {
  transition: transform 600ms var(--cr-ease);
}
.property-card:hover img,
.gallery-item:hover img,
.neighborhood-card:hover img {
  transform: scale(1.04);
}

/* Stat numerals: confident serif figures */
.stat-value {
  font-family: var(--cr-heading);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.stat-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section headings inherit the editorial serif voice */
.section-title,
.section-header h2 {
  font-family: var(--cr-heading);
  color: var(--cr-text);
}
.section-description {
  color: var(--cr-text-secondary);
}

/* Inputs: classic hairline with a soft navy focus halo */
input,
select,
textarea {
  border-radius: var(--cr-radius);
  transition: border-color 200ms var(--cr-ease), box-shadow 200ms var(--cr-ease);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--cr-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cr-primary) 14%, transparent);
  outline: none;
}

/* A whisper of separation before the footer */
.section-footer {
  border-top: 1px solid var(--cr-border);
}

/* Gentle entrance motion (excludes header/footer; honored by reduced-motion) */
@keyframes crFadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.theme-section:not(.section-header):not(.section-footer) {
  animation: crFadeInUp 0.6s var(--cr-ease) both;
}
.section-hero {
  animation-duration: 0.8s;
}

/* Dark-mode awareness (system preference) */
@media (prefers-color-scheme: dark) {
  :root {
    --cr-text: var(--color-text, #f3ede1);
    --cr-text-secondary: #c9bda7;
    --cr-surface-2: var(--color-background-secondary, #1a2738);
    --cr-border: var(--color-border, #2b3a4f);
    --cr-primary: var(--color-primary, #3f6ea4);
    --cr-primary-hover: var(--color-primary-hover, #5183b8);
    --cr-secondary: var(--color-secondary, #caa14f);
  }
  .property-card:hover,
  .card:hover,
  .service-card:hover,
  .team-card:hover {
    border-color: color-mix(in srgb, var(--cr-secondary) 40%, var(--cr-border));
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

/* Explicit dark class parity with the storefront pipeline */
.dark .property-card,
.dark .card,
.dark .service-card,
.dark .team-card {
  border-color: var(--color-border, #2b3a4f);
}

/* Responsive: tighten rhythm and fluidly scale display type */
@media (max-width: 768px) {
  :root {
    --cr-section-spacing: 3.5rem;
  }
  .section-hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.12;
  }
  .section-title,
  .section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }
  .stat-value {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
  .property-card:hover,
  .card:hover,
  .service-card:hover,
  .team-card:hover {
    transform: translateY(-3px);
  }
  /* Comfortable tap targets */
  .btn,
  button[type="submit"],
  input,
  select,
  textarea {
    min-height: 44px;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .theme-section,
  .section-hero {
    animation: none;
  }
  .property-card,
  .card,
  .service-card,
  .team-card,
  .property-card img,
  .gallery-item img,
  .neighborhood-card img,
  a,
  button {
    transition: none;
  }
}
