:root {
  --ink: #101816;
  --ink-soft: #17211c;
  --green: #12211c;
  --gold: #e3ac14;
  --gold-bright: #f0c44a;
  --gold-text: #f3d078;
  --gold-ink: #8c6410;
  --cream: #f6f1e7;
  --paper: #fbf7f0;
  --white: #fffdf9;
  --muted: #5c564c;
  --header-h: 78px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --script: "Caveat", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--cream);
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

p { margin: 0 0 0.9rem; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #16130c;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font-weight: 600;
}

.skip:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.kicker {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-size: 1rem;
}

.kicker-dark { color: var(--gold-ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold { background: var(--gold); color: #16130c; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-gold:active { background: #c99610; }
.btn-gold:focus-visible { outline-color: #1a1408; }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(8, 14, 12, 0.28);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover { background: #24312b; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.4rem;
}

.text-link {
  color: var(--gold-text);
  font-weight: 600;
}

.eco-card .text-link,
.contact .text-link { color: var(--gold-ink); }

.banner {
  display: inline-block;
  width: fit-content;
  margin: 0.35rem 0 0.7rem;
  padding: 0.38rem 0.75rem 0.28rem;
  background: var(--gold);
  color: #16130c;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.script {
  margin: 0;
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.92;
}

.script .brush {
  display: block;
  width: 9.5rem;
  height: auto;
  margin-top: 0.1rem;
  color: var(--gold);
}

.mark {
  display: grid;
  justify-items: center;
  width: 2.55rem;
  color: #fff;
  line-height: 0.75;
}

.mark .roof { width: 100%; height: auto; display: block; }

.letters {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  margin-top: -0.28rem;
}

.letters .f { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  background: rgba(12, 18, 16, 0.94);
  border-bottom: 1px solid rgba(227, 172, 20, 0.2);
  backdrop-filter: blur(12px);
}

.site-header.is-stuck { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
}

.brand-sub {
  display: block;
  max-width: 12rem;
  color: var(--gold-text);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav ul {
  display: flex;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: #f7f3ea;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.08rem;
}

.nav a[aria-current="true"],
.nav a:hover { color: var(--gold-text); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars { position: relative; }

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  background: #14211c;
  color: #f7f3ea;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 12, 0.2), transparent 16%, transparent 76%, rgba(7, 14, 12, 0.4)),
    linear-gradient(90deg, rgba(7, 14, 12, 0.92) 0%, rgba(7, 14, 12, 0.78) 34%, rgba(7, 14, 12, 0.28) 60%, rgba(7, 14, 12, 0.02) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 1.6rem 1.25rem 3rem;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-rows: auto 1fr;
  column-gap: 2.5rem;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 40rem;
}

.script-sky {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  color: #1b1712;
  text-align: right;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.script-sky .brush { margin-left: auto; }

.hero-side {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.hero-logo {
  display: block;
  width: min(62vw, 11rem);
  height: auto;
}

.lockup-name {
  margin: 0.35rem 0 0;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5.2vw, 2.45rem);
  line-height: 1;
  white-space: nowrap;
  padding-left: 0.2em;
}

.mark-lg {
  width: 5.4rem;
  margin-left: 0.2rem;
}

.mark-lg .letters {
  font-size: 3.15rem;
  margin-top: -0.45rem;
}

.ruled {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 26rem);
  margin: 0.1rem 0 0;
}

.rule {
  flex: 1;
  max-width: 4.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
}

.ruled-name {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  padding-left: 0.28em;
}

.lockup-sub,
.lockup-place {
  width: 100%;
  margin: 0.15rem 0 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lockup-sub {
  color: var(--gold-text);
  font-size: 0.98rem;
}

.lockup-place {
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.hero h1 {
  margin: 1.15rem 0 0.35rem;
  color: #fff;
  font-size: clamp(2.7rem, 5.5vw, 4.85rem);
  text-transform: uppercase;
}

.lede {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.intro {
  max-width: 38rem;
  color: rgba(247, 243, 234, 0.92);
}

.eco-card {
  position: relative;
  margin-top: 2.6rem;
  padding: 3.3rem 1.45rem 1.55rem;
  background: var(--paper);
  color: var(--ink-soft);
  text-align: center;
  border-radius: 16px 46px 14px 42px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.eco-card h2 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-transform: uppercase;
}

.eco-card p { color: #24302b; }

.leaf-badge {
  position: absolute;
  top: 0;
  left: 50%;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold-ink);
}

.leaf-badge svg { width: 36px; height: 36px; }

.services {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(227, 172, 20, 0.14), transparent 46%),
    var(--green);
  color: #f7f3ea;
  padding: 5rem 0 4.5rem;
}

.services h2 {
  margin: 0 0 0.7rem;
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  text-transform: uppercase;
}

.section-lead {
  max-width: 38rem;
  margin-bottom: 2.2rem;
  color: rgba(247, 243, 234, 0.86);
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.95rem;
  align-items: start;
}

.icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-text);
}

.icon svg { width: 28px; height: 28px; }

.service h3 {
  margin: 0.15rem 0 0.25rem;
  color: var(--gold-text);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service p {
  margin: 0;
  color: rgba(247, 243, 234, 0.9);
}

.homes {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 580px;
  color: #fff;
  background: #14211c;
  overflow: hidden;
}

.homes img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% center;
}

.homes-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 14, 12, 0.9) 0%, rgba(8, 14, 12, 0.72) 40%, rgba(8, 14, 12, 0.12) 72%);
}

.homes-copy {
  position: relative;
  z-index: 1;
  padding-block: 4.2rem;
}

.homes h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-transform: uppercase;
  max-width: 12ch;
}

.homes p { color: rgba(247, 243, 234, 0.92); max-width: 38rem; }

.homes .text-link { color: var(--gold-text); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.3rem 0 1.1rem;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(243, 208, 120, 0.85);
  color: var(--gold-text);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.charity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #efe8da;
}

.charity-logos {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 3.25rem 8% 0.2rem;
}

.charity-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.35rem 8% 3.5rem;
  text-align: center;
}

