/* Theme: Black and white with copper (from content/site.json) */
:root {
  --ink: #000000;
  --ground: #111111;
  --accent: #A8653E;
  --accent_ink: #8A4E2C;
  --surface: #FFFFFF;
  --support: #8A8A8A;
  --detail: #FFFFFF;
  --paper: #F5F5F5;
  --line: #E8D6C8;
  --muted: #555555;
  --accent_light: #CF8A5C;
  --theme-display: "Barlow Condensed";
  --theme-body: "Barlow Condensed";
}
/* The Jersey Shore Owners' Collective: professional, casual, exclusive. A private members' club feel.
   Colors and fonts come from the theme block in content/site.json (scripts/build.mjs writes them
   as variables at the top of this file), so another brand direction is one block in one file.
   Fonts: the Collective's originals. Barlow Condensed (free license) for all text; the TAN Harmony
   wordmark is a picture (his desktop license covers pictures, not web fonts). */

@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-400italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --font-display: var(--theme-display, "Barlow Condensed"), "Arial Narrow", Arial, sans-serif;
  --font-body: var(--theme-body, "Barlow Condensed"), "Arial Narrow", Arial, sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
  --wrap: 1120px;
  --radius: 14px;
  --shadow: 0 1px 3px color-mix(in srgb, var(--ink) 6%, transparent), 0 8px 30px color-mix(in srgb, var(--ink) 5%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 20px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 var(--s2); color: var(--ground); }
h1 { font-size: clamp(42px, 6vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 23px; }
p { margin: 0 0 var(--s2); max-width: 65ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: var(--s1) var(--s2); z-index: 10; }
.skip:focus { left: var(--s2); top: var(--s2); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 18px clamp(16px, 4vw, 48px); position: relative; z-index: 3; }
.top__mark img { width: 42px; height: 42px; }
.top__nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: flex-end; }
.top__nav a { text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; padding: 8px 0; border-bottom: 1px solid transparent; }
.top__nav a:hover, .top__nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.home .top { color: var(--surface); }

/* Labels (the class name "brush" is kept from the first theme; it is a quiet label now) */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent_ink); margin-bottom: var(--s2); }
.brush { display: inline-block; }
.brush--black { color: inherit; }

/* Buttons: one main action per screen, in the ground color */
.btn { display: inline-block; font: 600 16px/1 var(--font-body); letter-spacing: 0.04em; text-decoration: none; padding: 18px 30px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; min-height: 52px; text-align: center; }
.btn--primary { background: var(--ground); color: var(--surface); }
.btn--primary:hover { background: var(--ink); }
.hero .btn--primary { background: var(--surface); color: var(--ground); }
.hero .btn--primary:hover { background: var(--paper); }
.btn--light { background: var(--surface); color: var(--ground); }
.btn--light:hover { background: var(--paper); }
.btn--small { font-size: 14px; padding: 11px 20px; min-height: 44px; background: var(--paper); color: var(--ground); border-color: var(--ground); }
.btn--small:hover, .copy[data-done] { background: var(--ground); color: var(--surface); }
.link { color: var(--ground); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.link-button { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; padding: var(--s1); }

/* Hero: the studio photo, warm and in full color, under a forest wash */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: center; margin-top: -80px; padding: 140px clamp(16px, 4vw, 48px) var(--s5); overflow: hidden; color: var(--surface); background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 95%, transparent) 0%, color-mix(in srgb, var(--ink) 88%, transparent) 46%, color-mix(in srgb, var(--ink) 45%, transparent) 68%, color-mix(in srgb, var(--ink) 12%, transparent) 100%); }
.hero__text { position: relative; z-index: 2; max-width: 620px; }
.hero .kicker { color: var(--accent_light); }
.wordmark { margin: 0 0 var(--s3); }
/* The copper shadow is drawn into the picture (scripts/wordmark.py), so Jersey Shore's brush script stays clean. */
.wordmark img { width: min(100%, 600px); height: auto; }
.wordmark__the { display: block; font-size: 0.42em; font-style: italic; letter-spacing: 0.01em; margin-bottom: 4px; color: var(--detail); }
.wordmark__main { display: block; font-size: 1.15em; letter-spacing: -0.02em; line-height: 0.98; }
.hero__tag { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; font-family: var(--font-display); font-weight: 400; }
.hero__promise { font-size: 18px; color: color-mix(in srgb, var(--surface) 86%, transparent); }
.hero__next { font-size: 16px; color: color-mix(in srgb, var(--surface) 86%, transparent); border-left: 2px solid var(--accent); padding-left: var(--s2); margin-bottom: var(--s4); }
.hero__next strong { color: var(--surface); font-weight: 600; }

