:root{
  --black:#0c0c0d;
  --black2:#151416;
  --cream:#f3eee6;
  --cream2:#e5ddd1;
  --text:#171516;
  --muted:#716b65;
  --maroon:#6a151d;
  --maroon2:#461015;
  --mahogany:#301416;
  --line:#c8beb2;
  --darkline:#343033;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--cream);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

.wrap{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
}

/* HEADER */

header{
  background:var(--black);
  color:#fff;
  border-bottom:1px solid #282629;
}

nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  color:inherit;
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:700;
  letter-spacing:-.03em;
}

.navlinks{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px;
  color:#d8d3cd;
}

.navlinks a{
  color:inherit;
  text-decoration:none;
}

.navlinks a:hover,
.brand:hover{
  opacity:.7;
}

.start{
  background:var(--maroon);
  border:1px solid #8c3039;
  padding:13px 20px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:14px;
  color:inherit;
  text-decoration:none;
}

.mobile-menu-button{
  display:none;
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
  color:inherit;
  font:inherit;
  padding:10px 14px;
  cursor:pointer;
}

.mobile-menu{
  display:none;
}

/* SECTION PAGE SHELL */

.page-hero{
  background:var(--black);
  color:#fff;
  border-bottom:1px solid var(--darkline);
}

.page-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  align-items:stretch;
  max-width:none;
  padding:0;
}

.page-hero-copy{
  align-self:center;
  padding:88px 56px 82px 0;
}

.page-hero-media{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background:var(--black2);
  border-left:1px solid var(--darkline);
}

.page-hero-media img{
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  object-fit:cover;
  object-position:center;
}

.eyebrow{
  margin-bottom:18px;
  color:#b9b1aa;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.page-hero h1{
  margin:0;
  max-width:820px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(48px,7vw,88px);
  line-height:.96;
  letter-spacing:-.05em;
}

.page-hero p{
  max-width:760px;
  margin:26px 0 0;
  color:#d9d2ca;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  line-height:1.55;
}

.section{
  padding:72px 0;
}

.section + .section{
  border-top:1px solid var(--line);
}

.section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:32px;
}

.section-heading h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,4vw,52px);
  line-height:1;
  letter-spacing:-.04em;
}

.section-heading p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.directory-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}

.directory-card{
  min-height:180px;
  padding:28px;
  background:var(--cream);
}

.directory-card:hover{
  background:var(--cream2);
}

.directory-card small{
  display:block;
  margin-bottom:14px;
  color:var(--maroon);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.directory-card h3{
  margin:0 0 12px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  line-height:1.05;
  letter-spacing:-.03em;
}

.directory-card p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.text-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  border-top:1px solid var(--line);
}

.text-list a,
.text-list .future-item{
  padding:18px 0;
  border-bottom:1px solid var(--line);
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
}

.text-list a:nth-child(odd),
.text-list .future-item:nth-child(odd){
  padding-right:30px;
}

.future-item{
  color:var(--muted);
}

.future-tag{
  margin-left:8px;
  font-family:Inter,system-ui,sans-serif;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.note{
  padding:24px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  color:var(--muted);
  line-height:1.6;
}

footer{
  background:var(--black);
  color:#a9a29b;
  padding:38px 0;
  font-size:13px;
  border-top:1px solid #282629;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

@media(max-width:1100px){
  .navlinks{
    gap:18px;
  }

  .navlinks a:nth-child(7),
  .navlinks a:nth-child(8){
    display:none;
  }
}

@media(max-width:850px){
  .wrap{
    width:min(100% - 32px,1180px);
  }

  .navlinks,
  .start{
    display:none;
  }

  .mobile-menu-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
  }

  .mobile-menu{
    padding:0 0 18px;
    border-top:1px solid rgba(255,255,255,.12);
  }

  .mobile-menu.open{
    display:grid;
    grid-template-columns:1fr;
  }

  .mobile-menu a{
    color:inherit;
    text-decoration:none;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.10);
    font-size:18px;
  }

  .page-hero-inner{
    grid-template-columns:1fr;
    padding:0;
  }

  .page-hero-copy{
    padding:62px 0 58px;
  }

  .page-hero-media{
    min-height:360px;
    border-left:0;
    border-top:1px solid var(--darkline);
  }

  .directory-grid{
    grid-template-columns:1fr 1fr;
  }

  .section-heading{
    display:block;
  }

  .section-heading p{
    margin-top:14px;
  }
}

@media(max-width:560px){
  .brand{
    font-size:20px;
  }

  .page-hero h1{
    font-size:49px;
  }

  .page-hero p{
    font-size:18px;
  }

  .page-hero-media{
    min-height:300px;
  }

  .directory-grid,
  .text-list{
    grid-template-columns:1fr;
  }

  .directory-card{
    min-height:auto;
  }

  .section{
    padding:55px 0;
  }

  .footer-row{
    flex-direction:column;
  }
}


