@font-face{font-family:"Ibarra Real Nova";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/ibarra-real-nova-400.6f69bcc7.woff2") format("woff2")}
@font-face{font-family:"Ibarra Real Nova";font-style:italic;font-weight:400;font-display:swap;src:url("fonts/ibarra-real-nova-400-italic.66a074c5.woff2") format("woff2")}
@font-face{font-family:"Ysabeau Office";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/ysabeau-office-400.4c5d5d3f.woff2") format("woff2")}
@font-face{font-family:"Ysabeau Office";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/ysabeau-office-500.a1d80f0b.woff2") format("woff2")}
/* Caroline Ingram Creative Enamels.
   A quiet gallery wall: the enamels bring all the colour; the page brings wall white, cobalt-black ink and a thread
   of copper (her material) for rims, underlines and focus. Pieces hang uncropped, at their own proportions, in rows
   that share a line, each with a museum caption and a catalogue number people can quote when they enquire.
   Type: Ibarra Real Nova (display, italic for her voice) + Ysabeau Office (text and interface). */

:root {
  --wall: #f5f3ef;
  --mat: #ebe7e1;
  --ink: #1b2230;
  --ink-soft: #444b58;
  --muted: #5d6370;
  --rule: #d9d4cc;
  --copper: #b0643a;
  --copper-deep: #8e4422;
  --serif: "Ibarra Real Nova", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Ysabeau Office", "Gill Sans", "Gill Sans MT", Seravek, "Segoe UI", Candara, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --section: clamp(88px, 11vw, 160px);
  --cols-gap: clamp(44px, 6vw, 100px); /* gap of the 5/7 two-column layouts */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 700px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--copper-deep); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p, figure, dl, dd { margin: 0; }
p { text-wrap: pretty; }
address { font-style: normal; }
.sr-only { position: absolute; 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: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--wall); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; color: var(--wall); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- shared pieces of type ---------- */
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.55; color: var(--ink-soft); }
.prose { color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.caption { margin-top: 10px; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.text-link {
  display: inline-block; font-weight: 500; color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--copper); text-decoration-thickness: 1.5px; text-underline-offset: .32em;
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: var(--copper-deep); text-decoration-color: var(--copper-deep); }

/* ---------- masthead ---------- */
.masthead { display: grid; gap: 14px; padding-block: 22px 0; }
.wordmark { display: inline-grid; justify-self: start; color: var(--ink); text-decoration: none; line-height: 1.05; }
.wordmark:hover { color: var(--ink); }
.wordmark__name { font-family: var(--serif); font-size: clamp(1.5rem, 1.32rem + .7vw, 1.875rem); letter-spacing: .004em; }
.wordmark__sub { margin-top: 3px; font-family: var(--serif); font-style: italic; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); color: var(--ink-soft); }
.nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin-left: -1px; }
.nav a { position: relative; display: inline-block; padding-block: 9px; font-size: 1rem; color: var(--ink-soft); text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1.5px; background: var(--copper);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 760px) {
  .masthead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding-top: 32px; }
  .nav { gap: 0 30px; }
  .nav a { font-size: 1.0625rem; }
}

/* ---------- home: one piece on the wall, its label beside it ---------- */
.hero { display: grid; gap: 30px; padding-top: clamp(26px, 5vw, 60px); }
.hero__img, .body__img, .plate__img, .commission__img, .portrait__img, .contact__img, .piece__link { display: block; background: var(--mat); }
.hero__img img { width: 100%; aspect-ratio: 1024 / 683; object-fit: cover; }
.hero__label h1 { font-size: clamp(2.375rem, 1.55rem + 3.3vw, 4.125rem); line-height: 1.02; letter-spacing: -.012em; }
.hero__lead { margin-top: 20px; max-width: 30em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink-soft); }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 26px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(44px, 5vw, 84px); align-items: end; }
  .hero__label { padding-bottom: 30px; }
}

/* ---------- home: the two bodies of work ---------- */
.bodies { display: grid; gap: 72px; padding-top: var(--section); }
.body__img img { width: 100%; aspect-ratio: 1024 / 618; object-fit: cover; }
.body__title { margin-top: 24px; font-size: clamp(2.125rem, 1.7rem + 1.6vw, 2.875rem); }
.body p { margin-top: 12px; max-width: 30em; color: var(--ink-soft); }
.body .text-link { margin-top: 18px; }
@media (min-width: 800px) {
  .bodies { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 84px); }
  .body:nth-child(2) { margin-top: clamp(72px, 10vw, 152px); }
}

/* ---------- home: in her words ---------- */
.statement { padding-top: var(--section); }
.statement__text { display: grid; gap: 26px; margin-bottom: clamp(44px, 5vw, 72px); }
.statement__title { max-width: 17em; font-style: italic; font-size: clamp(1.875rem, 1.3rem + 2.5vw, 3.375rem); line-height: 1.1; letter-spacing: -.01em; }
.statement__body { max-width: 31em; color: var(--ink-soft); }
.statement__body .text-link { margin-top: 16px; }
@media (min-width: 1000px) {
  .statement__text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(44px, 5vw, 84px); align-items: end; }
}

