@font-face {
  font-family: "Baloo 2 OHW";
  src: url("assets/baloo-2-latin-800.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --teal: #196b6b;
  --deep: #12313a;
  --cream: #fff6e8;
  --peach: #f4a261;
  --coral: #b8452f;
  --mint: #cce8df;
  --blue: #d8ecf3;
  --line: #ead9c6;
  --white: #fffaf1;
  --copy-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--deep);
  font-family: var(--copy-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.announcement {
  background: var(--teal);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgb(255 246 232 / 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--teal);
  font-family: "Baloo 2 OHW", "Arial Rounded MT Bold", "Trebuchet MS", Arial, system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
}

nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

nav a,
.header-action,
.mobile-menu-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.mobile-menu-toggle {
  display: none;
  background: var(--white);
  cursor: pointer;
  min-height: auto;
}

.header-action {
  background: var(--coral);
  color: white;
  cursor: pointer;
  min-height: auto;
}

.day-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr) minmax(280px, 0.9fr);
  grid-template-rows: minmax(520px, auto) minmax(150px, auto);
  gap: 16px;
  padding: clamp(18px, 4vw, 48px);
}

.intro-card,
.booking-card,
.mini-card,
.routine,
.safety-strip,
.full-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-card {
  display: grid;
  align-content: center;
  grid-column: 1;
  grid-row: 1;
  padding: clamp(30px, 5vw, 64px);
}

.portrait-card {
  grid-column: 2;
  grid-row: 1;
  min-height: 100%;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(18 49 58 / 0), rgb(18 49 58 / 0.22)),
    url("assets/doggy-day-care-portrait.webp")
      center / cover;
}

.booking-card {
  display: grid;
  align-content: start;
  gap: 16px;
  grid-column: 3;
  grid-row: 1;
  padding: 24px;
}

.booking-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.booking-card p {
  margin: 0;
}

.booking-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(25 107 107 / 0.18);
}

.booking-list li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgb(25 107 107 / 0.18);
}

.booking-list strong {
  color: var(--deep);
  font-size: 1rem;
  line-height: 1.15;
}

.booking-list span {
  color: rgb(18 49 58 / 0.7);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.mini-card {
  display: grid;
  align-content: center;
  min-height: 150px;
  background: var(--blue);
  padding: 24px;
}

.mini-card--mint {
  grid-column: 1;
  grid-row: 2;
  background: var(--mint);
}

.mini-card--grooming {
  grid-column: 2;
  grid-row: 2;
  background: var(--peach);
}

.mini-card:not(.mini-card--mint, .mini-card--grooming) {
  grid-column: 3;
  grid-row: 2;
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kicker,
.mini-card span,
.timeline span {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mini-card span,
.timeline span {
  color: var(--teal);
}

.mini-card--grooming span {
  color: var(--deep);
}

.kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgb(25 107 107 / 0.18);
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal);
  letter-spacing: 0.08em;
  padding: 8px 12px;
}

h1,
h2 {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-top: 14px;
  font-size: clamp(3.2rem, 6vw, 4.5rem);
  line-height: 1;
}

h2 {
  max-width: 680px;
  margin-top: 12px;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.05;
}

h3 {
  margin: 10px 0 0;
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  line-height: 1.2;
}

p,
li {
  color: rgb(18 49 58 / 0.74);
  font-family: var(--copy-font);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.68;
}

.mini-card strong {
  color: var(--deep);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.05;
}

form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--deep);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

.date-placeholder {
  display: none;
}

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

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

legend {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 8px;
  text-transform: uppercase;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 14px 20px;
}

.meet-modal {
  width: min(980px, calc(100vw - 32px));
  max-height: min(880px, calc(100svh - 32px));
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep);
  padding: 0;
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.meet-modal::backdrop {
  background: rgb(18 49 58 / 0.64);
}

.meet-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: rgb(255 250 241 / 0.96);
  padding: clamp(22px, 4vw, 38px);
}

.meet-modal h2 {
  max-width: 715px;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.contact-modal {
  width: min(680px, calc(100vw - 32px));
}

.modal-close {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--deep);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.meet-form {
  margin: 0;
  padding: clamp(22px, 4vw, 38px);
}

.request-type {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--cream);
}

.request-type label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  color: var(--deep);
  letter-spacing: 0;
  text-transform: none;
}

