/* Frank-ly Food in Franklin: The Directory. "Marked Up" design. */
:root {
  --paper: #FAEBD7;
  --paper-2: #F3E0C6;
  --ink: #1A1A1A;
  --ink-2: #4A433B;
  --label: #5F574D;
  --rule: #D9C8A5;
  --pen: #C36545;      /* hand-drawn marks */
  --pen-text: #9E4A2C; /* small terracotta text, AA on paper */
  --pen-large: #B0573A;
  --gray: #A0958A;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Space Grotesk", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif);
  font-optical-sizing: auto; overflow-x: clip;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0.13'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pen { color: var(--pen-text); }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--sans); font-weight: 700; z-index: 20; }
.skip:focus { top: 8px; }

/* Hand-drawn marks */
.mark { position: absolute; overflow: visible; pointer-events: none; }
.mark path { fill: none; stroke: var(--pen); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.circled { position: relative; display: inline-block; }
.circled > .mark { left: -11px; top: -8px; width: calc(100% + 22px); height: calc(100% + 16px); }
.circled > .mark path { stroke-width: 2.4; }
.struck { position: relative; display: inline-block; }
.struck > .mark { left: -4px; top: 42%; width: calc(100% + 8px); height: 10px; }
.struck > .mark path { stroke-width: 2.6; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { text-decoration: none; color: var(--pen-large); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.wordmark i { font-weight: 400; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current] { font-weight: 700; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; font-family: var(--sans); font-size: 16px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); }
.btn-solid { background: var(--ink); color: var(--paper); }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.site-footer { border-top: 3px double var(--ink); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 28px; font-family: var(--sans); font-size: 13px; }
.site-footer a { color: var(--pen-text); font-weight: 700; text-decoration: none; }

.dateline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px 0 8px; border-bottom: 3px double var(--ink); }
.dateline a { color: var(--pen-text); text-decoration: none; }

/* Index: masthead */
.mast { padding: clamp(40px, 6vw, 72px) 0 28px; }
.mast h1 { margin: 0; font-size: clamp(50px, 10.4vw, 164px); line-height: 0.88; font-weight: 900; letter-spacing: -0.055em; }
.mast .strike { position: relative; display: inline-block; margin: 0 0.1em; }
.mast .strike > .mark { left: -2%; top: 38%; width: 104%; height: 0.24em; }
.mast .strike > .mark path { stroke-width: 5; }
.mast .note { position: absolute; left: 14%; top: min(-0.42em, -20px); white-space: nowrap; font-size: max(0.24em, 17px); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--pen-large); transform: rotate(-4deg); }
.mast-sub { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: flex-start; padding-top: 28px; }
.deck { flex: 2 1 520px; min-width: 0; margin: 0; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.26; font-style: italic; }
.legend { flex: 1 1 280px; min-width: 0; margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 24px; }
.toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; background: none; border: 0; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.toggle .box { position: relative; width: 20px; height: 20px; border: 1.5px solid var(--ink); flex: 0 0 auto; }
.toggle .box .mark { left: -3px; top: -9px; width: 30px; height: 30px; display: none; }
.toggle .box .mark path { stroke-width: 4; }
.toggle[aria-pressed="true"] .box .mark { display: block; }
.toggle[aria-pressed="true"] { font-weight: 700; }

/* Index: sticky finder */
.finder { position: sticky; top: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); box-shadow: 0 6px 14px rgba(26, 26, 26, 0.06); }
.finder .wrap { padding-top: 8px; padding-bottom: 4px; }
.find-row { display: flex; align-items: center; gap: 12px; }
.find-row label { flex: 0 0 auto; font: 700 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pen-text); }
.find-row input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 4px 0; font: italic 22px var(--serif); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.find-row input::placeholder { color: var(--label); }
.find-row [role="status"] { flex: 0 0 auto; margin: 0; font: 13px var(--sans); color: var(--ink-2); }
.jump { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 6px; overflow-x: auto; padding: 6px 4px 4px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump .kicker { font-size: 11px; color: var(--pen-text); padding-right: 4px; flex: 0 0 auto; }
.jump a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; }
.jump a small { font: 500 12px var(--sans); color: var(--label); margin-left: 5px; }
.jump a.is-empty { color: var(--gray); pointer-events: none; }

