/* Mt. Angel Senior Center — draft stylesheet
   Palette taken from the printed card. Text colors are darkened where
   needed so every text/background pair meets WCAG AA contrast. */
:root {
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --taupe: #c9bcae;
  --taupe-dark: #a99a89;
  --olive: #a9a43a;        /* decorative only */
  --olive-ink: #5c5a1b;    /* olive dark enough for text */
  --tomato: #d9412f;       /* decorative / large accents */
  --tomato-ink: #a8301f;   /* red dark enough for text & buttons */
  --ink: #231f1c;
  --ink-soft: #4a423b;
  --radius: 6px;
  --maxw: 72rem;
  --font-display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --font-display-sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --font-body: "Libre Caslon Text", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; /* 18px base */ -webkit-text-size-adjust: 100%; }
@media (min-width: 48em) { html { font-size: 125%; /* 20px */ } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--tomato-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 1.4em 0 .5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.4rem; }
p, ul, ol, dl { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .6em 1em; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-top: 10px solid var(--taupe);
  border-bottom: 3px double var(--ink);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding-top: .9rem; padding-bottom: .9rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 3.2rem; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-small {
  font-family: var(--font-display-sc); font-size: 1.05rem; letter-spacing: .14em;
}
.brand-big { font-family: var(--font-display); font-size: 2rem; }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.site-nav a {
  display: block; padding: .45em .85em;
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--ink); text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
}
.site-nav a:hover { border-color: var(--taupe-dark); background: var(--cream); }
.site-nav a[aria-current="page"] {
  background: var(--ink); color: var(--paper);
}
@media (max-width: 47.99em) {
  .site-header .wrap { justify-content: center; }
  .site-nav { width: 100%; }
  .site-nav ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.2rem, 1fr)); gap: .4rem; }
  .site-nav a { text-align: center; border-color: var(--taupe); background: var(--cream); padding: .55em .4em; }
}

/* ---------- Info band (mirrors the card's footer) ---------- */
.info-band {
  background: var(--taupe);
  color: var(--ink);
  font-family: var(--font-display);
  text-align: center;
}
.info-band .row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: .2rem 0; padding: .7rem 0;
}
.info-band .row + .row { border-top: 2px solid var(--ink); }
.info-band .item { padding: 0 .9rem; font-size: 1.2rem; }
.info-band .item + .item { border-left: 3px double var(--ink); }
.info-band .phone { font-size: 1.65rem; letter-spacing: .03em; }
.info-band a { color: var(--ink); text-decoration-thickness: .06em; }
.info-band a:hover { color: var(--tomato-ink); }
@media (max-width: 40em) {
  .info-band .row { flex-direction: column; align-items: center; }
  .info-band .item + .item { border-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--paper) url("../images/sprinkles.svg") repeat;
  background-size: 220px;
  border-bottom: 1px solid var(--taupe);
  padding: 2.5rem 0 3rem;
  text-align: center;
}
.hero-title { margin: 0; line-height: 1; }
.hero-title .small {
  display: block; font-family: var(--font-display-sc);
  font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: .14em;
}
.hero-title .big { display: block; font-size: clamp(3rem, 10vw, 5.6rem); }
.flourish { display: block; margin: .6rem auto 0; width: 9rem; color: var(--ink); }
.hero .lead { font-size: 1.25rem; max-width: 34rem; margin: 1.2rem auto 0; }
.hero .art { position: absolute; pointer-events: none; }
.hero .art-hat      { width: 12rem; left: 2%;  top: 1.2rem; transform: rotate(-6deg); }
.hero .art-birdhouse{ width: 9.5rem; right: 3%; top: 2.5rem; }
.hero .art-yarn     { width: 12rem; left: 4%; bottom: .8rem; }
.hero .art-mug      { width: 5rem; right: 18%; bottom: 1rem; }
.hero .art-leaf     { width: 4rem; right: 20%; top: 1rem; transform: rotate(14deg); }
.hero .art-leaf2    { width: 3.6rem; left: 20%; top: 1.4rem; transform: rotate(-20deg); }
@media (max-width: 70em) {
  .hero .art-leaf, .hero .art-leaf2 { display: none; }
}
@media (max-width: 56em) {
  .hero { padding-top: 1.5rem; }
  .hero .art { position: static; display: inline-block; vertical-align: bottom; transform: none; }
  .hero .art-hat, .hero .art-mug, .hero .art-leaf, .hero .art-leaf2 { display: none; }
  .hero .art-birdhouse { width: 5.5rem; }
  .hero .art-yarn { width: 8rem; }
  .hero .art-row { display: flex; justify-content: center; align-items: flex-end; gap: 1.5rem; margin-top: 1.5rem; }
}
@media (min-width: 56.01em) { .hero .art-row { display: contents; } }

/* ---------- Page header for inner pages ---------- */
.page-head {
  background: var(--paper) url("../images/sprinkles.svg") repeat;
  background-size: 220px;
  border-bottom: 1px solid var(--taupe);
  padding: 1.8rem 0 1.6rem;
}
.page-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .4rem 0 0; font-size: 1.15rem; color: var(--ink-soft); }
.page-head img { width: 7rem; flex: none; }
@media (max-width: 36em) { .page-head img { width: 4.5rem; } }

/* ---------- Content ---------- */
main { display: block; }
.section { padding: 2.5rem 0; }
.section > .wrap > h2:first-child { margin-top: 0; }
.prose { max-width: 42rem; }

