/* Hallmark · macrostructure: Marquee Hero · genre: modern-minimal · theme: brand forest
 * UUPM: Swiss Modernism 2.0 · nav: compact three-section · footer: Ft5 brand statement
 * flat colours only · no gradients · company profile, no portal links
 * pre-emit critique: P4 H5 E4 S5 R4 V5
 */
@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-xl); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:active, summary:active { opacity: .75; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-style: normal; line-height: 1.05; letter-spacing: -.05em; overflow-wrap: anywhere; min-width: 0; }
p, figure { margin: 0; }
svg { flex: 0 0 auto; width: 22px; height: 22px; }
.wrap { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-gutter); }
.section-space { padding-block: var(--space-section); }
.skip { position: absolute; top: -120px; left: var(--space-md); padding: var(--space-sm) var(--space-lg); background: var(--color-yellow); color: var(--color-ink); z-index: 10; }
.skip:focus { top: var(--space-md); }

/* A familiar logo; a compact, unfussy navigation. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); min-height: 100px; padding-block: var(--space-md); }
.site-brand { display: inline-flex; align-items: center; min-height: 44px; }
.site-brand img { width: 100px; }
.header-location { display: none; font-size: var(--text-xs); color: var(--color-muted); }
.site-nav { display: flex; align-items: center; gap: var(--space-xl); }
.site-nav a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-secondary { display: none; }
.site-nav svg { width: 18px; height: 18px; }

/* The identity starts with Hamburg, in scale and in colour. */
.hero { background: var(--color-forest); color: var(--color-on-forest); padding-top: var(--space-2xl); }
.hero-top { display: grid; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
.hero h1 { font-size: var(--text-display); line-height: 1.02; }
.hero h1 span { color: var(--color-yellow); }
.hero-top > p { font-size: var(--text-base); line-height: 1.65; color: var(--color-forest-muted); }
.hero-bottom { display: grid; }
.hero-image { overflow: clip; min-width: 0; }
.hero-image img { width: 100%; height: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: center 58%; }
.hero-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); padding: var(--space-lg); background: var(--color-paper); color: var(--color-ink); }
.hero-note .location-icon { width: 28px; height: 28px; }
.hero-note h2 { font-size: clamp(1.75rem, 2.7vw, 2.75rem); margin-top: var(--space-xs); }
.hero-note p { font-size: var(--text-xs); }
.hero-note .hero-address { grid-column: 2; color: var(--color-muted); margin-top: var(--space-sm); }
.hero-baseline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm) var(--space-lg); padding-block: var(--space-md); font-size: var(--text-xs); color: var(--color-forest-muted); }
.hero-baseline a { display: inline-flex; align-items: center; gap: var(--space-lg); min-height: 44px; color: var(--color-on-forest); text-decoration: none; white-space: nowrap; }
.hero-baseline a:hover { text-decoration: underline; }
.hero :focus-visible { outline-color: var(--color-yellow); }
.hero-note :focus-visible { outline-color: var(--color-focus); }

/* A short introduction, with room to read. */
.about { background: var(--color-white); }
.about-grid { display: grid; gap: var(--space-xl); }
.about h2 { font-size: var(--text-section); }
.about-copy { max-width: 58ch; }
.about-copy .lead { font-size: var(--text-lead); line-height: 1.45; letter-spacing: -.025em; color: var(--color-ink); }
.about-copy p + p { margin-top: var(--space-lg); color: var(--color-muted); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-xl); min-height: 44px; margin-top: var(--space-lg); font-weight: 600; text-decoration: none; border-bottom: var(--rule-hair) solid var(--color-ink); white-space: nowrap; }
.text-link svg { transition: transform var(--dur-fast) var(--ease-out); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* Shared assortment typography. */
.range-heading { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.range-heading h2 { font-size: var(--text-section); }
.range-heading > p { color: var(--color-muted); max-width: 38ch; }
.range-grid { display: grid; }
.range-aside { display: none; }
.range-list { border-top: var(--rule-hair) solid var(--color-ink); }
.range-item { border-bottom: var(--rule-hair) solid var(--color-rule); }
.range-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-block: var(--space-lg); cursor: pointer; list-style: none; min-height: 72px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.2; }
.range-item summary::-webkit-details-marker { display: none; }
.range-item summary svg { width: 24px; height: 24px; transition: transform var(--dur-fast) var(--ease-out); }
.range-item summary:hover { color: var(--color-hover); }
.range-item[open] summary svg { transform: rotate(45deg); }
.range-item p { color: var(--color-muted); max-width: 58ch; padding-bottom: var(--space-lg); padding-right: var(--space-2xl); }

/* The contact itself is the action. */
.contact { background: var(--color-yellow); }
.contact-heading { display: grid; gap: var(--space-lg); }
.contact-heading h2 { font-size: clamp(2.75rem, 6.5vw, 6.5rem); }
.contact-heading > p { max-width: 42ch; }
.contact-grid { display: grid; gap: var(--space-2xl); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-ink); }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); min-width: 0; }
.contact-phone { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 3.5rem); line-height: 1.25; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.contact-phone svg { width: 26px; height: 26px; }
.contact-mail { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: clamp(.875rem, 1.7vw, 1.375rem); letter-spacing: -.02em; white-space: nowrap; }
.contact address { font-size: var(--text-sm); font-style: normal; }
.contact address strong { font-weight: 600; }
.contact-fax { display: inline-block; margin-top: var(--space-md); }
.contact :focus-visible { outline-color: var(--color-forest); }