/* ---------- page intro (the room text) ---------- */
.room { display: grid; gap: 22px; padding-block: clamp(34px, 6vw, 92px) clamp(40px, 5vw, 76px); }
.room h1 { font-size: clamp(2.5rem, 1.55rem + 3.6vw, 4.625rem); line-height: 1.02; letter-spacing: -.012em; }
.room__text { max-width: 35em; }
@media (min-width: 900px) {
  .room { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--cols-gap); align-items: start; }
  .room__text { padding-top: .55em; }
}

/* ---------- the hang: rows of uncropped pieces that share a line ----------
   Each piece's flex-basis is (aspect x row height) and its flex-grow is proportional to its aspect, so every piece in
   a row ends up the same height and the row fills the width. The ::after spacer keeps the last row at its natural
   size; .hang--fill (short selections) lets every row fill. Aspect classes are generated by build.py. */
.hang { --row: 150px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px 12px; }
.hang::after { content: ""; flex: 1000000 1 0px; }
.hang--fill { --row: 120px; }
.hang--fill::after { display: none; }
@media (min-width: 600px) { .hang { --row: 200px; gap: 38px 20px; } .hang--fill { --row: 190px; } }
@media (min-width: 1000px) { .hang { --row: 270px; gap: 48px 28px; } .hang--fill { --row: 200px; } }
/* growth is capped (in proportion to aspect, so a row keeps one height) so a lone piece can never balloon */
.piece { flex-basis: calc(var(--r, 1) * var(--row)); flex-shrink: 1; min-width: 0; max-width: calc(var(--r, 1) * var(--row) * 1.7); }
.piece__link { cursor: zoom-in; }
.piece img { width: 100%; aspect-ratio: var(--r, 1); object-fit: cover; }
.piece figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 10px; margin-top: 10px; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.piece__no { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.piece__link:hover + figcaption .piece__title { color: var(--ink); }
/* phones: the catalogue galleries show just the number under each piece (the heading names the medium; the viewer shows the full caption) */
@media (max-width: 599px) {
  .hang--numbered .piece__title { display: none; }
  .hang--numbered .piece figcaption { margin-top: 7px; }
  .piece { max-width: calc(var(--r, 1) * var(--row) * 2.4); } /* on a phone a lone piece may take the full width */
}
/* a faint edge so pale photographs don't dissolve into the wall */
.hero__img img, .body__img img, .piece img, .plate__img img, .commission__img img, .contact__img img, .portrait__img img { outline: 1px solid rgba(27, 34, 48, .07); outline-offset: -1px; }
.next { margin-top: clamp(56px, 7vw, 96px); }

/* photos fade in as they arrive (site.js adds .is-waiting only to photos still loading) */
.js-fade { transition: opacity .7s var(--ease); }
.js-fade.is-waiting { opacity: 0; }

/* ---------- work index ---------- */
.set + .set { margin-top: var(--section); }
.set__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.set__head h2 { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.625rem); }

/* ---------- commissions band ---------- */
.cta { margin-top: var(--section); padding-block: clamp(60px, 8vw, 112px); background: var(--mat); }
.cta__inner { display: grid; gap: 18px; }
.cta h2 { font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem); }
.cta__text { max-width: 31em; font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 14px; margin-top: 28px; }
.actions .text-link { padding-block: 10px; }
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--cols-gap); }
}
.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px 12px 18px; border-radius: 2px;
  background: var(--ink); color: var(--wall); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none;
  font-variant-numeric: lining-nums; transition: background-color .2s, color .2s, box-shadow .2s;
}
.button:hover { background: #2c3547; color: var(--wall); }
.button svg { width: 20px; height: 20px; flex: none; }
.button--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button--quiet:hover { background: var(--ink); color: var(--wall); }

/* ---------- about ---------- */
.room--about { align-items: end; }
.portrait { width: min(100%, 260px); }
.portrait__img img { width: 100%; aspect-ratio: 300 / 263; object-fit: cover; }

.chapter { display: grid; gap: 26px; padding-top: clamp(56px, 8vw, 120px); }
.chapter h2 { font-size: clamp(2.125rem, 1.6rem + 2vw, 3.25rem); }
.chapter__text { max-width: 35em; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--cols-gap); }
}
.facts { margin-top: 30px; max-width: 25em; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.5; }
.facts div { display: grid; grid-template-columns: 6.25em minmax(0, 1fr); gap: 4px 16px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 500; }
.facts dd { color: var(--ink-soft); }
.plate { margin-top: clamp(56px, 7vw, 104px); }
.plate__img img { width: 100%; }
.plate--square { max-width: 520px; }
@media (min-width: 900px) {
  /* line plates up with the text column of .chapter */
  .plate { margin-left: calc((100% - var(--cols-gap)) * 5 / 12 + var(--cols-gap)); }
}

