/*
Theme Name: Swinging Gate Labradoodles
Theme URI: https://swinginggatelabradoodles.com/
Author: Swinging Gate Labradoodles
Description: Exact-design WordPress theme for Swinging Gate Labradoodles with editable demo content and media controls.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: swinging-gate-labradoodles
*/
:root {
  color-scheme: light;
  --ink: #282018;
  --muted: #6c6258;
  --cream: #f3e7d7;
  --paper: #fffaf2;
  --oat: #eadcc8;
  --sage: #dfe4dc;
  --sage-deep: #cbd4c8;
  --taupe: #cdb89b;
  --taupe-dark: #987b5e;
  --clay: #865844;
  --clay-soft: #a87661;
  --rosewood: #7d4d3d;
  --line: rgba(70, 50, 34, 0.12);
  --gold: #bf9850;
  --shadow: 0 18px 44px rgba(48, 35, 24, 0.11);
  --page-gutter: max(28px, calc((100vw - 1500px) / 2 + 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  font-family: var(--serif);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #efe3d2 0%, #fffaf2 30%, #eadcc8 100%);
  content: "";
}

a { color: inherit; }

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 270px 1fr 170px;
  align-items: center;
  min-height: 88px;
  padding: 0 var(--page-gutter);
  background: rgba(205, 184, 155, 0.96);
  box-shadow: 0 1px 0 rgba(255, 250, 241, 0.22) inset;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
}

.brand span:last-child,
.footer-brand strong {
  font-weight: 400;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  font-family: var(--sans);
  font-size: 0.94rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a.active {
  border-bottom: 1px solid currentColor;
}

.header-cta,
.button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(138, 91, 71, 0.82);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-cta,
.button.primary {
  background: var(--rosewood);
  border-color: var(--rosewood);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(125, 77, 61, 0.54);
}

.header-cta:hover,
.button:hover,
.outline-button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 800px;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.hero::before {
  content: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: auto;
  background-image: url("assets/images/hero-puppy-litter.png");
  background-position: center center;
  background-size: cover;
}

.hero-copy {
  position: absolute;
  top: 74px;
  left: 50%;
  z-index: 3;
  width: min(980px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
}

.hero-copy::before {
  content: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 3.15vw, 4rem);
  line-height: 1.06;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.08;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  width: 260px;
  margin: 22px auto 16px;
  color: var(--taupe-dark);
}

.divider::before,
.divider::after {
  height: 1px;
  background: rgba(146, 118, 93, 0.5);
  content: "";
}

.divider span::before {
  content: "⌁";
}

.hero-copy p:not(.eyebrow) {
  max-width: 440px;
  margin: 0 auto;
  color: #302820;
  font-size: 0.94rem;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.hero-actions .button {
  min-width: 176px;
  min-height: 40px;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0) 0%, var(--paper) 82%);
}

section {
  padding: clamp(72px, 8vw, 120px) var(--page-gutter);
}

.intro,
.testimonials,
.available,
.planned,
.gallery,
.contact {
  width: 100%;
}

.intro {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  padding-top: clamp(56px, 6vw, 86px);
  background:
    radial-gradient(circle at 86% 12%, rgba(203, 212, 200, 0.35) 0 18%, transparent 40%),
    repeating-linear-gradient(0deg, rgba(134, 88, 68, 0.025) 0 1px, transparent 1px 18px),
    #f8efdf;
}

.photo,
.testimonial-image,
.pup-image,
.planned-image,
.gallery-image {
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.photo,
.pup-card,
.testimonial-card,
.gallery-image,
.planned-image {
  border-radius: 2px;
}

.intro-letter-photo {
  width: min(100%, 520px);
  min-height: 520px;
  justify-self: center;
  border: 12px solid rgba(255, 250, 242, 0.94);
  background-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=950&q=86");
  box-shadow: 0 24px 58px rgba(60, 41, 25, 0.15);
  transform: rotate(-1.4deg);
}

.intro-letter-card {
  max-width: 720px;
  padding: clamp(30px, 5vw, 58px);
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(125, 77, 61, 0.14);
  box-shadow: 0 22px 54px rgba(60, 41, 25, 0.11);
}

.intro-letter-card h2 {
  max-width: 620px;
}

.intro-letter-card p:not(.eyebrow) {
  max-width: 600px;
}

.intro-letter-card .letter-quote {
  margin: 22px 0 18px;
  color: var(--rosewood);
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  font-style: italic;
  line-height: 1.36;
}

.intro-letter-card .outline-button {
  margin-top: 10px;
}

.testimonials {
  background:
    radial-gradient(circle at 11% 18%, rgba(255, 250, 242, 0.42) 0 12%, transparent 34%),
    radial-gradient(circle at 84% 78%, rgba(125, 77, 61, 0.1) 0 10%, transparent 30%),
    repeating-linear-gradient(0deg, rgba(85, 62, 42, 0.028) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #d4bea0 0%, #c5aa86 100%);
  text-align: left;
}

.testimonials .section-heading {
  margin-bottom: 52px;
  text-align: center;
}

.testimonials .section-heading h2 {
  max-width: 780px;
  margin-inline: auto;
}

.testimonials .section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(64, 53, 42, 0.78);
}

.testimonials .eyebrow {
  color: var(--rosewood);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2::after {
  display: block;
  width: 76px;
  height: 1px;
  margin: 14px auto 0;
  background: var(--taupe-dark);
  content: "";
}

.testimonial-showcase,
.pup-grid {
  display: grid;
  gap: 32px;
}

.pup-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.testimonial-card,
.pup-card {
  background: var(--paper);
  text-align: center;
}

.testimonial-featured,
.testimonial-card {
  display: grid;
  min-height: 100%;
  position: relative;
  overflow: visible;
  background:
    repeating-linear-gradient(0deg, rgba(134, 88, 68, 0.025) 0 1px, transparent 1px 20px),
    rgba(255, 248, 235, 0.96);
  border: 1px solid rgba(125, 77, 61, 0.16);
  box-shadow: 0 22px 54px rgba(60, 41, 25, 0.16);
  text-align: left;
}

.testimonial-featured::before,
.testimonial-card::before {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 26px;
  background: rgba(247, 228, 190, 0.72);
  box-shadow: 0 2px 8px rgba(60, 41, 25, 0.08);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.testimonial-card:nth-child(3)::before {
  transform: translateX(-50%) rotate(2deg);
}

.testimonial-card:nth-child(4)::before {
  transform: translateX(-50%) rotate(-1deg);
}

.testimonial-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  min-height: 420px;
  padding: 18px;
}

.testimonial-image {
  min-height: 250px;
  margin: 16px 16px 0;
  border: 9px solid rgba(255, 250, 242, 0.94);
  background-color: #e8d9c4;
  box-shadow: 0 16px 34px rgba(60, 41, 25, 0.16);
  filter: saturate(0.86) contrast(0.98);
  transform: rotate(0.65deg);
}

.testimonial-featured .testimonial-image {
  min-height: 100%;
  margin: 0;
  border-width: 12px;
  transform: rotate(-0.85deg);
}

.testimonial-card:nth-child(3) .testimonial-image {
  transform: rotate(-0.65deg);
}

.testimonial-card:nth-child(4) .testimonial-image {
  transform: rotate(0.35deg);
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
}

.testimonial-a { background-image: url("https://images.unsplash.com/photo-1601758125946-6ec2ef64daf8?auto=format&fit=crop&w=1100&q=86"); }
.testimonial-b { background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=700&q=84"); }
.testimonial-c { background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=700&q=84"); }
.testimonial-d { background-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=700&q=84"); }

.stars {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--sans);
  letter-spacing: 0;
}

.testimonial-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.2rem;
  text-transform: none;
}

.testimonial-featured h3 {
  font-size: 1.45rem;
}

.puppy-name {
  margin-bottom: 0;
  color: var(--rosewood);
  font-style: italic;
}

.quote {
  flex: 1;
  position: relative;
  margin-bottom: 22px;
  color: #40352a;
  font-size: 0.94rem;
  line-height: 1.55;
}

.quote::before {
  display: block;
  margin-bottom: 4px;
  color: rgba(125, 77, 61, 0.22);
  font-size: 3.4rem;
  line-height: 0.72;
  content: "“";
}

.testimonial-featured .quote {
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  line-height: 1.45;
}

.source-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  background: rgba(247, 228, 190, 0.7);
  border: 1px solid rgba(125, 77, 61, 0.12);
  color: var(--rosewood);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.available,
.contact {
  background: var(--paper);
}

.available {
  background:
    radial-gradient(circle at 12% 18%, rgba(203, 212, 200, 0.28) 0 14%, transparent 34%),
    linear-gradient(180deg, var(--paper) 0%, #f6ecde 100%);
}

.gallery {
  background: #f4eadc;
}

.litter-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.4fr) auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 34px;
  padding: 26px 30px;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(70, 50, 34, 0.12);
  box-shadow: 0 18px 42px rgba(47, 34, 23, 0.08);
}

.litter-summary h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.litter-summary dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.litter-summary div {
  min-width: 0;
}

.litter-summary dt {
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.litter-summary dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 1rem;
}

.available-board {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: stretch;
}

.featured-pup {
  display: grid;
  grid-template-rows: minmax(360px, 1.05fr) auto;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(70, 50, 34, 0.14);
  box-shadow: 0 24px 56px rgba(47, 34, 23, 0.12);
}

.featured-pup .pup-image {
  min-height: 380px;
}

.featured-pup-copy {
  padding: 30px;
}

.featured-pup-copy h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.featured-pup-copy p:not(.eyebrow) {
  max-width: 560px;
}

.pup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pup-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
}

.pup-details li {
  border-top: 1px solid rgba(70, 50, 34, 0.14);
  padding-top: 10px;
  color: var(--ink);
}

.pup-details span {
  display: block;
  margin-bottom: 4px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pup-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-content: stretch;
}

.pup-image {
  aspect-ratio: 1 / 0.9;
  box-shadow: none;
}

.pup-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid rgba(70, 50, 34, 0.12);
  box-shadow: 0 16px 34px rgba(47, 34, 23, 0.08);
}

.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  margin-top: 0;
  padding: 0 12px;
  background: #ede1cf;
  color: var(--rosewood);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.available-status {
  background: #dfe8d9;
  color: #536b45;
}

.reserved-status {
  background: #eadcc8;
  color: var(--taupe-dark);
}

.pending-status {
  background: #f2dfb7;
  color: #7c5b2d;
}

.pup-card-copy {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.pup-card h3 {
  margin: 14px 0 8px;
  font-size: 1.1rem;
}

.pup-card p {
  flex: 1;
  max-width: 280px;
  margin: 0 auto 16px;
  font-size: 0.88rem;
}

.pup-card a {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.pup-a { background-image: url("https://images.unsplash.com/photo-1587402092301-725e37c70fd8?auto=format&fit=crop&w=900&q=86"); }
.pup-b { background-image: url("https://images.unsplash.com/photo-1612536057832-2ff7ead58194?auto=format&fit=crop&w=900&q=86"); }
.pup-c { background-image: url("https://images.unsplash.com/photo-1600804340584-c7db2eacf0bf?auto=format&fit=crop&w=900&q=86"); }
.pup-d { background-image: url("https://images.unsplash.com/photo-1537151608828-ea2b11777ee8?auto=format&fit=crop&w=900&q=86"); }
.pup-e { background-image: url("https://images.unsplash.com/photo-1548199973-03cce0bbc87b?auto=format&fit=crop&w=900&q=86"); }
.pup-f { background-image: url("https://images.unsplash.com/photo-1583512603806-077998240c7a?auto=format&fit=crop&w=900&q=86"); }
.pup-g { background-image: url("https://images.unsplash.com/photo-1601758174114-e711c0cbaa69?auto=format&fit=crop&w=900&q=86"); }

.planned {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 250, 242, 0.46) 0 18%, transparent 42%),
    linear-gradient(180deg, #f8efdf 0%, #fffaf2 100%);
}

.planned#faq {
  background:
    radial-gradient(circle at 84% 18%, rgba(205, 184, 155, 0.16) 0 16%, transparent 38%),
    linear-gradient(180deg, #f8efdf 0%, #fffaf2 100%);
}

.planned-copy p {
  max-width: 560px;
}

.planned-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 640px;
  margin-top: 34px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.planned-notes span {
  border-top: 1px solid rgba(134, 88, 68, 0.28);
  padding-top: 12px;
}

.planned-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.planned-image {
  min-height: 430px;
  background-image: url("https://images.unsplash.com/photo-1583511655826-05700442b31b?auto=format&fit=crop&w=1100&q=86");
}

.planned-cards {
  display: grid;
  gap: 16px;
}

.planned-cards article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 207px;
  padding: 26px;
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid rgba(70, 50, 34, 0.12);
  box-shadow: 0 14px 30px rgba(47, 34, 23, 0.08);
}

.planned-cards span {
  margin-bottom: 10px;
  color: var(--rosewood);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.planned-cards h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.planned-cards p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 190px;
  gap: 14px;
}

.gallery-image {
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(47, 34, 23, 0.1);
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-image::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(36, 29, 23, 0.58) 100%);
  content: "";
}

