
:root {
  --bg: #f4efe7;
  --bg-alt: #e7dfd1;
  --accent: #6b8c42;
  --accent-dark: #3f5a24;
  --text: #2f2a24;
  --muted: #7a6e60;
  --card-bg: #ffffff;
  --border: #d4c6b3;
  --shadow-soft: 0 10px 20px rgba(0,0,0,0.06);
  --radius-lg: 18px;
  --radius-sm: 10px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f7f2ea 0, var(--bg) 45%, #e0d5c5 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 12px;
}

.main-shell {
  width: 100%;
  max-width: 960px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(246,240,230,0.96));
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.09);
  border: 1px solid rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.main-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(123, 168, 94, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(180, 140, 90, 0.14), transparent 55%);
  pointer-events: none;
}

.site-inner {
  position: relative;
  padding: 22px 22px 26px;
}

@media (min-width: 720px) {
  .site-inner {
    padding: 30px 32px 34px;
  }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 10px 6px;
  border-bottom: 1px solid rgba(212,198,179,0.7);
  margin-bottom: 18px;
}

.brand-mark {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #f0e7d9 35%, #dfccb3 100%);
  display: flex;
 align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
}

.brand-mark img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.brand-mark-placeholder {
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-dark);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-title {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.site-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Nav */
.nav-shell {
  margin-left: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-link {
  padding: 6px 11px;
  font-size: 0.86rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.7);
  transition: all 0.15s ease-out;
}

.nav-link:hover {
  border-color: rgba(107,140,66,0.55);
  color: var(--accent-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.nav-link.is-active {
  background: linear-gradient(135deg, #6b8c42, #8fae62);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(80,110,48,0.4);
}

/* Hero / content */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 26px;
  align-items: center;
  padding: 22px 10px 10px;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 4px 8px;
  }
}

.hero-text h1 {
  font-size: 2.1rem;
  margin: 0 0 8px;
  color: var(--accent-dark);
}

.hero-text p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 520px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(232, 222, 206, 0.9);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-tagline-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6b8c42;
}

.hero-card {
  background: linear-gradient(145deg, #f4efe7, #e4d7c5);
  padding: 16px 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
}

@media (max-width: 480px) {
  .hero-card-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-crest-shell {
  background: radial-gradient(circle at top, #ffffff 0, #f7efe2 40%, #e0ceb4 100%);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

.hero-crest-shell img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.hero-crest-placeholder {
  font-size: 1.5rem;
  color: var(--accent-dark);
  text-align: center;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.hero-pill {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-pill-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-pill-main {
  font-weight: 500;
  color: var(--accent-dark);
}

.hero-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Section shell */
.section {
  margin-top: 18px;
  padding: 14px 10px 4px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.15rem;
  color: var(--accent-dark);
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.section-body {
  font-size: 0.94rem;
  color: var(--muted);
}

/* Card row */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  padding: 12px 13px 11px;
  position: relative;
  overflow: hidden;
}

.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-title {
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--accent-dark);
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 0.86rem;
  color: var(--accent-dark);
  text-decoration: none;
}

.card-link span {
  font-size: 1.1em;
}

/* Gallery (masonry) */
.gallery {
  column-count: 3;
  column-gap: 16px;
}

@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .gallery {
    column-count: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.98);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.9);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-caption {
  padding: 8px 11px 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Dog Corner & Emma pages */
.feature-card {
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.9);
  padding: 18px 16px 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-title {
  margin: 0 0 4px;
  font-size: 1.4rem;
  color: var(--accent-dark);
}

.feature-leadin {
  margin: 2px 0 9px;
  font-size: 0.94rem;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
}

.feature-list li {
  padding-left: 14px;
  position: relative;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.feature-photo {
  border-radius: 18px;
  overflow: hidden;
  background: #e0d3c1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.feature-photo-placeholder {
  font-size: 0.95rem;
  color: var(--accent-dark);
  text-align: center;
  padding: 18px;
}

/* Footer */
.site-footer {
  margin-top: 18px;
  padding: 8px 10px 2px;
  border-top: 1px solid rgba(212,198,179,0.7);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
  }
}

.footer-note strong {
  color: var(--accent-dark);
}
