/* EthioFarmGifts — Adey Abeba */

:root {
  --gold: #F0B429;
  --gold-deep: #C98A0B;
  --gold-soft: #FCEFCB;
  --green: #14483A;
  --green-night: #0D3228;
  --cream: #FDF8EC;
  --cream-2: #F6EDD8;
  --line: #EFE3C8;
  --line-2: #E3D8BF;
  --ink: #17150F;
  --ink-2: #3B352A;
  --muted: #6B6355;
  --muted-2: #8A8271;
  --rust: #B4552B;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ethiopic: 'Noto Sans Ethiopic', 'Archivo', sans-serif;

  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold-deep); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(38px, 7vw, 74px); line-height: 1.03; }
h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; }
h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
p { margin: 0; }

.am { font-family: var(--ethiopic); }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* ── layout ── */
.wrap { max-width: 1440px; margin: 0 auto; }
.pad { padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(52px, 7vw, 84px); padding-bottom: clamp(52px, 7vw, 84px); }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-deep);
}

/* ── banner + header ── */
.banner {
  background: var(--green-night); color: var(--cream);
  padding: 11px 20px; font-size: 14px; text-align: center; line-height: 1.45;
}
.banner .am { color: var(--gold); }
.banner .sep { opacity: 0.35; margin: 0 10px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); background: var(--cream);
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo .mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo .word { font-family: var(--serif); font-size: 25px; line-height: 1; }
.logo .word b { font-weight: 400; color: var(--green); }
.logo .word i { font-style: normal; color: var(--gold-deep); }

nav.site { display: flex; gap: 28px; font-size: 15px; color: var(--ink-2); }
nav.site a { color: var(--ink-2); }
nav.site a.on { color: var(--green); font-weight: 600; border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
@media (max-width: 900px) { nav.site { display: none; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; cursor: pointer; font-family: var(--sans);
  font-size: 16px; font-weight: 600; padding: 16px 32px;
  border-radius: 999px; min-height: 52px; text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(201,138,11,0.28); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); font-weight: 500; }
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-full { width: 100%; }

/* ── hero ── */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } }

.hero-copy {
  display: flex; flex-direction: column; gap: 24px; justify-content: center;
  padding-top: clamp(44px, 7vw, 88px); padding-bottom: clamp(44px, 7vw, 88px);
}
.hero-copy h1 { color: var(--green); }
.hero-copy h1 em { font-style: italic; color: var(--gold-deep); }
.hero-lede { font-size: clamp(16px, 2vw, 18px); color: #4A4438; max-width: 54ch; text-wrap: pretty; }

.pill {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  background: var(--cream-2); border: 1px solid var(--line-2);
  padding: 8px 16px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: #8A5E12;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }

.hero-art {
  position: relative; background: var(--green); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end; justify-content: center;
}
.hero-art .ground { position: absolute; inset: auto 0 0 0; height: 26%; background: var(--green-night); }
.hero-art .bloom { position: absolute; top: -70px; right: -60px; width: 300px; opacity: 0.13; }
.hero-art .goat { position: relative; width: min(78%, 420px); margin-bottom: 8%; }

/* ── trust strip ── */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--cream-2);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.trust > div {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 24px clamp(18px, 2.4vw, 34px); border-right: 1px solid var(--line-2);
}
.trust > div:last-child { border-right: none; }
.trust svg { flex-shrink: 0; margin-top: 2px; }
.trust b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.trust span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(2n) { border-right: none; }
  .trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .trust > div { border-right: none; border-bottom: 1px solid var(--line-2); }
  .trust > div:last-child { border-bottom: none; }
}

