/* ─────────────────────────────────────────────────────────────────── */
/* THEME — Frame Chicago tokens, header, footer, utilities              */
/* Imported by every page. Do not change tokens lightly; they cascade   */
/* through every article and the index.                                 */
/* ─────────────────────────────────────────────────────────────────── */

:root {
  /* Color */
  --fc-paper:   #F4EFE6;   /* page background — warm cream */
  --fc-paper-2: #EDE6D8;   /* slightly darker cream — cards, alt sections */
  --fc-ink:     #1A1612;   /* body text, header background, all rules */
  --fc-muted:   #5A5448;   /* secondary text, captions, mono labels */
  --fc-divider: #D8D2C2;   /* hairlines inside the article */
  --fc-accent:  #1F3460;   /* deep cobalt — links, eyebrow accents */
  --fc-gold:    #C9A35A;   /* gilt — used sparingly, e.g. badges */

  /* Type — Prototype A: one serif (Fraunces) across display + body, zero Inter */
  --font-sans:  'Fraunces', Georgia, serif;                /* nav, UI */
  --font-mono:  'IBM Plex Mono', ui-monospace, monospace;  /* labels, eyebrows */
  --font-serif: 'Fraunces', Georgia, serif;                /* article body, headlines */

  /* Prototype A: oxidized-copper of the shopfront door — replaces decorative gold on cream */
  --fc-door:    #3C5248;

  /* Layout */
  --gutter: 28px;
  --measure: 620px;        /* article reading column */
}

/* Prototype A: site-wide eyebrow — small-caps serif in oxidized-copper, replaces mono eyebrows everywhere. Dark-background eyebrows switch to gold via the override block below. */
[class$="-eyebrow"],
.eyebrow {
  font-family: var(--font-serif) !important;
  font-variant-caps: all-small-caps !important;
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.14em !important;
  color: var(--fc-door, #3C5248) !important;
  font-variation-settings: "opsz" 9 !important;
}
.t-hero .eyebrow,
.p-hero .eyebrow,
.p-guarantee .eyebrow,
.t-contact-eyebrow,
.fn-cover-eyebrow,
.cover-hero-eyebrow { color: var(--fc-gold) !important; }

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  background: var(--fc-paper);
  color: var(--fc-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ─────────────────────────────────────────────────────────────────── */
/* HEADER — preserved from existing site, do not modify                 */
/* ─────────────────────────────────────────────────────────────────── */

.utility-bar {
  background: var(--fc-ink);
  color: #C8C4B8;
  padding: 9px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--fc-ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--fc-paper);
  gap: 24px;
}

.wordmark {
  justify-self: start;
  display: inline-grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  color: var(--fc-ink);
}
.wordmark-mark { width: 44px; height: 44px; display: block; grid-row: 1 / 3; align-self: center; }
.wordmark-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.wordmark-est {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fc-muted);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  justify-self: center;
}
.nav-links a { color: var(--fc-ink); transition: color 200ms; }
.nav-links a:hover { color: var(--fc-accent); }

.account-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  justify-self: end;
}
.account-links a { color: var(--fc-ink); transition: color 200ms; }
.account-links a:hover { color: var(--fc-accent); }

/* ─────────────────────────────────────────────────────────────────── */
/* FOOTER                                                               */
/* ─────────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 56px var(--gutter) 32px;
  background: var(--fc-ink);
  color: var(--fc-paper);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 360px;
  opacity: 0.7;
}
.footer-col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  opacity: 0.5;
}
.footer-col a {
  display: block;
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 8px;
}
.footer-col a:hover { opacity: 1; color: var(--fc-accent); }
.footer-bottom {
  border-top: 1px solid rgba(244, 239, 230, 0.20);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* Footer brand mark with logo (matches homepage) */
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand-mark img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 4px;
}
.footer-brand-mark .footer-brand-name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* 45-year badge wrap in footer */
.footer-anniv-wrap {
  margin-top: 22px;
  max-width: 160px;
}
.footer-anniv-wrap img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
}

/* Footer hours lines (matches homepage) */
.footer-hours-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fc-paper);
  opacity: 0.78;
  padding: 4px 0;
}
.footer-hours-line span:first-child {
  text-transform: uppercase;
  color: var(--fc-accent);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────── */
/* RESPONSIVE                                                           */
/* ─────────────────────────────────────────────────────────────────── */

@media (max-width: 800px) {
  :root { --gutter: 20px; }
  .site-header { grid-template-columns: 1fr; gap: 14px; padding: 18px var(--gutter); }
  .nav-links, .account-links { justify-self: start; flex-wrap: wrap; gap: 16px; }
  .utility-bar { flex-direction: column; gap: 4px; align-items: flex-start; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* True mobile — keep header compact, collapse nav, single-column footer */
@media (max-width: 600px) {
  :root { --gutter: 18px; }

  .utility-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 9px;
    letter-spacing: 0.06em;
    padding: 8px var(--gutter);
  }
  .utility-bar > span:nth-child(2) { display: none; }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px var(--gutter);
  }
  .wordmark { grid-template-columns: 32px 1fr; column-gap: 10px; }
  .wordmark-mark { width: 32px; height: 32px; }
  .wordmark-name { font-size: 16px; }
  .wordmark-est { font-size: 9px; letter-spacing: 0.10em; }
  .site-header > nav { display: none; }
  .nav-links { display: none; }
  .account-links { gap: 0; font-size: 11px; justify-self: end; }
  .account-links a {
    background: var(--fc-ink) !important;
    color: var(--fc-paper) !important;
    padding: 9px 14px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  /* Compact mobile footer — drop the 45-year badge and the Site column
     (its links jump to desktop-only sections), tighten type. */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-anniv-wrap { display: block; max-width: 96px; margin-top: 22px; }
  .footer-brand p { max-width: 100%; opacity: 0.78; }
  .site-footer .footer-grid > .footer-col:nth-child(2) { display: none; }
  .footer-col-head { font-size: 10px; opacity: 0.55; margin-bottom: 12px; }
  .footer-col a { font-size: 13px; padding: 4px 0; }
  .footer-bottom { font-size: 10px; opacity: 0.55; }
}

/* family of studios line in the footer */
.footer-family a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; opacity: .85; }
.footer-family a:hover { opacity: 1; }
