/* ============.Base ============ */
:root {
  --bg: #f7f1e8;
  --bg-soft: #fbf7f1;
  --ink: #3b3129;
  --muted: #7c6f62;
  --accent: #bd7657;
  --accent-dark: #96593f;
  --sage: #8b987f;
  --line: #e3d8c9;
  --white: #fffdf9;
  --shadow: 0 22px 60px rgba(79, 58, 39, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(189, 118, 87, .10), transparent 32rem),
    radial-gradient(circle at 92% 42%, rgba(139, 152, 127, .12), transparent 30rem),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.container { width: min(100% - 48px, 1160px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 232, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent-dark); }
.brand-mark { display: inline-flex; }
.brand-text { font-family: var(--serif); font-size: 1.65rem; letter-spacing: -.02em; color: var(--ink); }
.brand-dot { color: var(--accent); }
.site-nav { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; font-size: .95rem; color: var(--muted); position: relative; padding: 6px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ============ Shared typography ============ */
.eyebrow {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--accent-dark); font-weight: 700; margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow-line { display: inline-block; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 22px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
.section { padding: 110px 0; }
.section-text { color: var(--muted); max-width: 40rem; margin: 0 0 16px; }
.section-heading { max-width: 640px; margin-bottom: 46px; }
.section-heading p:last-child { color: var(--muted); margin: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 100px;
  text-decoration: none; font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(189, 118, 87, .28); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 14px 30px rgba(189, 118, 87, .34); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-soft { background: var(--bg-soft); border-color: var(--line); color: var(--ink); margin-top: 14px; }
.btn-soft:hover { background: #fff; border-color: var(--accent); }

/* ============ Hero ============ */
.hero { padding: 82px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6%; align-items: center; }
.hero h1 {
  font-size: clamp(5rem, 12vw, 9rem); line-height: .9; margin-bottom: 26px;
  font-style: italic; position: relative; display: inline-block;
}
.title-underline {
  position: absolute; left: 4%; bottom: -6px; width: 72%; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12'%3E%3Cpath d='M2 8 Q75 1 150 6 T298 4' fill='none' stroke='%23bd7657' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .55;
}
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); margin: 0 0 34px; max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 34px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.note-icon { color: var(--accent); font-size: 1.1rem; }

.hero-media { position: relative; }
.photo-frame {
  position: relative; background: var(--white); padding: 16px 16px 56px;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow); transform: rotate(1.5deg);
}
.photo-frame img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 2px; }
.frame-tape { position: absolute; width: 110px; height: 26px; background: rgba(224, 200, 166, .72); top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.tape-bottom { top: auto; bottom: 14px; transform: translateX(-50%) rotate(2deg); }
.floating-badge {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(79, 58, 39, .12); border-radius: 100px;
  padding: 9px 16px; font-size: .82rem; color: var(--muted); white-space: nowrap;
}
.floating-badge span { color: var(--accent); margin-right: 6px; }
.badge-one { top: 12%; left: -8%; transform: rotate(-5deg); }
.badge-two { bottom: 9%; right: -7%; transform: rotate(4deg); }

.paw-divider { display: flex; justify-content: center; gap: 24px; color: var(--line); padding: 62px 0 0; font-size: 1.1rem; }
.paw-divider span:nth-child(2) { color: var(--accent); }

/* ============ About ============ */
.about { background: rgba(255, 253, 249, .6); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8%; align-items: start; }
.facts-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 36px; box-shadow: 0 18px 44px rgba(79, 58, 39, .08);
}
.facts-card h3 { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.facts-list { margin: 0; }
.facts-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.facts-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-list dt { color: var(--muted); font-size: .9rem; }
.facts-list dd { margin: 0; font-weight: 600; text-align: right; font-size: .93rem; }
.pet-response { color: var(--sage); min-height: 1.6em; font-size: .92rem; margin: 12px 0 0; font-style: italic; }

/* ============ Talents ============ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6c3ae; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #f3e4d9; color: var(--accent-dark); font-size: 1.4rem; margin-bottom: 22px;
}
.card:nth-child(2) .card-icon { background: #e6ebe2; color: #65745c; }
.card:nth-child(3) .card-icon { background: #f6e9cf; color: #9a7650; }
.card:nth-child(4) .card-icon { background: #f2dfe1; color: #a55a6a; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============ Photos ============ */
.photos { background: rgba(255, 253, 249, .55); border-block: 1px solid var(--line); }
.photos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.quote {
  margin: 30px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink);
}
.photo-card { margin: 0; }
.photo-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 18px; box-shadow: var(--shadow); }
.photo-card figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px; font-style: italic; }

/* ============ Closing & footer ============ */
.closing { text-align: center; padding-bottom: 120px; }
.closing-inner { max-width: 720px; }
.closing .eyebrow { justify-content: center; }
.closing p:not(.eyebrow) { color: var(--muted); margin: 18px 0 30px; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal:nth-child(2) { transition-delay: .08s; }
.card.reveal:nth-child(3) { transition-delay: .16s; }
.card.reveal:nth-child(4) { transition-delay: .24s; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .photos-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-media { max-width: 520px; margin: 30px auto 0; }
  .hero-note { margin-top: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .badge-one { left: -2%; }
  .badge-two { right: -2%; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 62px; }
  .brand-text { font-size: 1.4rem; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .82rem; }
  .hero h1 { font-size: clamp(4.2rem, 20vw, 6rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .floating-badge { font-size: .7rem; padding: 7px 12px; }
  .badge-one { top: -4%; left: 0; }
  .badge-two { bottom: 4%; right: 0; }
  .section { padding: 74px 0; }
  .facts-card { padding: 26px 22px; }
  .cards { grid-template-columns: 1fr; }
  .paw-divider { padding-top: 42px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
