/* =========================
   SELF-HOSTED FONTS
   ========================= */

/* Spectral */
@font-face {
  font-family: "Spectral";
  src: url("assets/fonts/Spectral400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("assets/fonts/Spectral500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("assets/fonts/Spectral600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Nunito Sans */
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/Nunito300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/Nunito400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/Nunito500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Barlow Condensed */
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/Barlow300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/Barlow400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


:root{
  --paper: #e7e0d4;      /* ash / warm paper */
  --ink: #141414;
  --teal: #0f4d5c;       /* cooler blue-grey teal */
  --mahogany: #4a2c26;   /* wood */
  --burgundy: #5a2a2a;
  --brass: #c4a24d;

  --line: rgba(0,0,0,.18);

  /* type */
  --font-display: "Spectral", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --font-detail: "Barlow Condensed", system-ui, -apple-system, sans-serif;
}

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

body{
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden; /* kills weird side-scroll */
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* HEADER */
.header {
  background: var(--teal);
  color: var(--paper);
  text-align: center;
  padding: 14px 16px 12px;
  position: relative;
}

/* two stacked bars under the header */
.header::after{
  content:"";
  display:block;
  height: 0;
  margin-top: 16px;

  /* golden-ish ratio: brass thinner than burgundy */
  border-top: 8px solid var(--brass);
  border-bottom: 13px solid var(--burgundy);
}

.logo {
  width: min(420px, 70vw);   /* bigger */
  max-width: 520px;

  filter: drop-shadow(0 32px 60px rgba(0,0,0,.65)); /* heavier shadow */

  margin: 0 auto 0px; /* tighter gap to wordmark */
}

.wordmark{
  font-family: var(--font-display);
  margin: 2px 0 18px;
  font-weight: 600;
  letter-spacing: .18em;

  /* more phone-friendly */
  font-size: clamp(26px, 7.2vw, 68px);
  line-height: 1.02;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  position: relative;
  animation: brassPulse 1400ms ease-in-out infinite;
  
}

/* soft radial glow */
@keyframes brassPulse {
  0% {
    text-shadow: 0 0 0px rgba(184, 134, 11, 0);

  }

  50% {
    text-shadow:
      0 0 10px rgba(184, 134, 11, 0.35),
      0 0 22px rgba(184, 134, 11, 0.18);
  }

  100% {
    text-shadow:
      0 0 0px rgba(184, 134, 11, 0.0);
  }
}

.nav{
  font-family: var(--font-detail);
  font-size: 14px;      /* bigger */
  font-weight: 600;    /* bolder */
  padding: 12px 20px;  /* taller bar */
  margin-top: 22px;
  display:flex;
  justify-content:center;
  gap: 18px;
  flex-wrap: wrap;
  border: 1.5px solid var(--brass);
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
}

.nav a{
  color: var(--brass);
  text-decoration:none;
  padding: 6px 10px;
  border: 1px solid rgba(196,162,77,.25);
  border-radius: 999px;
}

.nav a:hover{ border-color: rgba(196,162,77,.6); }
.nav a.active{ background: rgba(196,162,77,.16); }

/* CONTENT */
.wrap{
  max-width: 860px;
  margin: 28px auto 60px;
  padding: 0 16px;
}

.section h2{
  font-family: var(--font-display);
  margin: 0 0 14px;
  color: var(--mahogany);
  font-weight: 600;

  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}

/* “statement” / tagline / featured line */
.statement{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0,0,0,.74);
  margin-top: 14px;
}

.archive{
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid var(--mahogany);
  background: rgba(255,255,255,.25);
}

.archive li{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.file{
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
}

.meta{
  font-family: var(--font-detail);
  font-weight: 300;
  font-size: 13px;
  color: var(--burgundy);
  font-style: italic;
  white-space: nowrap;
  letter-spacing: .06em;
}

.note{
  font-family: var(--font-body);
  margin-top: 14px;
  font-size: 13px;
  color: rgba(0,0,0,.65);
}

/* BLOG */
.post{
  border-top: 2px solid var(--mahogany);
  padding-top: 16px;
}

.post h3{
  font-family: var(--font-display);
  margin: 0 0 6px;
  color: var(--mahogany);
  font-weight: 600;
}

.postmeta{
  font-family: var(--font-detail);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 10px;
}

/* Paragraphs default to body font */
p{
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

/* FOOTER */
.footer{
  font-family: var(--font-detail);
  font-weight: 300;
  border-top: 1px solid rgba(0,0,0,.12);
  padding: 20px 16px;
  text-align:center;
  color: rgba(0,0,0,.6);
  font-size: 12px;
  letter-spacing: .10em;
}

.footer a{ color: var(--mahogany); text-decoration:none; }
.footer a:hover{ text-decoration:underline; }
