/* Bókaútgáfan Tindur */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #111111;
  --ink-2: #1c1b19;
  --paper: #f3eee4;
  --paper-2: #ebe4d6;
  --orange: #f25a24;
  --orange-ink: #b8400f;     /* orange for small text on paper (AA) */
  --green: #78998a;
  --green-deep: #5e8172;
  --mustard: #d2a43b;
  --stone: #d8d1c5;
  --white: #ffffff;
  --muted: #5b564d;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1280px;
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-book:
    0 1px 1px rgba(17,17,17,.08),
    0 6px 12px -4px rgba(17,17,17,.18),
    0 22px 40px -18px rgba(17,17,17,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 600;
  text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 148px); }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .75em;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--orange); }

.section-title {
  font-family: var(--serif);
  font-weight: 420;
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
  font-size: clamp(2rem, 1.3rem + 3.1vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.section-title--light { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 .95rem/1.2 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #ff6c38; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(243,238,228,.5); color: var(--paper); background: transparent; }
.btn--light:hover { background: var(--paper); color: var(--ink); }


/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 2rem;
}
.site-header__logo { display: block; flex: none; padding: 4px 0; }
.logo-img { width: 64px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: inline-block; padding: 10px 0;
  font-size: .92rem; font-weight: 500; text-decoration: none; color: rgba(243,238,228,.82);
  position: relative;
}
.site-nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav__list a:hover { color: var(--white); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-header__cta { min-height: 42px; padding-block: .55em; }

.menu-toggle {
  display: none; margin-left: auto;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; color: var(--paper);
  font: 600 .85rem var(--sans); cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 6px; width: 22px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
  padding: 8px var(--gutter) 28px;
}
.mobile-menu__list { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-menu__list a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 400;
  text-decoration: none; color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.mobile-menu__cta { width: 100%; }

@media (max-width: 1023px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  :root { --header-h: 64px; }
  .logo-img { width: 56px; }
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 112px) clamp(64px, 9vw, 128px);
  background:
    radial-gradient(120% 80% at 85% 20%, #f8f4ec 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero::after { /* thin horizon line, a nod to the mountain mark */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--stone);
}
.hero__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 20;
  font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero__lede {
  margin-top: 1.6rem; max-width: 30ch;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  line-height: 1.5;
  color: #3a362f;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }

.hero__stage { position: relative; aspect-ratio: 1 / .68; }
.stage-book {
  display: block;
  position: absolute;
  border-radius: 2px 4px 4px 2px;
  box-shadow: var(--shadow-book);
  overflow: hidden;
  background: var(--stone);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stage-book::after { /* subtle spine highlight, no change to the artwork itself */
  content: ''; position: absolute; inset: 0 auto 0 0; width: 6px;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.12) 45%, transparent);
  pointer-events: none;
}
.stage-book img { width: 100%; height: 100%; object-fit: contain; }
.stage-book--1 { width: 33%; aspect-ratio: 1080/1693; left: 1%;  top: 10%; transform: rotate(-5deg); z-index: 1; }
.stage-book--2 { width: 40%; aspect-ratio: 1306/1910; left: 29%; top: 0;    transform: rotate(1.5deg); z-index: 3; }
.stage-book--3 { width: 33%; aspect-ratio: 1080/1627; left: 66%; top: 12%; transform: rotate(5.5deg); z-index: 2; }
.stage-shadow {
  position: absolute; left: 4%; right: 2%; bottom: 0; height: 12%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(17,17,17,.16), transparent 70%);
  z-index: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .stage-book--1:hover { transform: rotate(-5deg) translateY(-10px); }
  .stage-book--2:hover { transform: rotate(1.5deg) translateY(-10px); }
  .stage-book--3:hover { transform: rotate(5.5deg) translateY(-10px); }
}

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__stage { aspect-ratio: 1 / .7; }
}

/* ---------- Covers (shared) ---------- */
.cover {
  position: relative; overflow: hidden;
  border-radius: 2px 4px 4px 2px;
  box-shadow: var(--shadow-book);
  background: var(--stone);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cover::after { /* hairline so pale covers (e.g. Dauðinn) keep an edge on paper */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.08); pointer-events: none;
}
.cover img { width: 100%; height: 100%; object-fit: contain; }
.cover--missing {
  aspect-ratio: 2 / 3;
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  padding: 14% 12%;
  background: linear-gradient(160deg, var(--paper-2), var(--stone));
  color: var(--ink); text-align: left;
}
.cover__mark { /* small Tindur-style peak, drawn in CSS */
  width: 28px; height: 18px; background: var(--orange); margin-bottom: auto;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.cover__title { font-family: var(--serif); font-size: clamp(1.05rem, .9rem + .6vw, 1.5rem); line-height: 1.1; font-weight: 450; }
.cover__author { font-size: .8rem; color: #3a362f; }

/* ---------- Catalogue ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.catalog__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-bottom: 24px; margin-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--stone);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters[hidden] { display: none; }
.filter {
  min-height: 44px; padding: 0 18px;
  font: 500 .9rem var(--sans); color: var(--ink);
  background: transparent; border: 1.5px solid var(--stone); border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter span { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter[aria-pressed='true'] span { color: rgba(243,238,228,.7); }

.catalog__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 44px);
  row-gap: clamp(48px, 5vw, 72px);
}
.catalog__item[hidden] { display: none; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__shelf { /* common slot: covers of any shape stand on one baseline */
  aspect-ratio: .63; display: flex; align-items: flex-end;
}
.card .cover { width: 100%; }
.card__meta { margin-top: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-family: var(--serif); font-weight: 450; font-variation-settings: 'opsz' 36;
  font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); line-height: 1.15; letter-spacing: -.01em;
}
.card__link { text-decoration: none; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card clickable, one tab stop */
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 8px; border-radius: 4px; }
.card__author { margin-top: .4rem; font-weight: 500; font-size: .95rem; }
.card__credit { font-size: .82rem; color: var(--muted); }
.card__excerpt {
  margin-top: .7rem; font-size: .9rem; line-height: 1.55; color: #3a362f;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__more {
  margin-top: auto; padding-top: .9rem; align-self: flex-start;
  font: 600 .85rem var(--sans); border-bottom: 1.5px solid var(--ink); padding-bottom: 3px;
}
.card__more::after { content: ' →'; display: inline-block; transition: transform .25s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover .cover { transform: translateY(-8px); box-shadow: 0 2px 2px rgba(17,17,17,.06), 0 30px 50px -22px rgba(17,17,17,.5); }
  .card:hover .card__more::after { transform: translateX(4px); }
}
@media (max-width: 1099px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 40px; }
  .card__excerpt { display: none; }
  .card__meta { margin-top: .9rem; }
  .filter { padding: 0 14px; font-size: .85rem; }
}

/* Groups: newest books first, larger; the rest in the regular grid */
.catalog__group + .catalog__group { margin-top: clamp(64px, 8vw, 104px); }
.catalog__group[hidden] { display: none; }
.catalog__group-title {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
  font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.catalog__group-title::after { content: ''; flex: 1; height: 1px; background: var(--stone); }
.catalog__group--new .catalog__group-title::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.catalog__grid--new { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(40px, 4vw, 56px); }
.card--new { flex-direction: row; gap: clamp(20px, 2.4vw, 36px); align-items: flex-end; }
.card--new .card__shelf { flex: 0 0 40%; }
.card--new .card__meta { margin-top: 0; padding-bottom: 4px; }
.card--new .card__title { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); }
.card--new .card__excerpt { -webkit-line-clamp: 5; font-size: .95rem; }
@media (max-width: 1099px) { .catalog__grid--new { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .catalog__grid--new { grid-template-columns: 1fr; } .card--new .card__shelf { flex-basis: 36%; } }
@media (max-width: 699px) {
  .catalog__grid--new { grid-template-columns: 1fr; row-gap: 32px; }
  .card--new { gap: 18px; }
  .card--new .card__shelf { flex-basis: 40%; }
  .card--new .card__excerpt { display: -webkit-box; -webkit-line-clamp: 4; font-size: .88rem; }
}

/* ---------- Book page ---------- */
.bookpage { padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.bookpage__crumbs a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; font-size: .92rem; text-decoration: none; color: var(--muted);
}
.bookpage__crumbs a:hover { color: var(--ink); }
.bookpage__grid {
  margin-top: clamp(16px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
}
.bookpage__cover { position: sticky; top: calc(var(--header-h) + 32px); max-width: 420px; width: 100%; justify-self: end; }
.bookpage__title {
  font-family: var(--serif); font-weight: 400; font-variation-settings: 'opsz' 144, 'SOFT' 20;
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem); line-height: 1; letter-spacing: -.03em;
}
.bookpage__subtitle { margin-top: .9rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: #3a362f; }
.bookpage__credits { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 18px 0; border-block: 1px solid var(--stone); }
.bookpage__credits dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bookpage__credits dd { margin: 2px 0 0; font-weight: 500; }
.prose { margin-top: 2rem; max-width: 62ch; }
.prose p { font-size: 1.08rem; line-height: 1.75; }
.prose p + p { margin-top: 1.1em; }
.prose > p:first-child { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); line-height: 1.55; font-variation-settings: 'opsz' 24; }
.bookpage__quote { margin: 0; padding-left: 24px; border-left: 3px solid var(--orange); }
.bookpage__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem) !important; line-height: 1.55 !important; }
.bookpage__quote footer { margin-top: 1rem; font-weight: 500; }
.bookpage__about { margin-top: 2.5rem; max-width: 62ch; padding: 24px 28px; background: var(--paper-2); border-radius: 6px; }
.bookpage__about h2 { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.bookpage__about p { line-height: 1.65; }
.bookpage__about p + p { margin-top: .8em; }

.pager {
  margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid var(--stone);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.pager__link { display: grid; gap: 4px; text-decoration: none; padding: 8px 0; }
.pager__link--next { text-align: right; justify-self: end; }
.pager__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager__title { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); line-height: 1.2; }
.pager__link--prev .pager__title::before { content: '← '; }
.pager__link--next .pager__title::after { content: ' →'; }
.pager__link:hover .pager__title { color: var(--orange-ink); }

@media (max-width: 899px) {
  .bookpage__grid { grid-template-columns: 1fr; }
  .bookpage__cover { position: static; justify-self: center; max-width: min(320px, 72vw); }
}

/* ---------- Feature: Fuglar ---------- */
.feature {
  background: var(--ink); color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end;
}
.feature__media { position: relative; }
.feature__media img { width: 100%; height: auto; }
.feature__text { padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(48px, 6vw, 88px) clamp(32px, 4vw, 64px); max-width: 520px; }
.feature__book { margin: 1.6rem 0 2rem; display: grid; gap: .25rem; }
.feature__book-title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; }
.feature__book-author { color: rgba(243,238,228,.75); }
.feature__book { margin-bottom: 1.2rem !important; }
.feature__desc { margin-bottom: 2rem; color: rgba(243,238,228,.82); line-height: 1.65; max-width: 46ch; }
@media (max-width: 1099px) {
  .feature { grid-template-columns: 1fr; }
  .feature__text { padding: 48px var(--gutter) 64px; max-width: 640px; }
}

