/* lymankipp.com — bold 60s minimal. Colours are Kipp's primaries. */
:root {
  --paper: #F3EFE6;
  --stone: #E6E0D2;
  --ink: #141414;
  --grey: #4A4A4A;
  --red: #D52B1E;
  --yellow: #F4C400;
  --blue: #1D4C9C;
  --white: #FFFFFF;
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 48px);
  --rule: 3px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { line-height: 1; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.mono { font-family: var(--mono); }
.u { text-decoration: underline; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: var(--rule); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo__bars { display: flex; gap: 4px; }
.logo__bars span { width: 14px; height: 30px; background: var(--red); }
.logo__bars span:nth-child(2) { background: var(--yellow); }
.logo__bars span:nth-child(3) { background: var(--blue); }
.logo__word { font-weight: 800; font-size: 26px; letter-spacing: .14em; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; font-weight: 500; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.nav a { display: inline-block; padding: 12px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
@media (max-width: 560px) {
  .nav { gap: 0 14px; font-size: 12px; letter-spacing: .1em; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { white-space: nowrap; }
  .frow { flex-direction: column; align-items: stretch; gap: 8px; }
  .search { flex-basis: auto; }
}

/* Type */
.kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.display { font-weight: 800; font-size: clamp(56px, 10vw, 150px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase; }
.h1 { font-weight: 800; font-size: clamp(52px, 9vw, 120px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase; }
.h2 { font-weight: 800; font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; letter-spacing: -.01em; }
.h3 { font-weight: 700; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.lede { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.35; max-width: 32ch; margin: 28px 0 0; }
.muted { color: var(--grey); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; background: var(--ink); color: var(--paper); border: 3px solid var(--ink); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--line { background: transparent; color: var(--ink); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.link-caps { display: inline-block; padding: 12px 0; font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }

/* Stripe */
.stripe { display: flex; height: 24px; }
.stripe span { flex: 1; background: var(--red); }
.stripe span:nth-child(2) { background: var(--yellow); }
.stripe span:nth-child(3) { background: var(--blue); }
.stripe.thin { height: 10px; margin: 28px 0; }

/* Section heads */
.sec { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; border-top: var(--rule); padding-top: 22px; margin-bottom: 32px; }

/* Home hero */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px 56px; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__text { flex: 1 1 440px; min-width: 0; }
.hero__fig { flex: 1 1 320px; min-width: 0; margin: 0; }
.frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: var(--yellow); padding: clamp(24px, 4vw, 40px); }
.frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 14px 14px 0 var(--red); }
.frame--stone { background: var(--stone); }
.frame--stone img { box-shadow: 12px 12px 0 var(--ink); }
.figcap { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 15px; line-height: 1.45; }
.figcap .mono { font-size: 13px; color: var(--grey); }

/* Two-column text block */
.split { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.split > :first-child { flex: 1 1 260px; }
.split > :last-child { flex: 2 1 460px; min-width: 0; font-size: 19px; line-height: 1.6; }
.split p { margin: 0 0 18px; }

/* Cycle tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; padding: 24px; }
.tile:hover { filter: brightness(1.08); }
.tile__years { font-family: var(--mono); font-size: 14px; }
.tile__n { display: block; font-weight: 800; font-size: 56px; line-height: 1; }
.tile__name { display: block; margin-top: 8px; font-weight: 700; font-size: 20px; letter-spacing: .1em; text-transform: uppercase; }

/* Bands */
.band { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.band--yellow { background: var(--yellow); }
.band--blue { background: var(--blue); color: var(--white); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink a { color: var(--yellow); }
.bigquote { margin: 0; font-weight: 800; font-size: clamp(34px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; max-width: 16ch; }
.bigquote + figcaption { margin-top: 28px; font-family: var(--mono); font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.cta p { margin: 18px 0 0; max-width: 46ch; font-size: 19px; }

/* Works page */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: clamp(36px, 6vw, 72px); margin-bottom: 36px; }
.page-head p { margin: 0; max-width: 46ch; color: var(--grey); font-size: 16px; }
.filters { border-top: var(--rule); border-bottom: var(--rule); padding: 22px 0; display: flex; flex-direction: column; gap: 18px; }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.flabel { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; min-width: 88px; }
.search { flex: 1 1 300px; display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: var(--rule); border-right: 0; border-radius: 0; background: var(--white); font: 18px var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search button { height: 52px; padding: 0 20px; border: 0; background: var(--ink); color: var(--paper); font: 700 14px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.pills { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: var(--rule); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.pill[aria-current="true"] { background: var(--ink); color: var(--paper); }
.pill[aria-current="true"]:hover { color: var(--yellow); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 0 26px; }
.results-bar p { margin: 0; font-family: var(--mono); font-size: 14px; }
.clear { color: var(--red); }
.empty { padding: 64px 24px; background: var(--yellow); text-align: center; }
.empty strong { display: block; font-size: 32px; text-transform: uppercase; }
.empty p { margin: 8px 0 0; }

.grid { list-style: none; margin: 0 0 96px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 20px; }
.card a { display: block; color: var(--ink); }
.card__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone); }
.card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card a:hover .card__img img { transform: scale(1.04); }
.card__none { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--grey); }
.card__k { position: absolute; left: 0; top: 0; padding: 5px 10px; font-family: var(--mono); font-size: 12px; }
.card__text { margin-top: 14px; padding-top: 12px; border-top: var(--rule); }
.card__text p { margin: 0; }
.card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__title strong { font-size: 20px; line-height: 1.2; }
.card__title span { font-family: var(--mono); font-size: 14px; }
.card__mat { margin-top: 6px !important; font-size: 15px; line-height: 1.45; }
.card__meta { margin-top: 3px !important; font-size: 14px; line-height: 1.45; color: var(--grey); }
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card__title { flex-direction: column; gap: 2px; }
  .card__title strong { font-size: 17px; }
  .card__mat { font-size: 14px; }
  .card__meta { display: none; }
}

/* Single work */
.crumbs { padding-top: 20px; margin-bottom: 24px; font-family: var(--mono); font-size: 14px; }
.crumbs a { display: inline-block; padding: 12px 0; }
.work { display: flex; flex-wrap: wrap; gap: 44px 64px; align-items: flex-start; }
.work__media { flex: 1 1 500px; min-width: 0; }
.work__info { flex: 1 1 360px; min-width: 0; }
.thumbs { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.thumbs a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone); border: 3px solid transparent; opacity: .7; }
.thumbs a[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs a:hover { opacity: 1; }
.thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rights { margin: 14px 0 0; font-size: 13px; color: var(--grey); }
.work__k { margin: 0 0 12px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; }
.work__title { font-weight: 800; font-size: clamp(40px, 5.6vw, 80px); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
.work__title--long { font-size: clamp(30px, 3.6vw, 48px); line-height: 1; }
.work__year { margin: 14px 0 0; font-size: 28px; font-weight: 500; }
.facts { margin: 0; display: grid; grid-template-columns: minmax(104px, auto) 1fr; gap: 12px 22px; font-size: 17px; line-height: 1.4; }
.facts dt { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; }
.facts .strong { font-weight: 700; }
.notes { margin-top: 36px; border-top: var(--rule); padding-top: 18px; }
.notes h2 { margin-bottom: 12px; }
.notes div { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.notes a { text-decoration: underline; font-weight: 700; }
.pager { margin: 72px 0 96px; border-top: var(--rule); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.pager a { display: inline-flex; flex-direction: column; padding: 6px 0; max-width: 48%; }
.pager a.next { align-items: flex-end; text-align: right; margin-left: auto; }
.pager .mono { font-size: 13px; }
.pager strong { font-weight: 800; font-size: clamp(18px, 2.4vw, 24px); text-transform: uppercase; }

/* About */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.cols h3 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 6px solid var(--red); }
.cols .b-yellow { border-color: var(--yellow); }
.cols .b-blue { border-color: var(--blue); }
.cols .b-ink { border-color: var(--ink); }
.list { margin: 0 0 32px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.45; }
.list .mono { display: block; font-size: 14px; }
.solo { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.solo li { padding: 14px 0; border-top: 1px solid #555; }
.solo .mono { display: block; font-size: 14px; color: var(--yellow); }
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.voice { margin: 0; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 230px; }
.voice blockquote { margin: 0; font-weight: 700; font-size: 25px; line-height: 1.2; }
.voice figcaption { font-family: var(--mono); font-size: 14px; }
.voice--red { background: var(--red); color: var(--white); }
.voice--yellow { background: var(--yellow); }
.voice--blue { background: var(--blue); color: var(--white); }
.voice--line { border: var(--rule); }

/* Old HTML fragments (bio.html, group.html, cv.html) restyled */
.legacy { max-width: 820px; padding-bottom: 96px; font-size: 18px; line-height: 1.65; overflow-wrap: anywhere; }
.legacy hr { border: 0; border-top: var(--rule); margin: 36px 0; }
.legacy i, .legacy em { font-style: italic; }
.legacy blockquote { margin: 16px 0 16px 24px; padding-left: 18px; border-left: 6px solid var(--yellow); }
.legacy a { text-decoration: underline; }
.legacy table { width: 100%; border-collapse: collapse; }
.legacy td { vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid #CFC8B8; }
.legacy td:first-child { width: 7em; font-family: var(--mono); font-size: 15px; white-space: nowrap; }
.legacy td b { font-weight: 700; }
.legacy tr:first-child td { border-top: 0; }
.legacy h1, .legacy h2, .legacy h3, .legacy h4 { font-size: 22px; text-transform: uppercase; letter-spacing: .08em; margin: 40px 0 14px; }
.legacy p { margin: 0 0 10px; }
@media (max-width: 560px) {
  .legacy td:first-child { width: auto; padding-right: 12px; }
}

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer__inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; line-height: 1.6; }
.site-footer p { margin: 0; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  .card__img img { transition: none; }
}

/* Section tabs */
.tabs { margin: 0 0 40px; padding: 18px 0; border-top: var(--rule); border-bottom: var(--rule); }
.tabs .pills { flex: none; }

/* Linked work names inside exhibition lists */
.legacy .shown { display: block; margin-top: 2px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.legacy .shown a { color: var(--red); text-decoration: underline; }
.legacy .shown a:hover { color: var(--ink); }
.legacy .work-name { font-weight: 700; font-style: italic; }
.legacy .work-name a { text-decoration: underline; }
.legacy td:first-child b { font-weight: 500; }

/* Page with side column */
.with-side { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; padding-bottom: 96px; }
.with-side > .main-col { flex: 3 1 520px; min-width: 0; }
.with-side > .side-col { flex: 1 1 240px; min-width: 0; }
.with-side .legacy { padding-bottom: 0; }

/* Archive images (exhibition installs, portraits) */
.archive h2 { margin-bottom: 18px; }
.archive ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.archive figure { margin: 0; }
.archive img { display: block; width: 100%; height: auto; background: var(--stone); }
.archive figcaption { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--grey); }
.side-col .archive ul { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* Chronology */
.chron { list-style: none; margin: 0; padding: 0; }
.chron li { display: grid; grid-template-columns: minmax(90px, 160px) 1fr; gap: 8px 32px; padding: 22px 0; border-top: 1px solid #CFC8B8; }
.chron li:first-child { border-top: var(--rule); }
.chron .yr { font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.02em; }
.chron li:nth-child(3n+1) .yr { color: var(--red); }
.chron li:nth-child(3n+2) .yr { color: var(--blue); }
.chron p { margin: 0 0 10px; font-size: 18px; line-height: 1.6; }
@media (max-width: 560px) { .chron li { grid-template-columns: 1fr; } }

/* Publications */
.books { list-style: none; margin: 0 0 96px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 40px; }
.book { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid #CFC8B8; align-items: start; }
.book__cover { width: 84px; aspect-ratio: 3 / 4; background: var(--stone); display: flex; align-items: flex-end; overflow: hidden; }
.book__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.book__cover--none { background: var(--yellow); }
.book:nth-child(3n+2) .book__cover--none { background: var(--red); }
.book:nth-child(3n) .book__cover--none { background: var(--blue); }
.book__title { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.25; font-style: italic; }
.book__by { margin: 6px 0 0; font-size: 15px; }
.book__pub { margin: 4px 0 0; font-size: 14px; color: var(--grey); }

/* Link lists (News, Contact) */
.links { list-style: none; margin: 0; padding: 0; }
.links li { border-top: var(--rule); }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; }
.embed { background: var(--white); border: var(--rule); }
.embed iframe { display: block; width: 100%; border: 0; }
.prose { font-size: 18px; line-height: 1.65; max-width: 62ch; }
.prose p { margin: 0 0 16px; }
.prose a { text-decoration: underline; }
.callout { padding: 28px; background: var(--yellow); }
.callout p:last-child { margin-bottom: 0; }