.gallery-image span {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-image:hover {
  filter: saturate(1.04);
  transform: translateY(-2px);
}

.gallery-a { grid-row: span 2; background-image: url("https://images.unsplash.com/photo-1601758125946-6ec2ef64daf8?auto=format&fit=crop&w=1100&q=86"); }
.gallery-b { background-image: url("https://images.unsplash.com/photo-1560807707-8cc77767d783?auto=format&fit=crop&w=800&q=86"); }
.gallery-c { background-image: url("https://images.unsplash.com/photo-1504151932400-72d4384f04b3?auto=format&fit=crop&w=800&q=84"); }
.gallery-d { grid-column: span 2; background-image: url("https://images.unsplash.com/photo-1517423440428-a5a00ad493e8?auto=format&fit=crop&w=1100&q=86"); }
.gallery-e { grid-column: span 2; background-image: url("https://images.unsplash.com/photo-1548199973-03cce0bbc87b?auto=format&fit=crop&w=1100&q=86"); }
.gallery-f { background-image: url("https://images.unsplash.com/photo-1537151625747-768eb6cf92b2?auto=format&fit=crop&w=800&q=86"); }

.gallery-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 22px 26px;
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(70, 50, 34, 0.12);
}

.gallery-cta p {
  max-width: 620px;
  margin-bottom: 0;
}

