/* Inter from Google Fonts, locally hosted; SIL OFL license in fonts/. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/inter-latin-ext-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/inter-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Shared scale. Keep the browser root size intact: spacing is not globally enlarged. */
:root {
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-body: 1.125rem;       /* 18 px */
  --text-detail: 1.0625rem;    /* 17 px */
  --text-control: 1.0625rem;
  --text-label: 1rem;
  --text-small: .875rem;      /* 14 px minimum for supporting text */
  --text-menu: 1.125rem;
  --text-footer: 1rem;
}
body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
}
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.5rem, 4.75vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -.025em; }
h4, h5, h6 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.01em; }
strong, b { font-weight: 600; }
em { font-weight: inherit; }
p { line-height: 1.6; }
.small, small { font-size: var(--text-small); line-height: 1.6; }
.eyebrow {
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
}
.lead { font-size: 1.25rem; }
.button, .line-link {
  font-size: var(--text-control);
  font-weight: 600;
  line-height: 1.45;
}
.button { min-height: 3.25rem; padding: .875rem 1.25rem; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.text-button { font-size: inherit; }

/* Navigation keeps its text size; available space determines compact mode. */
.site-header { container: site-header / inline-size; }
html { scroll-padding-top: calc(var(--header-height, 104px) + 1rem); }
.js .main-nav { top: var(--header-height, 88px); flex-wrap: nowrap; }
.header-inner { gap: 1.5rem; flex-wrap: wrap; }
.brand { flex-shrink: 1; min-width: 130px; }
.main-nav { gap: 1rem; }
.main-nav > a { flex-shrink: 0; }
.main-nav > a:not(.button) { font-size: var(--text-menu); font-weight: 500; line-height: 1.4; }
.header-cta { font-size: var(--text-control); padding: .875rem 1rem; gap: .75rem; min-height: 3.25rem; }
.menu-toggle { font-size: 1rem; font-weight: 500; padding: .625rem .75rem; flex-shrink: 0; margin-left: auto; }
.notice-bar { font-size: var(--text-detail); }
.breadcrumb { font-size: var(--text-small); line-height: 1.6; }

/* Hero and editorial content retain the existing colour, emphasis and composition. */
.home-hero h1 { font-size: clamp(2.75rem, 5.2vw, 4.5rem); letter-spacing: -.045em; line-height: 1.12; }
.page-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.hero .lead { font-size: var(--text-body); }
.hero-extra { font-size: var(--text-body); }
.hero .button { font-size: var(--text-control); padding: .875rem 1.125rem; gap: 1rem; }
.hero-note { font-size: var(--text-small); line-height: 1.6; }
.round-note { font-size: 1rem; }
.round-note strong { font-size: 1.375rem; font-weight: 600; }
.coffee-inset { width: 12.5rem; max-width: 80%; }
.coffee-inset > span { font-size: var(--text-small); line-height: 1.5; }
.practical strong, .practical a { font-size: var(--text-detail); }
.practical small { font-size: var(--text-small); }
.section-heading > p { font-size: var(--text-detail); line-height: 1.6; }
.section-heading { align-items: flex-end; }
.offer-card { display: flex; flex-direction: column; }
.offer-image { flex-shrink: 0; }
.offer-image > span { font-size: var(--text-small); }
.offer-copy { flex: 1; display: flex; flex-direction: column; }
.offer-copy h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); min-height: 0; }
.offer-copy > p:not(.eyebrow) { font-size: var(--text-detail); line-height: 1.6; margin-bottom: 1.25rem; }
.offer-copy .line-link { align-self: flex-start; margin-top: auto; padding-top: .25rem; }
.story-tag { font-size: 1.5rem; font-weight: 500; max-width: calc(100% - 2rem); overflow-wrap: anywhere; }
.story-copy > p:not(.eyebrow) { font-size: var(--text-body); }
.family-note h3 { font-size: 1.5rem; }
.family-note p, .program-empty p { font-size: var(--text-detail); }
.program-empty h3 { font-size: 1.75rem; }
.event-body { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 1.5rem; gap: 1.125rem; }
.event-body h3 { font-size: 1.5rem; }
.event-body p { font-size: var(--text-detail); }
.event-body .eyebrow { font-size: var(--text-small); }
.event-date { min-width: 0; }
.event-date span { font-size: 2.25rem; font-weight: 600; line-height: 1.2; }
.event-date small { font-size: 1rem; white-space: normal; text-align: center; max-width: 4.5rem; line-height: 1.4; }
.filter { font-size: 1rem; font-weight: 500; }

