/* ============================================================
   THE APIARY — Ghost theme styles
   CUR8TORIAL · a commonplace, propagated in East Atlanta

   Ported 1:1 from the design system:
     - tokens  (project/styles.css)  — palette, type, spacing, grounds, dusk
     - layout  (project/site/site.css) — page layouts that map to the templates
   Prototype-only chrome (device sim, tweaks panel, screen switching) removed.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Jost:wght@300;400;500&display=swap');

/* ============================================================
   1. DESIGN TOKENS  (from styles.css — source of truth)
   ============================================================ */
:root {
  /* ── Brand palette ─────────────────────────────── */
  --apiary-olive:    #65683C;   /* Worn Velvet Olive */
  --apiary-mustard:  #BE9529;   /* Rich Mustard / brass-gold accent */
  --apiary-plaster:  #D5B6A5;   /* Dusty Plaster */
  --apiary-mauve:    #8A6E84;   /* Comfrey Mauve */
  --apiary-fern:     #1E2A22;   /* Deep Fern — dark ground */
  --apiary-milk:     #F4F1E8;   /* Milk Glass — light ground */
  --apiary-surface:  #FBF9F2;   /* card surface */
  --apiary-charcoal: #2C2829;   /* Warm Charcoal — ink */
  --apiary-camel:    #B78F5C;   /* Camel Leather */
  --apiary-walnut:   #574234;   /* Antique Walnut */
  --apiary-bark:     #211F18;   /* header / footer bar */
  --apiary-espresso: #2A2018;   /* Dark Roast — newsletter ground */
  --apiary-borage:   #6C84BE;   /* Borage Blue — the one cool accent */

  /* ── The four pursuits ─────────────────────────── */
  --pillar-grow:   var(--apiary-olive);
  --pillar-cook:   var(--apiary-mustard);
  --pillar-create: var(--apiary-plaster);
  --pillar-curate: var(--apiary-mauve);

  /* ── Type families ─────────────────────────────── */
  --font-engrave: 'Cinzel', Georgia, serif;             /* wordmark, pillars, seals, nameplate */
  --font-display: 'Cormorant Garamond', Georgia, serif; /* site name, headings, pull-quotes */
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif; /* body, nav, labels */

  /* ── Type scale ────────────────────────────────── */
  --text-xs:11px; --text-sm:13px; --text-base:16px; --text-lg:19px;
  --text-xl:24px; --text-2xl:30px; --text-3xl:40px; --text-4xl:54px;
  --text-5xl:72px; --text-6xl:96px;
  --track-tight:.02em; --track-wide:.16em; --track-wider:.24em; --track-engrave:.2em;
  --leading-tight:1.12; --leading-snug:1.35; --leading-body:1.65;

  /* ── Spacing ───────────────────────────────────── */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px; --space-9:96px;

  /* ── Radii ─────────────────────────────────────── */
  --radius-sm:3px; --radius:5px; --radius-lg:8px; --radius-pill:999px;

  /* ── Elevation ─────────────────────────────────── */
  --shadow-card:  0 2px 2px rgba(40,38,30,.05), 0 16px 30px -14px rgba(40,38,30,.40);
  --shadow-lift:  0 4px 4px rgba(40,38,30,.08), 0 26px 44px -16px rgba(40,38,30,.50);
  --shadow-frame: 0 2px 3px rgba(0,0,0,.25), 0 26px 50px -14px rgba(40,38,30,.55);

  /* ── Devices ───────────────────────────────────── */
  --hairline: 1px solid #DBD3C2;
  --rule-gold: linear-gradient(90deg, transparent, var(--apiary-mustard), transparent);
  --frame-brass: linear-gradient(135deg,#d9b15e,#8a6a26 28%,#e7c878 50%,#7a5c1e 72%,#c79f4f);

  /* ── Semantic · Light ground (default) ─────────── */
  --ground:#EFEADD; --panel:#FBF9F2; --panel-2:#F3EEE0;
  --ink:#2C2829; --ink-soft:#56544A; --muted:#6E6A56; --line:#DBD3C2;
}

/* ── Semantic · Dusk ground ──────────────────────── */
html[data-theme="dusk"] {
  --ground:#2C2829; --panel:#353031; --panel-2:#2A2627;
  --ink:#F4F1E8; --ink-soft:#C7C2B2; --muted:#A6A091; --line:#433F3A;
}

/* ── Minimal base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin:0; background:#34302c; color:var(--ink);
  padding:26px 20px 60px;
  font-family:var(--font-body); font-weight:300; line-height:var(--leading-body);
  -webkit-font-smoothing:antialiased;
  transition:background .5s ease, color .5s ease;
}
html[data-theme="dusk"] body { background:#201b1c; }
img { display:block; max-width:100%; }

/* ── Reusable brand atoms ───────────────────────── */
.apiary-wordmark { font-family:var(--font-engrave); font-weight:600; letter-spacing:var(--track-engrave); }
.apiary-rule { height:1px; border:0; background:var(--rule-gold); }
.apiary-eyebrow { font-family:var(--font-body); font-size:var(--text-xs); letter-spacing:var(--track-wider);
  text-transform:uppercase; color:var(--apiary-mustard); }

/* ============================================================
   2. PAGE SHELL
   ============================================================ */
.site {
  container-type: inline-size;
  width: 100%; max-width: 1280px; margin: 0 auto;
  background: var(--ground); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  overflow: hidden;
}

/* ============================================================
   3. SITE HEADER / NAV  (partials/site-header)
   ============================================================ */
.site-h { position: sticky; top: 0; z-index: 30; display: flex; align-items: center;
  gap: 22px; padding: 13px 28px; background: var(--panel); border-bottom: 1px solid var(--line); }
.site-h .logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.site-h .logo img { height: 46px; display: block; mix-blend-mode: multiply; }
.site-h nav { display: flex; gap: 22px; align-items: center; }
.site-h .settings { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-h nav a { font-family: var(--font-engrave); font-weight: 500; letter-spacing: .14em; font-size: 11px;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.site-h nav a:hover, .site-h nav a.on { color: var(--apiary-mustard); }
.btn-sub { font-family: var(--font-engrave); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apiary-milk); background: var(--apiary-fern); padding: 9px 16px; border: 0; cursor: pointer;
  text-decoration: none; display: inline-block; }
.btn-sub:hover { background: var(--apiary-charcoal); }
.mode-toggle { font-family: var(--font-engrave); font-weight: 600; font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); background: transparent; border: 1px solid var(--line);
  padding: 8px 12px; cursor: pointer; }
.mode-toggle:hover { color: var(--apiary-mustard); border-color: var(--apiary-mustard); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; cursor: pointer;
  font: inherit; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ============================================================
   4. MASTHEAD  (partials/masthead — the banner exploration)
   ============================================================ */
.mast { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; overflow: hidden;
  border-top: 2px solid var(--apiary-mustard); border-bottom: 2px solid var(--apiary-mustard);
  background-image: url('../img/photography/surface-penny-tile.jpg'); }
/* an even veil over the whole honeycomb; the brass nameplate carries the text */
.mast::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(20,16,14,.42); }
/* the brass nameplate — wordmark mounted like a frontispiece */
.mast-plate { position: relative; z-index: 2; max-width: 660px; text-align: center; color: var(--apiary-milk);
  background: rgba(38,28,20,.84); border: 2px solid var(--apiary-mustard); padding: 30px 52px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.mast-plate::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(190,149,41,.55); pointer-events: none; }
.mast-kicker { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .28em; font-size: 13px; color: var(--apiary-mustard); }
.mast[data-banner="penny"]       { background-image: url('../img/photography/surface-penny-tile.jpg'); }
.mast[data-banner="penny-matte"] { background-image: url('../img/photography/surface-penny-matte.jpg'); }
.mast[data-banner="mantel"]      { background-image: url('../img/photography/object-mantel-frame.jpg'); background-color: #cdc4b2; background-size: contain; background-repeat: no-repeat; }
.mast[data-banner="mantel"]::after { background: linear-gradient(180deg, rgba(20,16,14,.12), rgba(20,16,14,.6)); }
.mast[data-banner="doorknob"]    { background-image: url('../img/photography/object-doorknob.jpg'); }
.mast[data-banner="whitebrick"]  { background-image: url('../img/photography/surface-brick-white.jpg'); }
.mast[data-banner="seasonal"]    { background-image: url('../img/photography/object-planter.jpg'); }
.mast .mast-in { position: relative; z-index: 2; padding: 40px 40px 40px 50px; max-width: 56%; color: var(--apiary-milk);
  text-shadow: 0 2px 14px rgba(12,9,7,.7); }
.mast-strip { position: absolute; top: 0; left: 0; right: 0; z-index: 1; background: rgba(34,30,29,.5); padding: 16px 40px 9px; }
.mast-sub { position: absolute; top: 16px; right: 18px; z-index: 2; font-family: var(--font-engrave); font-weight: 600;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #2a2207; background: var(--apiary-mustard);
  border: 0; padding: 10px 18px; cursor: pointer; text-decoration: none; display: inline-block; }
.mast-sub:hover { background: #cda537; }
.mast .eyebrow { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .3em; font-size: 11px;
  text-transform: uppercase; color: var(--apiary-mustard); }
.mast h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(42px, 6.5cqw, 76px); line-height: .98; margin: 8px 0 0; color: #fff; }
.mast .lede { font-family: var(--font-display); font-style: italic; font-size: clamp(16px, 2.3cqw, 23px); line-height: 1.4; margin: 16px 0 0; color: #efe9da; max-width: 30em; }
.mast .mast-tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(16px, 1.9cqw, 21px); line-height: 1.35; margin: 10px 0 0; color: #efe9da; }
.mast .mast-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.pill-btn { font-family: var(--font-engrave); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 20px; border: 1px solid var(--apiary-mustard); cursor: pointer; text-decoration: none; display: inline-block; }
.pill-btn.solid { background: var(--apiary-mustard); color: #2a2207; border-color: var(--apiary-mustard); }
.pill-btn.ghost { background: rgba(0,0,0,.18); color: var(--apiary-milk); }

/* ============================================================
   5. SECTION PRIMITIVES
   ============================================================ */
.sec { padding: 52px 40px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 27px; letter-spacing: .03em; margin: 0; text-transform: uppercase; }
.sec-head .more { font-family: var(--font-engrave); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--apiary-mustard); text-decoration: none; cursor: pointer; }
.kicker { font-family: var(--font-engrave); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--apiary-mustard); }

/* post grids + cards (partials/post-card) */
.grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.pcard { cursor: pointer; display: block; text-decoration: none; color: inherit; }
.pcard .ph { aspect-ratio: 4/3; background-size: cover; background-position: center; border: 1px solid var(--line); }
.pcard .ph.fit { background-size: contain; background-repeat: no-repeat; background-color: var(--apiary-milk); }
.pcard .tag { font-family: var(--font-engrave); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-top: 15px; display: inline-block; color: var(--apiary-mustard); }
.pcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.14; margin: 6px 0 0; color: var(--ink); transition: color .2s; }
.pcard p { font-family: var(--font-body); font-size: 13px; color: var(--muted); line-height: 1.62; margin: 9px 0 0; }
.pcard .meta { font-family: var(--font-display); font-style: italic; font-size: 12.5px; color: var(--muted); margin-top: 9px; }
.pcard:hover h3 { color: var(--apiary-mustard); }
.pcard::after { content: "Read the entry \2192"; display: block; font-family: var(--font-engrave); font-weight: 600; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--apiary-mustard); margin-top: 10px; }

/* pursuit accent colours (driven by the post's primary tag slug) */
.tag-grow   { color: var(--pillar-grow); }
.tag-cook   { color: var(--pillar-cook); }
.tag-create { color: #b08c6e; }
.tag-curate { color: var(--pillar-curate); }

/* feature (lead) post */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; }
.feature .ph { aspect-ratio: 5/4; background-size: cover; background-position: center; border: 1px solid var(--line); display: block; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px,3.4cqw,40px); line-height: 1.08; margin: 10px 0 0; }
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a:hover { color: var(--apiary-mustard); }
.feature p { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin: 14px 0 0; max-width: 44ch; }
.feature .meta { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* the four rooms strip (home) */
.rooms-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roomtile { position: relative; min-height: 168px; display: flex; align-items: flex-end; overflow: hidden;
  background-size: cover; background-position: center; border: 1px solid var(--line); cursor: pointer; text-decoration: none; }
.roomtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.1), rgba(20,16,14,.7)); }
.roomtile .rt { position: relative; z-index: 1; padding: 16px; color: var(--apiary-milk); text-shadow: 0 1px 5px rgba(0,0,0,.55); }
.roomtile.dark::after { background: linear-gradient(180deg, rgba(20,16,14,.34), rgba(20,16,14,.84)); }
.roomtile .rn { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .14em; font-size: 17px; }
.roomtile .rd { font-family: var(--font-display); font-style: italic; font-size: 13px; color: #e3ddcd; margin-top: 2px; }

/* surfaces for the home room tiles + room/rooms cards (keyed by pursuit slug) */
.room-grow   { background-image: url('../img/photography/surface-wood-sq.webp'); }
.room-cook   { background-image: url('../img/photography/surface-marble-sq.webp'); }
.room-create { background-image: url('../img/photography/surface-plaster-sq.webp'); }
.room-curate { background-image: url('../img/photography/surface-brick.webp'); }

/* ============================================================
   6. ROOM ARCHIVE HEADER  (partials/room-hero)
   ============================================================ */
.room-hero { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; background-color: var(--apiary-walnut); background-size: cover; background-position: center; }
.room-hero.room-grow   { background-image: url('../img/photography/surface-wood.webp'); }
.room-hero.room-cook   { background-image: url('../img/photography/surface-marble.webp'); }
.room-hero.room-create { background-image: url('../img/photography/surface-plaster.webp'); }
.room-hero.room-curate { background-image: url('../img/photography/surface-brick.webp'); }
.room-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.25), rgba(20,16,14,.78)); }
.room-hero .rh-in { position: relative; z-index: 1; padding: 48px 40px; color: var(--apiary-milk); text-align: center; }
.room-hero h1 { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .12em; font-size: clamp(40px,6cqw,68px); margin: 0; }
.room-hero .rsub { font-family: var(--font-display); font-style: italic; font-size: clamp(16px,2.2cqw,22px); color: #efe9da; margin: 10px auto 0; max-width: 36ch; }

/* ============================================================
   7. ARTICLE  (post.hbs)
   ============================================================ */
.article { max-width: 720px; margin: 0 auto; padding: 0 30px; }
.article .a-kicker { text-align: center; margin-top: 46px; }
.article h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px,5cqw,54px); line-height: 1.06; text-align: center; margin: 14px 0 0; letter-spacing: .01em; }
.article .a-meta { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.a-hero { aspect-ratio: 16/9; background-size: cover; background-position: center; margin: 30px 0 0; border: 1px solid var(--line); }
.a-hero.full { max-width: 980px; margin-left: auto; margin-right: auto; }
.a-body { font-family: var(--font-body); font-size: 16px; line-height: 1.78; color: var(--ink); margin-top: 30px; }
.a-body p { margin: 0 0 20px; }
.a-body > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 600; float: left; font-size: 58px; line-height: .8; padding: 6px 10px 0 0; color: var(--apiary-mustard); }
/* editor content niceties */
.a-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin: 36px 0 12px; }
.a-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin: 30px 0 10px; }
.a-body a { color: var(--apiary-mustard); }
.a-body img { margin: 24px auto; border: 1px solid var(--line); }
.a-body figure { margin: 24px 0; }
.a-body figcaption { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.a-body blockquote { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink);
  border-top: 1px solid var(--apiary-mustard); border-bottom: 1px solid var(--apiary-mustard); padding: 22px 0; margin: 30px 0; }
