/* Jones Ridge Kitchen: brand colors and type from the business cards and printed menus. */
:root {
  --ridge: #23402F;      /* deep green: header, hero, footer */
  --ridge-2: #2E5240;
  --clay: #C8693E;       /* contour lines */
  --rust: #A84A24;       /* prices, links, buttons */
  --rust-dark: #7E3519;
  --cream: #F4F1EA;      /* text on green */
  --blush: #E9C9B4;
  --stone: #F1EEE8;      /* quiet panels */
  --ink: #1E2420;
  --muted: #4A524D;
  --line: #D9DDD9;
  --slab: 'Zilla Slab', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --wrap: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; }
img, svg { max-width: 100%; }
a { color: var(--rust); text-underline-offset: .18em; }
a:hover { color: var(--rust-dark); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.12; color: var(--ridge); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---- header ---- */
.site-head { background: var(--ridge); color: var(--cream); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
.brand { color: var(--cream); text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--slab); font-size: 1.55rem; font-weight: 700; }
.brand span { font-family: var(--slab); font-weight: 500; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--blush); margin-top: .3rem; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: .2rem 1.1rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--clay); }
.nav a[aria-current="page"] { border-bottom-color: var(--clay); color: #fff; }
.nav .quote { color: #fff; background: var(--rust); padding: .4rem .9rem; border-radius: 6px; border: 0; }
.nav .quote:hover { background: var(--rust-dark); }
@media (max-width: 760px) {
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .nav { gap: .1rem .95rem; }
  .nav a { font-size: .95rem; }
}

/* ---- hero: the ridge ---- */
.hero { background: var(--ridge); color: var(--cream); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(9rem, 18vw, 13rem); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { font-size: clamp(1.08rem, 2vw, 1.25rem); color: #E4EAE5; max-width: 46ch; }
.ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(8rem, 17vw, 12.5rem); }
.ridge path { fill: none; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .ridge .draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s cubic-bezier(.3,.6,.2,1) .2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.page-head { background: var(--ridge); color: var(--cream); position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; padding-top: 2.6rem; padding-bottom: 5.2rem; }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-head p { color: #E4EAE5; font-size: 1.12rem; margin: 0; }
.page-head .ridge { height: 4.5rem; }

/* ---- buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.3rem; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--rust); background: var(--rust); color: #fff; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; }
.btn.ghost { background: transparent; border-color: rgba(244,241,234,.55); color: var(--cream); }
.btn.ghost:hover { border-color: var(--cream); color: #fff; background: rgba(255,255,255,.06); }
.btn.line { background: transparent; color: var(--rust); }
.btn.line:hover { background: var(--rust); color: #fff; }

/* ---- sections ---- */
main section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
main section + section { border-top: 1px solid var(--line); }
section.tint { background: var(--stone); border-top: 0; }
section.tint + section { border-top: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* the services board: a menu, not a card grid */
.board { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--ridge); }
.board li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: .35rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.board h3 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.board h3 a { color: var(--ridge); text-decoration: none; }
.board h3 a:hover { color: var(--rust); text-decoration: underline; }
.board p { grid-column: 1; margin: 0; color: var(--muted); }
.board .from { grid-row: 1 / span 2; grid-column: 2; align-self: start; font-family: var(--slab); font-weight: 700; color: var(--rust); font-size: 1.3rem; text-align: right; white-space: nowrap; }
.board .from small { display: block; font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--muted); }

/* menu items with prices on the right, like the printed menus */
.menu { list-style: none; margin: 0; padding: 0; }
.item { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.menu .item:first-child { border-top: 2px solid var(--ridge); }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem; }
.item-head h2, .item-head h3 { margin: 0; }
.item-head h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.price { font-family: var(--slab); font-weight: 700; font-size: 1.45rem; color: var(--rust); white-space: nowrap; text-align: right; }
.price small { font-family: var(--sans); font-weight: 500; font-size: .85rem; color: var(--muted); }
.item p { margin: .5rem 0 0; }
.item p b { color: var(--ridge); }
.note { color: var(--muted); font-size: .95rem; }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.tier { border: 1px solid #C9D0CB; border-radius: 8px; padding: 1.3rem 1.3rem 1.1rem; }
.tier.pick { border: 2px solid var(--ridge); }
.tier h3 { margin: 0 0 .2rem; }
.tier .price { text-align: left; font-size: 2rem; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem 3rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--slab); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--rust); margin-bottom: .4rem; }

.callout { background: var(--ridge); color: var(--cream); border-radius: 10px; padding: clamp(1.4rem, 4vw, 2.2rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.callout h2, .callout h3 { color: #fff; margin: 0 0 .3rem; }
.callout p { margin: 0; color: #E4EAE5; }
.callout .price { color: var(--blush); font-size: 2.3rem; }

.fine { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: 1.5rem; max-width: none; }

/* ---- about ---- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem; align-items: start; }
.about .facts { background: var(--stone); border-radius: 10px; padding: 1.4rem 1.5rem; }
.about .facts h2 { font-size: 1.35rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---- form ---- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; max-width: 46rem; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #AEB7B1; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(200,105,62,.45); border-color: var(--clay); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 500; }
.form-status.ok { color: var(--ridge); background: #E3EEE6; padding: .9rem 1rem; border-radius: 6px; }
.form-status.err { color: #8A2A12; background: #FBE7DF; padding: .9rem 1rem; border-radius: 6px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.site-foot { background: var(--ridge); color: #D6DED8; padding: 2.5rem 0 2rem; font-size: .95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-foot a { color: var(--cream); }
.site-foot b { font-family: var(--slab); color: #fff; font-size: 1.2rem; display: block; }
.site-foot p { margin: .2rem 0; }

@media print { .site-head nav, .ridge, .site-foot { display: none; } .hero, .page-head { background: none; color: var(--ink); } .hero h1, .page-head h1 { color: var(--ridge); } }
