/* Attic Steel guide pages. Colours and type match the main site. */
:root{--ink:#15191c;--steel:#2b3640;--paint:#c8451d;--paint-dk:#a8370f;--paper:#f5f3ee;--line:#c9c5bc;--soft:#dcd8cc;--muted:#5b5f62}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
a{color:var(--paint-dk)}
header{background:var(--ink);color:#fff;position:sticky;top:0;z-index:50}
.bar{display:flex;align-items:center;justify-content:space-between;height:60px;gap:14px}
.logo{display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap;font-weight:800;letter-spacing:.02em;font-size:18px;color:#fff;text-decoration:none}
.logo .mark{width:26px;height:26px;border-radius:3px;background:linear-gradient(135deg,var(--paint),var(--paint-dk));display:inline-flex;align-items:center;justify-content:center;font-size:15px}
.logo small{font-weight:500;opacity:.6;font-size:11px;letter-spacing:.18em;text-transform:uppercase;display:block;margin-top:-3px}
.navlinks{display:flex;gap:26px;font-size:14px;min-width:0;padding:6px 2px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.navlinks::-webkit-scrollbar{display:none}
.navlinks a{color:#cdd2d6;text-decoration:none;white-space:nowrap}
.navlinks a:hover{color:#fff}
.callbtn{background:var(--paint);color:#fff;padding:8px 14px;border-radius:4px;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
/* basket button, top right: the same as on the main page. Here it links to the basket there. */
.bar-r{display:flex;align-items:center;gap:10px;flex:none}
.cartbtn{position:relative;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.34);border-radius:4px;background:transparent;color:#fff;font-size:13px;font-weight:700;line-height:1;text-decoration:none}
.cartbtn:hover{border-color:#fff;background:rgba(255,255,255,.07)}
.cartbtn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cartbtn svg{display:block;flex:none}
.cart-n{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--paint);color:#fff;font-size:12px;font-weight:800;line-height:20px;text-align:center;font-variant-numeric:tabular-nums}
.cart-n[hidden]{display:none}
main.wrap{padding-top:26px;padding-bottom:56px;flex:1;width:100%}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:22px}
.crumbs a{color:var(--muted)}
.crumbs span{margin:0 2px}
article{max-width:740px}
h1{font-size:clamp(28px,4.6vw,42px);line-height:1.1;font-weight:800;letter-spacing:-.01em;max-width:22ch;margin-bottom:16px}
.lede{font-size:18px;line-height:1.55;color:#33383c;margin-bottom:8px;max-width:68ch}
article h3{font-size:16px;font-weight:800;margin:18px 0 6px}
article h2{font-size:clamp(20px,2.8vw,25px);font-weight:800;letter-spacing:-.01em;margin:34px 0 10px;line-height:1.25}
article p{margin:0 0 14px;max-width:68ch}
article ul,article ol{margin:0 0 16px 22px;max-width:66ch}
article li{margin-bottom:7px}
.tablewrap{overflow-x:auto;margin:6px 0 16px;border:1px solid var(--soft);border-radius:10px;background:#fff}
table{border-collapse:collapse;width:100%;font-size:14.5px;font-variant-numeric:tabular-nums}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #ebe8df;white-space:nowrap}
th,td:first-child{white-space:normal}
th{background:#f4f2ec;font-size:12.5px;letter-spacing:.02em;color:var(--steel)}
tbody tr:last-child td{border-bottom:0}
td:first-child,th:first-child{font-weight:700}
figure.photo{margin:18px 0 22px;max-width:620px}
figure.photo picture{display:block}
figure.photo img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;border-radius:10px;border:1px solid var(--soft);background:#e7e4dd}
figure.photo figcaption{font-size:13.5px;color:var(--muted);margin-top:8px;line-height:1.45;max-width:68ch}
.figrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 22px}
.figrow figure.photo{margin:0;max-width:none}
@media(max-width:640px){.figrow{grid-template-columns:minmax(0,1fr)}}
.cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:var(--steel);color:#fff;border-radius:10px;padding:20px 22px;margin:36px 0 18px}
.cta b{display:block;font-size:18px}
.cta span{display:block;color:#c4cad0;font-size:14.5px;margin-top:2px;max-width:46ch}
.btn{background:var(--paint);color:#fff;text-decoration:none;font-weight:800;padding:13px 18px;border-radius:7px;white-space:nowrap}
.btn:hover{background:var(--paint-dk)}
.byline{font-size:13px;color:var(--muted)}
.related{max-width:740px;margin-top:34px;padding-top:22px;border-top:1px solid var(--soft)}
.related h2{font-size:18px;font-weight:800;margin-bottom:10px}
.related ul{list-style:none}
.related li{margin-bottom:8px}
.related a{font-weight:700}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:24px}
.card{display:block;background:#fff;border:1px solid var(--soft);border-radius:10px;overflow:hidden;text-decoration:none;color:var(--ink)}
.card picture{display:block}
.card img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;background:#e7e4dd}
.card-b{padding:18px 20px 20px}
.card:hover{border-color:var(--steel)}
.card h2{font-size:18px;font-weight:800;line-height:1.25;margin-bottom:8px}
.card p{color:var(--muted);font-size:14.5px;margin-bottom:12px}
.card span{color:var(--paint-dk);font-weight:700;font-size:14px}
footer{background:var(--ink);color:#8a9097;padding:34px 0;font-size:13px}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px}
footer b{color:#e4e7ea;display:block;margin-bottom:6px;font-size:13px}
footer a{color:#aeb4ba;text-decoration:none}
.cookiebar{position:fixed;left:12px;right:12px;bottom:12px;z-index:70;max-width:560px;margin:0 auto;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.28);padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px))}
.cookiebar[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){.cookiebar{transition:bottom .2s ease}}
.cookiebar p{margin:0 0 10px;font-size:13px;line-height:1.5}
.cookiebar a{color:var(--paint);font-weight:700}
/* Accept / Decline sit bottom-left: the bottom-right corner of the screen is where Netlify puts its badge. */
.cb-btns{display:flex;gap:8px;justify-content:flex-start}
.cb-btns button{font:inherit;font-size:14px;font-weight:700;border-radius:6px;padding:10px 18px;cursor:pointer;border:1.5px solid var(--steel);background:#fff;color:var(--steel)}
.cb-btns #cookieYes{background:var(--steel);color:#fff}
/* While the "Powered by Netlify" badge is on the page (guides.js measures it), keep the cookie choice above it. */
@media(max-width:1000px){.has-nlb .cookiebar{bottom:calc(var(--nlb-h,0px) + 8px)}}
a:focus-visible,button:focus-visible{outline:2px solid var(--paint);outline-offset:2px}
@media(max-width:860px){
  /* tablets and phones: the basket becomes its icon, with the count on its corner (same as the main page) */
  .cart-lbl{display:none}
  .cartbtn{width:42px;height:40px;padding:0;justify-content:center}
  .cart-n{position:absolute;top:-7px;right:-8px;min-width:19px;height:19px;padding:0 5px;line-height:19px;font-size:11px;box-shadow:0 0 0 2px var(--ink)}
}
@media(max-width:760px){
  .bar{gap:12px}
  .logo{font-size:16px}
  .navlinks{flex:1;gap:16px;font-size:13px}
  .navlinks a:first-child{display:none}
  .logo small{display:none}
  .lede{font-size:17px}
  th,td{padding:9px 9px;font-size:14px}
  th{font-size:12px}
}
@media(max-width:560px){.callbtn{display:none}}
