/* Hallmark v2.0.0 · editorial directory · Food Finder design.md · hero: index · signature: Göteborg area index alongside the masthead */
/* Critique: the area index and the street addresses carry the guide; a decorative city image would compete with navigation. */
/* Hallmark · waive 44c · Göteborg directory starts at the fold, profile uses a compact visit sheet · the Restauranger index and Besöksinformation give visitors useful actions in the first screen */
/* Hallmark · waive 78 · profile details are supplementary to the restaurant name and action · the visit information block uses document-sized titles from Food Finder's design */
/* Hallmark · waive 79 · city directory uses a visual break between the area index and the first results · the rule between surfaces makes the jump links and the result sections distinct */
/* Hallmark · dismissed 77 · the Göteborg directory and its visit sheets keep restaurant names and Besöksinformation easy to scan without extra sections */
:root {
  --pilot-paper: #f7f9fc;
  --pilot-wash: #eaf0f8;
  --pilot-button-ink: #f7f9fc;
  --pilot-ink: #132542;
  --pilot-secondary: #334969;
  --pilot-muted: #52627a;
  --pilot-rule: #b9c9dd;
  --pilot-blue: #2563eb;
  --pilot-blue-deep: #173d9f;
  --pilot-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --pilot-display: Manrope, var(--pilot-body);
  --pilot-wrap: 1240px;
  --pilot-gutter: clamp(16px, 5vw, 64px);
  --pilot-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--pilot-paper); color: var(--pilot-ink); font-family: var(--pilot-body); font-size: 1rem; line-height: 1.55; }