/* Index: results */
.columns { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; padding-top: 36px; }
.results { flex: 3 1 700px; min-width: 0; }
.section { border-top: 3px solid var(--ink); padding: 18px 0 40px; }
.section[hidden] { display: none; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 10px; }
.section-head h2 { margin: 0; font-size: clamp(44px, 5.4vw, 76px); line-height: 0.9; font-weight: 800; letter-spacing: -0.045em; }
.section-head p { margin: 0; font-size: 18px; font-style: italic; color: var(--ink-2); }
.section-head p small { font: 13px var(--sans); color: var(--label); }
.list { column-width: 280px; column-gap: 44px; column-rule: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
.place { break-inside: avoid; padding: 13px 0 14px; border-bottom: 1px solid var(--rule); }
.place[hidden] { display: none; }
.place h3 { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.place h3 a { text-decoration: none; }
.place h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.unsure { flex: 0 0 auto; display: inline-block; font-size: 30px; line-height: 1; font-style: italic; font-weight: 700; color: var(--pen-large); transform: rotate(8deg); }
.meta { margin: 4px 0 0; font-size: 16px; line-height: 1.4; font-style: italic; color: var(--ink-2); }
.addr { font: normal 14px var(--sans); color: var(--ink); }
.addr.home { font-style: italic; color: var(--label); }
.cov { display: block; margin-top: 6px; font-size: 17px; line-height: 1.35; font-style: italic; color: var(--pen-text); text-decoration: none; }
.cov span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cov.pending span { text-decoration: none; }
.empty { border-top: 3px solid var(--ink); padding: 48px 0; }
.empty p:first-child { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.empty p + p { margin: 12px 0 0; font-size: 22px; font-style: italic; color: var(--pen-text); }

.gone { flex: 1 1 280px; min-width: 0; position: sticky; top: 132px; padding: 22px 24px 26px; border: 2px solid var(--pen); transform: rotate(0.6deg); }
.gone h2 { margin: 0 0 4px; font-size: 30px; font-style: italic; font-weight: 600; color: var(--pen-text); letter-spacing: -0.02em; }
.gone > p { margin: 0 0 10px; font: 13px/1.5 var(--sans); color: var(--ink-2); }
.gone ul { list-style: none; margin: 0; padding: 0; }
.gone li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.gone .struck { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink-2); }
.gone .now { display: block; margin-top: 4px; font-size: 17px; font-style: italic; color: var(--pen-text); }
.gone .tip { margin: 14px 0 0; }
.gone .tip a { color: var(--pen-text); font-weight: 700; }
@media (max-width: 1060px) { .gone { position: relative; top: 0; } }

/* Index: lower sections */
.sponsor { margin-top: 40px; background: var(--ink); color: var(--paper); }
.sponsor .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; }
.sponsor p { margin: 0; }
.sponsor p:first-child { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }
.sponsor em { color: #E08A68; }
.sponsor p + p { font: 14px var(--sans); color: #C9BBA6; }
.otl { padding: 40px 0 24px; }
.town-line { display: flex; align-items: center; gap: 16px; }
.town-line span:not(.kicker) { flex: 1 1 0; border-top: 2px dashed var(--ink); }
.otl-body { display: flex; flex-wrap: wrap; gap: 24px 56px; padding-top: 32px; }
.otl-intro { flex: 1 1 280px; min-width: 0; }
.otl-intro h2 { margin: 0; font-size: clamp(44px, 5.4vw, 80px); line-height: 0.9; font-weight: 800; letter-spacing: -0.045em; }
.otl-intro p { margin: 14px 0 0; max-width: 340px; font-size: 19px; line-height: 1.35; font-style: italic; color: var(--ink-2); }
.otl .list { flex: 3 1 600px; min-width: 0; column-width: 260px; }
.otl .town { margin: 0; font: 700 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.otl h3 { margin: 4px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.quote { margin: 40px 0 0; padding: 44px 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; }
.quote blockquote { flex: 3 1 560px; min-width: 0; margin: 0; font-size: clamp(34px, 5vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.quote .underlined { position: relative; display: inline-block; }
.quote .underlined .mark { left: 0; bottom: -10px; width: 100%; height: 12px; }
.quote .underlined .mark path { stroke-width: 3; }
.quote figcaption { flex: 1 1 220px; font: 14px/1.5 var(--sans); }
.quote figcaption a { color: var(--pen-text); font-weight: 700; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); column-gap: 40px; border-bottom: 1px solid var(--ink); }
.numbers div { padding: 28px 0 22px; }
.numbers .n { display: inline-block; position: relative; font-size: clamp(84px, 9vw, 128px); line-height: 0.85; font-weight: 800; letter-spacing: -0.05em; padding: 0 6px; }
.numbers .n .mark { left: -16px; top: -12px; width: calc(100% + 32px); height: calc(100% + 24px); }
.numbers .n .mark path { stroke-width: 3; }
.numbers p { margin: 14px 0 0; font-size: 18px; font-style: italic; }
.fine { padding: 48px 0 8px; }
.fine > h2 { margin: 0 0 24px; color: var(--pen-text); }
.fine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 48px; }
.fine h3 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.fine-grid p { margin: 10px 0 0; font-size: 18px; line-height: 1.45; }
.desk { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: 48px 0 64px; }
.desk > div { flex: 1 1 360px; min-width: 0; }
.desk h2 { margin: 0; font-size: clamp(36px, 3.6vw, 52px); line-height: 0.95; font-weight: 800; letter-spacing: -0.035em; }
.desk .aside { margin: 10px 0 0; font-size: 22px; font-style: italic; color: var(--pen-text); transform: rotate(-1.5deg); transform-origin: left; }
.desk p { font-size: 18px; line-height: 1.55; }
.desk a { color: var(--pen-text); font-weight: 600; }
.newsletter { border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--paper-2); }
.newsletter p { margin: 0; }
.newsletter .big { font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.newsletter .btn { align-self: flex-start; color: var(--paper); }

/* Listing page */
.place-head { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; padding: 56px 0 36px; }
.place-head > div:first-child { flex: 3 1 760px; min-width: 0; }
.place-head h1 { margin: 0; font-size: clamp(56px, 10vw, 156px); line-height: 0.86; font-weight: 900; letter-spacing: -0.055em; overflow-wrap: anywhere; }
.place-head .underline { display: block; width: min(860px, 92%); height: 14px; margin-top: 14px; overflow: visible; }
.place-head .underline path { fill: none; stroke: var(--pen); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.place-head .deck { margin: 22px 0 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-style: italic; color: var(--ink-2); }
.place-head .deck .circled { color: var(--ink); }
.margin-note { flex: 1 1 260px; min-width: 0; position: relative; padding-left: 64px; }
.margin-note svg { position: absolute; left: -6px; top: -4px; width: 78px; height: 52px; overflow: visible; }
.margin-note svg path { fill: none; stroke: var(--pen); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.margin-note p { margin: 0; font-size: 26px; line-height: 1.15; font-style: italic; font-weight: 500; color: var(--pen-text); transform: rotate(-2deg); }
.margin-note a { color: inherit; }
.unverified-note { margin: 18px 0 0; display: inline-flex; align-items: baseline; gap: 8px; font: 15px var(--sans); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 44px; }
.actions .hours { font: 16px var(--sans); color: var(--ink-2); padding-left: 6px; }
.take { display: flex; gap: 22px; padding: 8px 0 52px; max-width: 1080px; }
.take svg { flex: 0 0 26px; width: 26px; min-height: 140px; overflow: visible; }
.take svg path { fill: none; stroke: var(--pen); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.take .label { margin: 0 0 12px; font-size: 22px; font-style: italic; font-weight: 600; color: var(--pen-text); }
.take blockquote { margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.facts-wrap { display: flex; flex-wrap: wrap; gap: 40px 56px; border-top: 3px solid var(--ink); padding-top: 20px; }
.facts-wrap > section:first-child { flex: 3 1 560px; min-width: 0; }
.facts-wrap > aside { flex: 2 1 380px; min-width: 0; }
.facts-wrap h2 { margin: 0 0 10px; }
.facts { margin: 0; column-width: 240px; column-gap: 40px; column-rule: 1px solid var(--rule); }
.facts div { break-inside: avoid; padding: 10px 0 12px; border-bottom: 1px solid var(--rule); }
.facts dt { font: 700 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.facts dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { color: inherit; }
.map { margin: 24px 0 0; border: 1.5px solid var(--ink); background: var(--paper-2); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; filter: sepia(0.25) saturate(0.85); }
.ruling-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ruling-item svg { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 2px; }
.ruling-item svg path { fill: none; stroke: var(--pen); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.ruling-item p { margin: 0; }
.ruling-item p:first-child { font: 700 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.ruling-item p + p { margin-top: 4px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.ruling-empty { font-size: 18px; line-height: 1.5; font-style: italic; color: var(--ink-2); }
.record { margin-top: 56px; border-top: 3px double var(--ink); padding-top: 36px; }
.record h2 { margin: 0 0 18px; }
.record ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.record li { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: flex-end; justify-content: space-between; }
.record .headline { flex: 3 1 520px; min-width: 0; margin: 0; font-size: clamp(34px, 5vw, 72px); line-height: 0.98; font-weight: 700; letter-spacing: -0.04em; }
.record .read { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; text-decoration: none; font-size: 24px; font-style: italic; font-weight: 600; }
.record .read .mark { left: -6px; top: -4px; width: calc(100% + 12px); height: calc(100% + 8px); }
.record .read .mark path { stroke-width: 2.4; }
.nearby { padding-top: 52px; }
.nearby h2 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); font-size: clamp(36px, 4vw, 54px); font-weight: 800; letter-spacing: -0.04em; }
.nearby .list { column-width: 300px; }
.nearby .place h3 { font-size: 24px; }
.listing-foot { padding: 44px 0 56px; max-width: 820px; }
.listing-foot p { margin: 0 0 10px; font-size: 18px; line-height: 1.55; }
.listing-foot a { color: var(--pen-text); font-weight: 600; }

@media (max-width: 600px) {
  .site-nav { gap: 16px; }
  .find-row input { font-size: 19px; }
  .take { gap: 14px; }
  .margin-note { padding-left: 56px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  .finder, .toggles, .site-nav, .sponsor, .actions { display: none; }
  .gone { position: static; transform: none; }
  body { background-image: none; }
}