/* A fine copper rule where the first theme had a torn stripe */
.stripe { height: 3px; background: var(--accent); }

/* Sections */
.band { padding: var(--s6) clamp(16px, 4vw, 48px) var(--s5); max-width: var(--wrap); margin: 0 auto; }
.band__title { margin-bottom: var(--s4); }
.band__lede { color: var(--muted); margin-top: calc(-1 * var(--s3)); margin-bottom: var(--s4); }
.band__more { margin-top: var(--s3); }
.band__more .link, .fine .link, .next__map { display: inline-block; padding: 10px 0; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3); box-shadow: var(--shadow); }
.step--red { background: var(--ground); border-color: var(--ground); color: var(--surface); }
.step--red .step__label { color: var(--accent_light); }
.step--red .step__n { color: var(--detail); }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1; color: var(--accent_ink); display: block; margin-bottom: var(--s2); }
.step__label { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent_ink); margin-bottom: var(--s1); }
.step p { margin: 0; }

/* Light panels (class "paper" kept from the first theme) */
.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s6) 0; }
.paper__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.paper__inner.narrow { max-width: 680px; }

/* The mid-page photo: full width, sitting still, in its own colors, copper lines above and below */
.photo-band { margin: 0; background: var(--ink); border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.photo-band img { display: block; width: 100%; height: clamp(240px, 33vw, 520px); object-fit: cover; object-position: 30% 50%; }
.photo-band + .paper { border-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s3); }
.side { border-top: 2px solid var(--accent); padding-top: var(--s3); }
.side h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent_ink); }
.side p { font-family: var(--font-display); font-size: 26px; line-height: 1.3; color: var(--ground); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border: solid var(--accent_ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* The year, short list */
.yl { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--s5); }
.yl li { display: flex; gap: var(--s2); align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.yl__date { flex: 0 0 auto; min-width: 70px; color: var(--accent_ink); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.yl__title { font-family: var(--font-display); font-size: 20px; color: var(--ground); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s5); margin: 0 0 var(--s4); }
.faq dt { font-family: var(--font-display); font-size: 22px; color: var(--ground); margin-bottom: var(--s1); }
.faq dd { margin: 0; color: var(--muted); }
.host { color: var(--muted); border-top: 2px solid var(--accent); padding-top: var(--s3); font-style: italic; }

/* Call to action band */
.cta-band { color: var(--surface); text-align: center; padding: calc(var(--s6) + 24px) clamp(16px, 4vw, 48px);
  background-color: var(--accent);
  background-image: linear-gradient(color-mix(in srgb, var(--ink) 30%, transparent), color-mix(in srgb, var(--ink) 30%, transparent)), url("/assets/images/watermark-copper.jpg");
  background-size: cover; background-position: center; background-attachment: fixed; }
.cta-band h2, .cta-band p { text-shadow: 0 2px 18px color-mix(in srgb, var(--ink) 55%, transparent); }
.cta-band h2 { color: var(--surface); font-size: clamp(36px, 5vw, 56px); }
.cta-band p { margin: 0 auto var(--s4); color: color-mix(in srgb, var(--surface) 86%, transparent); }

/* Inner page heads */
.pagehead { max-width: var(--wrap); margin: 0 auto; padding: var(--s5) clamp(16px, 4vw, 48px) var(--s4); }
.pagehead--center { text-align: center; padding-bottom: var(--s5); }
.pagehead--center p { margin-left: auto; margin-right: auto; }
.lede { font-size: 21px; color: var(--muted); }

/* The year, full page */
.sessions { list-style: none; padding: 0 clamp(16px, 4vw, 48px); margin: 0 auto; max-width: var(--wrap); display: grid; gap: var(--s3); }
.session { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); }
.session--next { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.session__when { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s1); }
.session__n { font-family: var(--font-display); font-weight: 600; font-size: 36px; color: var(--accent_ink); line-height: 1; }
.session__date { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.session__title { font-size: clamp(26px, 3vw, 34px); }
.session__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: 0; }
.session__body dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent_ink); margin-bottom: 4px; }
.session__body dd { margin: 0; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tag--next { background: var(--ground); color: var(--surface); }
.tag--held { background: var(--line); color: var(--ink); }
.after { text-align: center; margin: var(--s4) auto var(--s5); color: var(--muted); font-style: italic; }

/* Forms */
.form { display: grid; gap: 6px; }
.form label { font-size: 14px; font-weight: 600; letter-spacing: 0.03em; margin-top: var(--s2); color: var(--ground); }
.form [aria-invalid="true"] { border-color: var(--ink); outline: 3px solid var(--ink); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="password"] {
  font: 400 18px/1.3 var(--font-body); padding: 14px 16px; border: 1px solid #b9b0a1; background: #fff; color: var(--ink); border-radius: 10px; width: 100%; min-height: 52px;
}
.form input:focus { border-color: var(--ground); outline: 2px solid var(--ground); outline-offset: 0; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; letter-spacing: 0; font-size: 15px; margin: var(--s3) 0 var(--s2); color: var(--ink); }
.form .consent input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ground); }
.form .btn { margin-top: var(--s2); justify-self: start; }
.fine { font-size: 15px; color: var(--muted); margin-top: var(--s2); }
.alert { background: var(--paper); border: 2px solid var(--ink); color: var(--ink); border-radius: 10px; padding: var(--s2); font-weight: 600; }
.hp { display: none; }
[hidden] { display: none !important; }