.application-modal,
.puppy-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.application-modal:target,
.puppy-modal:target {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 32, 24, 0.58);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 85% 12%, rgba(203, 212, 200, 0.38) 0 18%, transparent 42%),
    var(--paper);
  border: 1px solid rgba(255, 250, 242, 0.74);
  box-shadow: 0 30px 90px rgba(28, 20, 14, 0.36);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(125, 77, 61, 0.28);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
}

.modal-panel h2 {
  max-width: 620px;
}

.modal-panel > p:not(.eyebrow) {
  max-width: 640px;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.application-form label {
  display: grid;
  gap: 8px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(70, 50, 34, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font: 1rem var(--serif);
  padding: 10px 12px;
}

.application-form textarea {
  resize: vertical;
}

.form-wide,
.application-form button {
  grid-column: 1 / -1;
}

.puppy-detail-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 42px);
  width: min(980px, 100%);
  padding: clamp(20px, 3vw, 34px);
}

.puppy-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(320px, 1fr) 150px;
  gap: 12px;
}

.detail-photo {
  background-position: center;
  background-size: cover;
  border: 8px solid rgba(255, 250, 242, 0.94);
  box-shadow: 0 16px 34px rgba(60, 41, 25, 0.12);
}

.detail-main {
  grid-column: 1 / -1;
}