/* CHILD CONTENT PAGES */

.breadcrumbs{
  padding:18px 0;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}

.breadcrumbs a:hover{
  color:var(--maroon);
}

.article-hero{
  padding:72px 0 58px;
  border-bottom:1px solid var(--line);
}

.article-hero-inner{
  max-width:900px;
}

.article-kicker{
  margin-bottom:16px;
  color:var(--maroon);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.article-hero h1{
  margin:0;
  max-width:900px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(46px,7vw,78px);
  line-height:.98;
  letter-spacing:-.045em;
}

.article-deck{
  max-width:780px;
  margin:24px 0 0;
  color:var(--muted);
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  line-height:1.5;
}

.article-shell{
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(220px,1fr);
  gap:70px;
  padding:68px 0 82px;
}

.article-body{
  min-width:0;
}

.article-body h2{
  margin:52px 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:38px;
  line-height:1.05;
  letter-spacing:-.035em;
}

.article-body h2:first-child{
  margin-top:0;
}

.article-body h3{
  margin:34px 0 12px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:26px;
  line-height:1.12;
}

.article-body p,
.article-body li{
  font-size:18px;
  line-height:1.75;
}

.article-body p{
  margin:0 0 22px;
}

.article-body ul,
.article-body ol{
  margin:0 0 26px;
  padding-left:24px;
}

.article-body li{
  margin-bottom:10px;
}

.article-body strong{
  color:var(--maroon2);
}

.article-callout{
  margin:34px 0;
  padding:26px 28px;
  border-left:4px solid var(--maroon);
  background:var(--cream2);
}

.article-callout strong{
  display:block;
  margin-bottom:8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
}

.checklist{
  margin:28px 0;
  border-top:1px solid var(--line);
}

.checklist div{
  padding:16px 0;
  border-bottom:1px solid var(--line);
  font-size:17px;
  line-height:1.5;
}

.checklist div::before{
  content:"✓";
  display:inline-block;
  margin-right:12px;
  color:var(--maroon);
  font-weight:800;
}

.article-sidebar{
  min-width:0;
}

.sidebar-box{
  position:sticky;
  top:24px;
  border-top:3px solid var(--black);
}

.sidebar-box h3{
  margin:0;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
}

.sidebar-box a{
  display:block;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  line-height:1.4;
}

.sidebar-box a:hover{
  color:var(--maroon);
}

.related-section{
  padding:64px 0;
  border-top:1px solid var(--line);
}

.related-section h2{
  margin:0 0 28px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:40px;
  letter-spacing:-.035em;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}

.related-card{
  background:var(--cream);
  padding:24px;
  min-height:150px;
}

.related-card:hover{
  background:var(--cream2);
}

.related-card small{
  display:block;
  margin-bottom:10px;
  color:var(--maroon);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.related-card h3{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  line-height:1.1;
}

@media(max-width:850px){
  .article-shell{
    grid-template-columns:1fr;
    gap:45px;
  }

  .sidebar-box{
    position:static;
  }

  .related-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:560px){
  .article-hero{
    padding:52px 0 46px;
  }

  .article-hero h1{
    font-size:46px;
  }

  .article-deck{
    font-size:19px;
  }

  .article-shell{
    padding:48px 0 60px;
  }

  .article-body h2{
    font-size:32px;
  }

  .article-body p,
  .article-body li{
    font-size:17px;
  }

  .related-grid{
    grid-template-columns:1fr;
  }
}


/* FLAGSHIP ARTICLE HERO ART */

.article-hero.illustrated-article-hero{
  padding:0;
  background:var(--cream);
}

.illustrated-article-hero .article-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  align-items:stretch;
  max-width:none;
}

.article-hero-copy{
  align-self:center;
  padding:72px 56px 58px 0;
}

.article-hero-media{
  position:relative;
  min-height:500px;
  overflow:hidden;
  background:var(--black2);
  border-left:1px solid var(--line);
}

.article-hero-media img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

@media(max-width:850px){
  .illustrated-article-hero .article-hero-inner{
    grid-template-columns:1fr;
  }

  .article-hero-copy{
    padding:62px 0 58px;
  }

  .article-hero-media{
    min-height:360px;
    border-left:0;
    border-top:1px solid var(--line);
  }
}

@media(max-width:560px){
  .article-hero.illustrated-article-hero{
    padding:0;
  }

  .article-hero-copy{
    padding:52px 0 46px;
  }

  .article-hero-media{
    min-height:300px;
  }
}

/* PROJECT BUDGET CALCULATOR */

.calculator-shell{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  border:1px solid var(--line);
  background:var(--line);
  gap:1px;
}

.calculator-inputs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  background:var(--line);
}

.calculator-field{
  padding:26px;
  background:var(--cream);
}

