/* Native CSS for a British street-side café. A light theme with charcoal type
   and one pale blue accent follows the project brief; no library or font CDN. */
:root {
  color-scheme: light;
  --paper: #f5f6f4;
  --ink: #22282c;
  --muted: #4b565d;
  --blue: #d9e8ef;
  --line: #bac7cc;
  --display: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
figure { min-width: 0; }
figcaption { padding-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.page-width { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; outline-color: var(--blue); }

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; font-size: 15px; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-block: 46px 62px; }
.hero-copy { padding-block: 10px 36px; }
.location { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
h1 { max-width: 9ch; font-family: var(--display); font-size: clamp(58px, 6.05vw, 86px); font-weight: 400; line-height: 1.05; letter-spacing: -.065em; }
h1 span { white-space: nowrap; }
.hero-description { max-width: 31ch; margin-top: 26px; font-size: 20px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 31px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 11px 27px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--muted); border-color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.hero-photo { width: 100%; max-width: 480px; justify-self: end; }

.photo-section { padding-block: 67px 72px; background: var(--blue); }
.section-heading { max-width: 620px; margin-bottom: 35px; }
h2 { font-family: var(--display); font-size: clamp(34px, 3.4vw, 48px); font-weight: 400; letter-spacing: -.045em; line-height: 1.15; }
.section-heading p { max-width: 51ch; margin-top: 15px; font-size: 17px; }
.food-gallery { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 48px; }
.burger-photo { margin-top: 85px; }

.visit { padding-block: 74px 70px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; margin-top: 31px; }
.address-panel { padding: 30px 34px; background: var(--blue); }
address { margin: 0 0 17px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); font-style: normal; line-height: 1.35; letter-spacing: -.03em; }
address span { font-size: .72em; font-family: var(--body); letter-spacing: .04em; }
.contact-panel { padding-block: 22px 10px; min-width: 0; }
h3 { font-family: var(--display); font-size: 29px; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
.contact-panel p { max-width: 35ch; margin-top: 14px; }
.email-link { display: flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: clamp(16px, 1.65vw, 21px); overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 14px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 48px; padding-block: 27px 40px; border-top: 1px solid var(--line); }
.footer-name { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.preview-notice { align-self: center; color: var(--muted); font-size: 14px; }
.sources { grid-column: 2; margin-top: 12px; font-size: 14px; color: var(--muted); }
.sources summary { width: fit-content; max-width: 100%; min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.source-content { max-width: 58ch; padding-top: 8px; }
.source-content p + p { margin-top: 14px; }
.source-content ul { margin: 17px 0; padding-left: 20px; }
.source-content li { padding-block: 5px; }
.source-content li a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }

@media (max-width: 1023px) {
  .page-width { width: calc(100% - 48px); }
  .hero { gap: 30px; }
  h1 { font-size: clamp(48px, 6.4vw, 67px); }
  .hero-description { font-size: 18px; }
  .food-gallery, .visit-grid { gap: 30px; }
  .burger-photo { margin-top: 66px; }
  .address-panel { padding: 26px; }
  .site-footer { column-gap: 30px; }
}

@media (max-width: 767px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 16px; }
  .wordmark { font-size: 20px; letter-spacing: -.05em; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 27px; padding-block: 31px 42px; }
  .hero-copy { padding: 0; }
  .location { margin-bottom: 16px; font-size: 14px; }
  h1 { max-width: 9ch; font-size: clamp(44px, 11.5vw, 66px); line-height: 1.04; }
  .hero-description { max-width: 31ch; margin-top: 18px; font-size: 17px; }
  .hero-actions { margin-top: 21px; gap: 14px 23px; }
  .button { min-height: 49px; padding-inline: 25px; }
  .hero-photo { max-width: 480px; justify-self: start; }
  figcaption { padding-top: 10px; font-size: 13px; }
  .photo-section { padding-block: 40px 44px; }
  h2 { font-size: 35px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading p { margin-top: 14px; font-size: 16px; }
  .food-gallery { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .burger-photo { margin-top: 0; }
  .visit { padding-block: 43px 42px; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; margin-top: 25px; }
  .address-panel { padding: 24px; }
  address { font-size: 29px; }
  .contact-panel { padding-block: 16px 0; }
  h3 { font-size: 27px; }
  .email-link { font-size: 17px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding-block: 23px 30px; }
  .sources { grid-column: 1; margin-top: 0; }
  .footer-name { font-size: 23px; }
}

@media (max-width: 359px) {
  .page-width { width: calc(100% - 32px); }
  .site-header { gap: 8px; }
  .wordmark { font-size: 18px; }
  .site-header nav { gap: 11px; }
  .site-header nav a { font-size: 13px; }
  .hero-actions { gap: 12px 20px; }
  .button { padding-inline: 23px; }
  .text-link { font-size: 15px; }
  .address-panel { padding: 22px; }
  address { font-size: 25px; }
  .email-link { font-size: 16px; }
}