.a-body blockquote p { margin: 0; }
.pullquote { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--apiary-mustard); border-bottom: 1px solid var(--apiary-mustard); padding: 22px 0; margin: 30px 0; }
.pullquote img { width: 64px; flex: none; mix-blend-mode: multiply; }
.pullquote q { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); quotes: none; }
.a-foot { border-top: 1px solid var(--line); margin-top: 36px; padding: 22px 0 0; display: flex; align-items: center; gap: 14px; }
.a-foot img { width: 46px; }
.a-foot .ab { font-family: var(--font-body); font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.a-foot .ab b { font-family: var(--font-display); font-size: 15px; color: var(--ink); display: block; }

/* ---- room page + article page (centered, comb-divided) ---- */
.sec-room { padding: 36px 40px 56px; }
.a-comb { margin: 22px 0 0; }
.sec-keepreading { padding: 40px 40px 56px; }
.sec-keepreading .kr-head { text-align: center; margin-bottom: 14px; }
.sec-keepreading .kr-more { text-align: center; margin-top: 30px; }

/* ============================================================
   8. ROOMS INDEX  (rooms.hbs — custom route /rooms/)
   ============================================================ */
.rooms-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,4cqw,46px); margin: 8px 0 4px; letter-spacing: .02em; }
.rooms-sub { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--muted); margin: 0 0 26px; }
.rooms-x { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.roomx { position: relative; min-height: 260px; display: flex; align-items: flex-end; overflow: hidden;
  background-size: cover; background-position: center; border: 1px solid var(--line); cursor: pointer; text-decoration: none; }
.roomx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.12), rgba(20,16,14,.74)); transition: background .3s; }
.roomx:hover::after { background: linear-gradient(180deg, rgba(20,16,14,.25), rgba(20,16,14,.82)); }
.roomx .rx { position: relative; z-index: 1; padding: 26px; color: var(--apiary-milk); }
.roomx h3 { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .12em; font-size: 30px; margin: 0; }
.roomx .rxd { font-family: var(--font-display); font-style: italic; font-size: 15px; color: #e9e3d4; margin: 6px 0 0; }
.roomx .rxc { font-family: var(--font-body); font-size: 12px; color: #cfc8b8; margin: 8px 0 0; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   9. ABOUT  (page-about.hbs)
   ============================================================ */
.room-hero.about-hero { background-image: url('../img/photography/surface-penny-tile.jpg'); }
.sec-about { padding: 40px 40px 4px; }
.about-comb { margin: 2px auto 0; max-width: 760px; }
.about-lead { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; max-width: 940px; margin: 42px auto 0; }
.about-lead .seal { text-align: center; }
.about-lead .seal img { width: 78%; max-width: 320px; mix-blend-mode: multiply; }
.knob-medallion { position: relative; width: 336px; max-width: 86%; aspect-ratio: 1; margin: 0 auto; }
.knob-medallion .inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 86%; height: 86%;
  border-radius: 50%; background: url('../img/photography/object-doorknob.jpg') 52% center / cover; box-shadow: inset 0 0 18px rgba(0,0,0,.32); }
.knob-medallion .ring { position: absolute; inset: 0; background: url('../img/marks/ring-official.png') center / contain no-repeat; }
.about-lead .about-body { font-family: var(--font-body); font-size: 15.5px; line-height: 1.78; color: var(--ink-soft); }
.about-lead .about-body p { margin: 0 0 15px; }
.about-lead .about-body p:last-child { margin-bottom: 0; }
.about-lead .sig { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--apiary-mustard); margin-top: 14px; }
.about-thresh { max-width: 760px; margin: 0 auto; padding: 46px 24px 0; }
.banner-sec { text-align: center; padding: 30px 40px 56px; }
.bee-banner { width: 100%; max-width: 760px; margin: 0 auto; display: block; }
.pursuits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pursuit { border-top: 3px solid; padding: 16px 0 0; }
.pursuit-grow   { border-color: var(--pillar-grow); }
.pursuit-cook   { border-color: var(--pillar-cook); }
.pursuit-create { border-color: var(--pillar-create); }
.pursuit-curate { border-color: var(--pillar-curate); }
.pursuit h4 { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .12em; font-size: 16px; margin: 0; }
.pursuit p { font-family: var(--font-body); font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }

/* ============================================================
   10. NEWSLETTER  (partials/newsletter — Ghost members)
   ============================================================ */
.news { background-color: var(--apiary-espresso); background-image: url('../img/photography/object-writing-desk.jpg'); background-size: cover; background-position: center;
  color: var(--apiary-milk); padding: 54px 40px; text-align: center; position: relative;
  border-top: 2px solid var(--apiary-mustard); border-bottom: 2px solid var(--apiary-mustard); }
.news::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(rgba(20,14,10,.72), rgba(18,12,9,.8)); }
.news .gf { position: absolute; inset: 12px; z-index: 1; border: 1px solid var(--apiary-mustard); pointer-events: none; }
.news .gf::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(190,149,41,.5); }
.news .in { position: relative; z-index: 1; }
.news .kicker { color: var(--apiary-mustard); }
.news h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px,3.6cqw,40px); margin: 10px 0 0; color: var(--apiary-milk); }
.news p { font-family: var(--font-display); font-style: italic; font-size: 16px; color: #d7d1bd; margin: 10px auto 0; max-width: 40ch; }
.news form { display: flex; gap: 10px; justify-content: center; margin: 22px auto 0; max-width: 440px; }
.news input { flex: 1; font-family: var(--font-body); font-size: 14px; padding: 12px 14px; border: 1px solid var(--apiary-mustard); background: rgba(255,255,255,.06); color: var(--apiary-milk); }
.news input::placeholder { color: #b9b3a0; }
.news button { font-family: var(--font-engrave); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 0 20px; background: var(--apiary-mustard); color: #2a2207; border: 0; cursor: pointer; }
.news .fine { font-family: var(--font-body); font-size: 10.5px; letter-spacing: .06em; color: #aaa48f; margin-top: 14px; }
.news .msg { font-family: var(--font-body); font-size: 12px; margin-top: 12px; min-height: 16px; }
.news .msg.ok { color: var(--apiary-mustard); }
.news .msg.err { color: #e8a0a0; }

/* ============================================================
   11. FOOTER  (partials/site-footer)
   ============================================================ */
.site-f { background: var(--apiary-bark); color: #cfc8b4; padding: 44px 40px; }
.site-f .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid #3a352b; padding-bottom: 24px; }
.site-f .seal { display: flex; align-items: center; gap: 14px; }
.site-f .seal img { width: 56px; }
.site-f .seal .wm { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .24em; font-size: 13px; color: var(--apiary-mustard); }
.site-f .seal .tl { font-family: var(--font-display); font-style: italic; font-size: 13px; color: #b7b09c; }
.site-f .cols { display: flex; gap: 40px; flex-wrap: wrap; }
.site-f .col h5 { font-family: var(--font-engrave); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8f8978; margin: 0 0 9px; }
.site-f .col a { display: block; font-family: var(--font-body); font-size: 12.5px; color: #cfc8b4; text-decoration: none; margin-bottom: 6px; }
.site-f .col a:hover { color: var(--apiary-mustard); }
.site-f .legal { font-family: var(--font-body); font-size: 11px; color: #847e6d; margin-top: 22px; }

/* ============================================================
   12. PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px;
  font-family: var(--font-engrave); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pagination a { color: var(--apiary-mustard); text-decoration: none; border: 1px solid var(--line); padding: 9px 16px; }
.pagination a:hover { border-color: var(--apiary-mustard); }
.pagination .page-number { color: var(--muted); }

/* ============================================================
   12b. HOME REDESIGN — latest-buzz carousel + framed featured
   ============================================================ */
/* section header carrying a kicker + title stacked on the left */
.sec-head .sh-titles { display: flex; flex-direction: column; }
.sec-head .sh-titles .kicker { margin-bottom: 4px; }
.sec-head.sec-head-rail { align-items: flex-end; }

/* ---- The Latest Buzz: horizontal scroll carousel ---- */
.buzz-nav { display: flex; gap: 8px; }
.buzz-nav button { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  font-size: 18px; line-height: 1; cursor: pointer; border-radius: 50%; }
.buzz-nav button:hover { border-color: var(--apiary-mustard); color: var(--apiary-mustard); }
.buzz-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 40px 36px; scroll-padding-left: 40px; }
.buzz-rail::-webkit-scrollbar { height: 8px; }
.buzz-rail::-webkit-scrollbar-thumb { background: #cdc4b0; border-radius: 8px; }
.buzz-rail::-webkit-scrollbar-track { background: transparent; }
.buzz-slide { position: relative; flex: 0 0 290px; height: 380px; overflow: hidden; scroll-snap-align: start;
  border: 1px solid var(--line); text-decoration: none; }
.buzz-slide .buzz-ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.buzz-slide:hover .buzz-ph { transform: scale(1.05); }
.buzz-slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,14,12,.85) 4%, rgba(18,14,12,.15) 46%, rgba(18,14,12,0) 70%); }
.buzz-slide .buzz-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 2; color: var(--apiary-milk); }
.buzz-slide h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.14; margin: 9px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 50px; }
.buzz-slide .buzz-by { font-family: var(--font-display); font-style: italic; font-size: 12.5px; color: #d8d2c2; margin-top: 7px; }
.buzz-chip { display: inline-block; font-family: var(--font-engrave); font-weight: 600; font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 9px; border: 1px solid rgba(244,241,232,.5); border-radius: 999px;
  background: rgba(20,16,14,.34); color: var(--apiary-milk); }
.buzz-chip.buzz-grow { color: #c5ca9c; border-color: #8a8d5e; }
.buzz-chip.buzz-cook { color: #ecc862; border-color: var(--apiary-mustard); }
.buzz-chip.buzz-create { color: #e3c6b0; border-color: #b08c6e; }
.buzz-chip.buzz-curate { color: #d2b9cc; border-color: var(--apiary-mauve); }
.empty-note { padding: 0 40px 20px; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--muted); }

/* ---- "Moving rooms" — subtle tonal bands + a gold threshold between sections ---- */
.hband { position: relative; }
.hband-feat  { background: var(--ground); }
.hband-buzz  { background: var(--panel); }
.hband-rooms { background: var(--ground); }
/* home section headers: no plain underline — the comb divider IS the underline */
.hband .sec-head { border-bottom: none; padding-bottom: 0; margin-bottom: 14px; }
/* consistent section rhythm: header (46 top) → 14 → comb → 24 → content */
.sechead-sec { padding: 46px 40px 24px; }

/* honeycomb divider — a brass cell between extended gold rules, under each header */
.comb-rule { display: flex; align-items: center; gap: 16px; padding: 0; margin: 0; }
.comb-rule .r { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--apiary-mustard)); }
.comb-rule .r.right { background: linear-gradient(90deg, var(--apiary-mustard), transparent); }
.comb-rule .hx { flex: none; line-height: 0; }

/* the four rooms set into the real distressed window casing (object-mantel-frame) */
.rooms-win { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.roomwin { position: relative; display: block; aspect-ratio: 880 / 1216; text-decoration: none;
  background-image: url('../img/photography/object-mantel-frame.jpg'); background-size: contain; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 4px 5px rgba(20,16,12,.16), 0 20px 38px -12px rgba(20,16,12,.5); }
.roomwin .pane { position: absolute; top: 14%; left: 17%; right: 17%; bottom: 15.5%; overflow: hidden;
  background-color: #cdc4b0; background-size: cover; background-position: center;
  box-shadow: 0 1px 3px rgba(40,30,12,.4); }
.roomwin .pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.05), rgba(20,16,14,.66)); }
.roomwin:hover .pane { filter: brightness(1.05); }
.roomwin .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; z-index: 2; color: var(--apiary-milk); text-shadow: 0 1px 5px rgba(0,0,0,.6); }
.roomwin .lbl .n { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .1em; font-size: 15px; }
.roomwin .lbl .d { font-family: var(--font-display); font-style: italic; font-size: 12px; color: #e7e1d2; margin-top: 1px; }

/* the four rooms as honeycomb cells with a brass border */
.rooms-hex { --hex: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hexcell { position: relative; display: block; aspect-ratio: 1.1547; text-decoration: none;
  clip-path: var(--hex); background: var(--frame-brass); }
.hexcell .photo { position: absolute; inset: 4px; clip-path: var(--hex);
  background-color: #cdc4b0; background-size: cover; background-position: center; }
.hexcell .photo::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(20,16,14,.38), rgba(20,16,14,.78)); }
.hexcell:hover .photo { filter: brightness(1.06); }
.hexcell .lbl { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16%; color: var(--apiary-milk); text-shadow: 0 1px 6px rgba(0,0,0,.75); }
.hexcell .lbl .n { font-family: var(--font-engrave); font-weight: 600; letter-spacing: .1em; font-size: 17px; }
.hexcell .lbl .d { font-family: var(--font-display); font-style: italic; font-size: 15px; color: #ece6d6; margin-top: 3px; }

/* ---- Featured: the framed keepsake ---- */
.sec-feat, .sec-rooms { padding: 0 40px 44px; }
.feat-lead { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
/* one large prominent photo carrying the Featured section */
.feat-photo-lg { display: block; aspect-ratio: 5/4; background-color: #cdc4b0; background-size: cover; background-position: center;
  border: 1px solid var(--line); text-decoration: none; }
.feat-placard .tag { font-family: var(--font-engrave); font-weight: 600; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; display: inline-block; }
.feat-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4cqw, 40px); line-height: 1.05; margin: 8px 0 0; }
.feat-title a { color: var(--ink); text-decoration: none; }
.feat-title a:hover { color: var(--apiary-mustard); }
.feat-ex { font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin: 14px 0 0; max-width: 46ch; }
.feat-meta { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.feat-placard .pill-btn { margin-top: 20px; text-decoration: none; }

/* ============================================================
   13. RESPONSIVE  (container queries on .site)
   ============================================================ */
@container (max-width: 820px) {
  .site-h nav { display: none; }
  .site-h nav.open { display: flex; position: absolute; flex-direction: column; top: 56px; right: 20px;
    background: var(--panel); border: 1px solid var(--line); padding: 14px 18px; z-index: 40; }
  .menu-btn { display: block; }
  .grid, .grid.two { grid-template-columns: 1fr; gap: 24px; }
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feat-lead { grid-template-columns: 1fr; gap: 26px; }
  .rooms-strip { grid-template-columns: 1fr 1fr; }
  .rooms-win { grid-template-columns: 1fr 1fr; }
  .rooms-hex { grid-template-columns: repeat(2, 1fr); }
  .rooms-x { grid-template-columns: 1fr; }
  .pursuits { grid-template-columns: 1fr 1fr; }
  .about-lead { grid-template-columns: 1fr; gap: 24px; }
  .about-lead .seal { order: -1; }
  .sec { padding: 36px 22px; }
  .mast { min-height: 300px; }
  .mast-plate { max-width: calc(100% - 32px); padding: 24px 22px; }
  .buzz-rail { padding-left: 22px; padding-right: 22px; }
  .buzz-slide { flex-basis: 78%; }
  .feat-lead { grid-template-columns: 1fr; gap: 26px; }
  .feat-framewrap { justify-content: flex-start; }
  .news form { flex-direction: column; }
  .site-f .top { flex-direction: column; align-items: flex-start; }
}
@container (max-width: 480px) {
  .rooms-strip { grid-template-columns: 1fr; }
  .rooms-win { grid-template-columns: 1fr 1fr; }
  .rooms-hex { grid-template-columns: repeat(2, 1fr); }
  .pursuits { grid-template-columns: 1fr; }
}


/* ============================================================
   THE GALLERY  (curate.hbs — the Curate room as a gallery wall)
   Zones: the public wall, the album shelf, the Inner Hive.
   ============================================================ */
.sec-gallery { padding: 36px 40px 64px; }

/* zone labels — engraved, with a small line icon */
.gz-label { font-family: var(--font-engrave); font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink); margin: 40px 0 16px; display: flex; align-items: center; gap: 9px; }
.gz-label svg { width: 15px; height: 15px; color: var(--apiary-mustard); flex: none; }
.gz-label span { color: var(--muted); letter-spacing: .04em; text-transform: none;
  font-family: var(--font-body); font-weight: 400; font-size: 12px; }

/* ── the wall: paper-mounted prints ── */
.gwall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gprint { display: block; background: var(--panel); border: 1px solid var(--line);
  padding: 8px 8px 6px; text-decoration: none; box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease; }
.gprint:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gprint .gph { display: block; aspect-ratio: 4/3; background-color: var(--panel-2);
  background-size: cover; background-position: center; border: 1px solid rgba(0,0,0,.07); }
.gprint .gcap { display: block; font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gmore { font-family: var(--font-display); font-style: italic; font-size: 14px;
  color: var(--muted); text-align: center; margin-top: 14px; }

/* ── albums: cloth boxes with brass nameplates ── */
.galbums, .ghalbums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galb { position: relative; display: flex; align-items: flex-end; aspect-ratio: 5/6;
  padding: 12px; border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,.18);
  background-color: var(--apiary-walnut); background-size: cover; background-position: center;
  text-decoration: none; overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease; }
a.galb:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.galb::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,15,8,.42), rgba(20,15,8,0) 55%); }
.gplate { position: relative; z-index: 1; display: block; width: 100%; background: var(--apiary-surface);
  border: 1px solid rgba(190,149,41,.55); padding: 6px 10px; }
.gan { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px;
  color: var(--apiary-charcoal); line-height: 1.15; }
.gac { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .06em;
  color: var(--apiary-walnut); margin-top: 1px; }

/* ── the Inner Hive: the dark back room ── */
.ghive { margin-top: 44px; background: #241A12; border: 1px solid rgba(190,149,41,.28);
  border-radius: var(--radius); padding: 26px 24px 24px; }
.gh-head { display: flex; align-items: center; gap: 14px; }
.gh-ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(190,149,41,.12);
  border: 1px solid var(--apiary-mustard); display: flex; align-items: center; justify-content: center;
  color: var(--apiary-mustard); flex: none; }