/* A typographic sign-off, with only the required links. */
.site-footer { background: var(--color-forest); color: var(--color-on-forest); padding-top: var(--space-2xl); }
.footer-wordmark { font-family: var(--font-display); font-size: clamp(2.5rem, 8.8vw, 8.5rem); font-weight: 700; letter-spacing: -.06em; line-height: 1.02; overflow-wrap: anywhere; }
.footer-wordmark span { display: block; color: var(--color-forest-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm) var(--space-xl); border-top: var(--rule-hair) solid var(--color-forest-rule); margin-top: var(--space-2xl); padding-block: var(--space-lg); color: var(--color-forest-muted); font-size: var(--text-xs); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; }
.footer-bottom a:hover { color: var(--color-on-forest); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--color-yellow); }

/* The legal pages use the same identity and a comfortable reading measure. */
.legal { padding-block: var(--space-section); background: var(--color-white); }
.legal__body { max-width: 70ch; }
.legal h1 { font-size: var(--text-section); margin-bottom: var(--space-2xl); }
.legal h2 { font-size: var(--text-lg); letter-spacing: -.025em; line-height: 1.3; margin: var(--space-xl) 0 var(--space-sm); }
.legal p { color: var(--color-muted); }
.legal a { overflow-wrap: anywhere; }

@media (min-width: 42rem) {
  .site-nav .nav-secondary { display: inline-flex; }
  .hero { padding-top: var(--space-3xl); }
  .hero-top > p { font-size: var(--text-lg); }
  .hero-bottom { grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); }
  .hero-image img { aspect-ratio: 2; }
  .hero-note { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); padding: var(--space-xl); }
  .hero-note .hero-address { margin-top: 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-3xl); }
  .range-heading { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: var(--space-xl); margin-bottom: var(--space-3xl); }
  .contact-heading { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: var(--space-xl); }
  .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-xl); margin-top: var(--space-3xl); }
  .site-footer { padding-top: var(--space-3xl); }
}
@media (min-width: 64rem) {
  .header-location { display: inline; }
  .hero-top { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); align-items: end; gap: var(--space-xl); }
  .hero-top > p { padding-bottom: var(--space-xs); }
  .hero-image img { aspect-ratio: 2.8; }
  .range-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-3xl); }
  .range-aside { display: flex; flex-direction: column; justify-content: space-between; align-self: start; min-height: 300px; padding: var(--space-xl); background: var(--color-forest); color: var(--color-on-forest); }
  .range-aside p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; letter-spacing: -.025em; }
  .range-aside svg { width: 48px; height: 48px; color: var(--color-yellow); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Photography-led additions: one large market view, close-ups, kitchen and products. */
.hero-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.hero-mosaic figure { min-width: 0; overflow: clip; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaic-main { grid-column: 1 / -1; }
.hero-mosaic-main img { aspect-ratio: 1.5; object-position: center 58%; }
.hero-mosaic-detail img { aspect-ratio: 1.15; }
.hero-mosaic-detail:last-child img { object-position: center; }
.about-visual { min-width: 0; }
.about-visual figure { margin-top: var(--space-xl); }
.about-visual img { width: 100%; aspect-ratio: 1.4; object-fit: cover; object-position: 56% center; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-md); }
.product-story { min-width: 0; }
.product-story:first-child { grid-column: 1 / -1; }
.product-story figure { overflow: clip; }
.product-story img { width: 100%; height: clamp(180px, 46vw, 260px); object-fit: cover; }
.product-story:first-child img { height: clamp(240px, 65vw, 360px); }
.product-story h3 { font-size: clamp(1.125rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.04em; margin-top: var(--space-lg); }
.product-story p { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.65; margin-top: var(--space-sm); max-width: 48ch; }
.product-story--herbs img { object-position: center 62%; }
.product-story--dairy img { object-position: center 55%; }
.product-story--table img { object-position: center 60%; }
@media (min-width: 42rem) {
  .hero-mosaic { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(360px, 38vw, 520px); gap: var(--space-md); }
  .hero-mosaic-main { grid-column: 1; grid-row: 1 / 3; }
  .hero-mosaic-main img, .hero-mosaic-detail img { aspect-ratio: auto; }
  .about-grid { align-items: center; }
  .about-visual figure { margin-top: var(--space-2xl); }
  .product-gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-3xl) var(--space-xl); }
  .product-story:first-child { grid-column: span 7; }
  .product-story:nth-child(2) { grid-column: span 5; }
  .product-story:nth-child(n+3) { grid-column: span 4; }
  .product-story img { height: clamp(230px, 27vw, 360px); }
  .product-story:first-child img, .product-story:nth-child(2) img { height: clamp(300px, 34vw, 440px); }
}