.two-col { display: grid; gap: 2rem; }
@media (min-width: 52em) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--taupe);
  padding: 1.4rem 1.5rem;
}
.card h2, .card h3 { margin-top: 0; }

.ornament-rule {
  border: 0; height: 18px; margin: 2rem auto; max-width: 20rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 18'%3E%3Cpath d='M0 9h130M190 9h130' stroke='%23231f1c' stroke-width='1.5'/%3E%3Cpath d='M160 2l7 7-7 7-7-7z' fill='%23d9412f'/%3E%3Ccircle cx='140' cy='9' r='3' fill='%23a9a43a'/%3E%3Ccircle cx='180' cy='9' r='3' fill='%23a9a43a'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Hours table */
.hours { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.hours th, .hours td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--taupe); }
.hours th { font-weight: 700; }
.hours tr.today { background: #efe6d6; }
.hours tr.today th::after {
  content: "Today"; margin-left: .5em; font-size: .75em; font-weight: 400;
  background: var(--tomato-ink); color: #fff; padding: .05em .45em; border-radius: 3px; vertical-align: middle;
}
.closed { color: var(--tomato-ink); font-weight: 700; }

address { font-style: normal; font-size: 1.15rem; }
.big-phone {
  font-family: var(--font-display); font-size: 1.8rem; display: inline-block; margin-top: .3rem;
}

/* Buttons */
.btn {
  display: inline-block; padding: .65em 1.2em; margin: .25rem .4rem .25rem 0;
  background: var(--tomato-ink); color: #fff; text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--taupe); color: var(--ink); }

/* Quick links */
.quick-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.quick-links a {
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--taupe); padding: 1.2rem 1rem 1.3rem;
  color: var(--ink); text-decoration: none;
}
.quick-links a:hover { background: #fff; box-shadow: 5px 5px 0 var(--olive); }
.quick-links img { height: 6.5rem; width: auto; object-fit: contain; margin-bottom: .6rem; }
.quick-links .ql-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.quick-links .ql-text { font-size: 1rem; color: var(--ink-soft); margin-top: .3rem; }

/* Events list */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.3rem; align-items: start;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--taupe); padding: 1.2rem 1.4rem;
}
.event-when {
  min-width: 7.5rem; text-align: center; font-family: var(--font-display);
  background: var(--taupe); border-radius: var(--radius); padding: .5rem .6rem; line-height: 1.2;
}
.event-when .day { display: block; font-size: 1.3rem; }
.event-when .time { display: block; font-size: 1rem; }
.event h3 { margin: 0 0 .3rem; }
.event p { margin: 0; }
@media (max-width: 30em) { .event { grid-template-columns: 1fr; } .event-when { justify-self: start; } }

/* Map */
.map-frame {
  width: 100%; aspect-ratio: 4 / 3; border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--taupe); display: block; background: var(--taupe);
}

/* Placeholder text — clearly visible so the board can spot what needs filling in */
.placeholder {
  background: #fff4c2;
  outline: 2px dashed var(--tomato-ink);
  outline-offset: 2px;
  padding: 0 .2em;
  border-radius: 2px;
}
.draft-note {
  background: #fff4c2; border: 2px dashed var(--tomato-ink); border-radius: var(--radius);
  padding: .8rem 1rem; font-size: .95rem;
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 2rem; }
.footer-bottom {
  background: var(--ink); color: var(--cream); font-size: .95rem; padding: 1.2rem 0;
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-bottom a { color: var(--cream); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }

@media print {
  .site-nav, .hero .art, .map-frame { display: none; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Home: events + hours side by side */
.home-grid { display: grid; gap: 2rem; }
@media (min-width: 56em) { .home-grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.home-grid .event h3 { font-size: 1.35rem; }

/* Story teasers on home */
.story-teasers { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.story-teasers a {
  display: flex; flex-direction: column; gap: .3rem; height: 100%;
  background: var(--paper); border: 2px solid var(--ink); border-left: 10px solid var(--olive);
  border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--ink); text-decoration: none;
}
.story-teasers a:hover { background: #fff; }
.story-teasers .ql-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.story-teasers .ql-text { color: var(--ink-soft); }
.story-date { font-size: .95rem; color: var(--ink-soft); margin: 0; letter-spacing: .02em; }

/* Stories page */
.story-list { display: grid; gap: 2rem; }
.story {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: start;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--taupe); padding: 1.5rem;
}
.story > img { width: 100%; height: auto; }
.story h2 { margin: .2rem 0 .6rem; font-size: 1.8rem; }
@media (max-width: 36em) { .story { grid-template-columns: 1fr; } .story > img { width: 6rem; } }
code { font-size: .9em; background: rgba(0,0,0,.06); padding: 0 .2em; border-radius: 3px; }

/* Mobile refinements */
.hours td { white-space: nowrap; }
.footer-bottom .placeholder { color: var(--ink); }
@media (max-width: 30em) {
  .event-when { display: flex; gap: .6rem; align-items: baseline; min-width: 0; padding: .3rem .7rem; }
  .quick-links { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .quick-links a { padding: .9rem .5rem 1rem; }
  .quick-links img { height: 4.2rem; }
  .quick-links .ql-title { font-size: 1.3rem; }
  .quick-links .ql-text { display: none; }
}