/* The request form's two steps and its 12 questions */
.form-note { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent_ink); }
.formstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.formstep + .formstep { margin-top: var(--s5); }
.formstep__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1.1; color: var(--ground); padding: 0; margin-bottom: var(--s1); }
.formstep__intro { margin: 0; color: var(--muted); font-size: 18px; }
.formstep__back { justify-self: start; padding: 10px 0; font-size: 16px; }
.q { border: 0; margin: var(--s3) 0 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.q__label, .form label.q__label { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.35; color: var(--ground); padding: 0; margin: 0 0 4px; }
.q__n { flex: 0 0 auto; width: 26px; height: 26px; margin-top: 1px; border-radius: 999px; background: var(--ground); color: var(--surface); font-size: 13px; font-weight: 700; letter-spacing: 0; display: inline-grid; place-items: center; }
.q__opts { display: grid; gap: 8px; }
.q__opts--row { grid-template-columns: repeat(2, minmax(0, 170px)); }
.form .opt { display: flex; gap: 12px; align-items: center; margin: 0; padding: 12px 16px; min-height: 52px; border: 1px solid #b9b0a1; border-radius: 10px; background: #fff; font-size: 17px; font-weight: 400; letter-spacing: 0; line-height: 1.3; color: var(--ink); cursor: pointer; }
.form .opt input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--ground); }
.form .opt:has(input:checked) { border-color: var(--ground); box-shadow: inset 0 0 0 1px var(--ground); }
.q--invalid { outline: 3px solid var(--ink); outline-offset: 10px; border-radius: 6px; }
.q__other { display: grid; gap: 6px; }
.form .q__other label { margin-top: var(--s1); }
.form textarea { font: 400 18px/1.4 var(--font-body); padding: 14px 16px; border: 1px solid #b9b0a1; background: #fff; color: var(--ink); border-radius: 10px; width: 100%; min-height: 96px; resize: vertical; }
.form textarea:focus { border-color: var(--ground); outline: 2px solid var(--ground); outline-offset: 0; }
.turnaway { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: var(--s3); margin-top: var(--s3); }
.turnaway h2 { font-size: 30px; margin-bottom: var(--s1); }
.turnaway p { margin: 0 0 var(--s2); }
.missing { list-style: none; padding: 0; margin: 0 0 var(--s2); }
.missing li { position: relative; padding-left: 26px; margin: 6px 0; font-weight: 600; }
.missing li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.missing--center { display: inline-block; text-align: left; margin-bottom: var(--s3); }
.prose p { font-size: 18px; }

/* Members */
.members { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s3); max-width: var(--wrap); margin: 0 auto var(--s4); padding: 0 clamp(16px, 4vw, 48px); }
.mcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); }
.mcard--red { background: var(--ground); border-color: var(--ground); color: var(--surface); }
.mcard--red h2 { color: var(--accent_light); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.mcard--red .link { color: var(--surface); }
.next__date { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; margin-bottom: var(--s1); }
.next__title { font-size: 20px; font-family: var(--font-display); font-style: italic; color: var(--accent_light); }
.next__bring { font-weight: 600; }
.drive { width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: var(--s2) 0; }
.empty { color: var(--muted); font-style: italic; }
.pgroups { display: grid; gap: var(--s4); }
.pgroup__head { font-size: 24px; display: flex; gap: var(--s2); align-items: baseline; border-bottom: 2px solid var(--accent); padding-bottom: var(--s1); }
.pgroup--locked .pgroup__head { color: var(--muted); }
.prompt { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: var(--s3); margin-top: var(--s3); }
.prompt h4 { font-size: 21px; margin-bottom: var(--s1); }
.prompt__how { color: var(--muted); font-size: 15px; }
.prompt__text { white-space: pre-wrap; font: 400 16px/1.6 var(--font-body); background: var(--surface); border-radius: 8px; padding: var(--s2); margin: 0 0 var(--s2); }
.rule-band { background: var(--ground); color: var(--surface); padding: var(--s5) clamp(16px, 4vw, 48px); text-align: center; }
.rule-band h2 { color: var(--accent_light); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--s2); }
.rule-band p { margin: 0 auto; font-family: var(--font-display); font-size: 26px; line-height: 1.35; }
.signout { text-align: center; padding: var(--s3); }

