/* North Carolina Furniture Guide - Zilla Slab + Public Sans.
   Magazine: lead story, river of image-left rows, RIGHT SIDEBAR, dark 3-col footer.
   ⛔ The sidebar is this site's structural axis - no sibling has one. Do not remove it,
   and do not add a card grid (Carcassonne) or bare thumbnail rows (Savvy). */
:root{
  --paper:#f3f1ec; --card:#fffefb; --ink:#211f1c; --dim:#655f55;
  --leaf:#3f5343; --leaf-d:#2b3a2f; --tan:#8a6a3f;
  --line:#ded8cc; --line-2:#ebe6db;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-size:17px;line-height:1.75;
  font-family:'Public Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-wrap:pretty;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--leaf);text-decoration:none}
a:hover{color:var(--leaf-d)}
h1,h2,h3,h4{font-family:'Zilla Slab',Georgia,serif;line-height:1.2;font-weight:600;text-wrap:balance}
:focus-visible{outline:2px solid var(--leaf);outline-offset:2px}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:#fff;padding:8px 14px;z-index:99}

/* masthead - logo LEFT, nav RIGHT */
.top{background:var(--card);border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(63,83,67,.10)}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding-top:16px;padding-bottom:16px}
.brand img{height:74px;width:auto}
.nav{display:flex;gap:24px;flex-wrap:wrap}
.nav a{font-size:12px;letter-spacing:.15em;text-transform:uppercase;color:var(--dim);
  font-weight:600;padding:6px 0;border-bottom:2px solid transparent;
  transition:color .2s,border-color .2s}
.nav a:hover{color:var(--ink)}
.nav a.here{color:var(--leaf);border-bottom-color:var(--leaf)}
.burger{display:none;background:none;border:0;cursor:pointer;padding:8px;
  flex-direction:column;gap:5px}
.burger span{display:block;width:24px;height:2px;background:var(--ink);border-radius:2px;
  transition:transform .25s,opacity .2s}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* two-column shell */
.grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:52px;
  padding-top:38px;padding-bottom:56px;align-items:start}
.narrow{max-width:760px;padding-top:34px;padding-bottom:56px}
.col{min-width:0}

.kick{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;color:var(--tan)}
.kick-p{margin-bottom:8px}
.when{display:block;font-size:12.5px;color:var(--dim);margin-top:10px}

/* home standfirst */
.hero-t{padding-bottom:26px;margin-bottom:30px;border-bottom:2px solid var(--ink)}
.hero-t h1{font-size:clamp(27px,3.9vw,37px);margin-bottom:10px}
.hero-t p{color:var(--dim);font-size:18px;max-width:62ch}

/* lead story - image FIRST, text beneath, left-aligned */
.lede-pic{display:block;overflow:hidden;border-radius:2px}
.lede-pic img{width:100%;aspect-ratio:2/1;object-fit:cover;transition:transform .5s ease}
.lede-pic:hover img{transform:scale(1.02)}
.lede-t{padding-top:18px}
.lede-t h2{font-size:clamp(26px,3.7vw,35px);margin:8px 0 10px}
.lede-t h2 a{color:var(--ink)}
.lede-t h2 a:hover{color:var(--leaf)}
.lede-s{font-size:18px;color:var(--dim);max-width:60ch}

/* section rule */
.rule{font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--dim);
  font-weight:600;margin:46px 0 26px;display:flex;align-items:center;gap:16px}
.rule::after{content:"";flex:1;height:2px;background:var(--line)}

/* the river - image LEFT */
.river{display:flex;flex-direction:column;gap:30px}
.row{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:center;
  padding-bottom:30px;border-bottom:1px solid var(--line-2)}
.row:last-child{border-bottom:0;padding-bottom:0}
.row-pic{display:block;overflow:hidden;border-radius:2px}
.row-pic img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .5s ease}
.row-pic:hover img{transform:scale(1.03)}
.row-t h3{font-size:21px;margin:7px 0 8px}
.row-t h3 a{color:var(--ink)}
.row-t h3 a:hover{color:var(--leaf)}
.row-t p{color:var(--dim);font-size:15.5px}

/* category head */
.chead{padding-bottom:20px;border-bottom:2px solid var(--ink);margin-bottom:24px}
.chead h1{font-size:clamp(28px,4.2vw,39px)}
.chead-s{color:var(--dim);margin-top:9px;font-size:18px;max-width:62ch}
.chead-pic{display:block;overflow:hidden;border-radius:2px;margin-bottom:30px}
.chead-pic img{width:100%;aspect-ratio:5/2;object-fit:cover}

/* article */
.crumb{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);
  font-weight:600;margin-bottom:14px}