.calculator-field label{
  display:block;
  margin-bottom:10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  font-weight:700;
}

.calculator-field input{
  width:100%;
  min-height:52px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:0;
  outline:none;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:18px;
}

.calculator-field input:focus{
  border-color:var(--maroon);
  box-shadow:0 0 0 1px var(--maroon);
}

.calculator-field small{
  display:block;
  margin-top:9px;
  color:var(--muted);
  line-height:1.45;
}

.calculator-results{
  padding:34px;
  background:var(--black);
  color:#fff;
}

.calculator-results-label{
  margin-bottom:12px;
  color:#b9b1aa;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.calculator-total{
  margin-bottom:30px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,5vw,66px);
  line-height:1;
  letter-spacing:-.045em;
}

.calculator-breakdown{
  border-top:1px solid var(--darkline);
}

.calculator-breakdown div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:15px 0;
  border-bottom:1px solid var(--darkline);
}

.calculator-breakdown span{
  color:#b9b1aa;
}

.calculator-breakdown strong{
  font-weight:700;
}

.calculator-note{
  margin:24px 0 0;
  color:#a9a29b;
  font-size:13px;
  line-height:1.55;
}

@media(max-width:850px){
  .calculator-shell{
    grid-template-columns:1fr;
  }

  .calculator-inputs{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:560px){
  .calculator-inputs{
    grid-template-columns:1fr;
  }

  .calculator-results{
    padding:26px;
  }
}


/* Reusable buyer template blocks */
.template-box{
  margin:24px 0;
  border:1px solid var(--border, #d9dde3);
  border-radius:14px;
  overflow:hidden;
  background:var(--card, #fff);
}

.template-box-header{
  padding:12px 16px;
  border-bottom:1px solid var(--border, #d9dde3);
  font-weight:700;
}

.template-box pre{
  margin:0;
  padding:18px;
  overflow-x:auto;
  white-space:pre-wrap;
  word-break:break-word;
  font:inherit;
  line-height:1.7;
}

.template-note{
  margin:14px 0 24px;
  font-size:.94rem;
  opacity:.78;
}

@media (max-width:700px){
  .template-box pre{
    padding:15px;
  }
}

/* SITE BRAND LOGO */

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-logo{
  width:46px;
  height:46px;
  display:block;
  object-fit:contain;
  flex:0 0 auto;
}

.brand span{
  display:block;
}

/* LIVE TOOL LINKS */

.future-item[href]{
  color:inherit;
  text-decoration:none;
  transition:opacity .18s ease;
}

.future-item[href]:hover{
  opacity:.68;
}

.future-item[href] .future-tag{
  color:var(--maroon,#6a151d);
  font-weight:800;
}


/* CONTEXTUAL BUYER TOOL CALLOUTS */

.tool-callout-section{
  padding-top:0;
}

.tool-callout{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  padding:28px 30px;
  background:#171516;
  color:#fff;
  border-top:5px solid var(--maroon,#6a151d);
}

.tool-callout-copy small{
  display:block;
  margin-bottom:8px;
  color:#bdb5af;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.tool-callout h3{
  margin:0 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.45rem,3vw,2rem);
}

.tool-callout p{
  margin:0;
  max-width:760px;
  color:#d4ceca;
  line-height:1.65;
}

.tool-callout a{
  display:inline-block;
  min-width:150px;
  padding:14px 18px;
  background:#eee8df;
  color:#171516;
  font-weight:800;
  text-align:center;
  white-space:nowrap;
}

.tool-callout a:hover{
  opacity:.88;
}

@media(max-width:700px){
  .tool-callout{
    grid-template-columns:1fr;
    padding:24px 20px;
  }

  .tool-callout a{
    width:100%;
  }
}


/* STRUCTURED PAYMENT / TRUSTLESS CONTEXT */

.structured-payment-section{
  padding-top:0;
}

.structured-payment{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:30px;
  padding:30px;
  background:#f1ebe3;
  border:1px solid #cec4b8;
  border-left:6px solid var(--maroon,#6a151d);
}

.structured-payment-copy small{
  display:block;
  margin-bottom:8px;
  color:var(--maroon,#6a151d);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.structured-payment h3{
  margin:0 0 9px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.45rem,3vw,2rem);
  line-height:1.1;
}

.structured-payment p{
  margin:0;
  max-width:780px;
  color:#4f4945;
  line-height:1.7;
}

.structured-payment a{
  display:inline-block;
  min-width:190px;
  padding:14px 18px;
  background:#171516;
  color:#fff;
  font-weight:800;
  text-align:center;
  white-space:nowrap;
}

.structured-payment a:hover{
  opacity:.86;
}

@media(max-width:700px){
  .structured-payment{
    grid-template-columns:1fr;
    padding:24px 20px;
  }

  .structured-payment a{
    width:100%;
  }
}

