:root {
  --oatmeal: #F3ECE0;
  --cream: #FBF8F2;
  --rose-brown: #8E4F4A;
  --rose-brown-dark: #6E3935;
  --dusty-rose: #D48A93;
  --sage: #A7B98A;
  --powder: #A9C4DE;
  --text: #5B3E31;
  --text-dark: #3E2A22;
  --stitch: #C9B79C;
  --messenger: #0866FF;
  --whatsapp: #4F6B3A;
  --display: 'Fredoka', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --gutter: 20px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--oatmeal);
}

img { max-width: 100%; display: block; }
a { color: var(--rose-brown); }
a:hover { color: var(--rose-brown-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

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

:focus-visible { outline: 3px solid var(--rose-brown); outline-offset: 3px; }

/* Ribbon banner headings, echoing the knitted name banner */
.ribbon {
  align-self: flex-start;
  display: inline-block;
  padding: 9px 30px;
  background: var(--rose-brown);
  color: var(--oatmeal);
  font-size: 24px;
  line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
}
.ribbon--small {
  font-family: var(--body); font-weight: 700; font-size: 14px; padding: 7px 24px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
}

/* Buttons */
.btn {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  font-weight: 700; font-size: 17px;
  text-decoration: none; text-align: center;
  color: #fff;
  background: var(--rose-brown);
}
.btn:hover { color: #fff; filter: brightness(0.92); }
.btn--messenger { background: var(--messenger); }
.btn--sms { background: var(--rose-brown); }
.btn--whatsapp { background: var(--whatsapp); }
.btn svg { flex-shrink: 0; }

.card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  outline: 2px dashed var(--stitch);
  outline-offset: -9px;
}

/* Header */
.site-header { position: relative; }
.site-header .wrap { height: 76px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; flex-grow: 1; text-decoration: none; color: var(--text); }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 19px; }

.menu summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 14px;
  background: #E8DDCB; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute; right: var(--gutter); top: 70px; z-index: 5;
  background: var(--cream); border-radius: 20px; padding: 10px;
  box-shadow: 0 16px 40px rgba(91, 62, 49, 0.2);
  display: flex; flex-direction: column; min-width: 220px;
}
.menu nav a { padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 700; }
.menu nav a:hover { background: var(--oatmeal); }
.desktop-nav { display: none; }

/* Hero */
.hero { padding-bottom: 28px; }
.hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.hero-image {
  border-radius: 28px; overflow: hidden;
  outline: 2px dashed var(--oatmeal); outline-offset: -10px;
  box-shadow: 0 20px 50px rgba(91, 62, 49, 0.18);
  aspect-ratio: 358 / 250;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-text { display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: 34px; line-height: 1.1; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.small-note { font-size: 14px; text-align: center; }

/* Hills divider */
.hills { display: block; width: 100%; height: 56px; }

/* Sections */
section { padding: 44px 0; }
section > .wrap { display: flex; flex-direction: column; gap: 18px; }

.offer { background: var(--sage); padding-top: 24px; }
.lead { font-weight: 700; color: var(--text-dark); max-width: 640px; }
.offer .card { background: var(--cream); outline-color: var(--dusty-rose); display: flex; flex-direction: column; gap: 12px; }
.offer .card h3 { font-size: 24px; }
.offer-grid { display: grid; gap: 16px; }
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--oatmeal); color: var(--rose-brown);
  display: flex; align-items: center; justify-content: center;
}
.callout {
  background: var(--oatmeal); border-radius: 24px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; }
