/* =====================================================================
   SoldBy.NC shared type scale + mobile layout (Nov 2026)
   Loaded last on every page so all pages share one set of sizes.
   Sizes scale smoothly from a 390px phone up to a 1440px desktop.
   ===================================================================== */
:root{
  --fs-label: clamp(.75rem, .72rem + .12vw, .8125rem);     /* 12 -> 13  eyebrows, tags, small caps */
  --fs-small: clamp(.875rem, .85rem + .1vw, .9375rem);     /* 14 -> 15  captions, meta, footer */
  --fs-body:  clamp(1rem, .96rem + .19vw, 1.125rem);       /* 16 -> 18  paragraphs */
  --fs-lead:  clamp(1.0625rem, .98rem + .38vw, 1.3125rem); /* 17 -> 21  intro paragraphs */
  --fs-h4:    clamp(1.25rem, 1.15rem + .4vw, 1.5rem);      /* 20 -> 24  card titles */
  --fs-h3:    clamp(1.375rem, 1.2rem + .75vw, 1.875rem);   /* 22 -> 30  sub-headings */
  --fs-h2:    clamp(2.125rem, 1.6rem + 2.1vw, 3.5rem);     /* 34 -> 56  section headings */
  --fs-h1:    clamp(2.5rem, 1.8rem + 3vw, 4.5rem);         /* 40 -> 72  page titles */
  --fs-hero:  clamp(3.25rem, 2rem + 5.2vw, 6.5rem);        /* 52 -> 104 homepage name */
  --fs-statement: clamp(1.75rem, 1.3rem + 1.9vw, 3rem);    /* 28 -> 48  big serif statements */
  --fs-stat:  clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);      /* 24 -> 36  numbers / stats */
  --fs-quote: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);     /* 20 -> 28  review quotes */
  --fs-btn:   clamp(.9375rem, .92rem + .06vw, 1rem);       /* 15 -> 16  buttons */
  --fs-nav:   .9375rem;                                    /* 15        header links */
  --gutter:   clamp(20px, 4vw, 40px);
}

