/* warwickshirewindows.co.uk — warm stone + bottle green, slab headings.
   Light theme with a sidebar; deliberately unlike the other two LSS sites. */

:root{
  --paper:#eef1ec; --panel:#f9faf7; --ink:#1e241f; --soft:#5c665b;
  --green:#2f5d3f; --green-d:#1f3f2a; --green-l:#5a8a68;
  --line:#d4dad2; --line-2:#e4e8e2;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);font-size:17px;line-height:1.72;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  text-wrap:pretty}
img{max-width:100%;height:auto;display:block}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--green-l)}
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(--green-l);outline-offset:2px}
.shell{max-width:1120px;margin:0 auto;padding:0 24px}

/* ---- masthead: left wordmark, rule under nav ---- */
.mast{background:var(--panel);border-bottom:1px solid var(--line)}
.mastin{display:flex;align-items:center;justify-content:space-between;padding:20px 24px}
.mark{display:flex;align-items:center;gap:14px;color:var(--ink)}
.mark img{width:52px;height:52px}
.markwords b{display:block;font-family:"Zilla Slab",Georgia,serif;font-size:25px;
  font-weight:700;letter-spacing:-.01em;line-height:1.1}
.markwords i{display:block;font-style:normal;font-size:12.5px;color:var(--soft);margin-top:3px}
.menu{border-top:1px solid var(--line-2)}
.menuin{display:flex;gap:28px;flex-wrap:wrap;padding:0 24px}
.menu a{display:inline-block;padding:13px 0;font-size:13px;font-weight:600;
  letter-spacing:.11em;text-transform:uppercase;color:var(--soft);
  border-bottom:3px solid transparent;margin-bottom:-1px}
.menu a:hover{color:var(--ink)}
.menu a.on{color:var(--green);border-bottom-color:var(--green)}
.navtoggle{position:absolute;opacity:0;pointer-events:none}
.burger{display:none;cursor:pointer;padding:8px;gap:5px;flex-direction:column;width:42px}
.burger span{display:block;height:2px;background:var(--ink);border-radius:2px}

/* ---- hero ---- */
.hero{position:relative;background:var(--green-d)}
.hero img{width:100%;height:340px;object-fit:cover;object-position:50% 58%;opacity:.42}
.herotext{position:absolute;inset:auto 0 0 0;padding:0 0 34px}
.herotext h1{color:#fff;font-size:clamp(30px,5vw,46px)}
.herotext p{color:#e6ecdf;font-size:16px;margin-top:6px;max-width:46ch}

/* ---- the split: main + rail ---- */
.split{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;
  padding-top:44px;padding-bottom:56px;align-items:start}

.kicker{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--green-l)}
.stamp{display:block;font-size:12.5px;color:var(--soft);margin-top:10px}

.lead{border-bottom:1px solid var(--line);padding-bottom:32px;margin-bottom:34px}
.leadpic{display:block;margin-bottom:18px}
.leadpic{display:block;overflow:hidden;border-radius:2px}
.leadpic img{width:100%;aspect-ratio:3/2;object-fit:cover}
.lead h2{font-size:clamp(25px,3.4vw,33px);margin:8px 0 10px}
.lead h2 a{color:var(--ink)}
.lead h2 a:hover{color:var(--green)}
.lead p{color:var(--soft);font-size:17.5px}

.ruled{display:flex;align-items:center;gap:16px;font-size:14px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--soft);margin:0 0 26px}
.ruled::after{content:"";flex:1;height:1px;background:var(--line)}

.notes{display:flex;flex-direction:column;gap:28px}
.note{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;
  padding-bottom:28px;border-bottom:1px solid var(--line-2)}
.note:last-child{border-bottom:0;padding-bottom:0}
.notepic{display:block;overflow:hidden;border-radius:2px}
.notepic img{width:100%;aspect-ratio:3/2;object-fit:cover}
.note h2,.note h3{font-size:20px;margin:7px 0 8px}
.note h2 a,.note h3 a{color:var(--ink)}
.note h2 a:hover,.note h3 a:hover{color:var(--green)}
.notebody p{color:var(--soft);font-size:15.5px;line-height:1.65}

