/* meaghanmalone.com: the photography pages
   Home, the galleries, prints, investment, inquire, about, the session agreement, and the what-to-wear
   guide. Loaded after css/site.css, which holds the colors, the type, and the header, menu, and footer.
   Placeholder blocks (.ph) stand in for every photo until there is one: drop an <img> inside a .ph and the
   note disappears. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, dd a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .18em; }
p a:hover, li a:hover, dd a:hover { text-decoration-color: var(--berry); color: var(--berry); }
h1, h2, h3, h4 { font-weight: 500; margin: 0; }
h1 { font-family: var(--serif-d); font-size: clamp(2.9rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.01em; }
h2 { font-family: var(--serif-d); font-size: clamp(2.2rem, 3.8vw, 3.3rem); line-height: 1.06; letter-spacing: -.005em; }
h3 { font-family: var(--serif-d); font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.15; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.2rem, 1.65vw, 1.42rem); line-height: 1.5; color: var(--ink); max-width: var(--measure); }
.muted { color: var(--ink-2); }
.small { font-size: .95rem; }
.read { max-width: var(--measure); }
.center { text-align: center; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.wrap.narrow { max-width: 880px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* small spaced capitals: menus, labels, buttons */
.kicker, .k {
  font: 500 .7rem/1.3 var(--caps);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--berry);
}
.kicker { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.center .kicker { justify-content: center; }
.k.ink { color: var(--ink-2); }

/* one quiet line under the hero buttons, and the little line drawings */
.hand { font-family: var(--serif-d); font-weight: 500; font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: .01em; color: var(--berry); }
.doodle { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hand .doodle { width: 1.6em; height: 1.6em; vertical-align: middle; display: inline-block; margin-left: .3em; transform: rotate(12deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 500 .7rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase;
  padding: 1.05rem 1.7rem; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--berry-2); border-color: var(--berry-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.berry { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.berry:hover { background: var(--berry-2); border-color: var(--berry-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.textlink { font: 500 .7rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--berry); padding-bottom: .35rem; }
.textlink:hover { color: var(--berry); }

/* ---------- placeholders (and, later, photos) ---------- */
.ph {
  position: relative; overflow: hidden;
  background: var(--t, var(--tone-latte));
  aspect-ratio: var(--r, 4 / 5);
  width: 100%;
  color: var(--ink);
  isolation: isolate;
  border-radius: 3px;
}
.ph::before { /* a soft wash so the blocks don't read as flat */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255, .3), rgba(255,255,255, 0) 55%, rgba(0,0,0, .06));
}
.ph::after { /* the mat line */
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(0,0,0, .18); pointer-events: none; border-radius: 2px;
}
.ph-label {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  text-align: center; padding: clamp(1rem, 6%, 2rem);
}
.ph-label .k { color: var(--ink-2); opacity: .8; }
.ph-label .d { font-family: var(--serif); font-size: 1rem; line-height: 1.45; max-width: 26ch; color: var(--ink); opacity: .85; }
.ph > img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img)::after, .ph:has(img)::before, .ph:has(img) .ph-label { display: none; }
.ph.t-blue { --t: var(--tone-latte); }
.ph.t-blush { --t: var(--tone-oat); }
.ph.t-lavender { --t: var(--tone-sand); }
.ph.t-mustard { --t: var(--tone-camel); }
.ph.t-sage { --t: var(--tone-taupe); }
.ph.t-coral { --t: var(--tone-mocha); }
.ph.round { border-radius: 999px; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero-copy .lede { margin-top: 1.6rem; }
.hero-copy .btn-row { margin-top: 2rem; }
.hero-copy .hand { margin-top: 1.6rem; display: flex; align-items: center; gap: .2rem; }
.hero-art { position: relative; }
.hero-art .ph { --r: 4 / 5; }
.hero-art .ph.second { --r: 3 / 4; position: absolute; width: 34%; right: -4%; bottom: -8%; box-shadow: 0 30px 60px -30px rgba(20,20,20, .45); }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art .ph.second { display: none; }
}

/* page headers for inner pages */
.page-head { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { margin-top: 1.4rem; }
.page-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 920px) { .page-head.split { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.sec { padding: clamp(3rem, 7vw, 6.5rem) 0; }
.sec.tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.sec.tone { background: var(--paper-2); }
.sec.cool { background: var(--paper-3); }
.sec.navy { background: var(--ink); color: var(--paper); }
.sec.navy .kicker { color: var(--brass); }
.sec.navy .lede { color: var(--paper); }
.sec.navy .hand { color: var(--paper); }
.sec.navy .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.sec.navy .btn:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.sec.navy p a { color: var(--paper); text-decoration-color: var(--brass); }
.sec.line-top { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.sec-head .lede { margin: .9rem 0 0; }
@media (max-width: 720px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* three gallery doors on the homepage */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.door { display: block; }
.door .ph { --r: 4 / 5; transition: transform .6s var(--ease); }
.door:hover .ph { transform: translateY(-4px); }
.door .k { display: block; margin-top: 1.1rem; }
.door h3 { margin-top: .4rem; }
.door p { margin: .5rem 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* masonry galleries */
.masonry { columns: 3; column-gap: var(--gap); }
.masonry .ph { break-inside: avoid; margin: 0 0 var(--gap); }
@media (max-width: 920px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* three-up facts */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.trio .num { font-family: var(--serif-d); font-size: 1.1rem; color: var(--berry); }
.trio h3 { margin-top: .5rem; }
.trio p { margin: .6rem 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* a banner (model call, prints teaser) */
.banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.banner .ph { --r: 3 / 2; }
.banner.rev > .banner-copy { order: -1; }
.banner h2 + .lede { margin-top: 1rem; }
.banner .btn-row { margin-top: 1.6rem; }
.banner .hand { margin-top: 1rem; }
@media (max-width: 920px) { .banner { grid-template-columns: 1fr; } .banner.rev > .banner-copy { order: 0; } }

/* ruled lists */
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { padding: .9rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1.5rem; }
.ruled li:last-child { border-bottom: 1px solid var(--line); }
.ruled .note { color: var(--ink-2); text-align: right; }

/* price cards */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.price { border: 1px solid var(--line); border-top: 1px solid var(--berry); padding: 1.8rem 1.6rem; background: color-mix(in srgb, #fff 40%, transparent); display: flex; flex-direction: column; border-radius: 3px; }
.price.t-blue { --t: var(--tone-latte); } .price.t-coral { --t: var(--tone-mocha); } .price.t-lavender { --t: var(--tone-sand); } .price.t-mustard { --t: var(--tone-camel); }
.price .k { display: block; }
.price h3 { margin-top: .5rem; }
.price .from { font-family: var(--serif-d); font-weight: 500; font-size: 2.5rem; line-height: 1; margin: 1rem 0 .2rem; }
.price .from small { font: 500 .68rem/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: .5rem; }
.price ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; color: var(--ink-2); }
.price li { padding: .45rem 0; border-top: 1px solid var(--line); font-size: .98rem; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* prints grid */
.prints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.print .ph { --r: 3 / 2; }
.print h3 { margin-top: 1rem; font-size: 1.25rem; }
.print .where { color: var(--ink-2); margin: .2rem 0 .6rem; }
.print .sizes { font: 500 .72rem/1.7 var(--caps); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.print .size { display: block; margin: .2rem 0 .9rem; }
.print .size .lab { display: block; font: 500 .66rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; }
.print .size select { width: 100%; appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: .55rem 2rem .55rem 0; color: var(--ink); font: 400 1.05rem/1.4 var(--serif); outline: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.print .size select:focus { border-bottom-color: var(--berry); }
.print .btn { margin-top: .2rem; }
.print .btn[disabled] { opacity: .6; cursor: wait; }
.print .err { color: var(--berry-2); margin: .6rem 0 0; }
@media (max-width: 920px) { .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prints { grid-template-columns: 1fr; } }

/* journal list */
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { border-top: 1px solid var(--line); padding: 1.6rem 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; }
.posts li:last-child { border-bottom: 1px solid var(--line); }
.posts .when { font: 500 .72rem/1.6 var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.posts h3 { font-size: 1.8rem; }
.posts h3 a:hover { color: var(--berry); }
.posts p { margin: .5rem 0 .8rem; color: var(--ink-2); }
@media (max-width: 640px) { .posts li { grid-template-columns: 1fr; gap: .4rem; } }

/* a post */
.post-head { padding: clamp(2.5rem, 6vw, 5rem) 0 2rem; }
.post-head .when { display: block; margin-top: 1.2rem; }
.post-body { font-size: 1.22rem; line-height: 1.7; }
.post-body p { margin-bottom: 1.4em; }
.post-body.cap > p:first-of-type::first-letter { font-family: var(--serif-d); font-size: 3.6em; float: left; line-height: .82; padding: .08em .12em 0 0; color: var(--berry); }
.post-end { border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 2.5rem; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-grid .ph { --r: 4 / 5; position: sticky; top: 7rem; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } .about-grid .ph { position: relative; top: auto; max-width: 520px; } }
.facts { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.facts li { padding: .8rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .5rem; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .num { font-family: var(--serif-d); color: var(--berry); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 920px) { .form-grid { grid-template-columns: 1fr; } }
form.f { display: grid; gap: 1.4rem; }
.f .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 600px) { .f .row { grid-template-columns: 1fr; } }
.f label { display: block; }
.f .lab { display: block; font: 600 .68rem/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.f .lab .opt { color: var(--ink-3); font-weight: 500; letter-spacing: .1em; text-transform: none; }
.f input:not([type="checkbox"]):not([type="radio"]), .f select, .f textarea {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: .7rem 0; color: var(--ink); font: 400 1.05rem/1.4 var(--serif);
  outline: none; transition: border-color .25s;
}
.f input:not([type="checkbox"]):not([type="radio"]):focus, .f select:focus, .f textarea:focus { border-bottom-color: var(--berry); }
.f textarea { min-height: 150px; resize: vertical; }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
.f .submit { margin-top: .4rem; }
.f .fine { color: var(--ink-3); font-size: .9rem; margin: 0; }
.hp { position: absolute; left: -9999px; }

.aside { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.aside h3 { font-size: 1.2rem; }
.aside dl { margin: 0; }
.aside dt { font-family: var(--serif-d); font-size: 1.1rem; margin-top: 1.3rem; }
.aside dd { margin: .3rem 0 0; color: var(--ink-2); }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .door .ph, .btn { transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  body { font-size: 1rem; }
}

/* ---------- the session agreement ---------- */
.agreement .ag-h { font-family: var(--serif-d); font-weight: 500; font-size: 1.7rem; margin: 2.4rem 0 .6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.agreement form.f > .ag-h:first-of-type { margin-top: .4rem; border-top: 0; padding-top: 0; }
.agreement .f input.locked, .agreement .f textarea.locked { color: var(--ink); border-bottom-style: dotted; background: color-mix(in srgb, var(--paper-2) 60%, transparent); padding-left: .4rem; }
.agreement .f textarea.locked { min-height: 0; resize: none; overflow: hidden; line-height: 1.4; white-space: pre-wrap; }
.terms { padding-left: 1.3rem; margin: .4rem 0 0; }
.terms li { margin: 0 0 .9rem; line-height: 1.55; }
.terms b { font-weight: 500; font-family: var(--serif-d); font-size: 1.15em; }
.choices { border: 0; padding: 0; margin: .4rem 0 0; }
.choices legend { padding: 0; margin-bottom: .8rem; }
.choice { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .7rem; align-items: start; padding: .7rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.choice:last-of-type { border-bottom: 1px solid var(--line); }
.choice input { appearance: auto; -webkit-appearance: auto; width: 1.15rem; height: 1.15rem; margin: .3rem 0 0; accent-color: var(--ink); cursor: pointer; flex: none; }
.choice input:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.choice b { font-weight: 500; }
.choice.agree { margin-top: 1.2rem; font-size: 1.05rem; }
.f input.sig { font-family: var(--serif-d); font-size: 1.9rem; font-weight: 500; padding: .5rem 0; }
.signed .copy { border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.6rem); background: #fff; }
.signed .copy .ag-h { margin-top: 1.6rem; }
.signed .copy .ag-h:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.ag-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1.4rem; margin: 0; }
.ag-dl dt { font: 500 .68rem/1.6 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: .25rem; }
.ag-dl dd { margin: 0; }
.sig-line { font-family: var(--serif-d); font-size: 2rem; font-weight: 500; margin: .2rem 0 .4rem; border-bottom: 1px solid var(--ink); display: inline-block; padding: 0 .4rem .2rem 0; }
@media print {
  .mast, .foot, .sheet, .skip, .signed .btn-row, .signed .lede, .signed .kicker, .signed > h2, .signed > .muted, .dev-banner { display: none !important; }
  .sig-block { break-inside: avoid; }
  .ag-h { break-after: avoid; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .signed .copy { border: 0; padding: 0; }
  .signed h2 { font-size: 20pt; }
  .terms li { break-inside: avoid; }
  a { text-decoration: none; }
}

/* ---------- the what-to-wear guide ---------- */
.guide p { font-size: 1.1rem; }
.guide .ag-h { font-family: var(--serif-d); font-weight: 500; font-size: 1.7rem; margin: 2.2rem 0 .6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.guide .ag-h:first-child { border-top: 0; padding-top: 0; margin-top: .4rem; }
.guide .plain { padding-left: 1.2rem; margin: .4rem 0 0; }
.guide .plain li { margin: 0 0 .6rem; line-height: 1.55; }
.guide .checklist { list-style: none; padding: 0; }
.guide .checklist li { padding: .55rem 0 .55rem 1.9rem; border-top: 1px solid var(--line); position: relative; }
.guide .checklist li:last-child { border-bottom: 1px solid var(--line); }
.guide .checklist li::before { content: ""; position: absolute; left: .1rem; top: .85rem; width: .9rem; height: .9rem; border: 1px solid var(--line-2); border-radius: 2px; }
.chips { list-style: none; margin: 1rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 1.1rem .8rem; }
.chip { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; }
.chip .swatch { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); box-shadow: inset 0 0 0 4px var(--paper); }
.chip-name { font: 500 .7rem/1.3 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.chip-note { font-size: .85rem; color: var(--ink-3); line-height: 1.3; }
.guide .example { margin: 1.6rem 0 .4rem; }
.guide .example figcaption { font-size: .95rem; color: var(--ink-2); margin-top: .7rem; line-height: 1.5; }

/* ---------- added when the photo site became the whole site (Nov 2026) ---------- */
/* the galleries page: three doors and a wide one for the landscapes */
.doors.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door.wide .ph { --r: 16 / 7; }
@media (max-width: 760px) { .doors.two { grid-template-columns: 1fr; } .door.wide .ph { --r: 3 / 2; } }
.more-row { margin-top: clamp(1.6rem, 3vw, 2.6rem); }

/* post titles in a list don't need the underline body links get */
.posts h3 a { text-decoration: none; }

/* a screenshot of design work, framed like the photographs */
.ph.shot > img { object-position: top center; }
.ph.frame { box-shadow: 0 30px 60px -40px rgba(0,0,0, .55); }

/* the official bio and the Currently list on About */
.bio p { font-size: 1.12rem; }
.ruled .lab { font: 500 .7rem/1.6 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--berry); flex: none; padding-top: .3rem; min-width: 7rem; }
.ruled.now li { justify-content: flex-start; }

/* ---------- the home page: nothing but the galleries (Nov 2026) ---------- */
.wall .sec-head { align-items: baseline; margin-bottom: clamp(1.1rem, 2vw, 1.6rem); }
.wall h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.wall h2 a:hover { color: var(--berry); }
.wall:first-of-type { padding-top: clamp(1.6rem, 3.5vw, 3rem); }
.wall:last-of-type { padding-bottom: clamp(3rem, 7vw, 6rem); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 920px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } .wall .sec-head { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.2rem; } }
/* on a phone the wall is two photos across */
@media (max-width: 560px) {
  .wall .masonry { columns: 2; column-gap: 10px; }
  .wall .masonry .ph { margin-bottom: 10px; }
  .wall .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wall .ph::after { inset: 6px; }
  .wall .ph-label { padding: .7rem; gap: .3rem; }
  .wall .ph-label .k { font-size: .56rem; letter-spacing: .16em; }
  .wall .ph-label .d { font-size: .8rem; line-height: 1.3; }
}