/* ── size cards ── */
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .sizes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.size {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
}
.size.feat { background: var(--green); border-color: var(--green); }
.size .art {
  position: relative; background: var(--cream-2); height: 230px;
  display: flex; align-items: center; justify-content: center;
}
.size.feat .art { background: var(--green-night); }
.size .art svg { width: 76%; height: auto; }
.size.feat .art svg { width: 88%; }
.size .badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--rust); color: var(--cream);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.size.feat .badge { background: var(--gold); color: var(--ink); }
.size .body { padding: 24px; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.size h3 { color: var(--green); }
.size.feat h3 { color: var(--cream); }
.size .kg { font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--gold-deep); }
.size.feat .kg { color: var(--gold); }
.size .blurb { font-size: 14.5px; color: var(--muted); line-height: 1.55; flex-grow: 1; }
.size.feat .blurb { color: #C9D6CE; }
.size .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.size .price { font-size: 25px; font-weight: 600; }
.size.feat .price { color: var(--cream); }
.size .price small { font-size: 13px; font-weight: 500; color: var(--muted-2); }
.size.feat .price small { color: #A9BDB2; }

/* ── generic cards / steps ── */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

.step { padding: 30px; background: var(--cream-2); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.step .n { font-family: var(--serif); font-size: 42px; color: var(--gold); line-height: 1; }
.step b { font-size: 19px; font-weight: 600; }
.step p { font-size: 15px; color: #5A5346; line-height: 1.6; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.panel { background: var(--cream-2); border-radius: 24px; padding: clamp(28px, 4vw, 56px); }

.tick { display: flex; align-items: center; gap: 13px; background: #fff; border-radius: 14px; padding: 18px 20px; font-size: 15.5px; }
.tick svg { flex-shrink: 0; }

/* ── dark band ── */
.band { background: var(--green-night); color: var(--cream); }
.band h2 { color: var(--cream); }
.band .eyebrow { color: var(--gold); }
.band p { color: #B9C9C0; }
.band .checks { display: flex; flex-direction: column; gap: 13px; margin-top: 4px; }
.band .checks div { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--cream); }

/* ── towns ── */
.towns { display: flex; flex-wrap: wrap; gap: 12px; }
.towns span {
  background: var(--cream-2); border-radius: 999px;
  padding: 13px 22px; font-size: 15.5px; font-weight: 500;
}

/* ── footer ── */
footer.site { background: var(--ink); color: #A39C8C; padding-top: 48px; padding-bottom: 32px; }
footer.site a { color: #A39C8C; }
footer.site a:hover { color: var(--gold); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.foot-brand .word { font-family: var(--serif); font-size: 22px; color: var(--cream); }
.foot-addr { font-size: 14px; line-height: 1.65; color: var(--muted-2); font-style: normal; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.foot-col b { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6E6759; font-weight: 500; }
.cards { display: flex; gap: 7px; }
.cards i { width: 38px; height: 25px; border-radius: 4px; display: block; }
.foot-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid #2C2922;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: #6E6759;
}

/* ── forms ── */
.form { display: flex; flex-direction: column; gap: 26px; max-width: 720px; }
.fieldset { display: flex; flex-direction: column; gap: 14px; }
.fieldset > legend, .fieldset > .legend {
  display: flex; align-items: center; gap: 11px;
  font-size: 19px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 2px;
}
.fieldset .num {
  width: 27px; height: 27px; border-radius: 999px; background: var(--green);
  color: var(--gold); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600; flex-shrink: 0;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

label.f { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
label.f .req { color: var(--rust); }
input, select, textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 15px; width: 100%; min-height: 50px;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238A8271' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(20,72,58,0.12); }
input.err, select.err, textarea.err { border-color: var(--rust); }
.hint { font-size: 13px; color: var(--muted); line-height: 1.5; }

.check { display: flex; align-items: flex-start; gap: 12px; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 15px 17px; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; margin-top: 1px; accent-color: var(--green); }
.check span { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .picker { grid-template-columns: 1fr; } }
.picker label {
  border: 1.5px solid var(--line-2); background: #fff; border-radius: 14px;
  padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
}
.picker label:has(input:checked) { border-color: var(--green); border-width: 2px; box-shadow: 0 0 0 3px rgba(20,72,58,0.08); }
.picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.picker b { font-size: 16px; }
.picker em { font-style: normal; font-size: 13px; color: var(--muted); }
.picker .p { font-size: 16px; font-weight: 600; margin-top: 4px; }

.summary { background: var(--green); color: var(--cream); border-radius: 20px; padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.summary .line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: #C9D6CE; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid rgba(253,248,236,0.16); }
.summary .total b { font-size: 17px; font-weight: 600; color: var(--cream); }
.summary .total span { font-family: var(--serif); font-size: 34px; color: var(--gold); }

.notice { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.55; }
.notice.bad { background: #FBEDE7; border: 1px solid #EBD0C4; color: #8E3F1E; }

.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 22px; color: var(--green); }
.prose h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin-top: 12px; }
.prose p, .prose li { font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── order + policies page layouts (must be classes, not inline styles,
      so they can collapse on mobile) ── */
.order-layout {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.order-aside { position: sticky; top: 24px; min-width: 0; }
.doc-layout {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.doc-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
@media (max-width: 900px) {
  .order-layout, .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .order-aside, .doc-nav { position: static; }
  .doc-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}
