/* Dog Boarding + Daycare (/dogs). Loads after skoolie.css, which supplies the drawn
   vehicle (.bus-*) and the tag roster; this file repaints the vehicle as the dog shuttle. */

.dog-hero { padding-block: 1.5rem 5rem; }
.dog-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }

/* The shuttle: the skoolie bus, shorter and lime. */
.dog-hero .bus { aspect-ratio: 860 / 520; animation: none; }
.dog-hero .bus-body { background: var(--tag-lime); }
.dog-hero .bus-body::before { right: 18%; }
.dog-hero .bus-line { font-size: max(2.3cqi, 0.7rem); }
.dog-hero .bus-windows { width: 66%; height: 39%; top: 14%; gap: 2cqi; }
.dog-hero .bus-windows li { border-width: 1.3cqi; border-radius: 2cqi; }
.dog-hero .bus-windows li:nth-child(1) img { object-position: 40% 30%; }
.dog-hero .bus-windows li:nth-child(2) img { object-position: 50% 35%; }
.dog-hero .bus-windows li:nth-child(3) img { object-position: 50% 40%; }
.dog-hero .bus-door { right: 15%; width: 12%; top: 14%; height: 54%; border-width: 1.3cqi; }
.dog-hero .bus-shield { width: 13%; right: 1%; height: 42%; border-width: 1.3cqi; border-radius: 1.6cqi 10cqi 1.6cqi 1.6cqi; }
.dog-hero .bus-name { font-size: 8.8cqi; top: 57%; }
.dog-hero .bus-rail { height: 1.1cqi; right: 29%; }
.dog-hero .bus-rail.r1 { top: 79%; } .dog-hero .bus-rail.r2 { top: 82.5%; }
.dog-hero .wheel { width: 15%; box-shadow: 0 0 0 1.8cqi var(--field); }
.dog-hero .wheel.w1 { left: 9%; } .dog-hero .wheel.w2 { right: 15%; }
.dog-hero .mirror { width: 3%; }
.dog-hero .marker-note { display: block; margin-top: 1rem; color: var(--bone); font-size: clamp(1.5rem, 2.1vw, 1.8rem); transform: rotate(-2deg); transform-origin: 0 50%; }

/* The form hangs as a bone ear tag. */
.form-tag { position: relative; padding-top: 1.6rem; }
.form-tag::before {
  content: ""; position: absolute; z-index: 3; left: 50%; top: -1.2rem;
  width: 2.4rem; height: 4.8rem; margin-left: -1.2rem;
  border: 5px solid var(--steel); border-radius: 50%;
}
.form-tag .swing { transform: rotate(2deg); transform-origin: 50% 2rem; transition: transform 0.9s var(--swing); }
@media (prefers-reduced-motion: no-preference) {
  .form-tag:hover .swing, .form-tag:focus-within .swing { transform: rotate(0); }
}
.form-tag .tag { --hole: 12px; --hole-y: 34px; padding: 4.6rem clamp(1.25rem, 2.5vw, 2rem) 1.75rem; }
.form-tag h2 { font: 900 clamp(2.4rem, 3.6vw, 3.4rem)/0.88 var(--display); text-transform: uppercase; }
.form-tag .lede { margin-top: 0.6rem; font-size: 1.02rem; color: var(--ink-soft); }
.wait-form { display: grid; gap: 0.9rem; margin-top: 1.25rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font: 800 1rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 6px;
  padding: 0.7rem 0.8rem; min-height: 3rem;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b6d63; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--field); box-shadow: 0 0 0 4px var(--tag-lime); }
.field input:user-invalid { border-color: #b3361b; }
.wait-form .btn { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); }

/* Services row and the rest reuse skoolie.css (.onboard, .roster, .sec-head, .close). */
.jump { display: none; }
.sample-label { margin-top: 1rem; font-size: 0.92rem; color: #d6e2d0; }
.chip { display: inline-block; margin-top: 0.75rem; align-self: flex-start; background: var(--tag-lime); color: var(--ink); padding: 0.3rem 0.55rem; border-radius: 4px; font: 800 0.9rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.roster .tag--forming { display: flex; flex-direction: column; color: var(--field-ink); }
.close-links .l { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 3px var(--tag-lime); }
.close-links .l:hover { background: rgba(138, 214, 95, 0.15); }
.roster.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Quiet passage: the welcome committee. */
.welcome { background: var(--bone); color: var(--ink); padding-block: clamp(4.5rem, 9vw, 8rem); }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.welcome h2 { font: 900 clamp(2.6rem, 5vw, 4.6rem)/0.9 var(--display); text-transform: uppercase; }
.welcome p { margin-top: 1.25rem; max-width: 40ch; color: var(--ink-soft); font-size: 1.15rem; }
.welcome .marker { display: block; margin-top: 1.4rem; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--field); transform: rotate(-2deg); transform-origin: 0 50%; }
.welcome figure { margin: 0; }
.welcome img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%; border: 8px solid var(--ink); border-radius: 14px; transform: rotate(1.5deg); box-shadow: 0 14px 18px rgba(20, 20, 20, 0.18); }
.welcome figcaption { margin-top: 0.9rem; font-family: var(--marker); font-size: 1.15rem; color: var(--ink-soft); }

@media (max-width: 1100px) {
  .dog-grid { grid-template-columns: 1fr; }
  .form-tag { max-width: 34rem; margin: 2.5rem auto 0; }
  .jump { display: inline-flex; margin-top: 1.25rem; }
  .form-tag .swing { transform: rotate(0.8deg); }
  .roster.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dog-hero .bus { aspect-ratio: 760 / 520; }
  .dog-hero .bus-windows { grid-template-columns: repeat(2, 1fr); width: 64%; }
  .dog-hero .bus-windows li:nth-child(3) { display: block; }
  .dog-hero .bus-windows li:nth-child(2) { display: none; }
  .dog-hero .bus-name { font-size: 9.4cqi; top: 57%; }
  .dog-hero .bus-windows { height: 37%; }
  .welcome-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .roster.five { grid-template-columns: 1fr; }
}

/* Service tags: text sits in the middle of the tag (centring itself lives in site.css). */
.roster.five .tag--forming { justify-content: center; padding-inline: 1.4rem; padding-top: 3.8rem; }
.roster.five p { max-width: 26ch; }
.form-tag .lede { max-width: 30ch; }
.form-tag .wait-form { text-align: left; }
