/* Walker's Edge Farm — site styles */
:root {
  --bg: #f6f1e7;
  --surface: #fcf9f3;
  --surface-2: #efe7d8;
  --ink: #2a2420;
  --ink-soft: #5c524a;
  --ink-faint: #8a7f74;
  --line: #e0d5c3;
  --copper: #ce9768;       /* logo copper — use on dark only */
  --copper-deep: #8c5528;  /* accessible on cream */
  --copper-hover: #74441f;
  --night: #1c1916;
  --night-2: #26221e;
  --pasture: #4c5a3a;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.15rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --text-2xl: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(42, 36, 32, .06), 0 8px 24px -12px rgba(42, 36, 32, .18);
  --wrap: 1180px;
  --section: clamp(3.5rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--copper-deep); text-underline-offset: 3px; }
a:hover { color: var(--copper-hover); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lede { font-size: var(--text-lg); color: var(--ink-soft); max-width: 60ch; line-height: 1.5; }
.muted { color: var(--ink-soft); }
.eyebrow { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--copper-deep); margin: 0 0 .9rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--night); color: #efe6d8; }
.section--dark .eyebrow { color: var(--copper); }
.section--dark .muted { color: #b9ac9c; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: #efe6d8; border-bottom: 1px solid #000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #f3e9da; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: #d9cdbc; text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: .55rem .8rem; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--copper); }
.nav .btn { margin-left: .5rem; color: var(--night); }
.nav .btn:hover { color: var(--night); background: #e0ad80; }
.menu-btn { display: none; background: none; border: 1px solid #4a423a; color: #f3e9da; border-radius: 8px; padding: .5rem .75rem; font: inherit; font-size: var(--text-sm); cursor: pointer; }

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .5rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid #000; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem .5rem; font-size: var(--text-base); border-bottom: 1px solid #2f2a25; border-radius: 0; }
  .nav .btn { margin: 1rem 0 0; text-align: center; border-radius: 999px; border: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: var(--text-sm); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .18s, color .18s, border-color .18s; }
.btn--copper { background: var(--copper); color: var(--night); }
.btn--copper:hover { background: #e0ad80; color: var(--night); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127,127,127,.12); color: inherit; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero */
.hero { background: var(--night); color: #efe6d8; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero-logo { width: min(300px, 70%); margin: 0 0 1.75rem -6px; }
.hero h1 { color: #f6eee2; max-width: 16ch; }
.hero .lede { color: #c9bcab; }
.hero .btn-row { margin-top: 2rem; }
.hero-photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: .75rem; aspect-ratio: 1 / 1; }
.hero-photos picture, .hero-photos img { width: 100%; height: 100%; }
.hero-photos img { object-fit: cover; border-radius: var(--radius-lg); }
.hero-photos .tall { grid-row: span 2; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photos { aspect-ratio: 4 / 3; }
}

/* Info strip */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 1.5rem 1.5rem 1.5rem 0; display: flex; gap: .9rem; align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.fact svg { flex: none; color: var(--copper-deep); margin-top: 2px; }
.fact strong { display: block; font-size: var(--text-sm); }
.fact span { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact + .fact { border-left: 0; padding: 1.1rem 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
a.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-body p { font-size: var(--text-sm); color: var(--ink-soft); }
.card-foot { margin-top: auto; padding-top: .75rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-size: var(--text-sm); }
.tag { display: inline-block; font-size: var(--text-xs); font-weight: 600; color: var(--pasture); background: #e4e6d6; padding: .2rem .6rem; border-radius: 999px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " \2192"; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.checklist li { padding-left: 1.75rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--copper); }

/* Page header */
.page-head { background: var(--night); color: #efe6d8; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { color: #f6eee2; margin-bottom: .4rem; }
.page-head .eyebrow { color: var(--copper); }
.page-head p { color: #c9bcab; max-width: 62ch; margin: 0; font-size: var(--text-lg); line-height: 1.5; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label, .label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: .4rem; }
.req { color: var(--copper-deep); }
.hint { font-weight: 400; color: var(--ink-faint); font-size: var(--text-xs); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper-deep); box-shadow: 0 0 0 3px rgba(206, 151, 104, .3); }
.honey { position: absolute; left: -9999px; }

.choice-group { display: grid; gap: .6rem; }
.choice { display: flex; align-items: center; gap: .85rem; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); padding: .85rem 1rem; cursor: pointer; font-weight: 500; margin: 0; }
.choice:hover { border-color: #cdbca3; }
.choice input { accent-color: var(--copper-deep); width: 1.15rem; height: 1.15rem; margin: 0; flex: none; }
.choice .choice-price { margin-left: auto; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--copper-deep); background: #fbf3ea; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 420px) { .choice-row { grid-template-columns: 1fr; } }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 64px; text-align: center; border: 0; border-inline: 1.5px solid var(--line); border-radius: 0; min-height: 48px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line); margin-top: .5rem; }
.total strong { font-family: var(--font-display); font-size: 1.6rem; }
.form-note { font-size: var(--text-xs); color: var(--ink-faint); margin: .9rem 0 0; text-align: center; }

/* Order layout */
.order-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .order-layout { grid-template-columns: 1fr; } }
.info-stack { display: grid; gap: 1rem; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem 1.4rem; }
.info h3 { font-size: 1.05rem; margin-bottom: .5rem; display: flex; gap: .6rem; align-items: center; }
.info h3 svg { color: var(--copper-deep); }
.info p, .info li { font-size: var(--text-sm); color: var(--ink-soft); }
.info p:last-child { margin: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.hours td { padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border: 0; }
.price-list b { color: var(--ink); }

/* Animals for sale */
.sale-card .card-media { aspect-ratio: 1 / 1; }
.sale-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.sale-meta span { font-size: var(--text-xs); color: var(--ink-soft); background: var(--surface-2); padding: .2rem .6rem; border-radius: 999px; }
.notice { display: flex; gap: .9rem; align-items: center; background: #e9ead9; color: #3b4630; border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-top: 1.75rem; font-size: var(--text-sm); }
.notice svg { flex: none; }

.animal-row { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }

.animal-row img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.animal-row h3 { margin-bottom: .25rem; }
.animal-row p { margin: 0 0 .5rem; color: var(--ink-soft); }
@media (max-width: 560px) { .animal-row { grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; } .animal-row p { font-size: var(--text-sm); } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; }
.contact-list svg { flex: none; color: var(--copper-deep); margin-top: 3px; }
.contact-list strong { display: block; font-size: var(--text-sm); }
.map { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius-lg); background: var(--surface-2); }

/* CTA band */
.band { background: var(--night-2); color: #efe6d8; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.band h2 { color: #f6eee2; margin: 0 0 .3rem; }
.band p { color: #c3b6a5; margin: 0; }

/* Footer */
.site-footer { background: var(--night); color: #b9ac9c; padding-block: 3.5rem 2rem; font-size: var(--text-sm); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h2 { font-family: var(--font-body); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--copper); margin-bottom: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d9cdbc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-logo { width: 180px; margin-bottom: 1rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3a342e; border-radius: 50%; }
.socials a:hover { border-color: var(--copper); color: var(--copper); }
.foot-bottom { border-top: 1px solid #2f2a25; margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--text-xs); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.stack-sm > * + * { margin-top: .75rem; }
.prose { max-width: 65ch; }
.prose p { color: var(--ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.values > div { border-top: 2px solid var(--copper); padding-top: 1rem; }
.values h3 { margin-bottom: .35rem; }
.values p { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.photo-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .75rem; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-row picture:first-child img { aspect-ratio: auto; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row picture:first-child { grid-column: 1 / -1; } .photo-row picture:first-child img { aspect-ratio: 16/9; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
picture { display: block; }
.split picture, .card-media picture { height: 100%; }
.hero-photos picture { overflow: hidden; border-radius: var(--radius-lg); }
.brand span { white-space: nowrap; }
@media (max-width: 420px) { .brand span { font-size: 1.1rem; } .brand img { width: 34px; height: 34px; } }
.nav .btn[aria-current="page"] { color: var(--night); box-shadow: 0 0 0 2px #f3e9da inset; }
.meet-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.meet-grid .animal-row { grid-template-columns: 160px 1fr; padding: 1.5rem 0; }
@media (max-width: 860px) { .meet-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .meet-grid .animal-row { grid-template-columns: 96px 1fr; } }
.photo-row .contain img { object-fit: contain; background: #000; }
