/* ==========================================================================
   Kjøtt Huset — sections.css
   Hero (H6 photographic fold), facts strip, products (F6 shop floor),
   tilbud band, about, halal, contact
   ========================================================================== */

/* ============================================
   HERO — full-bleed photograph, text as caption
   ============================================ */
.hero {
  position: relative;
  height: 92svh;
  min-height: 540px;
  overflow: hidden;
  background: var(--color-band);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Legibility scrim — two stops, anchored on ink */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    color-mix(in oklch, var(--color-band) 82%, transparent) 0%,
    color-mix(in oklch, var(--color-band) 28%, transparent) 45%,
    transparent 72%
  );
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: var(--page-gutter);
  right: var(--page-gutter);
  bottom: clamp(var(--space-lg), 6vh, var(--space-2xl));
  max-width: 660px;
}

.hero__title {
  font-size: var(--text-display);
  color: var(--color-onphoto);
  margin-bottom: var(--space-sm);
  animation: heroIn var(--dur-long) var(--ease-out) 0.05s both;
}

.hero__lede {
  font-size: var(--text-md);
  color: color-mix(in oklch, var(--color-onphoto) 88%, transparent);
  max-width: 46ch;
  line-height: 1.55;
  margin-bottom: var(--space-md);
  animation: heroIn var(--dur-long) var(--ease-out) 0.15s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: heroIn var(--dur-long) var(--ease-out) 0.25s both;
}

.hero__caption {
  position: absolute;
  z-index: 2;
  right: var(--page-gutter);
  bottom: clamp(var(--space-lg), 6vh, var(--space-2xl));
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
  color: color-mix(in oklch, var(--color-onphoto) 72%, transparent);
  white-space: nowrap;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FACTS — quiet hairline strip, no icons
   ============================================ */
.facts {
  border-bottom: var(--rule-hair) solid var(--color-rule);
  padding: 0 var(--page-gutter);
}

.facts__list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts__item {
  padding: var(--space-md) var(--space-md) var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.facts__item + .facts__item {
  border-left: var(--rule-hair) solid var(--color-rule);
  padding-left: var(--space-md);
}

.facts__item strong {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-ink);
}

.facts__item span {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}

/* ============================================
   PRODUCTS — shop-floor grid
   ============================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-lg);
  padding-bottom: var(--space-3xl);
}

.product {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
}

.product__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-paper-2);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-long) var(--ease-out);
}

.product:hover .product__media img { transform: scale(1.02); }

/* kalv.jpg: keep the cut, crop the bottle out of frame */
.product__media img[src*="kalv"] { object-position: center 68%; }
/* lam.jpg: chops read best from the upper two-thirds */
.product__media img[src*="lam"] { object-position: center 30%; }

.product__meta {
  display: grid;
  gap: var(--space-3xs);
}

.product__name {
  font-size: var(--text-lg);
  font-weight: 700;
}

.product__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.55;
}

.product__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

.product__tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================
   TILBUD — dark band, text + one photograph
   ============================================ */
.tilbud {
  background: var(--color-band);
  color: var(--color-band-ink);
  padding: var(--space-2xl) var(--page-gutter);
}

.tilbud__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: center;
}

.tilbud__title {
  font-size: var(--text-display-s);
  color: var(--color-band-ink);
  margin-bottom: var(--space-sm);
}

.tilbud__desc {
  color: var(--color-band-mut);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.tilbud__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tilbud__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

/* ============================================
   ABOUT — photograph left, prose right
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-3xl);
}

.about__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-paper-2);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content .section__title {
  margin-bottom: var(--space-md);
}

.about__text {
  color: var(--color-ink-2);
  line-height: 1.75;
  max-width: 58ch;
}

.about__text + .about__text { margin-top: var(--space-sm); }

.about__text strong { color: var(--color-ink); font-weight: 600; }

/* ============================================
   HALAL — prose + hairline rows left, photograph right
   ============================================ */
.halal {
  background: var(--color-paper-2);
}

/* Muted-on-tint fails 4.5:1 — step up one ink level on the tinted surface */
.halal .section__desc,
.halal__row dd {
  color: var(--color-ink-2);
}

.halal__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-3xl);
}

.halal__content .section__desc {
  margin-bottom: var(--space-lg);
}

.halal__rows {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.halal__row {
  border-top: var(--rule-hair) solid var(--color-rule);
  padding: var(--space-md) 0;
}

.halal__row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-ink);
  margin-bottom: var(--space-3xs);
}

.halal__row dd {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 56ch;
}

.halal__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.halal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CONTACT — info blocks + map
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
}

.contact__block {
  padding: var(--space-md) 0;
  border-top: var(--rule-hair) solid var(--color-rule);
}

.contact__block:last-child {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.contact__label {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-2xs);
}

.contact__value {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-ink);
}

.contact__detail {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-3xs);
}

.contact__hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.contact__hours th,
.contact__hours td {
  padding: var(--space-2xs) 0;
  font-size: var(--text-base);
  text-align: left;
  font-weight: 400;
}

.contact__hours th { color: var(--color-muted); }
.contact__hours td { color: var(--color-ink); text-align: right; font-weight: 500; }

.contact__hours tr + tr th,
.contact__hours tr + tr td {
  border-top: var(--rule-hair) solid var(--color-rule);
}

.contact__socials {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.contact__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 50%;
  color: var(--color-ink-2);
  transition: color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out),
              transform 100ms var(--ease-out);
}

.contact__social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact__map {
  border: var(--rule-hair) solid var(--color-rule);
  overflow: hidden;
  min-height: 420px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
  filter: grayscale(0.45) contrast(1.02);
  transition: filter var(--dur-long) var(--ease-out);
}

.contact__map:hover iframe {
  filter: grayscale(0.1) contrast(1);
}