.step-num {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--dusty-rose); color: var(--text-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 20px;
}
.step h3 { font-size: 21px; margin-bottom: 6px; }
.pickup {
  background: var(--rose-brown); color: #fff; border-radius: 24px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.pickup h3 { font-size: 21px; }

.contact { background: var(--powder); color: var(--text-dark); }
.contact-buttons { display: grid; gap: 12px; }
.contact-buttons .btn { min-height: 64px; border-radius: 20px; font-size: 18px; }
.contact-phone { text-align: center; }
.contact-phone a { color: var(--text-dark); font-weight: 700; }

.faq-grid { display: grid; gap: 14px; }
.faq { background: #fff; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.faq h3 { font-size: 19px; line-height: 1.25; }
.faq--highlight { outline: 2px dashed var(--dusty-rose); outline-offset: -8px; }

.about { background: var(--cream); }
.about-text { display: flex; flex-direction: column; gap: 14px; }
.about-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-placeholder {
  height: 170px; border-radius: 20px;
  background: repeating-linear-gradient(135deg, #E6DAC6 0 10px, #EDE3D2 10px 20px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 14px; font-weight: 700; padding: 0 12px;
}
.about-photos img { width: 100%; height: 170px; object-fit: cover; border-radius: 20px; }

.site-footer { background: var(--text); color: var(--oatmeal); padding: 36px 0; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; }
.site-footer a { color: var(--oatmeal); font-weight: 700; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 21px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.copyright { font-size: 14px; }

/* Desktop */
@media (min-width: 820px) {
  :root { --gutter: 40px; }
  .site-header .wrap { height: 96px; gap: 16px; }
  .brand img { width: 64px; height: 64px; }
  .brand span { font-size: 24px; }
  .menu { display: none; }
  .desktop-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 16px; }
  .desktop-nav a { color: var(--text); text-decoration: none; }
  .desktop-nav a:hover { color: var(--rose-brown); }
  .desktop-nav .btn { min-height: 48px; padding: 0 22px; font-size: 16px; color: #fff; }

  .hero { padding: 40px 0 64px; }
  .hero .wrap { flex-direction: row-reverse; align-items: center; gap: 56px; }
  .hero-text { flex: 0 0 500px; gap: 20px; }
  .hero-image { flex-grow: 1; aspect-ratio: auto; height: 440px; border-radius: 36px; outline-offset: -12px; }
  .hero-image img { object-position: 50% 45%; }
  .hero h1 { font-size: 54px; line-height: 1.05; }
  .hero-text > p { font-size: 19px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .small-note { text-align: left; font-size: 15px; }
  .hills { height: 90px; }

  section { padding: 88px 0; }
  section > .wrap { gap: 26px; }
  .offer { padding-top: 40px; }
  .ribbon { font-size: 30px; padding: 10px 36px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%); }
  .ribbon--small { font-size: 15px; padding: 8px 28px; }
  .lead { font-size: 19px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .offer .card { padding: 36px; border-radius: 28px; }
  .offer .card h3 { font-size: 28px; }
  .callout { flex-direction: row; align-items: center; gap: 32px; padding: 28px 36px; }
  .callout p { flex-grow: 1; }
  .callout .btn { flex-shrink: 0; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .step { flex-direction: column; gap: 12px; padding: 32px; border-radius: 28px; }
  .step-num { width: 48px; height: 48px; font-size: 24px; }
  .step h3 { font-size: 24px; }
  .pickup { flex-direction: row; align-items: center; gap: 32px; padding: 26px 36px; border-radius: 28px; }
  .pickup h3 { flex-shrink: 0; font-size: 26px; }
  .pickup p { flex-grow: 1; }

  .contact .wrap { align-items: center; text-align: center; }
  .contact .ribbon { align-self: center; }
  .contact-buttons { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .contact-buttons .btn { min-height: 72px; border-radius: 22px; font-size: 19px; }

  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .faq { padding: 28px 32px; border-radius: 24px; }
  .faq h3 { font-size: 22px; }

  .about .wrap { flex-direction: row; align-items: center; gap: 56px; }
  .about-photos { flex: 0 0 520px; gap: 16px; }
  .photo-placeholder, .about-photos img { height: 300px; border-radius: 28px; }
  .about-text { gap: 20px; }
  .about-text p { font-size: 19px; line-height: 1.6; }

  .site-footer { padding: 48px 0; }
  .site-footer .wrap { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
}

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

/* Logo stands in until family/flock photos are added */
.about-photos--logo { grid-template-columns: 1fr; justify-items: center; }
.about-photos--logo img { width: 220px; height: 220px; object-fit: contain; border-radius: 50%; }
@media (min-width: 820px) {
  .about-photos--logo { flex: 0 0 360px; }
  .about-photos--logo img { width: 320px; height: 320px; }
}