.request-type input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--coral);
}

.request-type strong,
.request-type small {
  display: block;
}

.request-type strong {
  color: var(--deep);
  font-size: 1rem;
  line-height: 1.25;
}

.request-type small {
  margin-top: 4px;
  color: rgb(18 49 58 / 0.68);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-note,
.form-status {
  margin: 0;
}

.form-note {
  color: rgb(18 49 58 / 0.62);
  font-size: 0.95rem;
}

.form-status {
  color: var(--teal);
  font-weight: 900;
}

.routine {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(34px, 6vw, 70px);
  margin: 0 clamp(18px, 4vw, 48px);
  padding: clamp(42px, 7vw, 82px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.timeline article {
  min-height: 250px;
  background: var(--cream);
  padding: 24px;
}

.safety-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 70px);
  margin: clamp(18px, 4vw, 48px);
  padding: clamp(42px, 7vw, 82px);
  background: var(--mint);
}

.safety-strip ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(25 107 107 / 0.22);
}

.safety-strip li {
  padding: 20px 0;
  border-bottom: 1px solid rgb(25 107 107 / 0.22);
  color: var(--deep);
  font-weight: 900;
}

.photo-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--deep);
}

.photo-row div {
  min-height: 390px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.photo-row div:nth-child(1) {
  background-image: url("assets/golden-dog-flower.webp");
  background-position: center 35%;
}

.photo-row div:nth-child(2) {
  background-image: url("assets/chow-frenchie-grass.webp");
}

.photo-row div:nth-child(3) {
  background-image: url("assets/dogs-training.webp");
}

.full-form {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 70px);
  margin: clamp(18px, 4vw, 48px);
  padding: clamp(42px, 7vw, 82px);
}

.booking-cta {
  display: grid;
  align-content: center;
  gap: 22px;
}

.booking-cta p {
  max-width: 560px;
  margin: 0;
}

.booking-cta button {
  justify-self: start;
}

.site-footer {
  margin-top: clamp(18px, 3vw, 36px);
  background: var(--deep);
  color: var(--white);
  padding: clamp(18px, 3vw, 32px);
}

.footer-main {
  display: grid;
  width: min(100%, 1060px);
  margin-inline: auto;
  grid-template-columns: minmax(300px, 1fr) 200px 240px 220px;
  gap: 1px;
  border: 1px solid rgb(255 246 232 / 0.16);
  background: rgb(255 246 232 / 0.16);
}

