/* ------------------------------
   Yunker Collective — Minimal Theme
   CSS-only polish, no images required.
--------------------------------- */

/* A modern, dependable baseline */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

:root{
  /* Palette (warm-neutral, craft-forward) */
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f6f3ee;
  --text: #1d1b16;
  --muted: #5d5a52;
  --line: rgba(29, 27, 22, 0.12);
  --line-2: rgba(29, 27, 22, 0.18);

  /* Accent (quiet, not “marketing”) */
  --accent: #2b4a3f;     /* deep evergreen */
  --accent-2: #20362f;

  /* Type */
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  /* Layout */
  --wrap: 980px;
  --pad: clamp(18px, 3vw, 28px);

  /* Scale */
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 22px;
  --s5: 30px;
  --s6: 42px;
  --s7: 60px;

  /* Corners + shadows */
  --r1: 10px;
  --r2: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-soft: 0 8px 18px rgba(0,0,0,0.05);
}

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

/* Utility */
.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.small{ font-size: 0.92rem; }
.muted{ color: var(--muted); }

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: var(--r1);
  box-shadow: var(--shadow-soft);
}
.skip-link:focus{ left: 10px; z-index: 999; }

a{
  color: inherit;
  text-decoration: none;
}
a:hover{ text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible{
  outline: 3px solid rgba(127, 179, 156, 0.6);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: var(--s3);
}

.brand-link{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark{
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.brand-name{
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.2px;
  font-size: 1.05rem;
}

.site-nav{
  display: inline-flex;
  gap: 10px;
}

.nav-link{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-link:hover{
  text-decoration: none;
  color: var(--text);
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.nav-link.is-active{
  color: var(--text);
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
}

/* Main */
.main{ padding-bottom: var(--s7); }

/* Hero */
.hero{
  padding: var(--s7) 0 calc(var(--s6) + 10px);
}

.kicker{
  margin: 0 0 var(--s2);
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1{
  margin: 0 0 var(--s3);
  font-family: var(--serif);
  font-weight: 720;
  line-height: 1.12;
  font-size: clamp(2.05rem, 3.2vw, 3.05rem);
  letter-spacing: 0.2px;
}

.lede{
  margin: 0 0 var(--s4);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--s4) 0 var(--s4);
}

.rule{
  display: flow-root;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  margin-top: 60px;
  margin-bottom: var(--s5);
}

/* Buttons */
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-weight: 600;
}
.button:hover{
  text-decoration: none;
  transform: translateY(-1px);
}
.button:active{ transform: translateY(0); }

.button-ghost{
  background: transparent;
  box-shadow: none;
}

/* Sections */
.section{
  padding: calc(var(--s5) + 5px) 0;
}

.section-soft{
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title{
  margin: 0 0 var(--s4);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.45rem;
}

/* A calmer alternative to section-soft */
.section-quiet{
  background: transparent;
  border: none;
}

.section-quiet .wrap{
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s5) var(--pad);
  box-shadow: var(--shadow-soft);
}

/* Remove visual styling from wrap only inside section-quiet */
.section-quiet > .wrap{
  background: transparent;
  border: none;
  box-shadow: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* The inset panel */
.section-quiet .quiet-inner{
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s5) var(--pad);
  box-shadow: var(--shadow-soft);
}

/* Constrain the readable width so it matches the visual rhythm of the cards */
.section-quiet .quiet-inner .prose{
  max-width: 62ch;
}

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card{
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s4);
  box-shadow: var(--shadow-soft);
}

.card h3{
  margin: 0 0 var(--s2);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.15px;
}

.card p{
  margin: 0 0 var(--s2);
}

@media (max-width: 820px){
  .card{ grid-column: span 12; }
}

/* Prose blocks */
.prose{
  max-width: 70ch;
}

.bullets{
  margin: var(--s3) 0 var(--s3);
  padding-left: 18px;
}
.bullets li{
  margin: 8px 0;
}
.bullets strong{
  color: var(--text);
}

/* Contact */
.contact{
  max-width: 70ch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s4);
  box-shadow: var(--shadow-soft);
}

.contact-link{
  font-weight: 650;
  color: var(--accent);
}
.contact-link:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: calc(var(--s5) + 20px) 0;
  margin-top: var(--s6);
}

.footer-inner{
  display: grid;
  gap: 6px;
  text-align: center;
  justify-items: center;
}
