/* Two Dogs and a Prayer: private preview styles. Colors sampled from the logo. */
:root {
  --logo-field: #fdfbf9;
  --cream: #f7f0e5;
  --cream-deep: #efe4d3;
  --charcoal: #38342f;
  --ink-soft: #5c625a;
  --terracotta: #a9604f;
  --terracotta-ink: #8c4b3d;
  --rose: #b57869;
  --rose-tint: #f1ddd5;
  --sand-tint: #ece2d2;
  --line: #e2d5c2;
  --radius: 18px;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terracotta-ink); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); }

/* Header */
.site-header {
  background: var(--logo-field);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .5rem;
}
.brand img { width: 120px; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { border-bottom-color: var(--terracotta); }

/* Hero: logo on its own near-white field so the artwork edges blend */
.hero {
  background: var(--logo-field);
  border-bottom: 1px solid var(--line);
}
.hero-in {
  display: flex;
  justify-content: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.hero-logo { width: min(620px, 92vw); }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }

h2, h3 { font-family: var(--display); font-weight: 600; color: var(--charcoal); line-height: 1.25; }
h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  margin: 0 0 1.25rem;
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: .75rem;
  border-radius: 3px;
  background: var(--terracotta);
}
.narrow h2 { text-align: center; }
.narrow h2::after { margin-inline: auto; }

.copy p, .narrow p { margin: 0 0 1.1rem; max-width: 62ch; }
.narrow p { margin-inline: auto; text-align: center; }

p.short { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--terracotta-ink); }
p.aside { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--terracotta-ink); }

/* Two-column text + photo tile */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-media { order: -1; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1.15fr .85fr; }
  .split-media { order: 0; }
  .split-rev { grid-template-columns: .85fr 1.15fr; }
  .split-rev .split-media { order: -1; }
}

/* Photo tiles: soft tinted blocks with a small motif until real photos arrive */
.photo-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split .photo-tile { aspect-ratio: 4 / 5; max-height: 520px; }
.tone-rose { background: radial-gradient(circle at 30% 25%, #f8ebe5 0, var(--rose-tint) 60%, #ead0c6 100%); }
.tone-sand { background: radial-gradient(circle at 70% 30%, #f6efe4 0, var(--sand-tint) 60%, #e3d6c2 100%); }
.motif { width: clamp(44px, 18%, 84px); height: auto; fill: var(--terracotta); opacity: .55; }
.motif-line { fill: none; stroke: var(--rose); stroke-width: 3.5; stroke-linejoin: round; opacity: .8; }

/* Shop coming soon: category grid */
.shop { background: var(--logo-field); }
.shop h2 { text-align: center; }
.shop h2::after { margin-inline: auto; }
.cat-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem .75rem 1.1rem;
  box-shadow: 0 1px 0 rgba(56, 52, 47, .04), 0 10px 24px -18px rgba(56, 52, 47, .35);
}
.cat-card .photo-tile { border-radius: 12px; }
.cat-card h3 {
  margin: .9rem .25rem 0;
  font-size: 1.15rem;
  text-align: center;
}

/* Why the name */
.why { background: var(--cream-deep); }
p.formula {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--terracotta-ink);
  font-weight: 600;
  margin-block: 1.5rem;
}

/* Made in Tennessee */
p.pull {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--terracotta-ink);
  margin-block: 1.5rem;
}
p.signoff { font-weight: 700; letter-spacing: .02em; }

.paw-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.paw-rule span { width: 90px; height: 2px; background: var(--rose); opacity: .6; border-radius: 2px; }
.paw-rule .motif { width: 30px; opacity: .85; }

/* Footer */
.site-footer {
  background: var(--logo-field);
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
}
.footer-credit {
  margin: 0;
  text-align: center;
  font-size: .8125rem;
  color: var(--ink-soft);
}
.footer-credit a { color: var(--ink-soft); text-decoration: none; }
.footer-credit a:hover, .footer-credit a:focus-visible { text-decoration: underline; }

@media (max-width: 859px) {
  .split .photo-tile { aspect-ratio: 16 / 9; max-height: 260px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .cat-card { padding: .55rem .55rem .9rem; }
  .cat-card h3 { font-size: 1rem; }
  .header-in { flex-direction: column; gap: .25rem; }
  .brand img { width: 104px; }
  .site-header { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