.puppy-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.puppy-detail-copy h2 {
  margin: 10px 0 16px;
}

.puppy-detail-copy .pup-details {
  margin-top: 22px;
}

.contact-matchmaker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(205, 184, 155, 0.16) 0 18%, transparent 38%),
    linear-gradient(180deg, var(--paper) 0%, #f8efdf 100%);
  text-align: left;
}

.contact-copy {
  max-width: 820px;
}

.contact-copy h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 4.5vw, 4.9rem);
  line-height: 0.98;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 26px;
}

.modal-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-cue::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.trust-row article {
  padding: 18px 18px 16px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(70, 50, 34, 0.12);
}

.trust-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-row p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-visual {
  position: relative;
  min-height: 520px;
}

.contact-photo {
  position: absolute;
  inset: 0 34px 86px 0;
  border: 13px solid rgba(255, 250, 242, 0.94);
  background-image: url("assets/images/hero-puppy-litter.png");
  background-position: center bottom;
  background-size: cover;
  box-shadow: 0 24px 56px rgba(60, 41, 25, 0.16);
}

.next-steps-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(300px, 82%);
  padding: 24px;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(134, 88, 68, 0.18);
  box-shadow: 0 18px 42px rgba(60, 41, 25, 0.14);
}

.next-steps-card h3 {
  margin: 0 0 16px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
}

.next-steps-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.44;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.05fr 0.8fr 0.8fr 1.05fr;
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
  width: 100%;
  padding: 68px var(--page-gutter) 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(203, 184, 155, 0.18) 0 18%, transparent 42%),
    linear-gradient(180deg, #3b3026 0%, #241d17 100%);
  color: var(--paper);
}

.site-footer h3 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer p {
  margin: 4px 0;
  color: rgba(255, 250, 241, 0.76);
}

.footer-brand {
  align-items: start;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 14px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  justify-items: start;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: #fff;
}

.social-footer p {
  max-width: 260px;
}