.gh-ico svg { width: 20px; height: 20px; }
.gh-title { font-family: var(--font-display); font-weight: 500; font-size: 25px; color: #F0E7D4; line-height: 1; }
.gh-sub { font-family: var(--font-body); font-size: 13px; color: #B6A98F; margin-top: 4px; }
.ghalbums { margin: 20px 0 4px; }
.galb-hive .gplate { background: #241A12; border-color: rgba(190,149,41,.4); }
.galb-hive .gan { color: #F0E7D4; }
.galb-hive .gac { color: #B6A98F; }
a.galb-hive .gplate { opacity: 1; }
.galb-hive.is-locked .gplate { opacity: 0; }
.gfrost { position: absolute; inset: 0; z-index: 2; background: rgba(36,26,18,.85);
  display: flex; align-items: center; justify-content: center; color: var(--apiary-mustard); }
.gfrost svg { width: 24px; height: 24px; }
.ghbtn { display: table; margin: 22px auto 0; font-family: var(--font-engrave); font-weight: 600;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #241A12;
  background: var(--apiary-mustard); border-radius: 2px; padding: 12px 26px;
  text-decoration: none; cursor: pointer; }
.ghbtn.ghbtn-in { background: transparent; color: var(--apiary-mustard); border: 1px solid rgba(190,149,41,.4); }
.gh-note { text-align: center; font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: #B6A98F; margin-top: 14px; }
.ghive-empty { text-align: center; font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: #B6A98F; margin: 22px 0 4px; }
.gallery-empty { font-family: var(--font-display); font-style: italic; font-size: 17px;
  color: var(--muted); text-align: center; margin: 10px 0 4px; }

@media (max-width: 860px) {
  .gwall, .galbums, .ghalbums { grid-template-columns: repeat(2, 1fr); }
  .sec-gallery { padding: 32px 22px 52px; }
}
@media (max-width: 480px) {
  .gwall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .galbums, .ghalbums { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gan { font-size: 14px; }
}