.charity h2 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  text-transform: uppercase;
}

.charity h2 span { display: block; }
.ink { color: var(--ink); }
.gold-ink { color: var(--gold-ink); }

.charity-copy p { max-width: 34rem; }

.sanctuary-logo,
.rspca-logo {
  display: block;
}

.sanctuary-logo img {
  display: block;
  width: min(42vw, 210px);
  height: auto;
}

.rspca-logo img {
  display: block;
  width: min(48vw, 200px);
  height: auto;
}

.charity-meta {
  margin: 0.15rem 0 0.7rem;
  font-size: 0.95rem;
}

.charity-meta a {
  color: var(--gold-ink);
  font-weight: 600;
}

.paw {
  width: 36px;
  height: 36px;
  fill: var(--gold);
}

.paw-end {
  align-self: center;
  width: 28px;
  height: 28px;
  margin: 0.15rem 0 0.4rem;
}

.script-dark {
  color: #1a1612;
  text-align: center;
}

.script-dark .brush { margin-inline: auto; }

.charity-media { background: #1c2820; min-height: 100%; }

.charity-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 40%;
}

.contact {
  background:
    radial-gradient(ellipse at top left, rgba(227, 172, 20, 0.1), transparent 48%),
    var(--cream);
  padding: 4.8rem 0 4.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact h2 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  text-transform: uppercase;
  max-width: 12ch;
}

.contact-list { margin: 1.4rem 0 0; }
.contact-list div { margin-bottom: 0.95rem; }

.contact-list dt {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-size: 0.98rem;
}

.contact-list dd {
  margin: 0.1rem 0 0;
  font-weight: 600;
}

.contact-list a { color: var(--ink); text-underline-offset: 0.15em; }

.quote-form {
  background: var(--white);
  border: 1px solid #e6dece;
  padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: 0 16px 40px rgba(20, 24, 18, 0.06);
}

.fine {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status:empty { display: none; }

.form-status {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  background: #eef6e8;
  border: 1px solid #b7d7a8;
  color: #1d3b16;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field { margin-bottom: 0.85rem; }

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.98rem;
}

.req { color: var(--gold-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid #d9d0c2;
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--gold-ink);
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.15rem 0 1rem;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--gold-ink);
}

.quote-form .btn { width: 100%; }

.site-footer {
  background: #0b0f0e;
  color: #fff;
}

.footer-brand {
  margin: 0;
  padding: 1.35rem 1rem 0.2rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.72);
}

.footer-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  padding: 1rem 1.25rem 1.3rem;
}

.footer-bar a,
.footer-web {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-bar a:hover { color: var(--gold-text); }

.footer-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  flex: 0 0 auto;
}

.footer-icon svg { width: 20px; height: 20px; }

.mobile-actions { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .brand-sub { display: none; }
  .brand-logo { height: 54px; }

  .nav-toggle { display: grid; }

  .nav {
    display: none;
    position: fixed;
    z-index: 30;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.4rem 1.4rem 6rem;
    background: rgba(10, 16, 14, 0.98);
    overflow: auto;
  }

  .nav.is-open { display: flex; }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .nav a {
    font-size: 1.7rem;
    padding: 0.45rem 0;
    display: inline-block;
  }

  .header-phone { margin-top: auto; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    padding-top: 1.2rem;
  }

  .hero-copy,
  .script-sky,
  .hero-side {
    grid-column: 1;
    grid-row: auto;
  }

  .script-sky {
    justify-self: end;
    margin: 0.4rem 0 0.2rem;
    color: #fff;
    text-shadow: none;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(7, 14, 12, 0.55) 0%, rgba(7, 14, 12, 0.82) 28%, rgba(7, 14, 12, 0.9) 100%);
  }

  .service-list,
  .charity,
  .contact-grid { grid-template-columns: 1fr; }

  .homes-shade {
    background: linear-gradient(180deg, rgba(8, 14, 12, 0.88), rgba(8, 14, 12, 0.74));
  }

  .homes { min-height: 0; }

  .charity-media img { min-height: 320px; }

  .paw-end { margin-right: 0; align-self: center; }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }

  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }

  .form-row { grid-template-columns: 1fr; }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    z-index: 35;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: #0b0f0e;
    border-top: 1px solid rgba(227, 172, 20, 0.35);
  }

  body.nav-open .mobile-actions { display: none; }
  body.nav-open { overflow: hidden; padding-bottom: 0; }

  .footer-bar { flex-direction: column; align-items: flex-start; padding-inline: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header,
  .mobile-actions,
  .nav-toggle { display: none; }
  .hero-grid,
  .homes { min-height: 0; }
  body { padding: 0; background: #fff; }
}
