:root {
  color-scheme: light;
  --ink: #262820;
  --muted: #7d7e74;
  --paper: #f7f5f0;
  --surface: #fffefa;
  --green: #526a4c;
  --green-dark: #3f563a;
  --line: #e8e5dc;
  --serif: Georgia, "Times New Roman", serif;
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #a2b795; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { height: 82px; padding: 0 7.1%; display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: -.7px; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -2px; padding-right: 2px; }
.brand-light { font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 37px; margin-left: 54px; }
.nav-link { color: #62645b; font-size: 12px; transition: color .2s; }
.nav-link:hover, .nav-link.is-current { color: var(--green-dark); }
.nav-link.is-current { font-weight: 700; }
.header-button { padding: 11px 17px; border: 1px solid #dcd9ce; border-radius: 3px; color: var(--green-dark); font-size: 11px; font-weight: 700; }
.header-button span { margin-right: 5px; font-size: 16px; vertical-align: -1px; }

.hero { position: relative; min-height: 490px; padding: 49px 7.1% 55px; display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: 5.2%; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 5px; }
.eyebrow { margin: 0 0 17px; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.eyebrow-dot { width: 6px; height: 6px; display: inline-block; margin: 0 7px 1px 0; border-radius: 50%; background: #d3a26a; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-size: clamp(38px, 4.2vw, 56px); line-height: 1.43; letter-spacing: .035em; font-weight: 700; }
.hero-description { margin: 17px 0 25px; color: #77786f; font-size: 12px; line-height: 2.1; }
.search-form { width: min(100%, 465px); height: 53px; padding: 5px; display: flex; align-items: center; border: 1px solid #e4e0d6; border-radius: 4px; background: var(--surface); box-shadow: 0 8px 24px #3b392b0a; }
.search-icon { width: 39px; color: #8d8d83; text-align: center; font-size: 27px; line-height: 1; transform: rotate(-20deg); }
.search-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-form input::placeholder { color: #aaa99f; }
.search-form button { height: 41px; padding: 0 16px; border: 0; border-radius: 3px; color: white; background: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; transition: background .2s; }
.search-form button:hover { background: var(--green-dark); }
.search-form button span { margin-left: 8px; }
.popular-searches { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #85867d; font-size: 9px; }
.popular-searches a { color: var(--green); }
.popular-searches a:hover { text-decoration: underline; }
.hero-visual { position: relative; height: 380px; }
.hero-image { width: 100%; height: 100%; display: block; border-radius: 47% 47% 3px 3px; object-fit: cover; object-position: center; }
.hero-note { position: absolute; bottom: 23px; left: -40px; display: flex; gap: 12px; align-items: center; padding: 15px 20px; background: var(--surface); box-shadow: 0 8px 26px #28281b12; }
.note-icon { color: #d0995d; font-size: 24px; }
.hero-note strong, .hero-note div span { display: block; }
.hero-note strong { margin-bottom: 5px; font-size: 10px; }
.hero-note div span { color: var(--muted); font-size: 8px; }
.image-stamp { position: absolute; top: 20px; right: -17px; width: 70px; height: 70px; display: grid; place-content: center; border: 1px solid #fff9; border-radius: 50%; color: white; font-family: var(--serif); font-size: 8px; line-height: 1.2; text-align: center; letter-spacing: 1px; transform: rotate(12deg); }
.hero-decoration { position: absolute; right: 3%; bottom: -34px; color: #e9e5d9; font-size: 116px; }

.category-section, .discover-section { padding: 57px 7.1% 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { margin: 0; font-size: 24px; letter-spacing: .03em; }
.text-link { padding-bottom: 4px; color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }
.text-link span { padding-left: 8px; font-size: 15px; }
.category-list { margin-top: 25px; display: flex; gap: 10px; overflow-x: auto; padding: 1px 1px 8px; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; min-width: 98px; height: 43px; padding: 0 14px; border: 1px solid #e6e2d8; border-radius: 3px; background: #fbfaf6; color: #686a61; cursor: pointer; font-size: 10px; transition: all .2s; }
.category-chip span { margin-right: 6px; font-size: 15px; vertical-align: -2px; }
.category-chip:hover, .category-chip.is-active { border-color: var(--green); color: var(--green-dark); background: #edf0e9; }
.discover-section { padding-top: 61px; padding-bottom: 74px; }
.section-description { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.results-message { min-height: 14px; margin: 15px 0 0; color: var(--muted); font-size: 10px; }
.restaurant-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; margin-top: 10px; }
.restaurant-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #ebe8df; border-radius: 3px; background: var(--surface); transition: transform .2s, box-shadow .2s; }
.restaurant-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #33301b12; }
.card-image-link { position: relative; height: 166px; display: block; overflow: hidden; background: #e9e5dc; }
.card-image-link img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s; }
.restaurant-card:hover .card-image-link img { transform: scale(1.04); }
.card-badge { position: absolute; bottom: 10px; left: 10px; padding: 5px 8px; border-radius: 2px; color: #fff; background: #526a4ce8; font-size: 8px; }
.badge-soft { color: #4a4b41; background: #fffef0ed; }
.badge-green { background: #69785ae8; }
.favorite-button { position: absolute; top: 10px; right: 10px; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; color: #56584f; background: #fffefaed; cursor: pointer; font-size: 17px; line-height: 1; transition: color .2s, transform .2s; }
.favorite-button:hover { transform: scale(1.1); }
.favorite-button[aria-pressed="true"] { color: #bd6453; }
.card-content { padding: 14px 14px 13px; }
.card-meta { display: flex; justify-content: space-between; gap: 5px; color: #898a80; font-size: 8px; }
.card-content h3 { margin: 10px 0 7px; font-size: 14px; letter-spacing: .02em; }
.card-content h3 a:hover { color: var(--green); }
.card-content > p { min-height: 31px; margin: 0; color: #77786f; font-size: 9px; line-height: 1.8; }
.card-footer { margin-top: 13px; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #efede6; font-size: 9px; }
.rating { color: #4f5945; font-weight: 700; }
.rating > span { color: #d5a354; }
.rating small { color: #99998f; font-size: 8px; font-weight: 400; }
.price { color: #66675e; }
.empty-state { padding: 55px 20px; color: var(--muted); text-align: center; }
.empty-state > span { font-size: 32px; }
.empty-state p { margin: 12px 0; font-size: 12px; }
.empty-state button { padding: 9px 14px; border: 1px solid #d9d7cd; border-radius: 3px; color: var(--green-dark); background: transparent; cursor: pointer; font-size: 10px; }
.mobile-link { display: none; }

.story-banner { min-height: 320px; display: grid; grid-template-columns: 1fr 1fr; background: #ebe9df; }
.story-photo { min-height: 320px; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.story-copy { position: relative; padding: 53px 12% 40px; }
.story-copy .eyebrow { margin-bottom: 14px; }
.story-copy h2 { margin: 0 0 15px; font-size: 27px; line-height: 1.65; letter-spacing: .04em; }
.story-copy > p:not(.eyebrow) { max-width: 385px; margin-bottom: 21px; color: #73746c; font-size: 10px; line-height: 2; }
.story-button { display: inline-block; padding: 12px 17px; border: 1px solid #9da38f; color: var(--green-dark); font-size: 10px; font-weight: 700; }
.story-button span { margin-left: 16px; }
.story-number { position: absolute; right: 9%; bottom: 24px; color: #97988e; font-family: var(--serif); font-size: 8px; letter-spacing: 1px; }
.community-strip { padding: 42px 7.1%; display: flex; align-items: center; gap: 21px; border-bottom: 1px solid var(--line); background: #f2f0e9; }
.community-icon { color: #d19b61; font-size: 35px; }
.community-strip h2 { margin: 0 0 7px; font-size: 16px; }
.community-strip p { margin: 0; color: var(--muted); font-size: 10px; }
.community-strip > a { margin-left: auto; padding: 12px 16px; border: 1px solid #d7d4ca; color: var(--green-dark); font-size: 10px; font-weight: 700; white-space: nowrap; }
.community-strip > a span { margin-left: 15px; }
.site-footer { min-height: 103px; padding: 25px 7.1%; display: flex; align-items: center; gap: 22px; background: var(--paper); }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 27px; height: 27px; font-size: 17px; }
.site-footer > p { margin: 0; color: #898a80; font-size: 9px; }
.copyright { margin-left: auto; color: #9b9b91; font-family: var(--serif); font-size: 9px; }

@media (min-width: 1440px) {
  .site-header, .hero, .category-section, .discover-section, .community-strip, .site-footer { padding-left: max(7.1%, calc((100% - 1220px) / 2)); padding-right: max(7.1%, calc((100% - 1220px) / 2)); }
}

@media (max-width: 900px) {
  .site-header { padding: 0 5%; }
  .main-nav { gap: 20px; margin-left: 0; }
  .hero { padding: 45px 5%; gap: 4%; }
  .hero-visual { height: 330px; }
  .hero-note { left: -20px; padding: 12px 14px; }
  .category-section, .discover-section { padding-left: 5%; padding-right: 5%; }
  .restaurant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card-image-link { height: 210px; }
  .story-copy { padding-left: 9%; padding-right: 8%; }
  .community-strip, .site-footer { padding-left: 5%; padding-right: 5%; }
}

@media (max-width: 620px) {
  .site-header { height: 67px; padding: 0 5%; }
  .brand { font-size: 17px; }
  .brand-mark { width: 28px; height: 28px; font-size: 18px; }
  .main-nav { display: none; }
  .header-button { padding: 9px 11px; font-size: 9px; }
  .hero { min-height: 0; padding: 39px 5% 38px; display: flex; flex-direction: column; align-items: stretch; gap: 29px; }
  .hero h1 { font-size: 39px; line-height: 1.38; }
  .hero-description { margin: 12px 0 20px; font-size: 11px; }
  .search-form { height: 49px; }
  .search-form button { height: 37px; padding: 0 11px; font-size: 9px; }
  .popular-searches { gap: 11px; }
  .hero-visual { height: 250px; margin: 0 6% 0 3%; }
  .hero-image { border-radius: 44% 44% 3px 3px; }
  .hero-note { bottom: 15px; left: -12px; padding: 10px 12px; }
  .hero-note strong { font-size: 9px; }
  .hero-note div span { font-size: 7px; }
  .image-stamp { right: -12px; width: 58px; height: 58px; font-size: 7px; }
  .hero-decoration { display: none; }
  .category-section, .discover-section { padding-left: 5%; padding-right: 5%; }
  .category-section { padding-top: 39px; }
  .section-heading h2 { font-size: 21px; }
  .category-list { margin-top: 19px; margin-right: -5.5%; }
  .category-chip { min-width: 92px; height: 40px; }
  .discover-section { padding-top: 43px; padding-bottom: 49px; }
  .section-description { font-size: 9px; }
  .desktop-link { display: none; }
  .restaurant-grid { gap: 10px; margin-top: 7px; }
  .card-image-link { height: 132px; }
  .card-content { padding: 11px 10px 10px; }
  .card-meta { font-size: 7px; }
  .card-content h3 { margin: 8px 0 6px; font-size: 12px; }
  .card-content > p { min-height: 32px; font-size: 8px; }
  .card-footer { margin-top: 10px; padding-top: 8px; font-size: 8px; }
  .rating small { font-size: 7px; }
  .card-badge { left: 6px; bottom: 7px; padding: 4px 5px; font-size: 7px; }
  .favorite-button { top: 7px; right: 7px; width: 26px; height: 26px; }
  .mobile-link { display: block; width: max-content; margin: 24px auto 0; }
  .story-banner { grid-template-columns: 1fr; }
  .story-photo { min-height: 210px; height: 210px; }
  .story-copy { padding: 34px 7% 48px; }
  .story-copy h2 { font-size: 24px; }
  .story-number { right: 7%; bottom: 20px; }
  .community-strip { padding: 30px 5%; gap: 12px; flex-wrap: wrap; }
  .community-icon { font-size: 28px; }
  .community-strip > div:nth-child(2) { flex: 1; }
  .community-strip h2 { font-size: 13px; }
  .community-strip p { font-size: 9px; line-height: 1.7; }
  .community-strip > a { margin: 5px 0 0 40px; padding: 10px 12px; font-size: 9px; }
  .site-footer { min-height: 90px; padding: 20px 5%; gap: 12px; flex-wrap: wrap; }
  .footer-brand { font-size: 14px; }
  .site-footer > p { font-size: 8px; }
  .copyright { width: 100%; margin: -5px 0 0; font-size: 8px; }
}