/* ---------- commissions ---------- */
.commission { display: grid; gap: 44px; }
.commission__art { max-width: 600px; }
.commission__img img { width: 100%; aspect-ratio: 600 / 562; object-fit: cover; }
.commission__text { display: grid; gap: clamp(40px, 5vw, 60px); max-width: 35em; }
.commission__text h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); }
.commission__text p { margin-top: 12px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .commission { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--cols-gap); align-items: start; }
  .commission__art { position: sticky; top: 32px; }
}

/* ---------- contact rows ---------- */
.rows { margin-top: 30px; border-top: 1px solid var(--ink); }
.row { display: grid; gap: 2px 24px; padding-block: 18px 20px; border-bottom: 1px solid var(--rule); }
.row dt { font-size: .9375rem; color: var(--muted); }
.row dd { font-family: var(--serif); font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.row dd > a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.row .text-link { margin-top: 4px; padding-block: 8px; font-family: var(--sans); font-size: 1rem; line-height: 1.4; }
@media (min-width: 600px) { .row { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; } }

.contact { display: grid; gap: 52px; padding-top: clamp(34px, 6vw, 92px); }
.contact h1 { font-size: clamp(2.5rem, 1.55rem + 3.6vw, 4.625rem); line-height: 1.02; letter-spacing: -.012em; }
.contact .lead { margin-top: 22px; max-width: 30em; }
.contact__img img { width: 100%; aspect-ratio: 1024 / 618; object-fit: cover; }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--cols-gap); align-items: start; }
  .contact__art { margin-top: .9rem; }
}

/* ---------- 404 ---------- */
.plain { max-width: 40em; padding-top: clamp(48px, 8vw, 120px); }
.plain h1 { font-size: clamp(2.5rem, 1.55rem + 3.6vw, 4.25rem); line-height: 1.04; }
.plain p { margin-top: 18px; color: var(--ink-soft); }
.plain__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ---------- footer ---------- */
main { padding-bottom: var(--section); }
main.main--cta { padding-bottom: 0; }
.footer { padding-block: clamp(52px, 6vw, 84px) 28px; border-top: 1px solid var(--rule); font-size: 1rem; }
.main--cta + .footer { border-top: 0; }
.footer__grid { display: grid; gap: 34px; }
.footer__name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.footer__sub { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.footer__place { margin-top: 14px; color: var(--muted); }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 6px 40px; }
.footer__nav a, .footer__contact a { text-decoration: none; }
.footer__nav a:hover, .footer__contact a:hover { text-decoration: underline; }
.footer__contact { display: grid; gap: 6px; align-content: start; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.footer__small { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--muted); }
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); column-gap: clamp(36px, 5vw, 84px); }
}

/* ---------- the viewer (lightbox) ---------- */
.viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--wall); color: var(--ink); overflow: hidden;
}
.viewer::backdrop { background: var(--wall); }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: viewer-in .3s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(10px, env(safe-area-inset-top)) var(--gutter) 6px; }
.viewer__mark { font-family: var(--serif); font-size: 1.125rem; }
.viewer__close { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 2px 0 8px; font-weight: 500; }
.viewer__close svg { width: 26px; height: 26px; }
.viewer__close:hover { color: var(--copper-deep); }
/* explicit tracks give the photo a definite box, so max-width/max-height can contain it at any shape */
.viewer__stage {
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; padding: 4px var(--gutter);
  touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none;
}
.viewer__img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; background: var(--mat); transition: opacity .3s var(--ease); }
.viewer__img.is-waiting { opacity: .001; }
.viewer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px var(--gutter) max(18px, env(safe-area-inset-bottom)); }
.viewer__cap { display: grid; gap: 4px; min-width: 0; }
.viewer__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; }
.viewer__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; font-size: .9375rem; color: var(--muted); font-variant-numeric: lining-nums; }
.viewer__ask { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 1.5px; text-underline-offset: .3em; }
.viewer__nav { display: flex; gap: 10px; margin-left: auto; }
.viewer__nav button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .2s, color .2s; }
.viewer__nav button:hover { background: var(--ink); color: var(--wall); }
.viewer__nav svg { width: 24px; height: 24px; }
html.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* gallery aspect ratios (generated by build.py) */
.ar-10000{--r:1;flex-grow:100}.ar-10055{--r:1.0055;flex-grow:100.55}.ar-10079{--r:1.0079;flex-grow:100.79}.ar-10756{--r:1.0756;flex-grow:107.56}.ar-12768{--r:1.2768;flex-grow:127.68}.ar-13333{--r:1.3333;flex-grow:133.33}.ar-13386{--r:1.3386;flex-grow:133.86}.ar-14258{--r:1.4258;flex-grow:142.58}.ar-14993{--r:1.4993;flex-grow:149.93}.ar-15000{--r:1.5;flex-grow:150}.ar-15005{--r:1.5005;flex-grow:150.05}.ar-15006{--r:1.5006;flex-grow:150.06}.ar-15170{--r:1.517;flex-grow:151.7}.ar-6667{--r:0.6667;flex-grow:66.67}.ar-7304{--r:0.7304;flex-grow:73.04}.ar-7502{--r:0.7502;flex-grow:75.02}.ar-9808{--r:0.9808;flex-grow:98.08}
