/* Andy Braun Home Loans: homepage layout refresh (Claude, Nov 7, 2026)
   Loaded AFTER /css/brand.css. Every rule is scoped to body.layout-refresh, so only
   pages that carry that class change. Copy, links, forms, scripts, the rate widget,
   the X feed and all legal text are untouched: this file changes layout and type only.
   Roll back: remove the <link> to this file and the "layout-refresh" body class. */

/* Type scale and section rhythm */
.layout-refresh .section{padding-top:104px;padding-bottom:104px}
.layout-refresh .h2{font-size:clamp(34px,4.4vw,56px);line-height:1.06}
.layout-refresh .eyebrow{display:inline-flex;align-items:center;gap:10px}
.layout-refresh .eyebrow::before{content:"";width:28px;height:2px;background:var(--accent);flex:0 0 auto}
.layout-refresh .section-head.center .eyebrow::before{display:none}

/* Hero: bigger editorial headline, each phrase on its own line on wide screens */
.layout-refresh .hero-tucson h1{font-size:clamp(46px,6.4vw,92px);line-height:1.0;letter-spacing:-.03em}
@media (min-width:1024px){
  .layout-refresh .hero-tucson{padding:136px 0 152px}
  .layout-refresh .hero-tucson h1 .ac{display:block}
}
.layout-refresh .hero-tucson .sub{font-size:20px;max-width:600px}
.layout-refresh .hero-tucson .id-card{box-shadow:0 18px 40px rgba(31,26,23,.18)}

/* Loan programs: numbered two-column list instead of an icon card grid */
.layout-refresh #loans .section-head{display:grid;gap:12px 40px;align-items:end;margin-bottom:48px}
@media (min-width:900px){
  .layout-refresh #loans .section-head{grid-template-columns:1fr 1fr}
  .layout-refresh #loans .section-head .eyebrow,.layout-refresh #loans .section-head .h2{grid-column:1}
  .layout-refresh #loans .section-head .lead{grid-column:2;grid-row:1 / span 2;align-self:end;margin:0}
}
.layout-refresh .grid-loans{counter-reset:loan;display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--line)}
@media (min-width:800px){.layout-refresh .grid-loans{grid-template-columns:1fr 1fr;column-gap:48px}}
.layout-refresh .grid-loans .card.loan{counter-increment:loan;position:relative;display:block;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;padding:26px 44px 26px 68px;transform:none;min-height:0}
.layout-refresh .grid-loans .card.loan:hover{background:var(--gray)}
.layout-refresh .grid-loans .card.loan::before{content:counter(loan,decimal-leading-zero);position:absolute;left:4px;top:26px;font-family:Fraunces,Georgia,serif;font-size:28px;line-height:1;color:var(--accent)}
.layout-refresh .grid-loans .card.loan .ico{display:none}
.layout-refresh .grid-loans .card.loan h3{font-family:Fraunces,Georgia,serif;font-weight:500;font-size:26px;line-height:1.15;margin:0}
.layout-refresh .grid-loans .card.loan p{margin:6px 0 0;color:var(--muted);font-size:16px}
.layout-refresh .grid-loans .card.loan .go{position:absolute;right:8px;top:28px;font-size:0;color:var(--accent)}
.layout-refresh .grid-loans .card.loan .go svg{width:22px;height:22px}

/* Meet Andy: photo holds still while the story scrolls; bigger pull quote */
@media (min-width:960px){.layout-refresh .about-photo{position:sticky;top:120px;align-self:start}}
.layout-refresh .about .quote{border-left:3px solid var(--accent);padding-left:24px}
.layout-refresh .about .quote p{font-style:italic;font-size:clamp(24px,2.6vw,32px);line-height:1.3}

/* The Cornerstone Group: dark band for contrast and rhythm */
.layout-refresh #cornerstone{background:var(--ink);color:#fff}
.layout-refresh #cornerstone .h2{color:#fff}
.layout-refresh #cornerstone .lead,.layout-refresh #cornerstone .cs-points span{color:#D8CFC7}
.layout-refresh #cornerstone .cs-points b{color:#fff}
.layout-refresh #cornerstone .eyebrow{color:#F6C7AE}
.layout-refresh #cornerstone .eyebrow::before{background:#F6C7AE}
.layout-refresh #cornerstone .cs-points>div{border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:20px 22px;background:transparent}
.layout-refresh #cornerstone .cs-logo{background:#fff;border-radius:12px;padding:10px 14px}
.layout-refresh #cornerstone figcaption{color:#CFC6BE}
.layout-refresh #cornerstone a{color:#F6C7AE}

/* Reviews: quotes set in the display serif */
.layout-refresh .review blockquote{font-family:Fraunces,Georgia,serif;font-size:21px;line-height:1.4}

/* FAQ: ruled list instead of separate cards */
.layout-refresh .faq-list{display:block}
.layout-refresh .faq-list .card.faq-q{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;margin:0;padding:0}
.layout-refresh .faq-list .card.faq-q:first-child{border-top:1px solid var(--line)}
.layout-refresh .faq-list .faq-q summary{font-family:Fraunces,Georgia,serif;font-size:21px;padding:22px 0;min-height:44px}
.layout-refresh .faq-list .faq-q p{padding:0 0 22px;margin:0}

/* Contact: warm copper tint so the call-back form stands out */
.layout-refresh #contact{background:var(--accent-soft)}
.layout-refresh #lead-form{align-self:start;align-content:start}

/* Keyboard focus and reduced motion */
.layout-refresh a:focus-visible,.layout-refresh button:focus-visible,.layout-refresh summary:focus-visible,.layout-refresh input:focus-visible,.layout-refresh textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  .layout-refresh *{scroll-behavior:auto!important}
  .layout-refresh .grid-loans .card.loan{transition:none}
}