.footer-brand,
.footer-column {
  background: var(--deep);
  padding: clamp(20px, 2.2vw, 28px);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-brand-name {
  display: block;
  max-width: 360px;
  color: var(--mint);
  font-family: "Baloo 2 OHW", "Arial Rounded MT Bold", "Trebuchet MS", Arial, system-ui, sans-serif;
  font-size: clamp(2rem, 2.85vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.footer-brand p {
  max-width: 340px;
  margin: 0;
  color: rgb(255 250 241 / 0.76);
  font-size: 0.94rem;
  line-height: 1.5;
}

.footer-action,
.footer-nav button {
  justify-self: start;
  background: var(--coral);
  color: white;
}

.footer-action {
  min-height: 42px;
  padding: 10px 16px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-heading {
  margin: 0;
  color: var(--peach);
  font-family: var(--copy-font);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.footer-list div {
  display: grid;
  gap: 4px;
}

.footer-list dt,
.footer-list dd,
.footer-column address,
.footer-column a,
.footer-contact-button,
.footer-nav button {
  color: rgb(255 250 241 / 0.8);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-list dd {
  margin: 0;
  color: var(--white);
}

.footer-column address {
  margin: 0;
}

.footer-column a {
  width: fit-content;
  letter-spacing: 0;
  text-transform: none;
}

.footer-contact-button {
  display: inline-flex;
  width: fit-content;
  justify-self: start;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-contact-button:hover,
.footer-contact-button:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--mint);
}

.footer-nav {
  gap: 11px;
  justify-content: start;
  justify-items: start;
}

.footer-nav a,
.footer-nav button {
  display: inline-flex;
  width: fit-content;
}

.footer-nav a {
  border: 0;
  border-radius: 0;
  padding: 0;
}

.footer-nav button {
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.footer-bottom {
  display: flex;
  width: min(100%, 1060px);
  margin-inline: auto;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  color: rgb(255 250 241 / 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: var(--white);
}

.footer-bottom span {
  max-width: 640px;
  color: rgb(255 250 241 / 0.52);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .site-header,
  .day-board,
  .routine,
  .safety-strip,
  .full-form {
    grid-template-columns: 1fr;
  }

  .day-board {
    grid-template-rows: auto;
  }

  nav {
    justify-content: start;
    flex-wrap: wrap;
  }

  .header-action {
    justify-self: start;
  }

  .day-board > .intro-card,
  .day-board > .portrait-card,
  .day-board > .booking-card,
  .day-board > .mini-card {
    grid-column: 1;
    grid-row: auto;
  }

  .day-board > .portrait-card,
  .day-board > .booking-card,
  .day-board > .mini-card,
  .routine,
  .safety-strip,
  .photo-row,
  .full-form {
    content-visibility: auto;
    contain-intrinsic-size: 340px;
  }

  .timeline,
  .photo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 206px;
  }

  body {
    padding-top: 196px;
  }

  .announcement {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    min-height: 56px;
    text-align: left;
    transform: translateZ(0);
  }

  .site-header {
    position: fixed;
    inset: 56px 0 auto 0;
    z-index: 29;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 12px 14px;
    padding: 16px 18px 10px;
    box-shadow: 0 1px 0 var(--line);
    transform: translateZ(0);
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    max-width: 190px;
    font-size: 1.45rem;
    justify-self: start;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    justify-self: end;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 180ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open nav {
    grid-row: 2;
    max-height: 180px;
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--white);
  }

  .header-action {
    grid-column: 1 / -1;
    grid-row: 2;
    display: inline-flex;
    align-self: center;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
  }

  .site-header.is-menu-open .header-action {
    grid-row: 3;
  }

  .intro-card {
    padding-inline: 16px;
  }

  .kicker-row {
    gap: 4px;
  }

  .kicker-row .kicker {
    white-space: nowrap;
    font-size: clamp(0.45rem, 2.15vw, 0.56rem);
    letter-spacing: 0;
    padding: 6px 4px;
  }

  .timeline,
  .photo-row {
    grid-template-columns: 1fr;
  }

  .form-grid,
  fieldset {
    grid-template-columns: 1fr;
  }

  .meet-modal {
    max-width: calc(100vw - 24px);
    touch-action: pan-y;
  }

  .meet-modal__header {
    grid-template-columns: 1fr;
    max-width: 100%;
    overflow-x: hidden;
    padding: 22px 88px 22px 22px;
    touch-action: pan-y;
  }

  .meet-form {
    max-width: 100%;
    overflow-x: hidden;
    touch-action: pan-y;
  }

  .meet-form label,
  .meet-form input,
  .meet-form select,
  .meet-form textarea {
    min-width: 0;
    max-width: 100%;
  }

  .request-type {
    grid-template-columns: 1fr;
  }

  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    justify-self: auto;
  }

  .date-field {
    position: relative;
    width: 100%;
  }

  .date-field input[type="date"] {
    display: block;
    width: 100%;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .date-field.is-filled input[type="date"] {
    color: var(--deep);
    -webkit-text-fill-color: var(--deep);
  }

  .date-placeholder {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 15px;
    left: 14px;
    display: block;
    color: rgb(18 49 58 / 0.56);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    pointer-events: none;
    text-transform: none;
  }

  .date-field.is-filled .date-placeholder {
    display: none;
  }

  .portrait-card,
  .photo-row div {
    min-height: 320px;
  }

  .site-footer {
    margin-top: 18px;
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .footer-brand,
  .footer-column {
    padding: 28px 22px;
  }

  .footer-brand {
    gap: 24px;
  }

  .footer-brand-name {
    max-width: 300px;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-action {
    width: 100%;
  }

  .footer-column {
    gap: 14px;
  }

  .footer-nav {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .footer-column a,
  .footer-contact-button,
  .footer-nav button {
    width: 100%;
    min-height: 44px;
    align-items: center;
    border-top: 1px solid rgb(255 246 232 / 0.12);
  }

  .footer-nav a {
    justify-content: flex-start;
    background: transparent;
  }

  .footer-nav button {
    color: rgb(255 250 241 / 0.8);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
    padding: 18px 22px 22px;
  }
}