.instagram-preview {
  display: grid;
  grid-template-columns: repeat(3, 62px);
  gap: 8px;
  margin: 12px 0 4px;
}

.insta-thumb {
  display: block;
  aspect-ratio: 1;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 249, 239, 0.18);
}

.insta-a { background-image: url("https://images.unsplash.com/photo-1537151625747-768eb6cf92b2?auto=format&fit=crop&w=200&q=78"); }
.insta-b { background-image: url("https://images.unsplash.com/photo-1583511655826-05700442b31b?auto=format&fit=crop&w=200&q=78"); }
.insta-c { background-image: url("https://images.unsplash.com/photo-1601758125946-6ec2ef64daf8?auto=format&fit=crop&w=200&q=78"); }

.instagram-link {
  display: inline-flex;
  margin-top: 8px;
  border-bottom: 1px solid rgba(255, 249, 239, 0.62);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-cta {
  padding: 18px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.18);
}

.footer-cta .button {
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  color: rgba(255, 250, 241, 0.62);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.sgl-admin-login,
.sgl-admin-panel,
.sgl-image-editor {
  position: fixed;
  z-index: 100;
  font-family: var(--sans);
}

.sgl-admin-login {
  right: 18px;
  bottom: 18px;
  width: min(320px, calc(100vw - 36px));
  padding: 16px;
  background: rgba(36, 29, 23, 0.96);
  border: 1px solid rgba(255, 250, 242, 0.18);
  box-shadow: 0 22px 60px rgba(28, 20, 14, 0.34);
  color: var(--paper);
}

.sgl-admin-login form {
  display: grid;
  gap: 12px;
}

.sgl-admin-login strong,
.sgl-admin-panel strong,
.sgl-image-editor strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.sgl-admin-login label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sgl-admin-login input {
  min-height: 38px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  background: rgba(255, 250, 242, 0.08);
  color: var(--paper);
  padding: 8px 10px;
}

.sgl-admin-login button,
.sgl-admin-actions button,
.sgl-editor-actions button {
  min-height: 34px;
  border: 1px solid rgba(255, 250, 242, 0.2);
  background: rgba(255, 250, 242, 0.08);
  color: var(--paper);
  cursor: pointer;
  font: 700 0.72rem var(--sans);
  padding: 0 10px;
  text-transform: uppercase;
}

.sgl-admin-login button:hover,
.sgl-admin-actions button:hover,
.sgl-editor-actions button:hover {
  background: rgba(255, 250, 242, 0.16);
}

.sgl-admin-panel {
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100vw - 36px));
  padding: 16px;
  background: rgba(36, 29, 23, 0.94);
  border: 1px solid rgba(255, 250, 242, 0.18);
  box-shadow: 0 22px 60px rgba(28, 20, 14, 0.34);
  color: var(--paper);
}

.sgl-admin-status {
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.78rem;
}

.sgl-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sgl-admin-editable {
  outline: 1px dashed rgba(125, 77, 61, 0.7);
  outline-offset: 4px;
}

.sgl-admin-editable:focus {
  background: rgba(255, 250, 242, 0.72);
  outline: 2px solid rgba(125, 77, 61, 0.78);
}

.sgl-admin-active .sgl-admin-image-target {
  cursor: crosshair;
  outline: 2px dashed rgba(125, 77, 61, 0.72);
  outline-offset: 4px;
}

.sgl-admin-active .sgl-admin-image-target:not(.hero-bg) {
  position: relative;
}

.sgl-admin-active .hero-bg.sgl-admin-image-target {
  position: absolute;
  inset: 0;
  height: auto;
}

.sgl-admin-active .sgl-admin-image-target:hover {
  filter: saturate(1.06) contrast(1.02);
}

.sgl-admin-active .sgl-admin-image-target:hover::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  padding: 7px 10px;
  background: rgba(36, 29, 23, 0.88);
  color: var(--paper);
  content: "Edit Image";
  font: 700 0.7rem var(--sans);
  letter-spacing: 0;
  pointer-events: none;
  text-transform: uppercase;
}

.sgl-image-editor {
  top: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  width: min(360px, calc(100vw - 36px));
  overflow: auto;
  padding: 16px;
  background: rgba(36, 29, 23, 0.96);
  border: 1px solid rgba(255, 250, 242, 0.18);
  box-shadow: 0 22px 60px rgba(28, 20, 14, 0.34);
  color: var(--paper);
}

.sgl-image-editor.is-open {
  display: grid;
  align-content: start;
  gap: 12px;
}