.crumb a{color:var(--dim)}
.crumb a:hover{color:var(--leaf)}
.crumb span{opacity:.4;margin:0 7px}
.story h1{font-size:clamp(29px,4.5vw,42px);margin:9px 0 12px}
.stamp{font-size:13.5px;color:var(--dim);padding-bottom:20px;
  border-bottom:1px solid var(--line);margin-bottom:26px}
.story-pic{display:block;overflow:hidden;border-radius:2px;margin-bottom:30px}
.story-pic img{width:100%;aspect-ratio:3/2;object-fit:cover}
.copy p{margin-bottom:18px}
.copy b{font-weight:600;color:var(--ink)}
.copy h2{font-size:23px;margin:36px 0 13px;padding-top:4px}
.copy .standout{font-family:'Zilla Slab',Georgia,serif;font-size:20.5px;line-height:1.55;
  color:var(--leaf-d);margin-bottom:28px}
.copy a{border-bottom:1px solid rgba(63,83,67,.42)}
.copy a:hover{border-bottom-color:var(--leaf-d)}
.river-3{margin-bottom:8px}

/* right rail */
.rail{display:flex;flex-direction:column;gap:26px;position:sticky;top:22px}
.box{background:var(--card);border:1px solid var(--line);border-radius:2px;padding:20px}
.box-start{border-left:3px solid var(--leaf)}
.box-h{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--dim);
  font-weight:600;padding-bottom:11px;margin-bottom:13px;border-bottom:1px solid var(--line-2)}
.box-b{font-size:14.5px;line-height:1.65;color:var(--dim)}
.box-go{display:inline-block;margin-top:11px;font-size:14.5px;font-weight:600;
  font-family:'Zilla Slab',Georgia,serif;line-height:1.35;
  border-bottom:1px solid rgba(63,83,67,.4)}
.box-l,.box-c{list-style:none}
.box-l li{padding:11px 0;border-bottom:1px solid var(--line-2)}
.box-l li:last-child{border-bottom:0;padding-bottom:0}
.box-l li:first-child{padding-top:0}
.box-l b{display:block;font-family:'Zilla Slab',Georgia,serif;font-size:15.5px;font-weight:600;
  line-height:1.32;color:var(--ink);transition:color .2s}
.box-l em{display:block;font-style:normal;font-size:11.5px;letter-spacing:.05em;
  color:var(--dim);margin-top:4px}
.box-l a:hover b{color:var(--leaf)}
.box-c li{border-bottom:1px solid var(--line-2)}
.box-c li:last-child{border-bottom:0}
.box-c a{display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:10px 0;font-size:15px;color:var(--ink)}
.box-c a:hover{color:var(--leaf)}
.box-c span{font-size:11.5px;color:var(--dim);font-variant-numeric:tabular-nums;
  background:var(--paper);border:1px solid var(--line-2);border-radius:2px;padding:1px 7px}

/* dark three-column footer */
.foot{background:var(--leaf-d);color:#dfe5da;margin-top:12px;padding:46px 0 20px}
.foot-g{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:44px;align-items:start}
.foot-a h4{font-family:'Zilla Slab',Georgia,serif;font-size:21px;color:#fff;margin-bottom:10px}
.foot-a p{font-size:14.5px;line-height:1.7;color:#adbaa8;max-width:46ch}
.foot-h{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#8b9a86;
  font-weight:600;margin-bottom:12px}
.foot-c a{display:block;color:#dfe5da;font-size:14.5px;padding:4px 0}
.foot-c a:hover{color:#fff}
.foot-n{margin-top:34px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
.foot-n p{font-size:12.5px;color:#8b9a86}

/* breakpoints - each one measured against the element that actually breaks */
@media(max-width:940px){          /* the 300px rail stops fitting beside the river */
  .grid{grid-template-columns:1fr;gap:44px}
  .rail{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px}
  .foot-g{grid-template-columns:1fr 1fr;gap:30px}
  .foot-a{grid-column:1/-1}
}
@media(max-width:760px){          /* the nav no longer fits beside a 74px logo */
  .burger{display:flex}
  .nav{display:none;flex-direction:column;gap:0;width:100%;order:3;padding:6px 0 10px}
  .nav.open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line-2);width:100%}
  .top-in{flex-wrap:wrap}
  .brand img{height:60px}
  .row{grid-template-columns:200px minmax(0,1fr);gap:18px}
  .row-t h3{font-size:19px}
  .lede-pic img{aspect-ratio:16/9}
}
@media(max-width:560px){          /* a 200px thumb leaves too little for the headline */
  body{font-size:16.5px}
  .row{grid-template-columns:1fr;gap:13px}
  .row-pic img{aspect-ratio:16/9}
  .rail{grid-template-columns:1fr}
  .foot-g{grid-template-columns:1fr}
  .chead-pic img{aspect-ratio:3/2}
  .lede-t h2{font-size:25px}
}