/* ---------- Kids ---------- */
.kids {
  background: var(--green);
}
.kids__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: 'head figure' 'titles figure';
  column-gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.kids__head { grid-area: head; color: var(--ink); }
.kids .eyebrow { color: var(--ink); }
.kids__credit { margin-top: 1.4rem; font-size: .95rem; line-height: 1.55; }
.kids__figure { grid-area: figure; margin: 0; }
.kids__frame {
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(17,17,17,.55);
  background: var(--green-deep);
  aspect-ratio: 16 / 9;
}
.kids__frame img { width: 100%; height: 100%; object-fit: contain; }
.kids__titles {
  grid-area: titles; align-self: end;
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; gap: 0;
}
.kids__titles li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(17,17,17,.14);
  font-family: var(--serif); font-size: 1.3rem; font-variation-settings: 'opsz' 36;
}
.kids__titles a { display: flex; align-items: center; gap: 14px; flex: 1; min-height: 28px; text-decoration: none; }
.kids__titles a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kids__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.5); }

@media (max-width: 959px) {
  .kids__grid { grid-template-columns: 1fr; grid-template-areas: 'head' 'figure' 'titles'; row-gap: 36px; }
  .kids__titles { grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 0; }
  .kids__titles li { font-size: 1.1rem; }
}
@media (max-width: 359px) { .kids__titles { grid-template-columns: 1fr; } }

