:root {
  --paper: #f4f2ed;
  --ink: #1a1a1a;
  --ink-soft: #555;
  --serif: "Bona Nova", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
}

/* Marbled paper strip along the top of every page (hidden for now; delete display: none to bring it back) */
.marble-strip {
  display: none;
  height: 15px;
  background: #7fb3d6 url("/images/marble-strip.jpg?v=4") center bottom / cover no-repeat;
}

/* Banner */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 130px;
  height: auto;
  flex-shrink: 0;
}

.brand-name {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tagline {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 1.5px solid transparent;
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:hover { border-bottom-color: var(--ink-soft); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Dropdown under a banner link: opens on hover, keyboard focus, or tap (.open, set by nav.js) */
.site-nav .has-menu { position: relative; }

.site-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  padding: 0.4rem 0;
  border: 1px solid #ddd8cc;
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.site-nav .has-menu:hover .submenu,
.site-nav .has-menu:focus-within .submenu,
.site-nav .has-menu.open .submenu { display: block; }

.site-nav .submenu a {
  display: block;
  padding: 0.5rem 1.25rem;
  border: 0;
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav .submenu a:hover { background: #ebe8e1; }
.site-nav .submenu a[aria-current] { background: #e3dfd6; }

/* Too narrow for the menu beside the logo: centre the logo with the menu on its own row below */
@media (max-width: 1240px) {
  .site-header { justify-content: center; }
  .site-nav { width: 100%; }
}

@media (max-width: 700px) {
  .site-header { justify-content: center; padding-inline: 1rem; }
  .brand { flex-direction: column; gap: 0.5rem; text-align: center; }
  .brand img { width: 100px; }
  .brand-name { font-size: 1.6rem; letter-spacing: 0.15em; }
  .brand-tagline { font-size: 0.65rem; letter-spacing: 0.12em; }
  .site-nav ul { gap: 0.4rem 1.1rem; }
}

/* Page content (placeholder) */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

[hidden] { display: none !important; }

/* Gallery */
.gallery-title {
  margin: 0 0 3rem;
  font-size: 2.4rem;
  font-weight: 400;
  text-align: center;
}

/* Available Work: a short note under the section title */
.section-intro {
  max-width: 40rem;
  margin: -1.5rem auto 3rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.section-intro a { color: var(--ink); text-underline-offset: 0.2em; }

/* Three landscape photos per row; a short last row stays centred */
.gallery-grid {
  --gap: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.gallery-item {
  width: calc((100% - 2 * var(--gap)) / 3);
  margin: 0;
}

.gallery-item img,
.gallery-item .placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Available Work sections whose picker shape is Square */
.gallery-item[data-category="journals"] img,
.gallery-item[data-category="sketchbooks"] img,
.gallery-item[data-category="journals-sketchbooks"] img,
.gallery-item[data-category="notebooks"] img,
.gallery-item[data-category="cards-paper-goods"] img { aspect-ratio: 1 / 1; }

/* Tiles link to each piece's own page */
.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Hover: the photo grows slightly inside its frame and the caption underlines, to show it can be clicked */
.gallery-open { overflow: hidden; }
.gallery-open img { transition: transform 0.6s ease; }
.gallery-item figcaption { transition: color 0.2s; }
@media (hover: hover) {
  .gallery-open:hover img { transform: scale(1.05); }
  .gallery-item:has(.gallery-open:hover) figcaption { text-decoration: underline; text-underline-offset: 0.25em; }
}

.views-badge {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  background: rgba(244, 242, 237, 0.88);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop { background: rgba(20, 20, 20, 0.92); }

.lightbox[open] {
  display: grid;
  grid-template-columns: 4rem 1fr 4rem;
  grid-template-rows: 1fr auto;
  align-items: center;
}

.lightbox-img {
  grid-column: 2;
  justify-self: center;
  max-width: 100%;
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
}

.lightbox button {
  border: 0;
  background: none;
  color: #f4f2ed;
  font-family: var(--serif);
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox button:hover { opacity: 1; }
.lightbox button:focus { outline: none; }
.lightbox button:focus-visible { outline: 1px solid #f4f2ed; opacity: 1; }
.lightbox-prev, .lightbox-next { font-size: 3.5rem; height: 6rem; }
.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-close { position: absolute; top: 0.75rem; right: 1rem; font-size: 2.5rem; }
.lightbox.single .lightbox-prev,
.lightbox.single .lightbox-next { visibility: hidden; }

.lightbox-count {
  grid-column: 1 / -1;
  margin: 0 0 1.25rem;
  color: #f4f2ed;
  text-align: center;
  letter-spacing: 0.15em;
}

@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: 2.5rem 1fr 2.5rem; }
  .lightbox-prev, .lightbox-next { font-size: 2.5rem; }
}

/* Selected Work: whole, uncropped photos in staggered columns. The page script deals the photos
   into .work-col columns so they read across; without it, plain CSS columns are the fallback. */
.work-grid {
  --gap: 1.25rem;
  columns: 3;
  column-gap: var(--gap);
}

.work-grid.in-columns {
  display: flex;
  gap: var(--gap);
  columns: auto;
}

.work-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.work-item { margin: 0 0 var(--gap); break-inside: avoid; }
.in-columns .work-item { margin: 0; }
.work-item img { display: block; width: 100%; height: auto; }

@media (max-width: 700px) {
  .work-grid { --gap: 0.75rem; columns: 2; }
}

/* Available Work sections set to "Whole": uncropped photos in staggered columns, centred
   (the page script deals the photos into .whole-col columns) */
.gallery-grid.whole { align-items: flex-start; }

.whole-col {
  width: calc((100% - 2 * var(--gap)) / 3);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.whole-col .gallery-item { width: 100%; }
.gallery-grid.whole .gallery-item img { aspect-ratio: auto; }

@media (max-width: 700px) {
  .whole-col { width: calc((100% - var(--gap)) / 2); }
}

.gallery-empty {
  margin: 1rem 0 4rem;
  font-size: 1.3rem;
  text-align: center;
  color: var(--ink-soft);
}

.gallery-item .placeholder {
  background: #e3dfd6 url("/images/snail.png?v=2") center / 35% no-repeat;
  background-blend-mode: luminosity;
  opacity: 0.6;
}

.gallery-item figcaption {
  margin-top: 0.6rem;
  font-size: 1.1rem;
  text-align: center;
}

@media (max-width: 700px) {
  .gallery-title { font-size: 2rem; margin-bottom: 2rem; }
  .section-intro { margin: -0.75rem auto 2rem; font-size: 1rem; }
  .gallery-grid { --gap: 1rem; }
  .gallery-item { width: 100%; }
}

/* Contact: photo on the left, form on the right; stacks on phones */
/* .contact-form .visually-hidden outranks the form's input sizing, which otherwise stretched the hidden spam-trap field across the page */
.visually-hidden,
.contact-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem;
  align-items: stretch;
  padding-top: 1.5rem;
}

.contact-photo {
  width: 100%;
  height: auto;
  align-self: center;
}

.contact-body { padding-block: 1rem; }

.contact-body h1 {
  margin: 0;
  padding-bottom: 1rem;
  font-size: 2.6rem;
  font-weight: 400;
}

.contact-body h1::after {
  content: "";
  display: block;
  width: 3rem;
  margin-top: 1rem;
  border-top: 1px solid var(--ink-soft);
}

.contact-intro,
.contact-note {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  line-height: 1.55;
}

.contact-note { margin: 1.5rem 0 0; color: var(--ink-soft); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d6d2c8;
  border-radius: 2px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}

.contact-form textarea { min-height: 8rem; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #4f5d4f;
  outline-offset: -1px;
}

.contact-form ::placeholder { color: #8a877f; }

.contact-form button {
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.85rem 1.75rem;
  border: 0;
  border-radius: 2px;
  background: #02647b;   /* turquoise sampled from the hello card on this page */
  color: #f4f2ed;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover { background: #014b5c; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }

.form-status { margin: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: #3e5a3e; }
.form-status.error { color: #9a3b2e; }

@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-body h1 { font-size: 2.1rem; }
}

/* Home: a large photo with a text block beside it, and a row of three photos below.
   Until the photos are chosen, dashed frames mark where they go.
   Fixed-shape frames get their height from a padding spacer (--ratio = height / width), which every
   browser honours; aspect-ratio on a grid item was shrinking them to their label in Safari. */
.frame {
  display: grid;
  place-items: center;
  border: 1px dashed #b9b2a4;
  color: #a39b8b;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.frame::before,
.frame > * { grid-area: 1 / 1; }

.frame { position: relative; }
.frame.has-photo { border: 0; overflow: hidden; }
.frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame[style*="--ratio"]::before {
  content: "";
  padding-top: calc(var(--ratio) * 100%);
}

main.home { padding-top: 1.5rem; }   /* photo and text closer to the banner (other pages keep 3rem) */

.home .hero {
  display: grid;
  grid-template-columns: 1.85fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
}

.home .hero-photo { align-self: start; }

.home .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.home .hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.home .hero-copy[hidden] { display: none; }
.home .text-edit { align-self: stretch; }
.home .hero-copy h2 { text-wrap: balance; margin: 0 0 1.25rem; font-size: 1.9rem; font-weight: 400; line-height: 1.2; }
.home .hero-copy p { margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.6; }
.home .hero-copy .copy-tagline { margin: 0.5rem 0 0; font-style: italic; }

.button-link {
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.button-link:hover { background: var(--ink); color: var(--paper); }

.home .strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.25rem;   /* same as the gap between the three small photos */
}

@media (max-width: 800px) {
  .home .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .home .hero-copy { min-height: 0; }
  .home .strip { gap: 0.75rem; margin-top: 0.75rem; }
}

/* Phones: the three small home photos stack, each full width */
@media (max-width: 600px) {
  .home .strip { grid-template-columns: 1fr; margin-top: 2rem; }
  .home .hero-copy p br { display: none; }   /* let the paragraph flow; the fixed line breaks are for wider screens */
}

/* ---------- Piece pages (Available Work) ---------- */
.piece { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; font-style: italic; color: var(--ink-soft); margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

.piece-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.piece-main { position: relative; aspect-ratio: 1 / 1; background: #e9e6df; overflow: hidden; }
.piece-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece-prev, .piece-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; padding: 0.5rem 0.9rem;
  cursor: pointer; text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.piece-prev { left: 0; }
.piece-next { right: 0; }
.piece-prev[hidden], .piece-next[hidden], .piece-thumbs[hidden] { display: none; }
.piece-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.5rem; }   /* a little more space under the main photo (was 0.75rem) */
.piece-thumbs button { position: relative; aspect-ratio: 1 / 1; padding: 0; border: 0; background: #e9e6df; cursor: pointer; overflow: hidden; outline-offset: 2px; }
.piece-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* full strength (no fading), 2026-11-05 */
.piece-thumbs button.current { outline: 1px solid var(--ink); }

.piece-title { font-weight: 400; font-size: 2.4rem; line-height: 1.15; margin: 0 0 0.4rem; }
.piece-price { font-size: 1.5rem; margin: 0; }
.piece-rule { border: 0; border-top: 2px solid #b7c6d3; margin: 1.5rem 0; }
.piece-rule.short { width: 3rem; }
.piece-rule:not(.short) { margin-bottom: 2.25rem; }   /* equal space above and below the stock note */
.piece-description p { font-size: 1.1rem; line-height: 1.55; margin: 0 0 1rem; }
.piece-description ul { font-size: 1.1rem; line-height: 1.55; margin: 0 0 1rem; padding-left: 1.4rem; }
.piece-description li { margin: 0 0 0.3rem; }
.piece-details h2 { font-weight: 400; font-size: 0.95rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 2.5rem 0 0.75rem; }   /* more space above (was 1.5rem) */
.piece-details ul { margin: 0; padding-left: 1.2rem; line-height: 1.6; }
.piece-note { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin-bottom: 2.25rem; }
.piece-note .sprig { width: 1.8rem; height: 1.8rem; color: var(--ink-soft); }
.piece-note p { margin: 0; font-style: italic; line-height: 1.5; color: var(--ink-soft); }
.piece-missing { text-align: center; }

.edit-toggle {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 20;
  font: inherit; background: var(--ink); color: var(--paper); border: 0; border-radius: 2rem;
  padding: 0.6rem 1.2rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.edit-toggle[hidden] { display: none; }
.piece-edit { display: grid; gap: 1rem; }
.piece-edit[hidden] { display: none; }
.piece-edit label { display: grid; gap: 0.3rem; font-size: 0.95rem; }
.piece-edit small { color: var(--ink-soft); }
.piece-edit input, .piece-edit textarea {
  font: inherit; font-size: 1rem; padding: 0.5rem 0.6rem; border: 1px solid #c9c3b6; background: #fff; color: var(--ink);
}
.edit-hint { margin: 0; font-style: italic; color: var(--ink-soft); }
.edit-buttons { display: flex; gap: 0.75rem; }
.edit-buttons .button-link { background: none; cursor: pointer; font: inherit; }
.edit-status { margin: 0; color: #a0442c; }

@media (max-width: 800px) {
  .piece { padding: 0.5rem 1rem 3rem; }
  .piece-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .piece-inquire { white-space: normal; text-align: center; background: var(--ink); color: var(--paper); font-weight: 600; padding: 0.95rem 1.4rem; }   /* phones: filled, since there's no hover */
  .edit-toggle { left: auto; right: 1rem; }
  .piece-title { font-size: 2rem; }
}

.piece-inquire { display: inline-block; }
.piece-note a, .piece-description a, .piece-details a { color: var(--ink); text-underline-offset: 0.2em; }

/* Names in an extra section linked to one of the page's photos */
.photo-link {
  padding: 0; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; text-align: left;
  text-decoration: underline dotted; text-underline-offset: 0.25em;
}
.photo-link:hover { text-decoration-style: solid; }

/* Editor rows for the extra section */
.extra-editor-label { margin: 0 0 0.4rem; font-size: 0.95rem; }
.extra-rows { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; gap: 0.5rem; }
.extra-rows li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto auto; gap: 0.4rem; align-items: center; }
.extra-photo {
  width: 2.6rem; height: 2.6rem; padding: 0; border: 1px dashed #b9b2a4; background: #fff; color: var(--ink-soft);
  font-size: 1.2rem; cursor: pointer; overflow: hidden;
}
.extra-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.extra-small { border: 1px solid #c9c3b6; background: #fff; font: inherit; padding: 0.35rem 0.6rem; cursor: pointer; }
.extra-choices { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem; background: #fff; border: 1px solid #c9c3b6; }
.extra-choices[hidden] { display: none; }
.extra-choices button { width: 3.5rem; height: 3.5rem; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden; }
.extra-choices button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.extra-choices button.current { border-color: var(--ink); }
.extra-choices .extra-none { width: auto; padding: 0 0.6rem; border: 1px solid #c9c3b6; font: inherit; font-size: 0.85rem; }
.extra-add { justify-self: start; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; padding: 0.2rem 0; text-decoration: underline; text-underline-offset: 0.2em; }

/* Available Work landing: one tile per section */
.section-tiles {
  --cols: 4;            /* set by the page to the number of sections, up to 4 */
  --gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  max-width: calc(var(--cols) * 345px);   /* was 300px; tiles made 15% larger 2026-11-02 */
  margin: 0 auto;
}
.section-tiles .section-tile { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.section-tiles[hidden], .gallery-grid[hidden] { display: none; }
.section-tile { display: block; color: var(--ink); text-decoration: none; text-align: center; }
.section-tile-photo { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #e9e6df; }
.section-tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
@media (hover: hover) { .section-tile:hover .section-tile-photo img { transform: scale(1.05); } }
.section-tile-name { display: block; margin-top: 0.8rem; font-size: 1.15rem; letter-spacing: 0.04em; }
.section-tile:hover .section-tile-name { text-decoration: underline; text-underline-offset: 0.25em; }
@media (max-width: 900px) {
  .section-tiles { --gap: 1rem; row-gap: 1.25rem; max-width: none; }
  .section-tiles .section-tile { width: calc((100% - var(--gap)) / 2); }
}

/* Workshops: two columns like the item pages (square photo + caption on the left; title, rule, editable text, button on the right) */
.workshops-page { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.workshops-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-top: 2.6rem; }   /* top space = the item pages' breadcrumb line */
.workshops-figure { margin: 0; }
.workshops-photo { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; background: #e9e6df; }
.workshops-figure figcaption { margin-top: 0.6rem; font-size: 0.95rem; font-style: italic; color: var(--ink-soft); }
.workshops-title { margin: 0 0 0.4rem; font-size: 2.4rem; font-weight: 400; line-height: 1.15; }
.workshops-rule { width: 3rem; margin: 1.5rem 0; border: 0; border-top: 2px solid #b7c6d3; }
.workshops-copy h2 { margin: 0 0 1rem; font-size: 1.6rem; font-weight: 400; font-style: italic; line-height: 1.25; color: var(--ink-soft); }
.workshops-copy p { margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.55; }
.workshops-copy ul, .about-copy ul, .home .hero-copy ul { margin: 0 0 1rem; padding-left: 1.4rem; font-size: 1.1rem; line-height: 1.55; text-align: left; }
.workshops-copy li, .about-copy li, .home .hero-copy li { margin: 0 0 0.2rem; }
.workshops-cta { margin: 2rem 0 0; }
.workshops-cta .button-link { display: inline-block; }
@media (max-width: 800px) {
  .workshops-page { padding: 0.5rem 1rem 3rem; }
  .workshops-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 0.5rem; }
  .workshops-title { font-size: 2rem; }
  .workshops-copy h2 { font-size: 1.4rem; }
  .workshops-cta .button-link { white-space: normal; text-align: center; }
}

/* Available Work: editor for the paragraph under the title (local site only) */
.intro-edit { max-width: 40rem; margin: -1.5rem auto 3rem; }
.section-intro a { color: inherit; text-underline-offset: 0.2em; }

/* About: photo on the left, text on the right; stacks on phones */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.about-photo { position: sticky; top: 2rem; display: block; width: 100%; max-width: 360px; height: auto; justify-self: end; }
.about-copy p { margin: 0 0 1.1rem; font-size: 1.1rem; line-height: 1.7; }
/* Line the top of the first line's capitals up with the top of the photo (the line spacing adds room above them) */
.about-copy > p:first-child { margin-top: -0.5em; }
.about-copy .copy-tagline { margin-top: 1.75rem; font-style: italic; font-size: 1.2rem; }
@media (max-width: 800px) {
  .about-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-photo { position: static; width: 100%; max-width: 420px; margin: 0 auto; }
}
.about-snail { display: block; width: 70px; height: auto; margin: 2rem auto 0; }

/* Text 15% smaller (trial on From the Studio, 2026-11-02): pages whose <main> has class "text-85" */
main.text-85 { padding-top: 1.25rem; max-width: 1320px; }   /* less space under the header (was 3rem); wider so the photos are larger (was 1200px) */
.text-85 .gallery-title { font-size: 2.04rem; }
.text-85 .section-tiles { max-width: calc(var(--cols) * 385px); }   /* category photos larger (was 345px) */
.text-85 .section-intro, .text-85 .intro-edit { font-size: 1.0625rem; max-width: 37rem; margin-bottom: 2.25rem; }   /* 17px; narrowed to keep line length; photos closer (was 3rem below) */
.text-85 .section-tile-name { font-size: 1.0625rem; }   /* 17px */
.text-85 .gallery-item figcaption { font-size: 1.0625rem; }   /* 17px */
.text-85 .gallery-empty { font-size: 1.1rem; }
@media (max-width: 700px) {
  .text-85 .gallery-title { font-size: 1.7rem; }
  .text-85 .section-intro { font-size: 0.85rem; }
}

/* Piece page editor: photo order */
/* Photo descriptions in the page editor: a thumbnail beside each description */
.alt-editor { border: 1px solid #c9c3b6; padding: 0.6rem 0.8rem; background: #fff; }
.alt-editor summary { cursor: pointer; font-size: 0.95rem; }
.alt-editor[open] summary { margin-bottom: 0.5rem; }
.alt-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.alt-rows li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.6rem; align-items: start; }
.alt-rows img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.alt-rows textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 0.95rem; }
.order-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.6rem; }
.order-photos li { position: relative; display: grid; gap: 0.25rem; cursor: grab; background: #fff; border: 1px solid #c9c3b6; padding: 0.25rem; }
.order-photos li.dragging { opacity: 0.4; }
.order-photos li.is-main { border-color: var(--ink); }
.order-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; pointer-events: none; }
.order-main { display: none; position: absolute; top: 0.35rem; left: 0.35rem; background: var(--ink); color: var(--paper); font-size: 0.7rem; letter-spacing: 0.05em; padding: 0.1rem 0.35rem; }
.order-photos li.is-main .order-main { display: block; }
.order-buttons { display: flex; justify-content: space-between; }
.order-buttons .extra-small { padding: 0.1rem 0.5rem; }

/* Piece page: two-column details (label | value), lined up with no visible boxes */
.piece-specs { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1.5rem; margin: 0 0 0.75rem; line-height: 1.6; }
.piece-specs dt { margin: 0; }
.piece-specs dd { margin: 0; }
.spec-rows { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; gap: 0.5rem; }
.spec-rows li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto auto; gap: 0.4rem; align-items: center; }

/* From the Studio as one page (2026-11-04): the three sections one after another, with a line between them */
.studio-section { scroll-margin-top: 1.5rem; }
.studio-section-title { margin: 0 0 2.25rem; font-size: 1.75rem; font-weight: 400; text-align: center; }
.studio-divider { width: min(100%, 52rem); margin: 4.5rem auto 3.5rem; border: 0; border-top: 1px solid #d6d0c4; }
.studio-page .gallery-title { margin-bottom: 2.25rem; }
.studio-page .landing-intro { margin-bottom: 4rem; }
.intro-edit-button { display: block; margin: -1.5rem auto 2.25rem; padding: 0.3rem 0.8rem; font: inherit; font-size: 0.85rem; color: var(--ink-soft); background: none; border: 1px solid #cfc9bd; border-radius: 3px; cursor: pointer; }
.studio-page .landing-intro + .intro-edit-button { margin-top: -3.25rem; margin-bottom: 4rem; }
@media (max-width: 700px) {
  .studio-section-title { font-size: 1.45rem; margin-bottom: 1.75rem; }
  .studio-divider { margin: 3rem auto 2.5rem; }
}
/* the page title is visually hidden (still there for screen readers and search engines), so the paragraph starts the page */
.studio-page .landing-intro { margin-top: 1.5rem; max-width: 50rem; }   /* wider, so the opening paragraph runs to two lines */
/* a little snail between From the Studio sections (tried in place of the line, 2026-11-04) */
.studio-divider-snail { margin: 4.5rem auto 3rem; text-align: center; }
.studio-divider-snail img { display: inline-block; width: 52px; height: auto; opacity: 0.85; }
@media (max-width: 700px) { .studio-divider-snail { margin: 3rem auto 2.25rem; } .studio-divider-snail img { width: 44px; } }
/* Edit this page › Photo order: ✕ marks a photo to be removed on Save */
.order-photos li.is-removed { border-style: dashed; }
.order-photos li.is-removed img { filter: grayscale(1); opacity: 0.4; }
.order-removed-note { display: none; font-size: 0.7rem; line-height: 1.2; color: #8a2b1f; text-align: center; }
.order-photos li.is-removed .order-removed-note { display: block; }
.order-remove { color: #8a2b1f; }
/* From the Studio opening paragraph: a little smaller and lighter, and closer to the first section (2026-11-05) */
.studio-page .landing-intro { font-size: 0.98rem; color: #6e6a63; margin-bottom: 2.75rem; }
.studio-page .landing-intro + .intro-edit-button { margin-top: -2rem; margin-bottom: 2.75rem; }   /* local site only */

/* ---------- Footer (every page) ---------- */
.site-footer {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 1px solid #dcd7cc;
  text-align: center;
}
.footer-brand { display: inline-block; color: inherit; text-decoration: none; }
.footer-brand img { display: block; width: 72px; height: auto; margin: 0 auto 0.4rem; }
.footer-name { margin: 0; font-size: 1.35rem; font-weight: 400; letter-spacing: 0.2em; line-height: 1.1; text-transform: uppercase; }
.footer-tagline { margin: 0.35rem 0 0; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); }
.footer-rule { display: flex; align-items: center; gap: 1rem; max-width: 22rem; margin: 0.9rem auto; color: var(--ink-soft); font-size: 0.8rem; }
.footer-rule::before, .footer-rule::after { content: ""; flex: 1; height: 1px; background: #c9c3b6; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.footer-nav li + li::before { content: "|"; margin: 0 1.1rem; color: #b5ae9f; }
.footer-nav a { color: var(--ink); text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid transparent; }
.footer-nav a:hover { border-bottom-color: var(--ink-soft); }
.footer-place { margin: 0.9rem 0 0; font-style: italic; font-size: 1.05rem; }
.footer-copy { margin: 0.3rem 0 0; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--ink-soft); }
@media (max-width: 700px) {
  .site-footer { margin-top: 3rem; padding-top: 1.5rem; }
  .footer-brand img { width: 60px; }
  .footer-name { font-size: 1.15rem; }
  .footer-tagline { font-size: 0.65rem; letter-spacing: 0.15em; }
  .footer-nav ul { gap: 0.4rem 1.4rem; }
  .footer-nav li + li::before { content: none; }
}