h1, h2 { margin: 0; min-width: 0; overflow-wrap: break-word; text-wrap: balance; font-family: var(--pilot-display); font-weight: 600; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid var(--pilot-blue-deep); outline-offset: 4px; }
ul, dl, dd { margin: 0; }
.pilot-wrap { width: min(100% - var(--pilot-gutter) * 2, var(--pilot-wrap)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: .6rem auto auto .6rem; padding: .6rem .9rem; background: var(--pilot-paper); }
.skip-link:not(:focus) { transform: translateY(-150%); opacity: 0; }
.pilot-header { border-bottom: 1px solid var(--pilot-rule); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 76px; }
.pilot-brand { display: inline-flex; gap: .65rem; align-items: center; font-family: var(--pilot-display); font-size: 1.15rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pilot-brand img { display: block; object-fit: contain; }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; font-weight: 600; }
.header-inner nav a, .footer-inner nav a { text-decoration: none; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.city-hero { background: var(--pilot-wash); border-bottom: 1px solid var(--pilot-rule); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); align-items: start; gap: clamp(2.5rem, 8vw, 8rem); padding-block: clamp(3rem, 7vw, 7rem); }
.hero-copy h1, .profile-copy h1 { font-size: clamp(2.65rem, 7vw, 6.1rem); line-height: .99; letter-spacing: -.06em; }
.hero-copy p, .profile-summary { max-width: 31rem; margin: 1.4rem 0 1.65rem; color: var(--pilot-secondary); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.pilot-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .63rem 1.1rem; border: 1px solid var(--pilot-blue); border-radius: var(--pilot-radius); background: var(--pilot-blue); color: var(--pilot-button-ink); font-weight: 600; text-align: center; text-decoration: none; }
.pilot-button:hover { background: var(--pilot-blue-deep); border-color: var(--pilot-blue-deep); }
.pilot-button:active { text-decoration: underline; }
.pilot-button-secondary { background: var(--pilot-paper); color: var(--pilot-blue-deep); border-color: var(--pilot-rule); }
.pilot-button-secondary:hover { color: var(--pilot-button-ink); }
.area-index { padding-block-start: .2rem; }
.area-index h2 { margin-bottom: .65rem; font-size: 1.15rem; }
.area-index ul, .area-list { list-style: none; padding: 0; }
.area-index li { border-top: 1px solid var(--pilot-rule); }
.area-index li:last-child { border-bottom: 1px solid var(--pilot-rule); }
.area-index a { display: flex; justify-content: space-between; gap: 1rem; padding: .58rem .15rem; text-decoration: none; }
.area-index a:hover span:first-child { text-decoration: underline; }
.area-count { color: var(--pilot-muted); font-variant-numeric: tabular-nums; }
.city-directory { padding-block: clamp(2.5rem, 6vw, 6rem); }
.area-section + .area-section { margin-top: clamp(2.3rem, 5vw, 4.25rem); }
.area-section h2 { margin-bottom: .55rem; font-size: clamp(1.55rem, 4vw, 3rem); letter-spacing: -.04em; }
.area-list li { border-top: 1px solid var(--pilot-rule); }
.area-list li:last-child { border-bottom: 1px solid var(--pilot-rule); }
.restaurant-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .65fr) .65rem; align-items: baseline; gap: 1rem; padding: .85rem .3rem; text-decoration: none; }
.restaurant-row:hover { background: var(--pilot-wash); }
.restaurant-row:hover .row-name { text-decoration: underline; }
.restaurant-row span { min-width: 0; overflow-wrap: break-word; }
.row-name { font-weight: 600; }
.row-address, .row-cuisine { color: var(--pilot-muted); font-size: .94rem; }
.row-chevron { align-self: center; width: .43rem; height: .43rem; margin-inline-end: .1rem; border-block-start: 1.5px solid var(--pilot-blue-deep); border-inline-end: 1.5px solid var(--pilot-blue-deep); transform: rotate(45deg); }
.profile-layout { padding-top: clamp(1.5rem, 4vw, 3.2rem); padding-bottom: clamp(3rem, 7vw, 7rem); }
.breadcrumb { font-size: .9rem; margin-bottom: clamp(2rem, 6vw, 5rem); }
.breadcrumb a, .profile-more a, .inline-link { color: var(--pilot-blue-deep); font-weight: 600; }
.inline-link { overflow-wrap: anywhere; }
.profile-article { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.profile-copy h1 { font-size: clamp(2.65rem, 6vw, 5.4rem); }
.profile-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.profile-discover { max-width: 37rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--pilot-rule); }
.profile-discover h2 { font-size: 1.35rem; }
.profile-discover p { margin: .55rem 0 .85rem; color: var(--pilot-secondary); }
.profile-tags, .profile-sources { display: flex; flex-wrap: wrap; gap: .45rem .7rem; list-style: none; padding: 0; }
.profile-tags li { padding: .2rem .65rem; border-radius: 999px; background: var(--pilot-wash); color: var(--pilot-secondary); font-size: .9rem; font-weight: 600; }
.profile-sources { margin-top: .8rem; }
.profile-help { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; padding-top: .75rem; font-size: .9rem; }
.profile-details { background: var(--pilot-wash); border-radius: var(--pilot-radius); padding: clamp(1.25rem, 3vw, 2rem); }
.profile-details h2 { font-size: 1.3rem; margin-bottom: .65rem; }
.profile-details dl { margin-bottom: 1rem; }
.profile-details dl div { border-top: 1px solid var(--pilot-rule); padding: .55rem 0; }
.profile-details dt { font-weight: 600; font-size: .82rem; color: var(--pilot-muted); }
.profile-visit { display: grid; min-width: 0; gap: .75rem; }
.profile-hours dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .7rem; }
.profile-hours dt { font-size: .9rem; color: var(--pilot-secondary); }
.profile-hours dd { font-size: .9rem; font-variant-numeric: tabular-nums; }
.hours-note, .hours-exception, .hours-source { margin: .65rem 0 0; font-size: .85rem; color: var(--pilot-secondary); }
.hours-exception { margin-bottom: .85rem; border-inline-start: 2px solid var(--pilot-blue-deep); padding-inline-start: .65rem; }
.hours-source { color: var(--pilot-muted); }
.profile-more { display: flex; flex-wrap: wrap; gap: .7rem 2rem; padding-top: 1rem; margin-top: clamp(2.5rem, 7vw, 5rem); border-top: 1px solid var(--pilot-rule); }
.message-page { padding-block: 4rem; }
.message-page h1 { margin-bottom: 1rem; }
.pilot-footer { background: var(--pilot-wash); border-top: 1px solid var(--pilot-rule); }
.footer-inner { min-height: 100px; padding-block: 1rem; }

