/* Sorrelfield Studio brand tokens.
   Single source of truth for the demo seller's identity.
   Deliberately distinct from Pluribox (soft purple + Manrope).
   Ruled at #200, DEMO_ASSETS_SCOPE.md section 2. */

:root {
  --sorrel:  #B14D2C;
  --sorrel-deep: #8E3C21;
  --bracken: #2E3D33;
  --ink:     #423E37;
  --clay:    #DCD1BE;
  --oat:     #F6F1E7;
  --paper:   #FFFFFF;
  --muted:   #7A7368;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1080px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--bracken);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
}

h1 { font-size: 44px; letter-spacing: -0.01em; }
h2 { font-size: 30px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }
a { color: var(--sorrel); text-decoration: none; }
a:hover { color: var(--sorrel-deep); text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }

/* Header */
.site-head {
  border-bottom: 1px solid var(--clay);
  background: var(--oat);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; display: block; }
.logo-word {
  font-family: var(--display); font-size: 21px; font-weight: 600;
  color: var(--bracken); letter-spacing: -0.01em;
}
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--sorrel); text-decoration: none; }
.nav a.on { color: var(--sorrel); }

/* Sections */
section { padding: 64px 0; }
section.tight { padding: 44px 0; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--sorrel); text-transform: uppercase; margin: 0 0 14px;
}
.lede { font-size: 19px; line-height: 1.6; color: var(--ink); max-width: 620px; }
.rule { height: 1px; background: var(--clay); border: 0; margin: 0; }

/* Cards and surfaces */
.card {
  background: var(--paper);
  border: 1px solid var(--clay);
  border-radius: var(--radius);
  padding: 26px;
}
.card-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Buttons (site's own, not Pluribox's) */
.btn {
  display: inline-block; font-family: var(--text); font-weight: 700;
  font-size: 15px; padding: 12px 24px; border-radius: 8px;
  background: var(--sorrel); color: var(--paper); border: 2px solid var(--sorrel);
}
.btn:hover { background: var(--sorrel-deep); border-color: var(--sorrel-deep); color: var(--paper); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--bracken); border-color: var(--bracken); }
.btn-ghost:hover { background: var(--bracken); color: var(--oat); border-color: var(--bracken); }

/* The marked Pluribox embed slots.
   The dashed outline is a BUILD-TIME guide only and is removed before
   recording by deleting the .slot class from the wrapper. */
.slot { min-height: 60px; }
.slot-guide {
  outline: 1px dashed var(--clay); outline-offset: 8px;
  position: relative;
}
.slot-guide::before {
  content: attr(data-slot);
  position: absolute; top: -26px; left: 0;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

/* Journal */
.post-list { display: grid; gap: 22px; }
.post-item { border-bottom: 1px solid var(--clay); padding-bottom: 22px; }
.post-item:last-child { border-bottom: 0; }
.post-meta { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.post-item h3 { margin-bottom: 6px; }
.article { max-width: 680px; }
.article p { font-size: 17px; }
.article h2 { font-size: 25px; margin-top: 1.6em; }
.article blockquote {
  margin: 1.6em 0; padding: 0 0 0 22px;
  border-left: 3px solid var(--sorrel);
  font-family: var(--display); font-size: 20px; color: var(--bracken);
}

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li {
  padding: 9px 0 9px 26px; position: relative;
  border-bottom: 1px solid var(--clay); font-size: 15px;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sorrel);
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--clay);
  padding: 40px 0 56px; margin-top: 24px;
}
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-row p { font-size: 14px; color: var(--muted); margin: 0; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 14px; color: var(--ink); }

@media (max-width: 760px) {
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  section { padding: 44px 0; }
}
