/* Happy Woofs — static pages (legal, policies) matching storefront chrome */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Mulish:wght@400;500;600;700;800&display=swap');

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

html { scroll-behavior: smooth; }

body.hw-static {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2e2620;
  background: #faf5ec;
  -webkit-font-smoothing: antialiased;
}

.hw-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #2e2620;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 600;
}
.hw-skip:focus { left: 0; }

a { color: #b4531c; text-decoration: none; font-weight: 600; }
a:hover { color: #8a3f12; }

/* Header — matches index.html storefront */
.hw-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #faf5ec;
  border-bottom: 1px solid #eadfca;
}

.hw-header-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.hw-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hw-logo img {
  height: 100px;
  width: auto;
  display: block;
  border-radius: 12px;
  background: #ffb850;
}

.hw-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.hw-btn-ghost {
  height: 42px;
  padding: 0 14px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  color: #2e2620;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.hw-btn-ghost:hover {
  background: rgba(46, 38, 32, 0.06);
  color: #2e2620;
}

.hw-nav {
  border-top: 1px solid #eadfca;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.hw-nav a {
  color: #2e2620;
  font-weight: 600;
  text-decoration: none;
}
.hw-nav a:hover { color: #b4531c; }
.hw-nav a[aria-current="page"] {
  color: #b4531c;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hw-nav-toggle {
  display: none;
  height: 44px;
  width: 44px;
  min-width: 44px;
  padding: 0;
  border: 2px solid #2e2620;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  color: #2e2620;
  align-items: center;
  justify-content: center;
}

/* Main */
.hw-main {
  flex: 1;
  padding: 40px 24px 56px;
}

.hw-container {
  max-width: 760px;
  margin: 0 auto;
}

.hw-prose h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: #2e2620;
}

.hw-prose h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: #2e2620;
}

.hw-prose p,
.hw-prose li {
  color: #4a3f34;
  font-weight: 500;
}

.hw-prose p { margin: 0 0 14px; }

.hw-prose ul,
.hw-prose ol {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

.hw-prose li { margin-bottom: 8px; }

.hw-prose em {
  display: block;
  background: #fff8ea;
  border: 1.5px solid #e2d7c2;
  border-radius: 12px;
  padding: 12px 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: #7c7266;
  margin: 16px 0 24px;
}

.hw-lead {
  font-size: 1.05rem;
  color: #5c4f42;
  margin-bottom: 8px !important;
}

.hw-meta {
  font-size: 14px;
  color: #a89a86;
  font-weight: 600;
  margin-bottom: 20px !important;
}

/* Footer — matches index.html */
.hw-footer {
  background: #2e2620;
  color: #e9e0d0;
  margin-top: auto;
}

.hw-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hw-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.hw-footer-brand {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffb850;
  margin-bottom: 6px;
}

.hw-footer-detail {
  font-weight: 600;
  font-size: 13px;
  color: #b7ab97;
  line-height: 1.55;
}

.hw-footer-contact {
  font-weight: 600;
  font-size: 14px;
  color: #b7ab97;
  line-height: 1.7;
}
.hw-footer-contact a { color: #ffb850; }
.hw-footer-contact a[href^="tel"] { color: #e9e0d0; }

.hw-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 12px;
}
.hw-footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffb850;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.hw-footer-socials a:hover { color: #ffd089; }
.hw-footer-socials svg { flex-shrink: 0; }

.hw-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-weight: 600;
  font-size: 13px;
  color: #8f8570;
  border-top: 1px solid #4a3f34;
  padding-top: 14px;
  align-items: center;
}
.hw-footer-links a { color: #e9e0d0; font-weight: 600; }
.hw-footer-links a.hw-footer-staff { color: #8f8570; }
.hw-footer-links a[aria-current="page"] { color: #ffb850; }
.hw-footer-copy { margin-left: auto; }

.hw-footer-studio {
  border-top: 1px solid #4a3f34;
  padding-top: 14px;
  display: flex;
  justify-content: center;
}
.hw-footer-studio a {
  display: inline-flex;
  text-decoration: none;
  color: #b7ab97;
}
.hw-footer-studio a:hover { color: #e9e0d0; }
.hw-footer-studio-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.hw-footer-studio-line { letter-spacing: 0.02em; }

.studio-credit-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.studio-credit-wordmark {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #edf0f1;
  text-transform: lowercase;
}

.studio-credit-dot {
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  margin: 0 0.12em;
  border-radius: 50%;
  background-color: #12a574;
  vertical-align: 0.1em;
}

.studio-credit-tagline {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 240, 241, 0.55);
}

.studio-credit:hover .studio-credit-wordmark {
  color: #edf0f1;
}


@media (max-width: 720px) {
  .hw-header-top {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
  }
  .hw-header-top { overflow: hidden; }
  .hw-logo {
    grid-column: 2;
    justify-self: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .hw-logo img { height: 44px; max-width: 100%; object-fit: contain; margin: 0 auto; }
  .hw-header-actions { display: none; }
  .hw-nav-toggle {
    display: inline-flex;
    grid-column: 1;
    justify-self: start;
    position: static;
    transform: none;
  }

  .hw-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px 12px;
  }
  .hw-nav.is-open { display: flex; }
  .hw-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid #eadfca;
  }

  .hw-main { padding: 28px 16px 40px; }
  .hw-footer-copy { margin-left: 0; width: 100%; }
}
