/* Shared styles for littlefreepantryoneida.org. Every page links this file. */
  :root {
    --board: #232826;   /* the hanging sign */
    --chalk: #f4f4ef;
    --teal: #2f6f6b;    /* the pantry box */
    --teal-deep: #234f4c;
    --cedar: #9a6440;   /* the shingle roof */
    --paper: #eef2ef;
    --ink: #1d2422;
    --muted: #4c5a56;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
  }
  img { max-width: 100%; display: block; }
  a { color: var(--teal-deep); text-underline-offset: 3px; }
  a:focus-visible, .btn:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; border-radius: 4px; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
  .hand { font-family: "Amatic SC", cursive; font-weight: 700; letter-spacing: .02em; line-height: .95; }

  /* ---------- Hero: the sign ---------- */
  .hero {
    background: var(--board);
    color: var(--chalk);
    overflow: hidden;
  }
  .hero .wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .sign {
    position: relative;
    padding-top: 34px;
  }
  /* the two hooks the real sign hangs from */
  .sign::before, .sign::after {
    content: "";
    position: absolute;
    top: 0;
    width: 14px; height: 34px;
    border: 3px solid #8f9693;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
  }
  .sign::before { left: 18%; }
  .sign::after  { right: 18%; }
  .sign h1 {
    margin: 0;
    font-size: clamp(4.2rem, 13vw, 9.5rem);
    border: 3px solid rgba(244,244,239,.18);
    padding: .12em .2em .08em;
    border-radius: 6px;
    text-align: center;
    background:
      radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.05), transparent 60%),
      #262c2a;
    text-shadow: 0 0 1px rgba(244,244,239,.6);
  }
  .sign .place {
    margin: 18px 0 0;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #d9ddd6;
  }
  .hero-photo {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 0 6px var(--teal), 0 0 0 9px var(--cedar);
    aspect-ratio: 4 / 5;
  }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

  .hours {
    background: var(--teal);
    color: var(--chalk);
  }
  .hours .wrap {
    display: flex; flex-wrap: wrap; gap: 8px 32px;
    align-items: baseline; justify-content: space-between;
    padding-top: 18px; padding-bottom: 18px;
  }
  .hours strong { font-size: 1.25rem; }
  .hours a { color: var(--chalk); }

  /* ---------- Motto ---------- */
  .motto { padding: 88px 0 40px; }
  .motto p.big {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--board);
    max-width: 13ch;
  }
  .motto p.lede {
    max-width: 60ch;
    margin: 24px 0 0;
    font-size: 1.25rem;
    color: var(--muted);
  }

  /* ---------- Give / don't give ---------- */
  .give { padding: 40px 0 88px; }
  .give .wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: start;
  }
  .give figure { margin: 0; }
  .give figure img { border-radius: 10px; }
  .give figcaption { font-size: .95rem; color: var(--muted); margin-top: 10px; }
  .give h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); margin: 0 0 8px; color: var(--teal-deep); }
  .give h2.no { color: var(--cedar); margin-top: 40px; }
  .list { list-style: none; padding: 0; margin: 0; }
  .list li {
    padding: 12px 0 12px 40px;
    border-bottom: 1px solid #d3dbd7;
    position: relative;
    max-width: 60ch;
  }
  .list li::before {
    position: absolute; left: 4px; top: 10px;
    font-family: "Amatic SC", cursive; font-weight: 700; font-size: 1.9rem; line-height: 1;
  }
  .yes li::before { content: "✓"; color: var(--teal); font-family: inherit; font-size: 1.3rem; top: 12px; }
  .nope li::before { content: "✕"; color: var(--cedar); font-family: inherit; font-size: 1.2rem; top: 13px; }
  .note {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 4px solid var(--cedar);
    background: #e3e9e5;
    max-width: 60ch;
    font-size: 1rem;
  }

  /* ---------- Find it ---------- */
  .find {
    background: var(--board);
    color: var(--chalk);
    padding: 80px 0;
  }
  .find .wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
  }
  .find h2 { font-size: clamp(3rem, 6vw, 4.4rem); margin: 0 0 16px; }
  .find address { font-style: normal; font-size: 1.35rem; line-height: 1.5; }
  .find p { color: #c9cec8; max-width: 44ch; }
  .btn {
    display: inline-block;
    margin-top: 12px; margin-right: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    background: var(--chalk);
    color: var(--board);
    transition: background .15s;
  }
  .btn:hover { background: #ffffff; }
  .btn.ghost { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 2px rgba(244,244,239,.5); }
  .btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--chalk); }
  .map {
    border-radius: 10px; overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0 0 6px var(--teal);
  }
  .map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

  /* ---------- Follow ---------- */
  .follow { padding: 80px 0; }
  .follow h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); margin: 0 0 8px; color: var(--teal-deep); }
  .follow p { max-width: 60ch; }
  .follow .btn { background: var(--teal); color: var(--chalk); }
  .follow .btn:hover { background: var(--teal-deep); }

  footer {
    border-top: 1px solid #d3dbd7;
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: .95rem;
  }

  @media (max-width: 860px) {
    .hero .wrap, .give .wrap, .find .wrap { grid-template-columns: 1fr; }
    .hero-photo { aspect-ratio: 4 / 3; max-width: 560px; }
    .give figure { max-width: 460px; }
    .motto { padding-top: 64px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
  }
