/* Smartphone design: Figma frames 801:2557, 801:2848 and 801:2948. */
@media (min-width:768px) and (max-width:1101px) {
  .fair { padding: 96px 0; }
  .fair-card.container { width: min(calc(100% - 80px), 760px); display: flex; flex-direction: column; min-height: 0; background: var(--ivory); }
  .fair-art { width: 100%; flex: none; }
  .fair-card__copy { width: 100%; padding: 24px 0 0; background: var(--ivory); }
  .fair-card__copy h2 { font-size: clamp(24px, 3vw, 28px); }
  .fair-card__details { margin: 16px 0; font-size: 16px; line-height: 1.5; }
  .fair-card__period { flex-direction: column; gap: 2px; }
  .fair-card__details p { margin-top: 16px !important; font-size: 16px; line-height: 1.8; }
  .fair-card__copy .button { width: min(100%, 320px); min-height: 52px; font-size: 16px; }
}

/* This is the exact complement of min-width:768px, including fractional CSS pixels. */
@media not all and (min-width: 768px) {
  .container { width: calc(100% - 48px); margin-inline: auto; }
  .site-header__inner { min-height: 68px; padding-inline: 24px; gap: 16px; }
  .site-brand { position: relative; z-index: 102; gap: 8px; }
  .site-brand__symbol { width: 32px; height: 32px; }
  .site-brand__word { width: 56px; }
  .site-brand span { padding-left: 10px; font-size: 10px; }
  .nav-toggle { position: relative; z-index: 102; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; gap: 5px; padding: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 23px; height: 1px; background: var(--ink); }
  .site-nav { position: absolute; z-index: 101; top: 100%; left: 0; right: 0; display: none; max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 28px; background: var(--ivory); box-shadow: 0 8px 18px rgba(42,35,36,.12); }
  .site-nav.is-open { display: block; }
  .site-nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0; }
  .site-nav__links a, .site-nav__cta { display: flex; align-items: center; min-height: 52px; }
  .site-nav__links a { border: 0; font-size: 16px; font-weight: 600; }
  .site-nav__cta { justify-content: flex-start; margin-top: 0; padding: 0; color: var(--ink); background: transparent; white-space: normal; font-weight: 600; }
  .site-nav__cta span { display: none; }
  .hero { padding-top: 0; }
  .hero > .container { width: 100%; }
  .hero__visual { width: 100%; height: 460px; min-height: 0; overflow: hidden; }
  .hero__desktop { display: none; }
  .hero__mobile { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; }
  .hero__visual .hero__mobile-bg { position: absolute; top: -33px; left: 50%; width: max(100%, 613px); max-width: none; height: auto; transform: translateX(-50%); }
  .hero__visual .hero__mobile-mark,
  .hero__visual .hero__mobile-tagline,
  .hero__visual .hero__mobile-wordmark,
  .hero__visual .hero__mobile-english { position: absolute; left: 50%; height: auto; transform: translateX(-50%); }
  .hero__visual .hero__mobile-mark { top: 68px; width: 97.731px; }
  .hero__visual .hero__mobile-tagline { top: 176px; width: 200px; }
  .hero__visual .hero__mobile-wordmark { top: 190.18px; left: calc(50% - .98px); width: 147.29px; }
  .hero__visual .hero__mobile-english { top: 247px; width: 63px; }
  .hero__ticker { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: none; min-height: 135px; margin: 0; padding: 24px; border: 0; }
  .hero__ticker span:nth-child(3) { font-size: 13px; letter-spacing: .01em; text-wrap: pretty; }
  .hero__ticker span:last-child { display: none; }
  .intro { padding: 80px 0; }
  .intro__content { width: calc(100% - 48px); max-width: none; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .intro h1 { order: -1; height: auto; font-size: 24px; line-height: 1.5; letter-spacing: .04em; writing-mode: horizontal-tb; }
  .desktop-heading { display: none; }
  .mobile-heading { display: inline; }
  .intro__text { font-size: 15px; line-height: 1.8; }
  .intro__text br { display: none; }
  .intro__text p+p { margin-top: 22px; }
  .parallax-scene { height: 280px; max-height: none; background-attachment: scroll; }
  .about { padding: 80px 24px; }
  .about__title { margin: 0 0 24px; font-size: 28px; line-height: 1.4; }
  .story-grid, .story-grid--reverse { display: flex; flex-direction: column; gap: 24px; padding: 0; }
  .story-grid + .story-grid { margin-top: 24px; }
  .story-grid__image, .story-grid__copy { width: 100%; min-width: 0; }
  .story-grid__image { height: auto; aspect-ratio: 342 / 230; overflow: hidden; }
  .story-grid__heading { align-self: stretch; font-size: 23px; line-height: 1.5; letter-spacing: .04em; writing-mode: horizontal-tb; }
  .story-grid__heading br { display: none; }
  .story-grid__copy { max-width: none; font-size: 15px; line-height: 1.8; }
  .story-grid__copy p+p { margin-top: 24px; }
  .section-heading { font-size: 26px; line-height: 1.45; overflow-wrap: anywhere; }
  .section-heading small { font-size: 15px; }
  .chefs { padding-block: 72px; }
  .chefs .section-heading { font-size: clamp(21px, 6.15vw, 24px); }
  .chefs .section-heading small { font-size: 14px; white-space: nowrap; }
  .chefs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 18px; margin-top: 28px; }
  .chefs-grid .chef-card__photo--nakayama img { left: -85.38%; top: -75.10%; width: 290.11%; height: 290.11%; }
  .chef-card__role { margin-top: 4px; font-size: 12px; }
  .chef-card h3 { font-size: 17px; line-height: 1.45; }
  .chef-card__open > p:last-child { font-size: 13px; line-height: 1.5; }
  .activities-intro { padding-block: 72px; }
  .activities-intro__content { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 20px; }
  .activities-intro__content > img { height: 240px; }
  .activities-intro__content > div > p { font-size: 15px; line-height: 1.8; }
  .activities-list { margin-top: 20px; }
  .activities-list li { display: block; border: 0; padding: 0; }
  .activities-list li + li { margin-top: 20px; }
  .activities-list li:last-child { border: 0; }
  .activities-list li > span { display: block; margin-bottom: 8px; }
  .activities-list h3 { font-size: 18px; line-height: 1.5; }
  .activities-list p { margin-top: 8px; font-size: 15px; line-height: 1.8; }
  .activities-intro .center { margin-top: 20px; }
  .button { width: 100%; min-width: 0; min-height: 56px; padding-inline: 20px; }
  .fair { padding: 72px 0; }
  .fair-card { display: flex; flex-direction: column; min-height: 0; }
  .fair-art { width: 100%; flex: none; }
  .fair-card__copy { width: 100%; padding: 20px 0 0; background: var(--ivory); }
  .fair-card__copy h2 { font-size: clamp(20px, 6vw, 24px); text-wrap: balance; }
  .fair-card__copy p { font-size: 15px; line-height: 1.8; }
  .fair-card__details { margin: 16px 0; font-size: 15px; line-height: 1.5; }
  .fair-card__period { flex-direction: column; gap: 2px; }
  .fair-card__details p { margin-top: 16px !important; }
  .fair-card__copy .button { min-height: 56px; width: 100%; }
  .news { padding: 72px 0; }
  .news-list { margin-top: 16px; border-top: 0; }
  .news-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; border: 0; }
  .news-item__meta { display: flex; align-items: center; gap: 16px; line-height: 1.35; }
  .news-item time, .news-item__tag { font-size: 13px; }
  .news-item__tag { border: 0; padding: 0; line-height: 1.35; }
  .news-item__title { line-height: 1.5; }
  .contact-cta { padding: 80px 0; background: linear-gradient(rgba(58,18,38,.78),rgba(58,18,38,.78)), url('/public/assets/cta.png') center / cover no-repeat; }
  .contact-cta .eyebrow { font-size: 15px; }
  .contact-cta h2 { margin-top: 20px; font-size: 23px; line-height: 1.5; }
  .contact-cta__copy { display: block; margin: 20px 0; font-size: 15px; line-height: 1.8; }
  .contact-cta__copy br { display: none; }
  .contact-cta .button { width: 100%; }
  .site-footer { padding: 72px 0 32px; }
  .footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .footer-logo { width: min(100%, 300px); max-height: 120px; }
  .footer-about address { margin-top: 20px; font-size: 13px; overflow-wrap: anywhere; }
  .site-footer nav li+li { margin-top: 8px; }
  .footer-grid nav + nav { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 28px; }
  .site-footer a { display: inline-block; padding-block: 6px; }
  .footer-bottom { flex-direction: column; margin-top: 40px; font-size: 11px; }
  .activities-page { padding: 72px 0; }
  .activities-page__intro { font-size: 15px; line-height: 1.8; }
  .activities-page__intro p+p { margin-top: 20px; }
  .activity-cards { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .activity-card > img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .activity-card__body { padding: 16px 20px 20px; }
  .activity-card h2 { font-size: 18px; }
  .activity-card__body > p:not(.activity-card__date) { font-size: 14px; }
  .activity-card__more { min-height: 48px; padding: 10px 12px; border: 1px solid var(--wine); font-size: 14px; line-height: 1.6; }
  .contact-page { padding-top: 20px; }
  .contact-hero { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 30px 0 64px; }
  .contact-hero h1 { font-size: 30px; line-height: 1.4; }
  .contact-hero p { font-size: 15px; line-height: 1.8; }
  .contact-hero p br { display: none; }
  .contact-hero img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .contact-types { padding: 0 0 72px; }
  .contact-types h2 { margin-bottom: 24px; font-size: 26px; }
  .contact-types-grid { grid-template-columns: 1fr 1fr; }
  .contact-types-grid > div { padding: 20px 12px; }
  .contact-types-grid > div:nth-child(odd) { border-left: 0; }
  .contact-types-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .contact-types-grid h3 { font-size: 16px; }
  .contact-types-grid p { font-size: 13px; }
  .contact-panel-wrap { padding: 72px 0; }
  .contact-panel { padding: 28px 24px; }
  .contact-panel h2 { font-size: 24px; }
  .contact-panel p { font-size: 15px; line-height: 1.8; }
  .contact-panel p br { display: none; }
  .contact-panel .button { min-height: 64px; font-size: 17px; }
  .chef-dialog { width: calc(100% - 32px); max-height: calc(100dvh - 32px); }
  .chef-dialog__content { padding: 28px 24px 32px; }
  .chef-dialog h2 { font-size: 24px; }
  .chef-dialog h3 { font-size: 17px; }
  .chef-dialog__chef { grid-template-columns: 64px minmax(0,1fr); gap: 16px; padding: 20px; }
  .chef-dialog__portrait { width: 64px; height: 64px; }
  .chef-dialog__content p { font-size: 15px; line-height: 1.8; }
  .chef-dialog__links { flex-wrap: wrap; }
  .chef-dialog__bottom-close { display: block; width: 100%; min-height: 48px; margin-top: 28px; border: 1px solid var(--rule); background: transparent; color: inherit; cursor: pointer; }
}
@media (max-width: 380px) {
  .container, .intro__content { width: calc(100% - 32px); }
  .site-header__inner { padding-inline: 16px; }
  .about { padding-inline: 16px; }
  .section-heading { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero *, .hero__ticker, .parallax-scene, .site-nav, .chef-dialog { animation: none !important; transition: none !important; }
}
