/* 2 Dog Hotel — static site */

:root {
  --ivory: #f7f3eb;
  --ivory-deep: #efe8dc;
  --forest: #2f4a3c;
  --forest-deep: #243a2f;
  --terracotta: #b56a4a;
  --terracotta-deep: #9a5740;
  --charcoal: #2a2a28;
  --muted: #5c5a54;
  --line: rgba(42, 42, 40, 0.12);
  --white: #fffcf7;
  --max: 68rem;
  --narrow: 42rem;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --radius: 0.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.2;
  color: var(--forest-deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--forest);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
}

.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--ivory);
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  width: 3.25rem;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.site-header--solid .brand__logo {
  filter: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.95;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav__phone {
  color: inherit;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(100vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 26, 20, 0.72) 0%, rgba(18, 26, 20, 0.28) 22%, rgba(18, 26, 20, 0.12) 42%, rgba(18, 26, 20, 0.62) 100%),
    linear-gradient(90deg, rgba(18, 26, 20, 0.5) 0%, rgba(18, 26, 20, 0.12) 58%);
}

.site-header:not(.site-header--solid) .nav a,
.site-header:not(.site-header--solid) .brand__name {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6.5rem 1.25rem 3.5rem;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero__logo {
  width: clamp(4.5rem, 12vw, 6.5rem);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__tag {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 28rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 252, 247, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button--primary {
  background: var(--terracotta);
  color: var(--white);
}

.button--primary:hover {
  background: var(--terracotta-deep);
  color: var(--white);
}

.button--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 247, 0.7);
}

.button--ghost:hover {
  background: rgba(255, 252, 247, 0.12);
  color: var(--white);
}

.button--solid {
  background: var(--forest);
  color: var(--white);
}

.button--solid:hover {
  background: var(--forest-deep);
  color: var(--white);
}

/* Page banner (About) */

.page-banner {
  position: relative;
  min-height: 18rem;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-banner__media {
  position: absolute;
  inset: 0;
}

.page-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 22, 0.25), rgba(20, 28, 22, 0.62));
}

.page-banner__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 5.5rem 1.25rem 2rem;
}

.page-banner h1 {
  color: var(--white);
}

/* Sections */

.section {
  padding: var(--space-xl) 1.25rem;
}

.section--alt {
  background: var(--ivory-deep);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: var(--narrow);
}

.section__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
}

.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
  }

  .split--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split--reverse .split__media {
    order: -1;
  }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 28rem;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(36, 58, 47, 0.12);
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

.gallery__item:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 24, 22, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__figure {
  margin: 0;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
}

.lightbox__figure img {
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
}

.lightbox__caption {
  color: rgba(255, 252, 247, 0.85);
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 252, 247, 0.12);
  color: var(--white);
  cursor: pointer;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
}

.lightbox__nav--prev {
  left: 0.75rem;
}

.lightbox__nav--next {
  right: 0.75rem;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 252, 247, 0.22);
}

/* Testimonials */

.testimonials {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border-left: 3px solid var(--terracotta);
}

.testimonial p {
  font-size: 1.05rem;
}

.testimonial footer {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
}

/* Pricing */

.pricing {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.pricing li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.pricing strong {
  font-weight: 600;
  color: var(--forest-deep);
}

.note {
  font-size: 1rem;
  color: var(--muted);
}

.note + .note {
  margin-top: 0.75rem;
}

/* Videos */

.videos {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .videos {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video {
  display: grid;
  gap: 0.65rem;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video figcaption {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Directions / map */

.directions {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 850px) {
  .directions {
    grid-template-columns: 1fr 1fr;
  }
}

.directions h3 {
  margin-top: 0;
}

.map {
  margin-top: var(--space-lg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  min-height: 16rem;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact strip */

.contact-block {
  display: grid;
  gap: 0.85rem;
}

.contact-block a {
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 252, 247, 0.88);
  padding: 2.5rem 1.25rem;
}

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

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.site-footer__meta {
  font-size: 0.95rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero {
    min-height: 85vh;
  }

  .brand__name {
    display: none;
  }
}