/* ---------- never scroll sideways ---------- */
html, body{overflow-x:clip}
html:not(#nc) body img, html:not(#nc) body video{max-width:100%}

/* ---------- base text ---------- */
html:not(#nc) body{font-size:var(--fs-body); -webkit-text-size-adjust:100%}
html:not(#nc) body p, html:not(#nc) body li, html:not(#nc) body dd, html:not(#nc) body td{font-size:var(--fs-body); line-height:1.6}
html:not(#nc) body .lede, html:not(#nc) body .lead, html:not(#nc) body p.lead, html:not(#nc) body .hero .lead,
html:not(#nc) body .phero p.lead, html:not(#nc) body .ahero p:not(.eyebrow):not(.meta), html:not(#nc) body .final p:not(.eyebrow):not(.meta), html:not(#nc) body .manifesto p:not(.eyebrow):not(.meta),
html:not(#nc) body .about-copy p:not(.eyebrow):not(.meta), html:not(#nc) body .split .copy p:not(.eyebrow):not(.meta), html:not(#nc) body .abody{font-size:var(--fs-lead)!important; line-height:1.6}

/* ---------- headings: one ladder for the whole site ---------- */
html:not(#nc) body h1, html:not(#nc) body .phero h1, html:not(#nc) body .about-copy h1, html:not(#nc) body .ahero h1{
  font-size:var(--fs-h1)!important; line-height:1.04; letter-spacing:-.015em; text-wrap:balance}
html:not(#nc) body h2, html:not(#nc) body .manifesto h2, html:not(#nc) body .cta-end h2, html:not(#nc) body .why-l h2, html:not(#nc) body .final h2{
  font-size:var(--fs-h2)!important; line-height:1.06; letter-spacing:-.01em; text-wrap:balance}
html:not(#nc) body .close h2{font-size:var(--fs-h1)!important; line-height:1.02}
html:not(#nc) body h3, html:not(#nc) body .path h3, html:not(#nc) body .guide h3, html:not(#nc) body .dlg-in h3, html:not(#nc) body .done h3,
html:not(#nc) body .vcat h3, html:not(#nc) body .cover h3, html:not(#nc) body .move h3, html:not(#nc) body .why-r h3{
  font-size:var(--fs-h3)!important; line-height:1.15; text-wrap:balance}
html:not(#nc) body .town h3, html:not(#nc) body .tile h3, html:not(#nc) body .feat h3, html:not(#nc) body .road h3, html:not(#nc) body .rcard h3,
html:not(#nc) body .home h3, html:not(#nc) body .post h3, html:not(#nc) body .vcard h3, html:not(#nc) body .abody h2{
  font-size:var(--fs-h4)!important; line-height:1.2}
html:not(#nc) body h1 em, html:not(#nc) body h2 em, html:not(#nc) body h3 em, html:not(#nc) body h2 i,
html:not(#nc) body .phero h1 em, html:not(#nc) body .manifesto h2 em, html:not(#nc) body .heyline em{font-size:1em!important}

html:not(#nc) body .path h3{font-size:calc(var(--fs-h3) * 1.2)!important}

/* ---------- small caps labels: readable, never under 12px ---------- */
html:not(#nc) body .eyebrow, html:not(#nc) body .tagpill, html:not(#nc) body .sublabel, html:not(#nc) body .k, html:not(#nc) body .rcard .k,
html:not(#nc) body .who .k, html:not(#nc) body .cover .k, html:not(#nc) body .cover .pg, html:not(#nc) body .town .st, html:not(#nc) body .town dt,
html:not(#nc) body .home .st, html:not(#nc) body .home .tag, html:not(#nc) body .tile .tag, html:not(#nc) body .post .meta, html:not(#nc) body .ahero .meta,
html:not(#nc) body .field label, html:not(#nc) body .facts span, html:not(#nc) body .road small,
html:not(#nc) body .proof span, html:not(#nc) body .portrait .cap span, html:not(#nc) body .split .art small, html:not(#nc) body .vcount,
html:not(#nc) body .vcat h3 small, html:not(#nc) body .region small, html:not(#nc) body .plist b, html:not(#nc) body .adv b,
html:not(#nc) body .abody .tip b, html:not(#nc) body .clist li::before, html:not(#nc) body .rv figcaption, html:not(#nc) body .rv cite,
html:not(#nc) body .stat span, html:not(#nc) body .steps li b, html:not(#nc) body .guide .cov, html:not(#nc) body .f-grid h4, html:not(#nc) body .kv dt,
html:not(#nc) body .home .facts, html:not(#nc) body .htile b, html:not(#nc) body .about-txt .facts b, html:not(#nc) body .st, html:not(#nc) body section small, html:not(#nc) body .page small, html:not(#nc) body .pick, html:not(#nc) body .brokerage, html:not(#nc) body .brand small{
  font-size:var(--fs-label)!important; line-height:1.35}
html:not(#nc) body .eyebrow, html:not(#nc) body .tagpill{letter-spacing:.14em}

/* ---------- secondary text ---------- */
html:not(#nc) body footer, html:not(#nc) body footer p, html:not(#nc) body footer li, html:not(#nc) body footer a,
html:not(#nc) body .fine, html:not(#nc) body .src, html:not(#nc) body .f-legal, html:not(#nc) body .consent, html:not(#nc) body .check, html:not(#nc) body .notice,
html:not(#nc) body .town p, html:not(#nc) body .town dl, html:not(#nc) body .town .more, html:not(#nc) body .towns-foot, html:not(#nc) body .link,
html:not(#nc) body .guide p, html:not(#nc) body .guide ul, html:not(#nc) body .guide .go, html:not(#nc) body .home .ad, html:not(#nc) body .home .ft,
html:not(#nc) body .vcard p, html:not(#nc) body .vcard .where, html:not(#nc) body .vcard .reach, html:not(#nc) body .rcard p, html:not(#nc) body .rcard .go,
html:not(#nc) body .road p, html:not(#nc) body .feat p, html:not(#nc) body .move p, html:not(#nc) body .move .go, html:not(#nc) body .plist p,
html:not(#nc) body .adv p, html:not(#nc) body .prow, html:not(#nc) body .panel small, html:not(#nc) body .chip, html:not(#nc) body .clist li,
html:not(#nc) body .htile span.s, html:not(#nc) body .statement .sig, html:not(#nc) body .sig, html:not(#nc) body .callline,
html:not(#nc) body .abody .back, html:not(#nc) body .form-msg, html:not(#nc) body .err, html:not(#nc) body .field .err, html:not(#nc) body .kv{
  font-size:var(--fs-small)!important; line-height:1.55}
html:not(#nc) body .f-legal, html:not(#nc) body .fine{font-size:var(--fs-label)!important}

/* ---------- display pieces ---------- */
html:not(#nc) body .hero-title{font-size:var(--fs-hero)!important; line-height:1}
html:not(#nc) body .heyline{font-size:var(--fs-hero)!important; line-height:1}
html:not(#nc) body .statement p, html:not(#nc) body .about-txt p.big, html:not(#nc) body .note{font-size:var(--fs-statement)!important; line-height:1.2}
html:not(#nc) body .stat b, html:not(#nc) body .proof b, html:not(#nc) body .home .pr, html:not(#nc) body .home .price, html:not(#nc) body .prow b,
html:not(#nc) body .why-r .n, html:not(#nc) body .close .num{font-size:var(--fs-stat)!important; line-height:1.05}
html:not(#nc) body .road .n, html:not(#nc) body .move .num, html:not(#nc) body .steps li::before{font-size:var(--fs-h2)!important}
html:not(#nc) body .split .art .big{font-size:clamp(3.5rem,2rem + 6vw,7rem)!important}
html:not(#nc) body .ticker span{font-size:var(--fs-h2)!important}
html:not(#nc) body .quote, html:not(#nc) body .rv blockquote, html:not(#nc) body .rvgrid .feature blockquote,
html:not(#nc) body .why-l blockquote{font-size:var(--fs-quote)!important; line-height:1.4}
html:not(#nc) body .rv:first-child blockquote{font-size:calc(var(--fs-quote) * 1.15)!important}
html:not(#nc) body .page .rv blockquote, html:not(#nc) body .page .rv:first-child blockquote{font-size:var(--fs-lead)!important; line-height:1.55}
html:not(#nc) body .statement{min-height:115svh}
html:not(#nc) body .faq summary{font-size:var(--fs-lead)!important}
html:not(#nc) body .region{font-size:var(--fs-h4)!important}
html:not(#nc) body .about-pic .tag, html:not(#nc) body .abody .sign{font-size:var(--fs-h3)!important}
html:not(#nc) body .sheet a.big{font-size:clamp(2rem,1.6rem + 2vw,3rem)!important}

/* ---------- buttons & forms ---------- */
html:not(#nc) body .btn, html:not(#nc) body .hsearch button, html:not(#nc) body .search .btn, html:not(#nc) body button.btn{font-size:var(--fs-btn)!important}
html:not(#nc) body input, html:not(#nc) body select, html:not(#nc) body textarea{font-size:16px!important}

/* ---------- header: same feel on every page ---------- */
html:not(#nc) body .nav a, html:not(#nc) body .quick a, html:not(#nc) body .quick a span{font-size:var(--fs-nav)!important}
html:not(#nc) body a.logo b, html:not(#nc) body a.brand b{font-size:.875rem!important; letter-spacing:.16em!important}
html:not(#nc) body .pill, html:not(#nc) body .lang, html:not(#nc) body .hdr .btn{font-size:.8125rem!important}
html:not(#nc) body .pill.light{display:none!important}

/* ---------- shared side margins ---------- */
html:not(#nc) body .wrap{padding-inline:var(--gutter)!important}
html:not(#nc) body header .wrap.bar, html:not(#nc) body .hdr .wrap{padding-inline:clamp(16px,3vw,40px)!important}

/* ---------- links page: hidden radio inputs were pushing the page sideways ---------- */
html:not(#nc) body .pills label{position:relative}
html:not(#nc) body .pills input{left:0; top:0}

/* ---------- long emails / numbers wrap instead of overflowing ---------- */
html:not(#nc) body .facts b, html:not(#nc) body .facts span, html:not(#nc) body .facts dd, html:not(#nc) body dd, html:not(#nc) body .kv dd{overflow-wrap:anywhere}


/* homepage header: show the same gold tap-to-call circle as the other pages */
@media (max-width:860px){
  html:not(#nc) body .hdr .call{display:inline-flex!important; width:40px; height:40px; min-height:0; padding:0!important; font-size:0!important; border-radius:50%; align-items:center; justify-content:center; flex:none}
  html:not(#nc) body .hdr .call::before{content:""; width:16px; height:16px; background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat}
  html:not(#nc) body .hdr-actions{gap:6px!important}
  html:not(#nc) body .hdr .brand{min-width:0; flex:1 1 auto}
  html:not(#nc) body .hdr .brand span{min-width:0}
  html:not(#nc) body .hdr .call{order:-1}
  html:not(#nc) body .hdr .lang{padding:0 12px!important; height:40px}
}
@media (max-width:420px){
  html:not(#nc) body a.brand b, html:not(#nc) body a.logo b{white-space:normal!important; max-width:7.5em!important}
}

/* =====================================================================
   Tablet and phone
   ===================================================================== */
@media (max-width:900px){
  html:not(#nc) body .facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:640px){
  /* header: logo, name, call, language, menu, all on one tidy line */
  html:not(#nc) body header .wrap.bar{gap:8px!important; min-height:64px}
  html:not(#nc) body a.logo{gap:8px!important; min-width:0; flex:1 1 auto}
  html:not(#nc) body a.logo img, html:not(#nc) body a.logo .logomark{width:36px!important; height:auto}
  html:not(#nc) body a.logo b, html:not(#nc) body a.brand b{font-size:.6875rem!important; letter-spacing:.14em!important; max-width:none!important; white-space:normal!important; line-height:1.3!important}
  html:not(#nc) body a.logo .brokerage, html:not(#nc) body a.brand small{display:none!important}
  html:not(#nc) body .tools{gap:6px!important; flex:none}
  html:not(#nc) body .pill{padding:9px 12px!important}
  html:not(#nc) body .pill.call{width:40px; height:40px; padding:0!important; justify-content:center}
  html:not(#nc) body .pill.menu{font-size:18px!important; line-height:1; width:40px; height:40px; padding:0!important; display:inline-flex!important; align-items:center; justify-content:center}
  html:not(#nc) body .pill.menu span{display:none!important}

  /* fact grids, buttons and stats stack cleanly */
  html:not(#nc) body .facts{grid-template-columns:minmax(0,1fr)!important}
  html:not(#nc) body .about-copy .facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html:not(#nc) body .stats{grid-template-columns:1fr 1fr!important}
  html:not(#nc) body .stats .stat{padding-block:18px!important}
  html:not(#nc) body .btns, html:not(#nc) body .hero-ctas, html:not(#nc) body .cta-row{flex-wrap:wrap; gap:10px!important}
  html:not(#nc) body .btns .btn, html:not(#nc) body .hero-ctas .btn{flex:1 1 100%; justify-content:center; text-align:center}

  /* comfortable spacing between sections instead of huge empty bands */
  html:not(#nc) body .block, html:not(#nc) body section.block{padding-block:clamp(56px,14vw,88px)!important}
  html:not(#nc) body .page-head{padding-block:104px 48px!important}

  /* homepage statement: show the whole quote, no long empty scroll on phones */
  html:not(#nc) body .statement{min-height:0!important}
  html:not(#nc) body .statement .pin{position:static!important; min-height:0!important; padding-block:72px!important}
  html:not(#nc) body .statement .word{color:var(--ivory,#F3EEE4)!important}
  html:not(#nc) body .statement .word.gold{color:var(--gold,#B8975A)!important; font-style:italic}

  /* footer: two tidy columns */
  html:not(#nc) body .nc-fgrid, html:not(#nc) body .f-grid{grid-template-columns:1fr 1fr!important; gap:32px 20px!important}
  html:not(#nc) body .nc-fgrid > .item:first-child, html:not(#nc) body .f-grid > :first-child{grid-column:1/-1}
}

/* =====================================================================
   Refined type scale (Nov 11, 2026)
   Calmer, luxury sizing benchmarked to editorial real estate sites:
   headings around 44px, body 16 to 17px, hero name capped at 76px.
   ===================================================================== */
:root{
  --fs-label: clamp(.75rem, .73rem + .08vw, .78rem);       /* 12 -> 12.5 */
  --fs-small: clamp(.875rem, .86rem + .06vw, .9rem);       /* 14 -> 14.5 */
  --fs-body:  clamp(1rem, .97rem + .1vw, 1.0625rem);       /* 16 -> 17 */
  --fs-lead:  clamp(1.0625rem, 1rem + .25vw, 1.1875rem);   /* 17 -> 19 */
  --fs-h4:    clamp(1.125rem, 1.05rem + .3vw, 1.3125rem);  /* 18 -> 21 */
  --fs-h3:    clamp(1.25rem, 1.1rem + .5vw, 1.625rem);     /* 20 -> 26 */
  --fs-h2:    clamp(1.875rem, 1.45rem + 1.6vw, 2.75rem);   /* 30 -> 44 */
  --fs-h1:    clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);      /* 36 -> 56 */
  --fs-hero:  clamp(3rem, 1.9rem + 4.2vw, 4.75rem);        /* 48 -> 76 */
  --fs-statement: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);/* 26 -> 36 */
  --fs-about: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);     /* 20 -> 26 */
  --fs-stat:  clamp(1.375rem, 1.2rem + .7vw, 1.875rem);    /* 22 -> 30 */
  --fs-quote: clamp(1.125rem, 1.02rem + .4vw, 1.3125rem);  /* 18 -> 21 */
  --fs-btn:   .9375rem;                                    /* 15 */
}
/* about paragraph: a warm intro, not a billboard */
html:not(#nc) body .about-txt p.big{font-size:var(--fs-about)!important; line-height:1.45!important; max-width:34ch}
/* homepage about card: labels small, the actual info readable */
html:not(#nc) body .about-txt .facts b{font-size:var(--fs-label)!important}
html:not(#nc) body .about-txt .facts span{font-size:var(--fs-small)!important; line-height:1.45}
/* statement: fewer, fuller lines */
html:not(#nc) body .statement p{max-width:32ch; line-height:1.22!important}
/* headings get a little air now that they are smaller */
html:not(#nc) body h2{line-height:1.1}
html:not(#nc) body .path h3{font-size:calc(var(--fs-h3) * 1.12)!important}
/* review quotes: the featured one leads, the rest support */
html:not(#nc) body .rv:first-child blockquote{font-size:calc(var(--fs-quote) * 1.12)!important; line-height:1.4}
/* oversized decorative numbers and links */
html:not(#nc) body .road .n, html:not(#nc) body .move .num, html:not(#nc) body .steps li::before{font-size:var(--fs-stat)!important}
html:not(#nc) body .ticker span{font-size:var(--fs-h3)!important}
html:not(#nc) body .split .art .big{font-size:clamp(3rem,2rem + 3.6vw,4.75rem)!important}
html:not(#nc) body .sheet a.big{font-size:clamp(1.75rem,1.5rem + 1vw,2.25rem)!important}
html:not(#nc) body .close .num{font-size:var(--fs-h4)!important}
@media (max-width:640px){
  html:not(#nc) body .about-txt p.big{max-width:none}
}
