/* McLoughlin Memorial Association | concept preview by Elevator Street
 *
 * PALETTE AND TYPE ARE THEIRS, NOT OURS.
 * Every value in :root below was read out of the live site's own Squarespace
 * theme on 2026-09-01, from
 *   static1.squarespace.com/static/versioned-site-css/676359a8.../site.css
 * The three --es- prefixed values at the bottom are the only additions, and each
 * one is documented. See ../README.md and sales/mcloughlin-memorial/ for why.
 */

:root {
  /* --- their Squarespace theme, verbatim --- */
  --white: hsl(33, 0%, 100%);              /* #FFFFFF */
  --ink: hsl(29.47, 47.9%, 23.33%);        /* #583B1F  their "black", a warm brown */
  --gold: hsl(33, 100%, 70%);              /* #FFBA66  their "accent" */
  --cream: hsl(33, 78%, 91%);              /* #FAEAD6  their "lightAccent" */
  --moss: hsl(97, 29%, 38%);               /* #5A7D45  their "darkAccent" */
  --moss-bright: hsl(97, 44%, 48%);        /* #6EB045  their donation block */
  --olive: hsl(83, 29%, 38%);              /* #677D45  their text block */

  /* --- three additions, all derived from the values above --- */
  /* Their gold sits at 1.7:1 on white. Legible as a background, unreadable as
     text. This is the same hue at a lower lightness so links and small labels
     clear 4.5:1. Documented as a departure. */
  --es-gold-ink: hsl(33, 82%, 30%);
  /* Their brown at 40% lightness, for secondary text. Clears 4.5:1 on both white
     (5.47:1) and their cream (4.63:1). */
  --es-muted: hsl(29.47, 20%, 40%);
  /* Their cream at a lower chroma, for hairlines and card edges. */
  --es-line: hsl(33, 34%, 86%);

  --wrap: 1180px;
  --r: 4px;
  --shadow: 0 1px 2px rgba(88, 59, 31, .06), 0 8px 26px rgba(88, 59, 31, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Almarai", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .h {
  font-family: "Alice", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
a { color: var(--es-gold-ink); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--es-gold-ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r);
  text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; }

/* ---------- demo banner ---------- */
.demo-bar {
  background: var(--ink); color: var(--cream);
  font-size: .82rem; line-height: 1.45; text-align: center;
  padding: 9px 18px;
}
.demo-bar strong { color: var(--gold); }
.demo-bar a { color: var(--gold); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--es-line);
}
.head-in {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand .b1 { display: block; font-family: "Alice", Georgia, serif; font-size: 1.22rem; letter-spacing: -.02em; }
.brand .b2 { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--es-muted); }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .93rem;
  padding: 9px 13px; border-radius: var(--r);
}
.nav a:hover { background: rgba(88, 59, 31, .07); }
.nav a.on { box-shadow: inset 0 -2px 0 var(--gold); }
.head-cta {
  background: var(--moss); color: var(--white) !important;
  padding: 10px 18px !important; border-radius: var(--r);
  font-size: .93rem; text-decoration: none; white-space: nowrap;
}
.head-cta:hover { background: var(--olive) !important; }
.nav-toggle {
  margin-left: auto; display: none;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: var(--r); cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--es-line);
    padding: 8px 14px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid var(--es-line); }
  .nav a.on { box-shadow: inset 3px 0 0 var(--gold); }
  .head-cta { margin-top: 12px; text-align: center; border-bottom: 0 !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-size: .97rem;
  padding: 13px 24px; border-radius: var(--r); border: 1px solid transparent;
  transition: background .15s, color .15s;
}
.btn-primary { background: var(--moss); color: var(--white); }
.btn-primary:hover { background: var(--olive); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: hsl(33, 100%, 63%); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(88, 59, 31, .07); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.on-dark .btn-ghost { color: var(--white); }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .13); }

/* ---------- placeholder marker ---------- */
/* Anything the live site does not state, or states two different ways. Kept
   visible on purpose so nobody mistakes a guess for a fact. */
.ph {
  background: var(--gold); color: var(--ink);
  padding: 1px 7px; border-radius: 3px;
  font-size: .84em; font-style: normal;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- sections ---------- */
.sec { padding: clamp(52px, 7vw, 86px) 0; }
.sec-cream { background: var(--cream); }
.sec-moss { background: var(--moss); color: var(--white); }
.sec-ink { background: var(--ink); color: var(--cream); }
.sec-moss h2, .sec-ink h2, .sec-moss h3, .sec-ink h3 { color: var(--white); }
.sec-head { max-width: 640px; margin-bottom: 38px; }
.eyebrow {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--es-gold-ink); margin-bottom: 10px;
}
.sec-moss .eyebrow, .sec-ink .eyebrow { color: var(--gold); }
.lede { font-size: 1.09rem; color: var(--es-muted); }
.sec-moss .lede, .sec-ink .lede { color: rgba(255, 255, 255, .88); }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(88, 59, 31, .30), rgba(88, 59, 31, .74));
}
.hero-in {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(74px, 12vw, 148px) 22px clamp(52px, 8vw, 86px);
}
.hero-in h1 { color: var(--white); max-width: 15ch; text-wrap: balance; }
.hero-kick {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-lede { font-size: 1.14rem; color: rgba(255, 255, 255, .92); max-width: 52ch; margin: 18px 0 30px; }

.hero-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .26); margin-top: 46px;
}
.hero-strip div { padding: 20px 20px 0 0; }
.hero-strip .k { font-family: "Alice", Georgia, serif; font-size: 1.28rem; color: var(--gold); }
.hero-strip .v { font-size: .89rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 700px) { .hero-strip { grid-template-columns: 1fr; gap: 0; } .hero-strip div { padding: 15px 0 0; } }