.catintro{border-bottom:2px solid var(--green);padding-bottom:20px;margin-bottom:32px}
.catintro h1{font-size:clamp(28px,4vw,38px);margin:8px 0 8px}
.catintro p{color:var(--soft)}

/* ---- article ---- */
.piece{max-width:70ch}
.piece h1{font-size:clamp(28px,4.2vw,41px);margin:8px 0 12px}
.byline{font-size:13.5px;color:var(--soft);padding-bottom:22px;
  border-bottom:1px solid var(--line);margin-bottom:26px}
.piecepic{margin:0 0 28px;overflow:hidden;border-radius:2px}
.piecepic img{width:100%;aspect-ratio:3/2;object-fit:cover}
.standfirst{font-size:19.5px;line-height:1.6;color:var(--green-d);
  font-family:"Zilla Slab",Georgia,serif;margin-bottom:30px}
.piece h2{font-size:23px;margin:34px 0 12px}
.piece p{margin-bottom:17px}
.piece p a{border-bottom:1px solid rgba(47,93,63,.35)}
.piece p a:hover{border-bottom-color:var(--green-l)}
.piece + .ruled{margin-top:48px}

/* ---- rail: the archetype's signature ---- */
.rail{display:flex;flex-direction:column;gap:22px;position:sticky;top:24px}
.railbox{background:var(--panel);border:1px solid var(--line);border-radius:3px;padding:20px}
.railbox h3{font-size:12.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--green-l);padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--line-2)}
.railbox > p{font-size:14.5px;line-height:1.65;color:var(--soft)}
.raillist,.railcats{list-style:none}
.raillist li{padding:11px 0;border-bottom:1px dotted var(--line)}
.raillist li:last-child{border-bottom:0;padding-bottom:0}
.raillist a{display:block;font-size:15px;line-height:1.45;color:var(--ink);font-weight:500}
.raillist a:hover{color:var(--green)}
.raillist em{display:block;font-style:normal;font-size:11.5px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--soft);margin-top:4px}
.railcats li{display:flex;justify-content:space-between;align-items:center;
  padding:9px 0;border-bottom:1px dotted var(--line);font-size:15px}
.railcats li:last-child{border-bottom:0;padding-bottom:0}
.railcats span{font-size:12px;color:var(--soft);background:var(--paper);
  border:1px solid var(--line);border-radius:10px;padding:1px 9px}

/* ---- footer ---- */
.foot{background:var(--green-d);color:#e3e9dc;margin-top:8px;padding:48px 0 22px}
.footgrid{display:grid;grid-template-columns:1.7fr 1fr 1.5fr 1fr;gap:40px}
.footcol b{font-family:"Zilla Slab",Georgia,serif;font-size:19px;color:#fff;display:block;
  margin-bottom:10px}
.footcol p{font-size:14px;line-height:1.65;color:#b9c6b2}
.footcol h4{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#9dba9f;margin-bottom:14px}
.footcol ul{list-style:none}
.footcol li{margin-bottom:9px;line-height:1.45}
.footcol a{color:#e3e9dc;font-size:14.5px}
.footcol a:hover{color:#fff}
.footrule{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-top:40px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14)}
.footrule p{font-size:12.5px;color:#93a68f}

/* ---- responsive: measured, one collapse per breakpoint ---- */
@media(max-width:940px){
  .split{grid-template-columns:1fr;gap:44px}
  .rail{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px}
  .railbox:first-child{grid-column:1/-1}
  .footgrid{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:720px){
  .burger{display:flex}
  .menu{display:none}
  .navtoggle:checked ~ .menu{display:block}
  .menuin{flex-direction:column;gap:0}
  .menu a{padding:12px 0;border-bottom:1px solid var(--line-2);border-left:3px solid transparent;
    padding-left:0;margin-bottom:0;width:100%}
  .menu a.on{border-bottom-color:var(--line-2);color:var(--green)}
  .hero img{height:250px}
  .note{grid-template-columns:1fr;gap:14px}
  .notepic img{aspect-ratio:16/9}
}
@media(max-width:520px){
  body{font-size:16.5px}
  .mark img{width:44px;height:44px}
  .markwords b{font-size:21px}
  .markwords i{display:none}
  .rail{grid-template-columns:1fr}
  .footgrid{grid-template-columns:1fr;gap:28px}
  .footrule{flex-direction:column;gap:6px}
}
