/* =========================
   0) Base reset + variables
   ========================= */
:root{
  --bg: #f8f5ef;          /* warm paper */
  --text: #1f2933;        /* near-black */
  --muted: #5f6f7a;
  --nav-bg: #5a6f8a;
  --rule: #e0dbd1;
  --max: 900px;

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Inter, Arial, sans-serif;
}

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

html { font-size: 16px; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  line-height: 1.65;
}

/* =========================
   1) Layout helpers
   ========================= */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main{
  padding-bottom: 4rem;
}

/* =========================
   2) Typography
   ========================= */
h1, h2, h3{
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p{ margin: 0 0 1.2rem; }

a{
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover{
  text-decoration: underline;
}

/* =========================
   3) Header + navigation
   ========================= */
.site-header{
  padding: 2.75rem 0 1.75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
  text-align: center;
}

.brand{
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.tagline{
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.site-nav{
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
    justify-content: center;  
  gap: 1.5rem;
}

/* Quiet-literary interest: small caps-ish look + hairline hover */
.site-nav a{
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--nav-bg);
  position: relative;
  padding-bottom: 0.2rem;
}

/* hover underline grows from left */
.site-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--nav-bg);
  transition: width 180ms ease;
}

.site-nav a:hover::after{
  width: 100%;
}

/* current page state */
.site-nav a[aria-current="page"]{
  color: #42586f;
  font-weight: 700;
}

.site-nav a[aria-current="page"]::after{
  width: 100%;
}

.site-nav .home-link{
  margin-left: auto;
}

/* =========================
   4) Optional: footer
   ========================= */
.site-footer{
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.two-col{
  display: flex;
  gap: 2rem;              /* was 3rem */
  align-items: flex-start;
  margin-top: 3rem;
}

.two-col .left{
  flex: 0 0 28%;
  max-width: 28%;
}

.two-col .right{
  flex: 1 1 72%;
  max-width: 72%;
  min-width: 0;           /* IMPORTANT */
}

/* Make the embedded PDF a reasonable size */
.pdf-frame iframe{
  width: 100%;
  height: 80vh;
  min-height: 700px;
  display: block;
  border: 0;
}


/* Make the embedded PDF a reasonable size */
.pdf-frame object{
  width: 100%;
  height: 70vh;          /* responsive to screen height */
  min-height: 520px;     /* keeps it usable on desktops */
  display: block;
}

/* Nice quiet link styling (optional) */
.text-link{
  color: var(--nav);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.text-link:hover{
  text-decoration-thickness: 2px;
}

/* Mobile: stack */
@media (max-width: 800px){
  .two-col{
    flex-direction: column;
    gap: 2rem;
  }
  .two-col .left,
  .two-col .right{
    max-width: 100%;
  }
  .pdf-frame object{
    height: 60vh;
    min-height: 420px;
  }
}
.pdf-frame iframe{
  width: 100%;
  height: 88vh;      /* fills most of the screen height */
  min-height: 600px;
  border: none;
  display: block;
}
.container{
  max-width: 720px;   /* ideal for reading */
  margin: 0 auto;     /* centers it */
  padding: 0 1.5rem;  /* side margins on small screens */
}

.pets-layout img{
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.pets-layout{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  max-width: 520px;
  margin: 3rem auto 0;
}

/* Dog: tall anchor image */
.pet-dog{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Cats: quiet grid */
.pet-cats{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.pet-cats img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 600px){
  .pets-layout{
    grid-template-columns: 1fr;
  }

  .pet-dog{
    max-height: 420px;
  }
}
.pdf-frame iframe {
  width: 100%;
  height: 600px;
  border: 0;
}

.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* optional: make the link look like a button */
.pdf-button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid currentColor;
}
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

.recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.recipe-card {
  flex: 1 1 300px;
  max-width: 400px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #ddd;      /* soft, not shouty */
  border-radius: 12px;         /* rounded edges */
  padding: 1.25rem;
  background-color: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  text-decoration: underline;
}