@media (max-width: 720px) {
  .hero-inner, .profile-article { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 2rem; }
  .area-index { max-width: 30rem; }
  .restaurant-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) .65rem; grid-template-areas: 'name name chevron' 'address cuisine chevron'; gap: .2rem .75rem; }
  .row-name { grid-area: name; }
  .row-address { grid-area: address; }
  .row-cuisine { grid-area: cuisine; }
  .row-chevron { grid-area: chevron; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .header-inner nav { gap: .65rem; font-size: .81rem; }
  .pilot-brand { gap: .4rem; font-size: 1.05rem; }
}

.directory-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
[hidden] { display: none; }
.directory-view { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--pilot-rule); border-radius: var(--pilot-radius); background: var(--pilot-wash); }
.directory-tools button { min-height: 44px; padding: .5rem .85rem; border: 1px solid transparent; border-radius: var(--pilot-radius); color: var(--pilot-ink); background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.directory-tools button[aria-pressed="true"] { background: var(--pilot-paper); border-color: var(--pilot-rule); }
.directory-tools button:hover { color: var(--pilot-blue-deep); text-decoration: underline; }
.directory-tools button:focus-visible, .restaurant-pin:focus-visible { outline: 3px solid var(--pilot-blue-deep); outline-offset: 3px; }
.directory-tools button.directory-near { border-color: var(--pilot-rule); }
.directory-tools button:disabled { color: var(--pilot-muted); cursor: wait; }
.directory-status { margin-block: 0; color: var(--pilot-secondary); }
.directory-status:not(:empty) { margin-bottom: 1rem; }
.nearby-panel { padding: clamp(1rem, 3vw, 1.6rem); margin-bottom: 2rem; background: var(--pilot-wash); border-radius: var(--pilot-radius); }
.nearby-panel h2, .map-panel h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.nearby-list { list-style: none; margin: .75rem 0 0; padding: 0; }
.nearby-list li { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) max-content; gap: .5rem 1rem; align-items: baseline; padding-block: .55rem; border-top: 1px solid var(--pilot-rule); }
.nearby-list a { font-weight: 600; }
.nearby-address, .nearby-distance, .map-panel p { color: var(--pilot-muted); }
.nearby-distance { font-variant-numeric: tabular-nums; }
.map-panel p { margin: .3rem 0 .85rem; }
#directory-map-status:empty { margin: 0; }
#directory-map { height: clamp(320px, 56vh, 570px); isolation: isolate; border: 1px solid var(--pilot-rule); border-radius: var(--pilot-radius); background: var(--pilot-wash); }
.restaurant-pin { border: 2px solid var(--pilot-paper); border-radius: 50%; background: var(--pilot-blue-deep); }
.restaurant-pin::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--pilot-paper); }
.visitor-pin { border: 3px solid var(--pilot-paper); border-radius: 50%; background: var(--pilot-blue); }

@media (max-width: 550px) {
  .nearby-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .nearby-list a { grid-column: 1 / -1; }
  .nearby-address, .nearby-distance { font-size: .86rem; }
}

.profile-photo { margin: clamp(1.25rem, 3vw, 2rem) 0 0; }

.profile-photo img,
.profile-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  background: var(--pilot-wash);
}

.profile-photo img { aspect-ratio: 8 / 5; max-height: 440px; }
.profile-gallery { margin-top: 1.15rem; }
.profile-gallery h2 { font-size: 1.15rem; margin-bottom: .65rem; }
.profile-gallery ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr));
  gap: .6rem;
  padding: 0;
  list-style: none;
}
.profile-gallery a { display: block; border-radius: 10px; }
.profile-gallery img { aspect-ratio: 4 / 3; border-radius: inherit; }