/* Footer */
.foot { background: var(--ink); color: var(--surface); border-top: 1px solid color-mix(in srgb, var(--surface) 14%, transparent); padding: var(--s5) clamp(16px, 4vw, 48px) var(--s4); }
.foot__inner { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; align-items: flex-start; }
.foot__name { font-family: var(--font-display); font-size: 28px; margin-bottom: var(--s1); }
.foot__tag { color: color-mix(in srgb, var(--surface) 75%, transparent); }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.foot__nav a { font-size: 15px; padding: 8px 0; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.foot__copy { max-width: var(--wrap); margin: var(--s3) auto 0; font-size: 14px; color: color-mix(in srgb, var(--surface) 72%, transparent); }
.foot__copy { margin-top: var(--s1); }

/* Phones */
/* Phones and anyone who prefers less motion: the copper background stays put instead of gliding */
@media (max-width: 760px), (hover: none), (prefers-reduced-motion: reduce) {
  .cta-band { background-attachment: scroll; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { padding: 12px 16px; }
  .top__nav { gap: 2px 18px; }
  .top__nav a { font-size: 14px; padding: 12px 0; }
  .hero { min-height: auto; margin-top: -68px; padding: 320px 16px var(--s4); align-items: flex-end; }
  .hero__img { height: 440px; object-position: 76% 25%; }
  .hero::before { background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 35%, transparent) 0%, color-mix(in srgb, var(--ink) 60%, transparent) 240px, var(--ink) 440px); }
  .steps, .sides, .two, .faq, .members, .session__body { grid-template-columns: 1fr; }
  .yl { columns: 1; }
  .band { padding-top: var(--s5); }
  .paper { padding: var(--s5) 0; }
  .btn { width: 100%; }
  .form .btn { justify-self: stretch; }
  .q__opts--row { grid-template-columns: 1fr 1fr; }
  .formstep__title { font-size: 24px; }
  .btn--small { width: auto; }
  .session { padding: var(--s3); }
  .drive { height: 360px; }
}