/* Forms: labels are content, while privacy notices and hints use the 14 px tier. */
.inquiry-intro h2 { font-size: clamp(2.125rem, 4vw, 3.25rem); }
.inquiry-intro .lead { font-size: var(--text-body); }
.inquiry-intro .small, .form-required, .form-privacy, .field-error { font-size: var(--text-small); }
.form-field label { font-size: var(--text-label); font-weight: 500; line-height: 1.5; margin-bottom: .625rem; }
.form-field input, .form-field select, .form-field textarea { font-size: var(--text-control); line-height: 1.5; min-height: 3.125rem; }
.form-field small { font-size: var(--text-small); line-height: 1.5; }
.form-field { margin-bottom: 1.375rem; }
.form-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.form-submit { font-size: var(--text-control); min-height: 3.5rem; }
.form-feedback { font-size: var(--text-detail); }

/* Important contact details, times, prices and dates never use the small tier. */
.contact-grid h3 { font-size: 1.5rem; }
.contact-grid p, .contact-main > a:not(.button):not(.line-link),
.hour-row, .hour-exception { font-size: var(--text-detail); }
.contact-main > a { overflow-wrap: anywhere; }
.arrival h4 { font-size: 1.125rem; }
.detail-grid h3, .steps h3 { font-size: 1.625rem; }
.detail-grid p, .steps p { font-size: var(--text-detail); }
.faq summary { font-size: var(--text-body); line-height: 1.5; }
.faq details p { font-size: var(--text-body); }
.steps li > span { font-size: 1rem; font-weight: 600; }
.rich-text h2 { font-size: 2rem; }
.rich-text h3 { font-size: 1.625rem; }
.menu-empty h2 { font-size: clamp(1.875rem, 3vw, 2.375rem); }
.menu-item h3 { font-size: 1.25rem; font-weight: 600; }
.menu-item p, .menu-item small { font-size: var(--text-detail); }
.menu-item small { line-height: 1.5; }
.menu-price { font-size: 1.125rem; }
.event-facts h2 { font-size: 1.875rem; }
.event-facts dt { font-size: 1rem; }
.event-facts dd { font-size: var(--text-body); }
.event-notice { font-size: var(--text-detail); }

/* Footer: body and links 16 px, headings 18–20 px, legal notes 14 px. */
.site-footer { font-size: var(--text-footer); }
.footer-top { gap: 2rem; }
.footer-brand p, .footer-top > div > a:not(:has(img)), .footer-top > div > p {
  font-size: var(--text-footer); line-height: 1.65;
}
.footer-top h2 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.footer-top > div > a:not(:has(img)) { margin-bottom: .875rem; }
.other-world h2 { font-size: 1.25rem; line-height: 1.4; }
.footer-bottom, .footer-bottom button, .legal-operator { font-size: var(--text-small); line-height: 1.6; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom > div { gap: .75rem 1.25rem; }

/* Dialogs, cookies, map placeholder and gallery captions. */
.consent-dialog h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
.consent-dialog p, .check-row, .consent-dialog > a { font-size: 1rem; line-height: 1.6; }
.consent-dialog .eyebrow { font-size: var(--text-small); }
.consent-dialog .button { font-size: var(--text-control); }
.lightbox figcaption { font-size: 1rem; line-height: 1.5; }
.lightbox-controls { font-size: 1rem; }
.map-placeholder p { font-size: var(--text-detail); }

/* Decorative glyphs keep their intended size; SVG logo and icons are untouched. */
.tiny-star, .line-link span { font-size: 1.375rem; }
.button span[aria-hidden], .gallery-zoom { font-size: 1.25rem; }
.round-note > span:last-child, .practical a span { font-size: 1.5rem; }
.empty-calendar span { font-size: 2.125rem; }
.empty-word { font-size: clamp(4rem, 8vw, 7.8125rem); font-style: italic; font-weight: 600; }
.inquiry-drawing > span { font-size: 7.5rem; }
.inquiry-drawing i { font-size: 2rem; font-weight: 600; line-height: 1.2; }
.other-world > span { font-size: 2rem; }
.faq summary span, .lightbox-controls button { font-size: 1.5rem; }
.dialog-close { font-size: 1.8125rem; }

/* Content-sized grid tracks prevent enlarged text from forcing overflow. */
.hero { grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); }
.story-grid, .service-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inquiry-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.offer-grid, .event-grid, .contact-grid, .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-top > div, .section-heading > div, .family-note > div { min-width: 0; }

