/* Berrima Clay Target Club — concept preview
   Plain CSS, no dependencies, works offline. */

:root {
  --ink: #20241c;
  --ink-soft: #4a4f44;
  --bg: #f7f4ee;
  --panel: #ffffff;
  --clay: #b0461c;
  --clay-dark: #86320f;
  --brass: #94763d;
  --sage: #5f6f52;
  --sage-soft: #ecefe4;
  --line: #e4ddd0;
  --shadow: 0 6px 24px rgba(32, 36, 28, 0.08);
  --radius: 10px;
  --wrap: 1120px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font: var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--clay-dark); }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .4em; font-weight: 500; letter-spacing: 0; }
h1 { font-size: clamp(2.8rem, 6.2vw, 4.4rem); line-height: 1.03; }
h2 { font-size: clamp(2rem, 3.8vw, 2.95rem); line-height: 1.08; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; }

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 .9rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.brand-text strong { color: var(--clay-dark); font-weight: 600; }
.brand-text span { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-top: 4px; }

.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 9px 13px; border-radius: 6px;
}
.site-nav a:hover { color: var(--ink); background: var(--sage-soft); }
.site-nav a.active { color: var(--clay-dark); background: #fbeee7; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--panel);
  border-radius: 9px; width: 42px; height: 40px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-body);
  font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  padding: 15px 28px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); background: var(--sage-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1b221a 0%, #273024 52%, #37432f 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 24%, rgba(176,70,28,.30), transparent 46%),
    radial-gradient(circle at 10% 92%, rgba(148,118,61,.16), transparent 44%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 86px; }
.hero h1 { color: #fff; max-width: 15ch; font-weight: 500; }
.hero p.lead { font-size: 1.28rem; max-width: 54ch; color: #e8ebe0; }
.hero .eyebrow { color: #cdac78; }
.flying { position: absolute; z-index: 1; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 48px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-alt { background: var(--sage-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.65; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .3em; }
.card .ico { width: 46px; height: 46px; margin-bottom: 14px; }

/* ---------- Callout / notice ---------- */
.callout {
  border-left: 4px solid var(--clay); background: #fdf3ec;
  padding: 18px 20px; border-radius: 0 12px 12px 0; margin: 24px 0;
}
.callout.sage { border-left-color: var(--sage); background: var(--sage-soft); }
.callout h3 { margin-bottom: .3em; }
.tbc { color: var(--clay-dark); font-weight: 700; font-size: .82rem; letter-spacing: .03em; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { position: relative; padding-left: 58px; min-height: 42px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  background: var(--clay); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
}
.steps li strong { display: block; }

/* ---------- Band CTA ---------- */
.band { background: var(--ink); color: #fff; border-radius: 18px; padding: 44px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #d7dbcf; max-width: 55ch; margin-left: auto; margin-right: auto; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.table th { background: var(--sage-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sage); }
.table tr:last-child td { border-bottom: none; }
.table td.amount { font-weight: 700; white-space: nowrap; }

/* ---------- Calendar ---------- */
.cal-list { display: grid; gap: 12px; }
.cal-item {
  display: flex; align-items: center; gap: 18px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
}
.cal-date {
  flex: none; width: 66px; text-align: center; border-right: 1px solid var(--line); padding-right: 14px;
}
.cal-date .d { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.cal-date .m { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); font-weight: 700; }
.cal-body { flex: 1; }
.cal-body h3 { margin: 0 0 2px; font-size: 1.05rem; }
.cal-body .meta { font-size: .9rem; color: var(--ink-soft); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: .03em; }
.tag.comp { background: #fbeee7; color: var(--clay-dark); }
.tag.prac { background: var(--sage-soft); color: var(--sage); }
.cal-actions { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.cal-add { font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cal-add:hover { text-decoration: underline; }

/* Subscribe card */
.subscribe { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.subscribe .btn-row { margin: 0; }
.gcal-links a { font-weight: 700; margin-right: 14px; white-space: nowrap; }

/* ---------- Photo placeholders ---------- */
.photo-ph {
  background: repeating-linear-gradient(45deg, #ece7dd, #ece7dd 12px, #e5e0d5 12px, #e5e0d5 24px);
  border: 1px dashed #c9c2b4; border-radius: 12px; min-height: 180px;
  display: grid; place-items: center; color: #8a8372; font-size: .85rem; text-align: center; padding: 16px;
}
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; }
.info-list .k { font-weight: 700; min-width: 92px; color: var(--sage); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--panel); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.map-embed { width: 100%; border: 0; border-radius: 12px; min-height: 320px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: #23271f; color: #cfd4c6; padding: 48px 0 28px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.site-footer a { color: #e7d3c6; }
.site-footer p { color: #aeb4a2; margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid #3a4034; padding-top: 18px; font-size: .82rem; color: #8f9684; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Learn / long-form guide ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 8px; }
.toc a {
  display: inline-block; text-decoration: none; font-family: var(--font-body);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  color: var(--ink-soft); background: var(--panel);
  border: 1px solid var(--line); padding: 10px 16px; border-radius: 4px;
}
.toc a:hover { border-color: var(--brass); color: var(--ink); }

.topic { padding-top: 54px; margin-top: 54px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.topic h3 { margin-top: 1.2em; }
.topic .grid + p, .topic table + p { margin-top: 20px; }

.glossary { columns: 2; column-gap: 44px; margin: 8px 0 0; }
.glossary dt { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.glossary dd { margin: 2px 0 16px; color: var(--ink-soft); break-inside: avoid; }
@media (max-width: 720px) { .glossary { columns: 1; } }

/* ---------- Utilities ---------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.pill { display:inline-block; background: var(--sage-soft); color: var(--sage); font-weight:700; font-size:.78rem; padding:4px 12px; border-radius:20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; border-radius: 8px; }
  .grid-3, .grid-2, .photo-strip, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .band { padding: 32px 22px; }
  .hero .wrap { padding-top: 54px; padding-bottom: 60px; }
}