/* ---------- grids ---------- */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .g2, .g3 { grid-template-columns: 1fr; gap: 30px; } }

.card {
  background: var(--white); border: 1px solid var(--es-line);
  border-radius: var(--r); padding: 26px; box-shadow: var(--shadow);
}
.sec-cream .card { border-color: rgba(88, 59, 31, .13); }

/* ---------- the two houses ---------- */
.house {
  background: var(--white); border: 1px solid var(--es-line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.house > img { width: 100%; height: 236px; object-fit: cover; }
.house-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.house-tag {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 9px;
}
.house h3 { margin-bottom: 6px; }
.house .addr { font-size: .92rem; color: var(--es-muted); margin-bottom: 16px; }
.facts { list-style: none; margin: 0 0 20px; padding: 0; font-size: .95rem; }
.facts li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--es-line); }
.facts li:first-child { border-top: 0; }
.facts .lbl { flex: 0 0 92px; color: var(--es-muted); font-size: .87rem; padding-top: 1px; }
.facts .val { flex: 1; }
.house .btn-row { margin-top: auto; }

/* ---------- events ---------- */
.ev-list { display: flex; flex-direction: column; gap: 14px; }
.ev {
  display: grid; grid-template-columns: 82px 1fr auto; gap: 22px; align-items: center;
  background: var(--white); border: 1px solid var(--es-line);
  border-left: 4px solid var(--gold);
  border-radius: var(--r); padding: 18px 22px;
}
.ev.moss { border-left-color: var(--moss); }
.ev.past { opacity: .55; border-left-color: var(--es-line); }
.ev-date { text-align: center; line-height: 1.05; }
.ev-date .m { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--es-gold-ink); }
.ev-date .d { display: block; font-family: "Alice", Georgia, serif; font-size: 1.9rem; }
.ev-date .y { display: block; font-size: .72rem; color: var(--es-muted); }
.ev-body h3 { font-size: 1.13rem; margin-bottom: 3px; }
.ev-meta { font-size: .88rem; color: var(--es-muted); margin: 0; }
.ev-body p.d { font-size: .93rem; margin: 7px 0 0; }
.ev-go { white-space: nowrap; font-size: .9rem; }
@media (max-width: 760px) {
  .ev { grid-template-columns: 62px 1fr; gap: 16px; padding: 16px; }
  .ev-go { grid-column: 2; justify-self: start; }
  .ev-date .d { font-size: 1.55rem; }
}

.ev-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ev-filter button {
  font: inherit; font-size: .89rem; cursor: pointer;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--es-line); border-radius: 999px; padding: 8px 17px;
}
.ev-filter button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- membership ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--white); border: 1px solid var(--es-line); border-radius: var(--r);
  padding: 26px; display: flex; flex-direction: column;
}
.tier.feature { border-color: var(--moss); border-width: 2px; }
.tier h3 { margin-bottom: 4px; }
.tier .price { font-family: "Alice", Georgia, serif; font-size: 2rem; margin: 10px 0 4px; }
.tier .per { font-size: .84rem; color: var(--es-muted); margin-bottom: 18px; }
.tier ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: .95rem; }
.tier li { padding: 7px 0 7px 26px; position: relative; }
.tier li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
.tier .btn { margin-top: auto; text-align: center; }

/* ---------- misc ---------- */
.portrait { display: flex; gap: 26px; align-items: flex-start; }
.portrait img { width: 150px; border-radius: var(--r); flex: 0 0 auto; }
@media (max-width: 620px) { .portrait { flex-direction: column; } }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 26px; list-style: none; margin: 0; padding: 0; }
.board li { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.board .n { display: block; }
.board .r { display: block; font-size: .85rem; color: rgba(255, 255, 255, .68); }

.poster { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
@media (max-width: 800px) { .poster { grid-template-columns: 1fr; } }
.poster figure { margin: 0; }
.poster figcaption { font-size: .82rem; color: var(--es-muted); margin-top: 9px; }

.craft-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.craft-table th { text-align: left; font-weight: 400; font-family: "Alice", Georgia, serif; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--gold); }
.craft-table td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--es-line); vertical-align: top; }
.craft-table td:first-child { white-space: nowrap; width: 1%; }
.table-scroll { overflow-x: auto; }

.note {
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 20px 24px; border-radius: 0 var(--r) var(--r) 0;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(250, 234, 214, .82); padding: 56px 0 26px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot .foot-grid h3 { font-family: "Alice", Georgia, serif; color: var(--gold); font-size: 1rem; margin-bottom: 13px; font-weight: 400; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 4px 0; }
.site-foot a { color: rgba(250, 234, 214, .82); text-decoration: none; }
.site-foot a:hover { color: var(--gold); text-decoration: underline; }
.foot-base {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(250, 234, 214, .18);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .84rem; color: rgba(250, 234, 214, .6);
}
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(250, 234, 214, .3);
  display: grid; place-items: center;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.socials a:hover svg { fill: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
