/* gotarecipe.com 2026  -  green brand, orange accents */
:root {
  --green: #194A35; --green-dk: #0E2C20; --green-lt: #E6F0EB; --green-mut: #CFE3D8;
  --orange: #FF6600; --orange-dk: #E05A00; --orange-lt: #FFF1E6; --orange-soft: #FFB27A;
  --ink: #1C1917; --ink2: #44403C; --muted: #57534E; --line: #E7E5E4; --line2: #D6D3D1; --paper: #FAFAF9;
  --head: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --hand: Caveat, 'Segoe Print', cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.55; color: var(--ink); background: #FFFFFF; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dk); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hand { font-family: var(--hand); font-weight: 700; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: var(--green-dk); color: #fff; }
.btn.orange { background: var(--orange); color: var(--ink); }
.btn.orange:hover { background: #FF7A1F; color: var(--ink); }
.btn.line { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn.line:hover { border-color: var(--green); color: var(--green); }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.danger { background: #fff; color: #9F1D1D; border-color: #E9B8B8; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { display: inline-block; background: var(--orange-lt); color: var(--green); border-radius: 99px; padding: 0 8px; font-size: 13px; font-weight: 700; line-height: 1.6; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-top: 12px; padding-bottom: 12px; }
.brand img { display: block; height: 36px; width: auto; }
.mainnav { display: flex; flex-wrap: wrap; gap: 2px 22px; font-weight: 500; font-size: 16px; }
.mainnav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.mainnav a[aria-current] { border-color: var(--orange); }
.topsearch { flex: 1 1 220px; min-width: 0; }
.topsearch input { width: 100%; height: 44px; border: 1px solid var(--line2); border-radius: 999px; padding: 0 18px; font: inherit; font-size: 16px; background: var(--paper); }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; min-height: 44px; }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.usermenu .menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 6px; min-width: 180px; display: flex; flex-direction: column; }
.usermenu .menu a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.usermenu .menu a:hover { background: var(--green-lt); }
@media (max-width: 720px) { .uname { display: none; } .mainnav { order: 5; width: 100%; } }

/* footer */
.foot { background: var(--green); color: var(--green-mut); margin-top: 72px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.foot img { height: 64px; width: auto; display: block; }
.foot p { margin: 0; font-size: 15px; }
.foot a { color: #fff; }
.home .foot { margin-top: 0; }

/* page bits */
.page { padding-top: 32px; padding-bottom: 24px; }
.crumbs { margin: 0 0 10px; font-size: 15px; }
.crumbs span { color: #78716C; padding: 0 4px; }
.ptitle { margin: 0; font-size: clamp(36px, 5vw, 52px); font-weight: 800; color: var(--green); }
.lead { font-size: 19px; color: var(--muted); margin: 10px 0 0; }
.msg { border-radius: 12px; padding: 14px 18px; margin: 16px 0; background: var(--green-lt); color: var(--green-dk); font-weight: 500; }
.msg.bad { background: #FDECEC; color: #8A1C1C; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.empty { border: 2px dashed var(--line2); border-radius: 16px; padding: 26px; color: var(--muted); }
.empty b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- home ---------- */
.hero { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.hero .tines { position: absolute; right: -120px; top: -140px; width: 640px; height: 640px; opacity: .12; pointer-events: none; }
.hero-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 140px; position: relative; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero .eyebrow { margin: 0 0 12px; font-family: var(--hand); font-weight: 700; font-size: 30px; color: var(--orange-soft); }
.hero h1 { margin: 0; font-size: clamp(48px, 7.4vw, 84px); font-weight: 800; line-height: .95; letter-spacing: -0.035em; }
.hero .sub { margin: 22px 0 28px; font-size: 20px; max-width: 34em; color: var(--green-mut); }
.bigsearch { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 7px; max-width: 640px; box-shadow: 0 18px 40px rgba(0,0,0,.18); align-items: center; }
.bigsearch svg { flex: none; margin-left: 14px; }
.bigsearch input { flex: 1; min-width: 0; height: 54px; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); }
.bigsearch input:focus { outline: none; }
.bigsearch:focus-within { box-shadow: 0 0 0 3px var(--orange), 0 18px 40px rgba(0,0,0,.18); }
.bigsearch .btn { min-height: 54px; padding: 0 28px; font-size: 17px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.chips span { font-size: 15px; color: var(--green-mut); }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.chips a:hover { background: rgba(255,255,255,.12); color: #fff; }
.stack { flex: 1 1 380px; min-width: 0; height: 420px; position: relative; }
.rcard { position: absolute; background: #fff; border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.22); color: var(--ink); padding: 18px 22px; width: 360px; max-width: 88%; height: 240px; text-decoration: none; transition: transform .35s ease; overflow: hidden; }
.rcard::before { content: ""; display: block; height: 3px; background: var(--orange); margin: -18px -22px 14px; }
.rcard .t { margin: 0; font-family: var(--hand); font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); }
.rcard .l { margin: 8px 0 0; font-family: var(--hand); font-size: 22px; line-height: 34px; color: var(--ink2); }
.rcard.c1 { left: 4%; top: 30px; transform: rotate(-7deg); }
.rcard.c2 { left: 22%; top: 70px; transform: rotate(5deg); }
.rcard.c3 { left: 10%; top: 150px; width: 380px; height: 250px; transform: rotate(-2deg); box-shadow: 0 18px 36px rgba(0,0,0,.28);
  background: repeating-linear-gradient(#fff 0 33px, #D9E6DF 33px 34px); background-position: 0 10px; }
.rcard.c3 .t { font-size: 34px; color: var(--green); }
.rcard.c3 .l { color: var(--ink); }
.stack:hover .c1 { transform: rotate(-9deg) translate(-26px, 8px); }
.stack:hover .c2 { transform: rotate(7deg) translate(24px, -6px); }
.stack:hover .c3 { transform: rotate(-1deg) translateY(-10px); }
.hero .wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; display: block; }
@media (max-width: 700px) { .stack { height: 330px; } .rcard { width: 290px; height: 200px; } .rcard.c3 { width: 300px; height: 220px; } .hero-in { padding-bottom: 110px; } }

.sechead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 0 20px; }
.sechead h2 { margin: 0; font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--green); }
.sechead a { font-weight: 600; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; color: var(--ink); text-decoration: none; min-height: 132px; transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(25,74,53,.14); color: var(--ink); }
.tile .ic { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.tile .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; }
.tile .nm b { font-size: 18px; }
.tile .nm span { font-size: 15px; color: var(--ink2); }
.tint1 { background: #FFF1E6; } .tint2 { background: #E6F0EB; } .tint3 { background: #FFF7D6; } .tint4 { background: #EEF1F6; }

.pickband { margin-top: 56px; background: var(--green); color: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.pickband .hill { position: absolute; right: -40px; bottom: -30px; width: 420px; height: 210px; opacity: .18; pointer-events: none; }
.pickband .txt { flex: 999 1 380px; min-width: 0; position: relative; }
.pickband .hand { margin: 0; font-size: 28px; color: var(--orange-soft); }
.pickband h2 { margin: 4px 0 0; font-size: 22px; font-weight: 600; color: var(--green-mut); letter-spacing: 0; }
.pickband .name { margin: 6px 0 0; font-family: var(--head); font-size: clamp(34px, 5vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.pickband .cat { margin: 12px 0 0; color: var(--green-mut); }
.pickband .btnrow { position: relative; }
.pickband .btn.line { background: transparent; color: #fff; border-color: var(--green-mut); }

.two { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; }
.two > * { flex: 1 1 440px; min-width: 0; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.list a.row { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; color: var(--ink); text-decoration: none; }
.list a.row:hover b { color: var(--green); text-decoration: underline; }
.list a.row span { color: var(--muted); font-size: 15px; text-align: right; }
.promo { border-radius: 22px; background: var(--orange-lt); padding: 28px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.promo .mini { flex: none; width: 150px; height: 100px; background: repeating-linear-gradient(#fff 0 19px, #F3D3BC 19px 20px); border-radius: 4px; box-shadow: 0 8px 18px rgba(0,0,0,.12); transform: rotate(-4deg); border-top: 3px solid var(--orange); }
.promo h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: var(--green); }
.promo p { margin: 0 0 12px; color: var(--ink2); }

/* ---------- recipe cards in lists ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rc { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: transform .18s, box-shadow .18s; }
.rc:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(25,74,53,.12); color: var(--ink); }
.rc .ph { aspect-ratio: 16 / 10; background: var(--green-lt); background-size: cover; background-position: center; display: grid; place-items: center; }
.rc .ph svg { opacity: .55; }
.rc .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rc .bd b { font-size: 18px; line-height: 1.25; font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; }
.rc .bd span { font-size: 14px; color: var(--muted); margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.filters a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.filters a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }
.filters a span { color: var(--muted); font-size: 13px; }
.filters a[aria-current] span { color: var(--green-mut); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------- recipe page ---------- */
.rhead { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rhead .copy { flex: 999 1 520px; min-width: 0; }
.rhead .eyebrow { margin: 0 0 4px; font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--orange-dk); }
.rhead h1 { margin: 0; font-size: clamp(38px, 5.4vw, 56px); font-weight: 800; color: var(--green); letter-spacing: -0.025em; line-height: 1.02; }
.rhead .about { margin: 12px 0 0; font-size: 19px; color: var(--ink2); max-width: 40em; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--muted); font-size: 16px; }
.meta b { color: var(--ink); font-weight: 600; }
.stars { display: flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.stars svg { width: 22px; height: 22px; }
.rhead .btnrow { margin-top: 22px; }
.rphoto { flex: 1 1 340px; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--green-lt); }
.rphoto img { display: block; width: 100%; height: 300px; object-fit: cover; }
.rphoto.none { border: 2px dashed var(--line2); background: #F5F5F4; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; padding: 20px; }
.rphoto.none b { color: var(--ink); }
.thumbs { display: flex; gap: 8px; padding: 8px; flex-wrap: wrap; background: #fff; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--orange); }
.thumbs img { width: 64px; height: 48px; object-fit: cover; display: block; }
.rbody { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; align-items: flex-start; }
.ingbox { flex: 1 1 340px; min-width: 0; }
.ingbox .top2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ingbox h2, .dirs h2, .notes h2 { margin: 0; font-size: 28px; font-weight: 700; }
.scaler { display: flex; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 3px; gap: 2px; }
.scaler button { min-width: 48px; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.scaler button[aria-pressed="true"] { background: var(--green); color: #fff; }
.scalenote { margin: 8px 0 18px; color: var(--muted); font-size: 15px; min-height: 1.5em; }
.ings { list-style: none; margin: 0; padding: 0; }
.ings li.brk { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
.ings li.brk h3 { margin: 6px 0 2px; font-family: Inter, sans-serif; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.ings label { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; cursor: pointer; }
.ings input { accent-color: var(--green); width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.ings input:checked + span { text-decoration: line-through; color: #78716C; }
.ings .amt { font-weight: 600; color: var(--green); }
.ingbox .btn { width: 100%; margin-top: 18px; }
.dirs { flex: 999 1 460px; min-width: 0; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: st; }
.steps li { display: flex; gap: 16px; align-items: flex-start; counter-increment: st; }
.steps li::before { content: counter(st); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; margin-top: 1px; }
.steps p { margin: 0; max-width: 64ch; text-wrap: pretty; }
.tipbox { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; background: var(--orange-lt); border-radius: 14px; padding: 18px 20px; }
.tipbox p { margin: 0; white-space: pre-line; }
.story { margin-top: 28px; border-left: 0; background: var(--green-lt); border-radius: 14px; padding: 18px 20px; }
.story h3 { margin: 0 0 4px; font-family: var(--hand); font-size: 28px; color: var(--green); letter-spacing: 0; }
.story p { margin: 0; white-space: pre-line; }
.notes { margin-top: 44px; }
.note { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.note .who { margin: 0 0 4px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.note .who span { font-weight: 400; color: var(--muted); font-size: 15px; }
.note p.body { margin: 0; color: var(--ink2); white-space: pre-line; }
.note form { display: inline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.rate { display: flex; gap: 2px; border: 0; padding: 0; margin: 0 0 10px; }
.rate legend { font-weight: 600; margin-bottom: 4px; }
.rate input { position: absolute; opacity: 0; width: 1px; }
.rate label { cursor: pointer; padding: 2px; }
.rate label svg { width: 30px; height: 30px; fill: none; stroke: var(--orange-dk); stroke-width: 1.5; }
.rate label.on svg { fill: var(--orange); }
.rate input:focus-visible + label { outline: 3px solid var(--orange); border-radius: 6px; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form label.f, .form .f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.form small, .hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=number], .form select, .form textarea,
textarea.note-in { width: 100%; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); font-weight: 400; }
.form input, .form select { min-height: 46px; }
.form textarea, textarea.note-in { resize: vertical; line-height: 1.5; }
.form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.form .check input { width: 20px; height: 20px; accent-color: var(--green); }
.edit-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.edit-grid > .main { flex: 999 1 560px; min-width: 0; }
.edit-grid > .side { flex: 1 1 300px; min-width: 0; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photos figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photos figcaption { padding: 6px 8px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.preview { font-size: 15px; }
.preview li { padding: 2px 0; }
.narrow { max-width: 480px; }

/* ---------- shopping list ---------- */
.shop { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 40px; }
.shop li { break-inside: avoid; }
.shop label { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.shop input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 3px; flex: none; }
.shop input:checked + span { text-decoration: line-through; color: #78716C; }
.shop .from { display: block; font-size: 13px; color: var(--muted); }

/* ---------- admin ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tblwrap { overflow-x: auto; }
.tag { display: inline-block; border-radius: 99px; padding: 0 8px; font-size: 13px; font-weight: 600; background: var(--green-lt); color: var(--green); }
.tag.off { background: #F5F5F4; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .top, .foot, .noprint, .btnrow, .notes, .scaler { display: none !important; }
  body { font-size: 12pt; }
}
