/* The Salty Hen — earthy, warm, handmade */
:root {
  --cream: #f7efde;
  --cream-soft: #fbf5e7;
  --cream-edge: #ead9b8;
  --terracotta: #c75c3c;
  --terracotta-dark: #9d4427;
  --terracotta-soft: #e8a78a;
  --green: #2c4a36;
  --green-soft: #4a6e57;
  --mustard: #d59a2c;
  --ink: #2b2118;
  --ink-soft: #5a4b3e;
  --paper: #fff8ec;

  --maxw: 1100px;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(43,33,24,.08), 0 4px 14px rgba(43,33,24,.06);
  --shadow-md: 0 6px 24px rgba(43,33,24,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:target, .section { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

h1, h2, h3 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 .4em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; letter-spacing: 0; }
em { font-style: italic; color: var(--terracotta-dark); }

p { margin: 0 0 1em; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-edge);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .65rem;
  padding-bottom: .65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  flex: 0 0 36px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
  letter-spacing: .01em;
}
.brand-tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin-top: .2rem;
}

.nav-list {
  display: flex; gap: 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: .35em 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-list a:hover { color: var(--terracotta-dark); border-bottom-color: var(--terracotta); }

@media (max-width: 720px) {
  .brand-tag { display: none; }
  .nav-list { gap: .85rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav-list a { font-size: .9rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: .8em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-ghost:hover {
  background: var(--green);
  color: var(--paper);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 90% -10%, var(--terracotta-soft) 0%, transparent 55%),
    radial-gradient(700px 400px at -10% 110%, #f3d27e 0%, transparent 60%),
    var(--cream-soft);
  border-bottom: 1px solid var(--cream-edge);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(2.5rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 9vw, 6rem);
  max-width: 760px;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: rgba(199,92,60,.08);
  padding: .35em .8em;
  border-radius: 999px;
  margin: 0 0 1.2em;
}
.hero h1 { color: var(--green); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: .6em 0 1.6em;
}
.hero-cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.hero-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
  border-top: 1px dashed var(--cream-edge);
  padding-top: 1.2rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.hero-meta strong {
  display: block;
  color: var(--green);
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  letter-spacing: 0;
}
.hero-art {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  pointer-events: none;
  z-index: 1;
}
.hero-art-circle {
  position: absolute;
  top: -10%; right: -8%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--terracotta) 0%, var(--terracotta-dark) 70%);
  opacity: .25;
}
.hero-art-stripes {
  position: absolute;
  bottom: -6%; right: 8%;
  width: 220px; height: 220px;
  background: repeating-linear-gradient(45deg, var(--green) 0 6px, transparent 6px 22px);
  opacity: .12;
  border-radius: 16px;
  transform: rotate(-8deg);
}
@media (max-width: 760px) {
  .hero-art { display: none; }
}

/* ---------- generic section ---------- */
.section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: var(--paper); }
.section-green h1, .section-green h2, .section-green h3 { color: var(--paper); }
.section-green p { color: #d8e3da; }
.section-green .section-eyebrow { color: var(--mustard); background: rgba(213,154,44,.12); }
.section-terracotta {
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: var(--paper);
}
.section-terracotta h1, .section-terracotta h2, .section-terracotta h3 { color: var(--paper); }
.section-terracotta p { color: #fce5d8; }
.section-narrow { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2.5rem;
}
.section-head-light .section-eyebrow { color: var(--mustard); background: rgba(255,255,255,.12); }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: rgba(199,92,60,.08);
  padding: .3em .8em;
  border-radius: 999px;
  margin: 0 0 1em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: .4em;
}
.section-green .section-sub,
.section-terracotta .section-sub { color: rgba(255,248,236,.85); }

.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- about cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--cream-edge);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.card-quote {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}
.card-quote .quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--paper);
  margin-bottom: .8em;
}
.card-quote .quote-attr {
  color: var(--mustard);
  font-size: .9rem;
  letter-spacing: .04em;
  margin: 0;
}

