/* Dog Club — shared styles for dogclubatx.com */

:root {
    --bg: #F7F6F2;
    --surface: #FFFFFF;
    --ink: #141815;
    --ink-soft: #4E5850;
    --ink-faint: #86908A;
    --line: #E2E4DE;
    --accent: #2C6E4E;
    --accent-soft: #E7F0EA;
    --shadow: 0 1px 2px rgba(20,24,21,.05), 0 10px 30px -14px rgba(20,24,21,.18);
    --radius: 16px;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #0F1411;
      --surface: #18201B;
      --ink: #EEF2EE;
      --ink-soft: #A8B3AB;
      --ink-faint: #7A857D;
      --line: #2A332D;
      --accent: #6FC095;
      --accent-soft: #1A251E;
      --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.7);
    }
  }

  :root[data-theme="dark"] {
    --bg: #0F1411; --surface: #18201B; --ink: #EEF2EE; --ink-soft: #A8B3AB;
    --ink-faint: #7A857D; --line: #2A332D; --accent: #6FC095; --accent-soft: #1A251E;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.7);
  }

  :root[data-theme="light"] {
    --bg: #F7F6F2; --surface: #FFFFFF; --ink: #141815; --ink-soft: #4E5850;
    --ink-faint: #86908A; --line: #E2E4DE; --accent: #2C6E4E; --accent-soft: #E7F0EA;
    --shadow: 0 1px 2px rgba(20,24,21,.05), 0 10px 30px -14px rgba(20,24,21,.18);
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { max-width: 700px; margin: 0 auto; padding: 0 24px; }

  h1, h2 {
    font-family: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin: 0;
  }

  a { color: var(--accent); }

  .paw { fill: currentColor; flex: none; }

  /* ---------- masthead ---------- */

  .masthead {
    display: flex; align-items: center; gap: 9px;
    padding: 26px 0 0;
  }

  .masthead .paw { color: var(--accent); }

  .mark {
    font-family: ui-serif, Georgia, serif;
    font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  }

  .masthead .where {
    margin-left: auto; font-size: 12.5px; color: var(--ink-faint);
    letter-spacing: 0.06em; text-transform: uppercase;
  }

  /* ---------- hero ---------- */

  .hero { padding: 60px 0 64px; position: relative; }

  .hero-paw {
    position: absolute; right: -46px; bottom: 14px; top: auto;
    width: 250px; height: 250px;
    color: var(--accent); opacity: .09;
    transform: rotate(16deg); pointer-events: none;
  }

  @media (max-width: 820px) { .hero-paw { display: none; } }

  .kicker {
    position: relative; display: inline-flex; align-items: center; gap: 7px;
    margin: 0 0 22px; padding: 7px 14px 7px 11px;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 999px; font-size: 13.5px; font-weight: 600;
    letter-spacing: 0.01em;
  }

  .hero h1 {
    position: relative; font-size: clamp(38px, 7.6vw, 56px);
    max-width: 13em;
  }

  .hero .lede {
    position: relative; margin: 22px 0 0;
    font-size: clamp(18px, 2.6vw, 20px);
    color: var(--ink-soft); max-width: 25em;
  }

  .hero .lede strong { color: var(--ink); font-weight: 600; }

  .cta-row {
    position: relative; margin-top: 34px; display: flex;
    align-items: center; gap: 18px; flex-wrap: wrap;
  }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff; text-decoration: none;
    font-weight: 600; font-size: 16px; padding: 13px 24px;
    border-radius: 999px; border: none; cursor: pointer;
    font-family: inherit;
    transition: transform .12s ease, filter .12s ease;
  }

  @media (prefers-color-scheme: dark) { .btn { color: #0F1411; } }
  :root[data-theme="dark"] .btn { color: #0F1411; }
  :root[data-theme="light"] .btn { color: #fff; }

  .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }

  .price-note { font-size: 15px; color: var(--ink-faint); }

  .price-note b {
    font-family: ui-serif, Georgia, serif; font-size: 19px;
    font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
  }

  /* ---------- numbers strip ---------- */

  .rules {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line);
  }

  .rule { background: var(--bg); padding: 22px 8px 20px; text-align: center; }

  .rule-icon { color: var(--accent); opacity: .55; display: block; margin: 0 auto 7px; }

  .rule b {
    display: block; font-family: ui-serif, Georgia, serif;
    font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--accent); line-height: 1;
  }

  .rule span {
    display: block; margin-top: 5px; font-size: 12px;
    color: var(--ink-faint); letter-spacing: 0.05em; text-transform: uppercase;
  }

  @media (max-width: 560px) { .rules { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- sections ---------- */

  section { padding: 60px 0; }

  .eyebrow {
    font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase;
    color: var(--accent); font-weight: 700; margin: 0 0 12px;
  }

  h2 { font-size: clamp(28px, 4.8vw, 36px); }

  .section-copy { margin: 16px 0 0; color: var(--ink-soft); max-width: 33em; }
  .section-copy strong { color: var(--ink); font-weight: 600; }

  .photo-band {
    margin-top: 26px; display: grid;
    grid-template-columns: 1fr 1fr; gap: 12px;
  }

  .photo-band img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: var(--radius); display: block;
    background: var(--accent-soft);
  }

  /* ---------- safety ---------- */

  .safety {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px 30px;
    box-shadow: var(--shadow); margin-top: 24px;
  }

  @media (max-width: 560px) { .safety { padding: 24px 20px; } }

  .safety ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px;
  }

  @media (max-width: 560px) { .safety ul { grid-template-columns: 1fr; gap: 14px; } }

  .safety li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 15.5px; color: var(--ink-soft);
  }

  .safety li b { color: var(--ink); font-weight: 600; }

  .check {
    flex: none; width: 20px; height: 20px; margin-top: 1px;
    border-radius: 50%; background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }

  /* ---------- honest fit ---------- */

  .fit { margin-top: 26px; }

  .fit-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 24px;
    box-shadow: var(--shadow);
  }

  .fit-card ul { list-style: none; margin: 0; padding: 0; }

  .fit-note {
    margin: 18px 0 0; padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 15px; color: var(--ink-soft);
  }

  .fit-note strong {
    color: var(--accent); font-weight: 700;
  }

  .fit-card li {
    position: relative; padding-left: 22px; margin-bottom: 10px;
    font-size: 16px; color: var(--ink-soft);
  }

  .fit-card li:last-child { margin-bottom: 0; }

  .fit-card li::before {
    content: ""; position: absolute; left: 2px; top: 9px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--line);
  }

  /* ---------- schedule board ---------- */

  .board-hint {
    margin: 18px 0 0; font-size: 14px; font-weight: 600;
    color: var(--accent);
  }

  .board { margin-top: 14px; display: grid; gap: 12px; }

  .slot-card {
    display: block; width: 100%; text-align: left;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px 22px;
    box-shadow: var(--shadow); cursor: pointer;
    font: inherit; color: inherit;
    transition: border-color .15s ease, transform .15s ease;
  }

  .slot-card:hover { border-color: var(--accent); transform: translateY(-2px); }

  .slot-card.selected { border-color: var(--accent); background: var(--accent-soft); }
  .slot-card.selected .slot-go { color: var(--accent); }
  .slot-card.selected .spot { border-style: solid; border-color: var(--accent); }

  .slot-head {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  }

  .slot-time {
    font-family: ui-serif, Georgia, serif; font-size: 27px;
    font-weight: 600; letter-spacing: -0.02em;
  }

  .slot-meta { font-size: 13.5px; color: var(--ink-faint); }

  .slot-go {
    margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent);
  }

  .slot-body {
    margin-top: 16px; display: flex; align-items: center;
    gap: 20px; flex-wrap: wrap;
  }

  .spots { display: flex; gap: 7px; align-items: center; }

  .spots-label {
    margin-left: 6px; font-size: 14px; font-weight: 700;
    color: var(--accent); line-height: 1.15;
  }

  .spots-label small {
    display: block; font-size: 11.5px; font-weight: 500;
    color: var(--ink-faint); letter-spacing: 0.02em;
  }

  .spot {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px dashed var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
  }

  .days { display: flex; gap: 5px; margin-left: auto; }

  .day {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
    padding: 5px 8px; border-radius: 6px;
    background: var(--accent-soft); color: var(--accent);
  }

  @media (max-width: 480px) {
    .days { margin-left: 0; }
    .slot-go { display: none; }
  }

  /* ---------- steps ---------- */

  .steps {
    margin-top: 26px; display: grid;
    grid-template-columns: repeat(2, 1fr); gap: 22px 30px;
  }

  @media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

  .step b {
    display: flex; align-items: center; gap: 9px;
    font-size: 16px; font-weight: 600; margin-bottom: 4px;
  }

  .step i {
    width: 24px; height: 24px; border-radius: 50%; flex: none;
    background: var(--accent-soft); color: var(--accent);
    font-size: 12px; font-weight: 700; font-style: normal;
    display: flex; align-items: center; justify-content: center;
  }

  .step p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

  /* ---------- about ---------- */

  .about {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow);
  }

  .about-top { display: flex; gap: 26px; align-items: flex-start; }

  @media (max-width: 560px) {
    .about { padding: 24px 20px; }
    .about-top { flex-direction: column; gap: 20px; }
  }

  .portrait {
    width: 168px; height: 168px; border-radius: 50%; flex: none;
    object-fit: cover; object-position: center;
    background: var(--accent-soft);
    border: 3px solid var(--accent-soft);
  }

  .portrait-fallback {
    width: 168px; height: 168px; border-radius: 50%; flex: none;
    background: var(--accent-soft); color: var(--accent);
    display: none; align-items: center; justify-content: center;
    font-family: ui-serif, Georgia, serif; font-size: 52px; font-weight: 600;
  }

  .about h2 { font-size: 27px; }

  .about .lead-line {
    color: var(--ink); font-weight: 600;
    font-size: 18.5px; margin-bottom: 14px;
  }
  .about p { color: var(--ink-soft); font-size: 16px; }
  .about p b { color: var(--ink); font-weight: 600; }
  .about p:last-of-type { margin-bottom: 0; }

  .linkedin {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
    font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent);
  }

  .linkedin:hover { text-decoration: underline; }
  .linkedin svg { flex: none; }

  /* ---------- form ---------- */

  .form-wrap {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow); margin-top: 24px;
  }

  @media (max-width: 560px) { .form-wrap { padding: 24px 20px; } }

  .field { margin-bottom: 16px; }

  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  @media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0; } }

  label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }

  input[type="text"], input[type="tel"], textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; padding: 11px 13px;
    transition: border-color .12s ease, box-shadow .12s ease;
  }

  input::placeholder, textarea::placeholder { color: var(--ink-faint); }

  input:focus, textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }

  textarea { resize: vertical; min-height: 76px; }

  fieldset { border: none; margin: 0 0 18px; padding: 0; }
  legend { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }

  .hint { font-size: 13px; color: var(--ink-faint); margin: 0 0 10px; }

  .slots-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

  @media (max-width: 460px) { .slots-pick { grid-template-columns: 1fr; } }

  .pick { position: relative; }

  .pick input {
    position: absolute; opacity: 0; width: 100%; height: 100%;
    margin: 0; cursor: pointer;
  }

  .pick span {
    display: block; text-align: center; padding: 13px 8px;
    border: 1.5px solid var(--line); border-radius: 10px;
    background: var(--bg); font-weight: 600; font-size: 16px;
    transition: all .12s ease; cursor: pointer;
  }

  .pick span small {
    display: block; font-weight: 400; font-size: 12.5px;
    color: var(--ink-faint); margin-top: 1px;
  }

  .pick input:hover + span { border-color: var(--accent); }
  .pick input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }

  .pick input:checked + span {
    border-color: var(--accent); background: var(--accent-soft); color: var(--accent);
  }

  .pick input:checked + span small { color: var(--accent); }

  .submit-row {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; margin-top: 24px;
  }

  .fineprint { font-size: 13.5px; color: var(--ink-faint); max-width: 22em; }

  .status {
    margin-top: 16px; padding: 14px 16px; border-radius: 10px;
    font-size: 15px; display: none;
  }

  .status.show { display: block; }
  .status.ok { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
  .status.err { background: var(--accent-soft); color: var(--ink); border: 1px solid var(--line); }

  .hp { position: absolute; left: -9999px; opacity: 0; }

  /* ---------- footer ---------- */

  footer {
    border-top: 1px solid var(--line); padding: 30px 0 44px;
    font-size: 14px; color: var(--ink-faint);
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  }

  footer a { color: var(--ink-faint); }
