/* ============================================ */
/* The Story Behind. — Shared Stylesheet         */
/* ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FBF8F1;
  --ink: #1A1612;
  --muted: rgba(26, 22, 18, 0.65);
  --border: rgba(26, 22, 18, 0.3);
  --border-light: rgba(26, 22, 18, 0.15);
  --restaurant: #8B1818;
  --retail: #2D4A32;
  --service: #1A2F4A;
  --trades: #A64A1F;
  --general: #3A3530;
}

html, body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--restaurant); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}

/* MASTHEAD */
.masthead {
  padding: 48px 40px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-strip .kicker { opacity: 0.7; }

.title-block {
  text-align: center;
  margin-bottom: 36px;
}

.title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
}

.title em { font-style: italic; }

.tagline {
  font-style: italic;
  font-size: 18px;
  margin-top: 20px;
  color: var(--muted);
}

/* NAV */
nav.main-nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
}

nav.main-nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}

nav.main-nav a.active {
  color: var(--restaurant);
  border-bottom: 2px solid var(--restaurant);
  padding-bottom: 4px;
  margin-bottom: -6px;
}

/* SECTIONS */
section {
  padding: 72px 0;
}

section.bordered {
  border-top: 2px solid var(--ink);
}

/* HERO COMING SOON */
.hero-comingsoon {
  text-align: center;
  padding: 96px 40px;
}

.hero-comingsoon .kicker {
  color: var(--restaurant);
  margin-bottom: 24px;
}

.hero-comingsoon h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 880px;
  margin: 0 auto 28px;
}

.hero-comingsoon .lede {
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 48px;
}

.ornament {
  text-align: center;
  margin: 48px auto;
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: var(--restaurant);
  letter-spacing: 0.5em;
}

/* BUTTONS */
.btn-dark, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 500;
}

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--restaurant); border-color: var(--restaurant); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* SECTION HEADERS */
.section-header {
  margin-bottom: 56px;
}

.section-header .kicker {
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-header h2 em {
  font-style: italic;
}

/* ETHOS */
.ethos-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 72px;
}

.ethos-grid p {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ethos-grid p:last-child {
  font-style: italic;
  color: var(--muted);
}

.dropcap::first-letter {
  font-size: 4.5rem;
  float: left;
  line-height: 0.82;
  padding-right: 10px;
  padding-top: 6px;
  font-weight: 500;
  font-family: 'EB Garamond', serif;
}

.principles {
  border-top: 1px solid var(--ink);
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.principle-num {
  font-family: 'EB Garamond', serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.principle .kicker { margin-bottom: 12px; }

.principle p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

/* NOMINATE BLOCK */
.nominate-block {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.nominate-block::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(139, 24, 24, 0.25));
  pointer-events: none;
}

.nominate-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.nominate-grid h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.nominate-grid h2 em {
  font-style: italic;
  color: #C97979;
}

.nominate-grid p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 16px;
}

.nominate-grid p:last-of-type {
  font-style: italic;
  opacity: 0.65;
}

.nominate-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nominate-btn {
  background: var(--bg);
  color: var(--ink);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nominate-btn:hover {
  background: #fff;
  color: var(--restaurant);
}

.nominate-btn.outline {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(251, 248, 241, 0.3);
}

.nominate-btn.outline:hover {
  background: rgba(251, 248, 241, 0.1);
  color: var(--bg);
}

/* SUBSCRIBE */
.subscribe-block {
  text-align: center;
}

.subscribe-block .kicker {
  color: var(--restaurant);
  margin-bottom: 20px;
}

.subscribe-block h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.subscribe-block h2 em {
  color: var(--restaurant);
  font-style: italic;
}

.subscribe-block .lede {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 40px;
  font-style: italic;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1 1 260px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px 18px;
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--restaurant);
}

.subscribe-success {
  display: none;
  margin-top: 20px;
  color: var(--restaurant);
}

.subscribe-success.visible { display: block; }

.subscribe-fineprint {
  margin-top: 32px;
  color: var(--muted);
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* FOOTER */
footer {
  padding: 48px 40px 64px;
  border-top: 2px solid var(--ink);
  margin-top: 40px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.footer-brand em { font-style: italic; }

.footer-grid h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 15px; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .kicker { color: var(--muted); }

/* PAGE-SPECIFIC */
.page-hero {
  padding: 80px 40px 56px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 64px;
}

.page-hero .kicker {
  color: var(--restaurant);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 900px;
  margin-bottom: 24px;
}

.page-hero .lede {
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
  max-width: 700px;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
}

.article-body p {
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.article-body h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 56px;
  margin-bottom: 20px;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; }

.article-body a {
  color: var(--restaurant);
  border-bottom: 1px solid var(--restaurant);
  padding-bottom: 1px;
}

.pull-quote {
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 32px 0;
}

/* ARCHIVE EMPTY STATE */
.empty-state {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 40px;
  text-align: center;
}

.empty-state .ornament { margin-bottom: 32px; }

.empty-state h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.empty-state h2 em {
  font-style: italic;
  color: var(--restaurant);
}

.empty-state p {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

/* NOMINATE FORM */
.nominate-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px 18px;
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--restaurant);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
}

.form-success.visible { display: block; }

/* CONTACT */
.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-block {
  border-left: 3px solid var(--restaurant);
  padding-left: 32px;
}

.contact-block h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.contact-block p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-block a {
  font-size: 17px;
  color: var(--restaurant);
  border-bottom: 1px solid var(--restaurant);
  padding-bottom: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ethos-grid { grid-template-columns: 1fr; gap: 24px; }
  .nominate-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  nav.main-nav { gap: 24px; }
  .meta-strip { flex-direction: column; gap: 8px; text-align: center; }
}
