/* Widget Works — demo site for Folsom Holdings Site Care.
   External stylesheet on purpose: it keeps the CSP strict (style-src 'self', no
   'unsafe-inline'), and it means a colour change is a one-file Site Care edit. */

:root {
  --ink: #1c2430;
  --paper: #fbfaf7;
  --tile: #f1eee7;
  --accent: #b4622d;
  --accent-deep: #8d4a20;
  --rule: #ddd6ca;
  --dim: #6b7280;
  --cream: #fffdf9;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "Iowan Old Style", Georgia, "Times New Roman", serif;
}
.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }

/* header */
header { background: var(--ink); color: var(--cream); padding: 1.1rem 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.brand { font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; text-decoration: none; color: var(--cream); }
.brand span { color: var(--accent); }
nav a {
  color: var(--cream); text-decoration: none; margin-left: 1.15rem;
  font: 600 .74rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .09em; opacity: .82;
}
nav a:hover { opacity: 1; color: #e8a06b; }

/* hero */
.hero { background: var(--tile); border-bottom: 1px solid var(--rule); padding: 3.5rem 0 3rem; }
.hero h1 { margin: 0 0 .5rem; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.15; }
.hero p { margin: 0 0 1.5rem; font-size: 1.12rem; color: #3d4654; max-width: 34rem; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: .72rem 1.4rem; border-radius: 3px;
  font: 600 .8rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em;
}
.btn:hover { background: var(--accent-deep); }

/* sections */
section { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
section h2 { font-size: 1.6rem; margin: 0 0 .4rem; }
.lede { color: var(--dim); margin: 0 0 1.9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.35rem; }
.card { background: var(--cream); border: 1px solid var(--rule); border-radius: 4px; padding: 1.3rem; }
.card h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.card p { margin: 0; color: #4b5563; font-size: .95rem; }
.card .price { display: block; margin-top: .7rem; font: 600 .78rem/1 system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: .07em; color: var(--accent-deep); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .85rem; }
.shot { aspect-ratio: 4/3; border-radius: 4px; border: 1px solid var(--rule);
  display: flex; align-items: flex-end; padding: .6rem;
  font: 600 .7rem/1.3 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .07em; color: #fff; }
.shot.a { background: #7a5c3e; } .shot.b { background: #4a5f52; }
.shot.c { background: #8d4a20; } .shot.d { background: #3f4a5a; }
.shot.e { background: #6b6250; } .shot.f { background: #55606d; }

/* hours */
.hours { list-style: none; margin: 0; padding: 0; max-width: 26rem; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dotted var(--rule); }
.hours strong { font-weight: 600; }

/* posts */
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.posts a { color: var(--ink); text-decoration: none; font-size: 1.12rem; font-weight: 600; }
.posts a:hover { color: var(--accent-deep); }
.posts .when { display: block; color: var(--dim); font: .76rem/1.5 system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: .07em; margin-top: .2rem; }
article p { max-width: 40rem; }

/* footer */
footer { background: var(--ink); color: #b9c0cb; padding: 2.4rem 0; font-size: .9rem; }
footer a { color: #e8a06b; }
footer .note { margin-top: 1rem; color: #7d8593; font-size: .8rem; }
