/* Corner Cottage Farm — vintage farmhouse brand kit
   Palette: Sunflower Gold #F4B942, Pumpkin Orange #D97A3A,
            Tomato Red #C43E2F, Zinnia Pink #D87A8A,
            Garden Leaf #6B7F43, Antique Cream #F7F1E1
   Page background uses the working logo's paper cream (#FBF5E7)
   so the logo blends without a visible box. */

:root {
  --sunflower: #F4B942;
  --pumpkin: #D97A3A;
  --tomato: #C43E2F;
  --zinnia: #D87A8A;
  --leaf: #6B7F43;
  --cream-official: #F7F1E1;
  --cream: #FBF5E7;
  --ink: #4A3B2A;
  --muted: #7A6A55;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-supporting: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

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

html, body { height: 100%; margin: 0; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
}

h1 {
  margin: 0;
  font-weight: 400;
  line-height: 0;
  max-width: 100%;
  min-width: 0;
}

.logo {
  display: block;
  width: min(36rem, 88vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0.35rem 0 1.15rem;
}

.note {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 28rem;
}

.contact {
  display: inline-block;
  padding: 0.7rem 1.7rem;
  border: 1.5px solid var(--tomato);
  border-radius: 999px;
  color: var(--tomato);
  text-decoration: none;
  font-family: var(--font-supporting);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact:hover,
.contact:focus-visible {
  background: var(--tomato);
  color: var(--cream);
  outline: none;
}

.contact:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tomato) 30%, transparent);
}

.social {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}

.social-icon {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
}

span.social-icon {
  cursor: default;
  pointer-events: none;
}

a.social-icon {
  pointer-events: auto;
  cursor: pointer;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

a.social-icon:hover,
a.social-icon:focus-visible {
  transform: translateY(-2px);
}

a.social-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pumpkin) 30%, transparent);
}

.social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.social-facebook svg { fill: var(--leaf); }
.social-facebook svg path { fill: var(--cream); }

.social-instagram svg { fill: var(--pumpkin); color: var(--cream); }
.social-instagram svg circle:last-child { fill: var(--cream); }

.social-pinterest svg { fill: var(--leaf); }
.social-pinterest svg path { fill: var(--cream); }

.social-youtube svg { fill: var(--tomato); }
.social-youtube svg path { fill: var(--cream); }

footer {
  padding: 1.25rem 1.5rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
}

footer p { margin: 0; }

@media (max-width: 480px) {
  main { padding: 2.25rem 1.25rem 1.5rem; }
  .logo { width: min(22rem, 92vw); }
  .note { font-size: 1rem; }
  .social { gap: 0.7rem; }
  .social-icon { width: 2.35rem; height: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .contact { transition: none; }
  a.social-icon { transition: none; transform: none; }
}