.sgl-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.sgl-editor-head span {
  display: block;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.78rem;
}

.sgl-editor-head em {
  display: block;
  margin-top: 4px;
  color: #f2dfb7;
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.35;
}

.sgl-editor-head button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.2);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.2rem;
}

.sgl-editor-preview {
  min-height: 150px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background-color: rgba(255, 250, 242, 0.08);
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 32px rgba(18, 12, 8, 0.22) inset;
}

.sgl-editor-preview.is-empty {
  display: grid;
  place-items: center;
}

.sgl-editor-preview.is-empty::before {
  color: rgba(255, 250, 242, 0.62);
  content: "No image selected";
  font-size: 0.78rem;
  text-transform: uppercase;
}

.sgl-editor-group {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 250, 242, 0.07);
  border: 1px solid rgba(255, 250, 242, 0.12);
}

.sgl-editor-group h4 {
  margin: 0;
  color: rgba(255, 250, 242, 0.78);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sgl-editor-group label {
  display: grid;
  gap: 6px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sgl-editor-group input,
.sgl-editor-group select {
  width: 100%;
}

.sgl-editor-group input[type="file"] {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.76rem;
}

.sgl-editor-group input[type="color"] {
  min-height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
}

.sgl-check {
  display: flex !important;
  grid-template-columns: none;
  gap: 8px;
  align-items: center;
}

.sgl-check input {
  width: auto;
}

.sgl-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1080px) {
  :root {
    --page-gutter: 32px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 24px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 740px;
  }

  .intro,
  .planned,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero,
  .intro,
  .testimonials,
  .available,
  .planned,
  .gallery,
  .contact,
  .site-footer {
    width: 100%;
  }

  .site-footer nav {
    justify-items: start;
  }

  .testimonial-showcase,
  .pup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .planned,
  .available-board,
  .litter-summary,
  .planned-panel {
    grid-template-columns: 1fr;
  }

  .litter-summary dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .featured-pup {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto;
  }

  .featured-pup .pup-image {
    min-height: 100%;
  }

  .collage {
    max-width: none;
    justify-self: stretch;
  }

  .intro-letter-photo {
    width: min(620px, 100%);
    min-height: 430px;
  }

  .testimonial-showcase,
  .testimonial-featured {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .testimonial-image {
    min-height: 340px;
  }

  .testimonial-featured .testimonial-image {
    min-height: 340px;
  }

  .planned-notes {
    grid-template-columns: 1fr;
  }

  .gallery-cta {
    align-items: start;
    flex-direction: column;
  }

  .contact-matchmaker,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .contact-matchmaker {
    background:
      radial-gradient(circle at 50% 0%, rgba(205, 184, 155, 0.14) 0 22%, transparent 45%),
      linear-gradient(180deg, var(--paper) 0%, #f8efdf 100%);
  }

  .contact-visual {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 24px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 0 14px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-copy {
    top: 42px;
    width: min(350px, calc(100% - 28px));
  }

  h1 {
    font-size: 2rem;
  }

  .hero-bg {
    background-position: center bottom;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sgl-admin-panel {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .sgl-image-editor {
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

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

  .puppy-detail-panel,
  .puppy-detail-gallery {
    grid-template-columns: 1fr;
  }

  .puppy-detail-gallery {
    grid-template-rows: 260px 150px 150px;
  }

  .detail-main {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-visual {
    min-height: 360px;
  }

  .contact-photo {
    inset: 0 0 96px;
    border-width: 8px;
  }

  .next-steps-card {
    right: 16px;
    left: 16px;
    width: auto;
    padding: 18px;
  }

  section {
    padding: 56px var(--page-gutter);
  }

  .collage,
  .testimonial-showcase,
  .pup-grid,
  .pup-mini-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .litter-summary dl,
  .featured-pup,
  .pup-details {
    grid-template-columns: 1fr;
  }

  .featured-pup .pup-image {
    min-height: 300px;
  }

  .intro-letter-photo {
    min-height: 320px;
    border-width: 8px;
    transform: none;
  }

  .intro-letter-card {
    padding: 28px;
  }

  .collage {
    grid-template-rows: repeat(4, 180px);
  }

  .testimonial-image,
  .testimonial-featured .testimonial-image {
    min-height: 240px;
    margin: 14px 14px 0;
  }

  .testimonial-featured {
    padding: 0;
  }

  .photo-b,
  .photo-c {
    grid-row: auto;
  }

  .gallery-a,
  .gallery-d {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-e,
  .gallery-f {
    grid-column: auto;
  }
}