/* ---------- menu ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.menu-card {
  background: rgba(247,239,222,.06);
  border: 1px solid rgba(247,239,222,.18);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
}
.menu-card h3 {
  color: var(--mustard);
  font-size: 1.25rem;
  letter-spacing: .02em;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px dashed rgba(213,154,44,.4);
}
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list > li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px dotted rgba(247,239,222,.18);
}
.menu-list > li:last-child { border-bottom: none; }
.menu-list .dish {
  color: var(--paper);
  font-weight: 500;
  font-size: 1.02rem;
}
.menu-list .price {
  color: var(--mustard);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.menu-list .dots { display: none; }
.menu-list .dish-note {
  grid-column: 1 / -1;
  font-size: .9rem;
  color: rgba(255,248,236,.7);
  font-style: italic;
  margin: .15rem 0 0;
  line-height: 1.5;
}
.menu-footnote {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255,248,236,.6);
  font-size: .9rem;
  font-style: italic;
}

/* ---------- general store ---------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.store-tile {
  background: rgba(255,248,236,.1);
  border: 1px solid rgba(255,248,236,.25);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .18s ease, background .18s ease;
}
.store-tile:hover { transform: translateY(-2px); background: rgba(255,248,236,.16); }
.store-icon {
  color: var(--mustard);
  margin-bottom: 1rem;
}
.store-tile h3 {
  color: var(--paper);
  font-size: 1.15rem;
  margin-bottom: .4em;
}
.store-tile p {
  color: rgba(255,248,236,.85);
  font-size: .96rem;
  margin: 0;
  line-height: 1.55;
}

/* ---------- visit ---------- */
.visit-h {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin: 1.6rem 0 .6rem;
  color: var(--green);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
  margin-top: .4rem;
}
.hours th, .hours td {
  text-align: left;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--cream-edge);
}
.hours th { font-weight: 500; color: var(--ink); width: 40%; }
.hours td { color: var(--ink-soft); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

.card-location address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: .8em;
}
.card-location h3 {
  color: var(--terracotta-dark);
  font-size: 1.2rem;
  margin-bottom: .8em;
}
.visit-quick {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex; flex-direction: column;
  gap: .55rem;
  font-size: .98rem;
}
.visit-quick li {
  display: flex; align-items: center; gap: .6rem;
  color: var(--ink-soft);
}

/* ---------- contact ---------- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(247,239,222,.06);
  border: 1px solid rgba(247,239,222,.18);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field-actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: .5rem;
}
.field label {
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 600;
}
.field input, .field textarea {
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--cream-edge);
  border-radius: 8px;
  padding: .7em .9em;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(199,92,60,.25);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-actions .muted { margin: 0; color: rgba(255,248,236,.7); }
@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ---------- mobile: stack everything vertically ---------- */
@media (max-width: 768px) {
  .site-header { position: static; }
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }
  .nav nav { width: 100%; }
  .nav-list {
    width: 100%;
    justify-content: flex-start;
    gap: .85rem 1rem;
  }
  .hero-inner { padding-top: clamp(2rem, 8vw, 3.5rem); }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
  }
  .hero-cta .btn { width: 100%; }
  .hero-meta {
    flex-direction: column;
    gap: .9rem;
    align-items: flex-start;
  }
  .two-col { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .field-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
  }
  .field-actions .btn { width: 100%; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .footer-cols {
    flex-direction: column;
    gap: .9rem;
    width: 100%;
  }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8cdb8;
  padding: 2.5rem 0 1.4rem;
}
.site-footer .muted { color: #9a8d77; }
.site-footer a { color: #e8d9b6; text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #3a2e23;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 .2em;
}
.footer-cols {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.footer-cols ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .95rem;
}
.footer-fineprint {
  text-align: center;
  margin: 1.2rem 0 0;
  font-size: .85rem;
}

/* ---------- a11y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--paper);
  padding: .7em 1em;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--mustard);
  color: var(--paper);
}
:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
