/* DARWIN PUB — mobile and small-tablet layout refinements */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img { max-width: 100%; }

@media (max-width: 900px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .main-nav { gap: 22px; }
  .hero { column-gap: 24px; }
  .booking-card { min-width: 0; }
  .contacts { gap: 32px; }
  .site-footer { gap: 28px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .site-header {
    position: absolute;
    height: 68px;
    padding: 0 18px;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  .brand-name { font-size: 25px; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(231,197,151,.35);
    border-radius: 7px;
    cursor: pointer;
  }
  .menu-toggle:focus-visible { outline-offset: 3px; }
  .main-nav {
    top: 67px;
    padding: 8px 20px 16px;
    box-shadow: 0 16px 25px rgba(0,0,0,.24);
  }
  .main-nav.open { display: flex; }
  .nav-link { min-height: 46px; display: flex; align-items: center; font-size: 15px; }
  .hero {
    min-height: 0;
    padding: 112px 18px 38px;
    gap: 28px;
  }
  .hero-photo { background-position: 55% center; }
  .hero-title {
    font-size: clamp(58px, 17vw, 88px);
    letter-spacing: 2px;
    line-height: 1.02;
  }
  .hero-rule {
    gap: 10px;
    margin: 12px 0 20px;
    font-size: 10px;
    letter-spacing: 4px;
  }
  .hero-rule span { width: 30px; }
  .hero-copy {
    max-width: 360px;
    font-size: 19px;
    line-height: 1.45;
    margin: 0 auto;
    text-align: center;
  }
  .booking-card {
    width: 100%;
    padding: 21px 18px 19px;
    border-radius: 12px;
  }
  .booking-card h2 { font-size: clamp(22px, 6vw, 27px); line-height: 1.2; }
  .booking-text { font-size: 14px; margin-bottom: 17px; }
  .booking-card form { gap: 13px; }
  .field span { font-size: 13px; margin-bottom: 6px; }
  .field input,
  .field select,
  .date-trigger,
  .phone-input { height: 50px; min-height: 50px; font-size: 16px; }
  .phone-input input { height: 48px !important; font-size: 16px; }
  .phone-prefix { font-size: 16px; padding-left: 13px; }
  .date-trigger #date-display { font-size: 15px; }
  .field textarea {
    min-height: 88px;
    padding: 12px;
    font-size: 16px;
  }
  .form-row { gap: 10px; }
  .booking-date-time { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .booking-submit { min-height: 54px; font-size: 16px; }
  .consent-field { gap: 11px; font-size: 12px; line-height: 1.55; }
  .consent-field input { width: 20px; height: 20px; flex-basis: 20px; }
  .form-note { font-size: 11px; }
  .calendar-popover {
    width: min(320px, calc(100vw - 54px));
    padding: 13px;
  }
  .calendar-day { height: 38px; }
  .section-wrap { padding-left: 18px; padding-right: 18px; }
  .kitchen-section { padding-top: 36px; padding-bottom: 44px; }
  .kitchen-card { border-radius: 10px; }
  .kitchen-photo { min-height: 185px; }
  .kitchen-copy { padding: 0 19px 24px; }
  .kitchen-copy h2 { font-size: clamp(30px, 8vw, 36px); }
  .kitchen-copy>p:not(.eyebrow) { font-size: 14px; }
  .kitchen-arrow { right: 16px; bottom: 17px; width: 40px; height: 40px; }
  .broadcasts { min-height: 350px; padding: 54px 22px; }
  .broadcast-content h2 { font-size: clamp(36px, 10vw, 44px); }
  .broadcast-content>p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
  .contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .contacts h2 { font-size: clamp(38px, 11vw, 48px); margin-bottom: 26px; }
  .contact-line { gap: 15px; padding: 13px 0; }
  .contact-line span { flex: 0 0 82px; width: 82px; font-size: 12px; }
  .contact-line p { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
  .contact-photo { height: 235px; }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    min-height: 0;
    padding: 34px 18px 78px;
    padding-bottom: max(78px, calc(58px + env(safe-area-inset-bottom)));
  }
  .footer-brand-column { grid-column: 1 / -1; gap: 14px; }
  .site-footer .brand-footer .brand-name { font-size: 33px; }
  .footer-column { gap: 11px; }
  .footer-column h2 { font-size: 11px; letter-spacing: 1px; }
  .footer-column>a:not(.brand) { font-size: 13px; line-height: 1.45; }
  .footer-phone { font-size: 16px; }
  .footer-social-icons a { width: 36px; height: 36px; }
  .footer-bottom {
    left: 18px;
    right: 18px;
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 10px;
    align-items: center;
    font-size: 9px;
  }
  .footer-bottom span { max-width: 70%; }
  .menu-hero,
  .menu-page .menu-hero { height: 290px; padding: 0 20px 32px; }
  .menu-hero h1,
  .menu-page .menu-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .menu-hero-inner>p:last-child { font-size: 14px; }
  .menu-content,
  .menu-page .menu-content { padding-top: 42px; padding-bottom: 60px; }
  .menu-intro,
  .menu-page .menu-intro { display: block; margin-bottom: 25px; }
  .menu-intro h2,
  .menu-page .menu-intro h2 { font-size: clamp(34px, 9vw, 43px); }
  .menu-intro>p,
  .menu-page .menu-intro>p { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .category-nav,
  .menu-page .category-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: 8px;
    margin: 0 -18px 35px;
    padding: 13px 18px 16px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .category-nav a,
  .menu-page .category-nav a { flex: 0 0 auto; min-height: 38px; display: inline-flex; align-items: center; font-size: 12px; }
  .menu-sections,
  .menu-page .menu-sections { columns: 1; }
  .menu-category,
  .menu-page .menu-category { margin-bottom: 32px; }
  .category-heading h3,
  .menu-page .category-heading h3 { font-size: 24px; }
  .dish,
  .menu-page .dish {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 13px 0;
  }
  .dish-main,
  .menu-page .dish-main { min-width: 0; grid-column: 1; grid-row: 1 / span 2; }
  .dish-main h4,
  .menu-page .dish-main h4 { font-size: 14px; line-height: 1.35; }
  .dish-main p,
  .menu-page .dish-main p { font-size: 12px; line-height: 1.45; }
  .dish-weight,
  .menu-page .dish-weight { grid-column: 2; grid-row: 2; font-size: 10px; text-align: right; }
  .dish-price,
  .menu-page .dish-price { grid-column: 2; grid-row: 1; font-size: 13px; text-align: right; }
  .legal-page { padding: 105px 19px 55px; }
  .legal-page h1 { font-size: clamp(34px, 10vw, 44px); }
  .legal-page h2 { font-size: 22px; }
  .legal-page p,
  .legal-page li { font-size: 14px; overflow-wrap: anywhere; }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 16px;
    max-height: min(70vh, 430px);
    overflow-y: auto;
  }
  .cookie-banner-copy p { font-size: 12px; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
  .cookie-choice { min-height: 44px; padding: 9px 8px; font-size: 11px; }
}

@media (max-width: 390px) {
  .hero { padding-left: 14px; padding-right: 14px; }
  .booking-card { padding-left: 15px; padding-right: 15px; }
  .booking-date-time { grid-template-columns: minmax(0, 1fr); }
  .calendar-popover { width: min(310px, calc(100vw - 44px)); }
  .section-wrap { padding-left: 14px; padding-right: 14px; }
  .contact-line { gap: 10px; }
  .contact-line span { flex-basis: 74px; width: 74px; }
  .site-footer { padding-left: 14px; padding-right: 14px; }
  .footer-bottom { left: 14px; right: 14px; }
  .category-nav,
  .menu-page .category-nav { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 340px) {
  .brand-name { font-size: 22px; }
  .hero-title { font-size: 56px; }
  .hero-rule { letter-spacing: 3px; font-size: 9px; }
  .footer-column>a:not(.brand) { font-size: 12px; }
  .cookie-banner-actions { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .button:hover,
  .kitchen-card:hover { transform: none; }
}