@media (max-width: 1350px) {
  .header-inner { gap: 1rem; }
  .main-nav > a:not(.button) { font-size: 1.25rem; min-height: 3.25rem; padding-block: .75rem; white-space: normal; }
  .main-nav .header-cta { font-size: var(--text-control); min-height: 3.25rem; }
  .main-nav { gap: .5rem; }
  .other-world h2 { font-size: 1.25rem; }
}
@media (max-width: 1100px) {
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .section-heading { flex-wrap: wrap; }
  .section-heading > p { flex-shrink: 1; }
  .practical-inner { flex-wrap: wrap; }
  .contact-grid, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 2rem; }
  .inquiry-drawing { flex-wrap: wrap; }
  .inquiry-drawing > span { font-size: 5.625rem; }
  .inquiry-drawing i { font-size: 1.75rem; }
}
@media (max-width: 650px) {
  :root { --text-body: 1.0625rem; --text-detail: 1rem; --text-control: 1rem; }
  .hero, .story-grid, .service-story, .inquiry-grid, .offer-grid,
  .event-grid, .contact-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .page-hero h1, .event-detail h1, .not-found h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .inquiry-intro h2 { font-size: clamp(2rem, 8.75vw, 2.625rem); }
  .hero .button { font-size: var(--text-control); padding: .875rem 1rem; min-height: 3.25rem; }
  .hero .actions { align-items: stretch; gap: .75rem; }
  .hero .actions .button { flex: 1 1 auto; }
  .hero-note { align-items: flex-start; }
  .coffee-inset { width: 10.75rem; }
  .story-tag { font-size: 1.375rem; }
  .story-copy .actions { gap: 1rem; }
  .program-empty h3 { font-size: 1.5rem; }
  .filter { padding: .625rem .875rem; }
  .form-field input, .form-field select, .form-field textarea { padding: .75rem; }
  .footer-top { gap: 2.375rem 1.25rem; }
  .footer-top h2, .other-world h2 { font-size: 1.125rem; }
  .footer-bottom > div { align-items: flex-start; }
  .consent-dialog .actions { align-items: stretch; }
}
@media (max-width: 360px) {
  .hero .actions .button { flex-basis: 100%; }
  .hero .button { justify-content: space-between; }
}
/* At a larger browser text size, compact navigation must also fit on desktop.
   The em container limit follows the header font size, including text resizing. */
@container site-header (min-width: 1351px) and (max-width: 75em) {
  .menu-toggle { display: flex; }
  .header-inner { min-height: 88px; gap: 1rem; }
  .main-nav { flex-wrap: wrap; gap: .5rem; padding-block: 10px; }
  .js .main-nav {
    display: none; position: fixed; inset: var(--header-height, 88px) 0 0;
    background: var(--ink); padding: 30px max(32px, calc((100vw - 800px) / 2));
    flex-direction: column; align-items: stretch; overflow: auto;
  }
  .js .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { font-size: 1.25rem; min-height: 3.25rem; padding-block: .75rem; }
  .main-nav .header-cta { margin: 15px 0; min-height: 3.25rem; }
  .main-nav > a[aria-current]::after { right: auto; width: 35px; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 18px; }
  html:not(.js) .main-nav { width: 100%; display: flex; }
  html:not(.js) .menu-toggle { display: none; }
}
