/* What's Up Dog Classic: the shared look of the homepage and every information page (header, menus, footer,
   cookie notice, and the content pieces the pages are built from). Page-only layout stays in each page. */
:root {
  --blue: #2B45A3;
  --red: #D22023;
  --salmon: #E16C6E;
  --green: #06B553;
  --yellow: #FFE974;
  --sky: #88D2FB;
  --ink: #000;
  --near-black: #050000;
  --display: 'Marcellus', Georgia, serif;
  --body: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 50px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--blue); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--blue); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.hdr { background: var(--blue); color: #fff; position: relative; }
.hdr-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
.hdr-logo img { width: 280px; height: auto; }
.hdr-login { justify-self: end; align-self: center; margin-top: 50px; color: #fff; text-decoration: none; font-size: 16px; }
.hdr-login:hover, .hdr-login:focus { text-decoration: underline; }
.nav { display: flex; justify-content: center; gap: 0; margin: 0; padding: 24px 0 26px; }
.nav > li { list-style: none; position: relative; }
.nav a, .nav button { display: block; padding: 6px 25px; color: #fff; text-decoration: none; font: 15.5px var(--body); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover, .nav a:focus, .nav button:focus { text-decoration: underline; }
.nav [aria-current="page"], .nav [data-current] { text-decoration: underline; text-underline-offset: 5px; }
.drop { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; background: var(--blue); min-width: 200px; padding: 10px 0; margin: 0; z-index: 20; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.drop li { list-style: none; }
.drop a { padding: 7px 22px; white-space: nowrap; text-align: center; }
.has-drop.open .drop { display: block; }
@media (hover: hover) { .has-drop:hover .drop { display: block; } }
.burger { display: none; }
.mnav { display: none; }

/* ---------- footer ---------- */
.foot { padding: 250px 0 140px; }
.foot ul { display: flex; justify-content: space-around; flex-wrap: wrap; margin: 0; padding: 0 0 14px; border-bottom: 1px solid #f1ecd0; }
.foot li { list-style: none; padding: 6px 10px; }
.foot a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue); font-size: 16px; }
.foot a:hover, .foot a:focus { border-bottom-width: 2px; }

/* ---------- cookie bar ---------- */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 24px; justify-content: space-between; background: var(--blue); color: #fff; padding: 14px 20px; font-size: 14px; }
.cookies.show { display: flex; }
.cookies button { flex: none; border: 0; border-radius: 999px; background: var(--sky); color: #000; padding: 9px 16px; font: 14px var(--body); text-transform: uppercase; cursor: pointer; }

/* ---------- information pages: type ---------- */
/* Heading sizes follow the old site's scale (h1 2.8, h2 2.5, h3 2, h4 1.2), which grows with the viewport. */
.wc { padding: 46px 0 0; }
.wc h1, .wc h2, .wc h3, .wc h4 { margin: 0 0 .5em; font-family: var(--display); font-weight: 400; line-height: 1.2; }
.wc h1 { font-size: calc(2.16vw + 1rem); }
.wc h2 { font-size: calc(1.8vw + 1rem); }
.wc h3 { font-size: calc(1.2vw + 1rem); line-height: 1.25; }
.wc h4 { font-size: calc(.24vw + 1rem); line-height: 1.45; }
.wc p { margin: 0 0 1em; }
.wc .center { text-align: center; }
.wc strong, .wc b { font-weight: 700; }
.wc u { text-underline-offset: 3px; }
.c-blue { color: var(--blue); }
.c-red { color: var(--red); }
.c-yellow { color: var(--yellow); }
.c-sky { color: var(--sky); }
.c-white { color: #fff; }
.c-ink { color: var(--near-black); }
.c-green { color: var(--green); }
.c-bright-red { color: #F70808; }

/* ---------- information pages: pieces ---------- */
/* Blue card: square top-right and bottom-left corners, rounded on the other two, as on the old site. */
.wc-card { background: var(--blue); color: #fff; border-radius: 24px 0 24px 0; padding: 36px 44px; }
.wc-card > :last-child { margin-bottom: 0; }
.wc-card a { color: inherit; }
.wc-card-title { display: flex; align-items: center; justify-content: center; text-align: center; }
.wc-circle { width: 170px; height: 170px; flex: none; border-radius: 50%; overflow: hidden; }
.wc-circle img { width: 100%; height: 100%; object-fit: cover; }
.wc-photo { border-radius: 14px; overflow: hidden; }
.wc-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Accordion: native details/summary, one open at a time where the browser supports details[name]. */
.wc-acc details { border-bottom: 1px solid var(--blue); }
.wc-acc details:last-child { border-bottom: 0; }
.wc-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 0; cursor: pointer; list-style: none; font: 400 19px/1.3 var(--display); color: var(--blue); }
.wc-acc summary::-webkit-details-marker { display: none; }
.wc-acc summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat; }
.wc-acc details[open] > summary::after { background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat; }
.wc-acc summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wc-acc .acc-body { padding: 0 0 26px; }
.wc-acc .acc-body p { margin: 0 0 .45em; }

/* Pill buttons: red is the old site's primary button; dark and blue are its other two. */
.wc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 44px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 15px/1.2 var(--body); letter-spacing: .02em; text-align: center; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.wc-btn:hover, .wc-btn:focus { background: #B51A1D; }
.wc-btn.dark { background: #000; }
.wc-btn.dark:hover, .wc-btn.dark:focus { background: #222; }
.wc-btn.blue { background: var(--blue); }
.wc-btn.blue:hover, .wc-btn.blue:focus { background: #213785; }

/* Cancellation policy: red caps heading, blue copy, the charge sentence underlined in red. */
.wc-policy h4 { margin: 0 0 1.2em; color: var(--red); font: 700 17px/1.4 var(--body); text-transform: uppercase; }
.wc-policy p { font-size: 15.5px; line-height: 1.75; }
.wc-policy .charge { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Requirements: small bold lines with red bullets. */
.wc-req { margin: 0; padding: 0 0 0 18px; color: #000; font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.wc-req li { margin: 0 0 .7em; }
.wc-req li::marker { color: var(--red); }
.wc-req .r { color: var(--red); }
.wc-req a { color: #000; }

/* Form fields shared by the Contact and Employment forms. */
.wc-form { display: grid; gap: 18px; }
.wc-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wc-form label { display: block; margin: 0 0 6px; color: var(--blue); font-size: 15.5px; }
.wc-form .req { margin-left: 6px; color: #6E7AA8; font-size: 13px; }
.wc-form .hint { display: block; margin: -2px 0 8px; color: #6E7AA8; font-size: 13.5px; }
.wc-form input[type=text], .wc-form input[type=email], .wc-form input[type=tel], .wc-form select, .wc-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--blue); border-radius: 6px; background: #fff; color: #222; font: 15px var(--body); }
.wc-form textarea { min-height: 96px; resize: vertical; }
.wc-form fieldset { margin: 0; padding: 0; border: 0; }
.wc-form legend { margin: 0 0 6px; padding: 0; color: var(--blue); font-size: 15.5px; }
.wc-form .opt { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--blue); font-size: 15px; }
.wc-form .opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.wc-form .status { min-height: 1.2em; margin: 0; font-size: 15px; }
.wc-form .captcha:empty { display: none; }
.wc-form hr { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 30px; }
}
@media (max-width: 767px) {
  :root { --gutter: 30px; }
  body { font-size: 15px; }
  .hdr-top { grid-template-columns: 70px 1fr 70px; padding: 30px var(--gutter) 30px; }
  .hdr-spacer { display: none; }
  .hdr-logo { justify-self: center; }
  .hdr-logo img { width: 200px; }
  .hdr-login, .nav { display: none; }
  .burger { display: block; justify-self: start; width: 40px; height: 40px; padding: 0; background: none; border: 0; cursor: pointer; }
  .burger span { display: block; width: 36px; height: 1.5px; background: #fff; margin: 8px 0; transition: transform .2s, opacity .2s; }
  .mnav.open { display: block; position: fixed; inset: 0; z-index: 30; background: var(--blue); padding: 110px 30px 40px; overflow-y: auto; }
  .mnav ul { margin: 0; padding: 0; }
  .mnav li { list-style: none; }
  .mnav a, .mnav button { display: block; width: 100%; padding: 10px 0; color: #fff; text-decoration: none; text-align: left; font: 30px/1.3 var(--body); background: none; border: 0; cursor: pointer; }
  .mnav .sub { display: none; padding-left: 0; }
  .mnav .sub.open { display: block; }
  .mnav .sub a { font-size: 24px; }
  .mnav .back { font-size: 18px; opacity: .85; }
  .mnav .login { margin-top: 30px; font-size: 20px; }
  .mnav-close { position: absolute; top: 40px; left: 30px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }
  .mnav-close span { position: absolute; left: 2px; top: 19px; width: 36px; height: 1.5px; background: #fff; }
  .mnav-close span:first-child { transform: rotate(45deg); }
  .mnav-close span:last-child { transform: rotate(-45deg); }

  .foot { padding: 0 0 60px; }
  .foot ul { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; row-gap: 26px; border-bottom: 1px solid #e5e5e5; padding-bottom: 14px; }
  .foot li.app { grid-column: 1 / span 2; order: 9; }
  .cookies { flex-direction: column; align-items: flex-start; gap: 14px; }

  .wc { padding-top: 30px; }
  .wc h1 { font-size: 34px; }
  .wc h2 { font-size: 30px; }
  .wc h3 { font-size: 25px; }
  .wc h4 { font-size: 17px; }
  .wc-card { padding: 28px 24px; }
  .wc-circle { width: 140px; height: 140px; }
  .wc-form .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