/* ---------- Brostu / Systur ---------- */
.systur { background: var(--paper); }
.systur__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.systur__author { margin: 1.2rem 0 .8rem; font-weight: 600; display: grid; }
.systur__author span { font-weight: 400; font-size: .9rem; color: var(--muted); }
.systur__links { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.systur__links a { display: inline-block; padding: 8px 0 3px; font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 1.5px solid var(--ink); }
.systur__links a::after { content: ' →'; }
.systur__banner {
  margin: 0; border-radius: 6px; overflow: hidden;
  aspect-ratio: 1095 / 386;
  box-shadow: 0 24px 50px -28px rgba(17,17,17,.45);
  background: #dfeccf;
}
.systur__banner img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 959px) {
  .systur__grid { grid-template-columns: 1fr; }
  .systur__banner { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .systur__banner { margin-inline: 0; border-radius: 6px; }
}

/* ---------- About ---------- */
.about { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 12vw, 160px); position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__logo-img { width: min(100%, 420px); }
.about__lede {
  margin-top: 1.6rem;
  font-family: var(--serif); font-weight: 340;
  font-variation-settings: 'opsz' 36;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.45;
  color: rgba(243,238,228,.92); max-width: 34ch;
}
@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__logo-img { width: min(62vw, 300px); }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact__lede { margin-top: 1.4rem; max-width: 40ch; font-size: 1.15rem; color: #3a362f; }
.contact__card {
  font-style: normal;
  background: var(--white);
  border-radius: 6px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 0 var(--stone), 0 30px 60px -40px rgba(17,17,17,.4);
  border-top: 4px solid var(--orange);
}
.contact__name { font-family: var(--serif); font-size: 1.6rem; font-variation-settings: 'opsz' 48; margin-bottom: 1rem; }
.contact__link {
  display: grid; gap: 2px;
  padding: 16px 0; min-height: 56px;
  text-decoration: none;
  border-top: 1px solid var(--stone);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); font-weight: 500;
  transition: color .2s;
}
.contact__link:hover { color: var(--orange-ink); }
.contact__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__email { overflow-wrap: anywhere; }
@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(243,238,228,.8); padding-top: 64px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; }
.site-footer__logo img { width: 112px; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-footer__nav a { display: inline-block; padding: 8px 0; }
.site-footer__contact { display: grid; gap: 4px; }
.site-footer__contact a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-block: 22px 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem; color: rgba(243,238,228,.6);
}
@media (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
