/* LH Stonework — redesign prototype (v2).
   The work is the design · quiet and material · say it plainly. */
:root {
  --paper: #F1ECE2;
  --stone: #E2D8C6;
  --stone-2: #D6CAB4;
  --ink: #24251F;
  --ink-2: #47483F;
  --muted: #6E6C61;
  --lichen: #56634F;
  --earth: #7A4B30;
  --rule: rgba(36, 37, 31, .18);
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 4.5vw, 56px);
  /* fine limestone grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .29 0 0 0 0 .22 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper) var(--grain); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a { color: var(--earth); text-decoration: underline; text-decoration-color: rgba(122,75,48,.35); text-underline-offset: 3px; }
p a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--earth); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.measure { max-width: 34em; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }
.label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lichen); margin-bottom: 14px; }
.small { font-size: .9rem; } .muted { color: var(--muted); }

/* Action link: small capitals with a chiselled rule that lengthens on hover */
.more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.more::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .35s ease; }
.more:hover::after, .more:focus-visible::after { width: 44px; }
/* Solid action: a squared slate block, no rounding */
.act { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; background: var(--ink); color: var(--paper); border: 0; border-radius: 0; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s; }
.act:hover { background: var(--lichen); }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-block: 22px 18px; }
.name { display: inline-block; }
.name strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.name span { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.site-head nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 30px; margin: 0; padding: 0; }
.site-head nav a { position: relative; display: inline-block; padding: 10px 0; font-size: .98rem; color: var(--ink-2); transition: color .2s; }
.site-head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--lichen); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.site-head nav a:hover { color: var(--ink); }
.site-head nav a:hover::after, .site-head nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-head nav a[aria-current="page"] { color: var(--ink); }

main { display: block; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--rule); }
.band { background: var(--stone) var(--grain); }
.band + .section, .section + .band { border-top: 0; }

/* Coursed-stone divider between major sections */
.course { height: 14px; background:
  linear-gradient(90deg, transparent 0 1px, var(--paper) 1px) 0 0 / 92px 7px,
  linear-gradient(90deg, transparent 0 1px, var(--paper) 1px) 46px 7px / 92px 7px,
  var(--stone-2); opacity: .9; }

figure { margin: 0; }
figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.ph-tag { font-weight: 600; color: var(--earth); }
.photo-needed { display: grid; place-items: center; text-align: center; background: var(--stone) var(--grain); border: 1px dashed rgba(36,37,31,.35); color: var(--ink-2); padding: 32px; aspect-ratio: 4 / 3; font-size: .95rem; }
.photo-needed strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.todo { background: rgba(122, 75, 48, .1); color: var(--earth); padding: 0 .3em; font-size: .92em; }

/* ---------- Carousel ---------- */
.carousel { position: relative; background: var(--ink); }
.carousel .track { position: relative; height: clamp(340px, 68vh, 760px); overflow: hidden; touch-action: pan-y; }
.carousel .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.carousel .slide.is-active { opacity: 1; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.c-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(36,37,31,.32); color: #F1ECE2; cursor: pointer; display: grid; place-items: center; transition: background .25s; z-index: 2; }
.c-btn:hover, .c-btn:focus-visible { background: rgba(36,37,31,.6); }
.c-btn svg { width: 20px; height: 20px; }
.c-prev { left: clamp(10px, 2vw, 24px); } .c-next { right: clamp(10px, 2vw, 24px); }
.c-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.c-caption { margin: 0; font-size: .86rem; color: var(--muted); min-height: 1.5em; flex: 1 1 320px; }
.c-controls { display: flex; align-items: center; gap: 14px; }
.c-dots { display: flex; gap: 2px; }
.c-dots button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.c-dots button::before { content: ""; width: 22px; height: 2px; background: var(--rule); transition: background .3s; }
.c-dots button[aria-current="true"]::before { background: var(--ink); }
.c-pause { border: 0; background: none; cursor: pointer; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-height: 32px; padding: 0 4px; }
.c-pause:hover { color: var(--ink); }

/* ---------- Before / after comparison ---------- */
.compare { position: relative; overflow: hidden; background: var(--stone); cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .c-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .tag { position: absolute; top: 14px; padding: 5px 10px; background: rgba(241,236,226,.92); color: var(--ink); font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.compare .tag-before { left: 14px; } .compare .tag-after { right: 14px; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #F1ECE2; box-shadow: 0 0 0 1px rgba(36,37,31,.15); }
.compare .knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); background: #F1ECE2; border: 0; padding: 0; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 1px 3px rgba(36,37,31,.3); }
.compare .knob svg { width: 22px; height: 22px; color: var(--ink); }
.compare .knob:focus-visible { outline: 2px solid var(--earth); outline-offset: 2px; }
.ratio-wide { aspect-ratio: 3 / 2; }
.ratio-pano { aspect-ratio: 488 / 260; }

/* ---------- Home ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.intro p { margin: 18px 0 0; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split > div { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); }
.split > div + div { border-left: 1px solid var(--rule); }
.split .photo { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 26px; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 10px; }
.split p { color: var(--ink-2); max-width: 30em; }
.inline-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .95rem; color: var(--ink); }
.inline-list li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--muted); }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.proj { display: flex; flex-direction: column; gap: 14px; }
.proj-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.proj-a { grid-column: 1 / span 7; }
.proj-b { grid-column: 8 / span 5; padding-top: clamp(0px, 8vw, 96px); }
.proj h3 { font-size: 1.45rem; }
.proj .meta { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lichen); }
.proj p { margin: 0; color: var(--ink-2); max-width: 32em; }
.hint { font-size: .8rem; color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--lichen); margin-bottom: 6px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.details { margin: 22px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
form .field { display: grid; gap: 6px; margin-bottom: 20px; }
form label { font-size: .95rem; }
form .opt { color: var(--muted); font-size: .85rem; }
input, textarea { font: inherit; color: inherit; width: 100%; padding: 12px 14px; min-height: 48px; border: 1px solid rgba(36,37,31,.35); border-radius: 0; background: #FBF9F4; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--earth); outline-offset: 0; border-color: var(--earth); }
[aria-invalid="true"] { border-color: #8E2B1E; }
.err { color: #8E2B1E; font-size: .9rem; margin: -10px 0 16px; }
.sent { border-left: 3px solid var(--lichen); padding: 6px 0 6px 16px; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 40px 48px; font-size: .9rem; color: var(--ink-2); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; align-items: flex-end; }
.site-foot p { margin: 0; }
.site-foot .name strong { font-size: 1.2rem; }
.site-foot a:not(.name) { color: var(--ink-2); }
.site-foot a:not(.name):hover { color: var(--ink); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Notes page */
.notes h2 { margin: 40px 0 12px; font-size: 1.5rem; }
.notes ul { padding-left: 1.2em; }
.notes li { margin-bottom: .5em; }
.notes table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.notes th, .notes td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.notes a { color: var(--earth); }

@media (max-width: 900px) {
  .intro, .proj-lead, .columns, .contact { grid-template-columns: minmax(0, 1fr); }
  .proj-a, .proj-b { grid-column: 1 / -1; padding-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .split > div { padding-inline: 0; }
  .c-btn { width: 40px; height: 40px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .site-head .wrap { padding-block: 16px 10px; }
  .site-head nav ul { gap: 2px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel .slide, .more::after, .site-head nav a::after { transition: none; }
}
.photo .photo-needed { aspect-ratio: auto; height: 100%; }
a.more { text-decoration: none; color: var(--earth); }
.intro { grid-template-columns: minmax(0, 1fr); }
.course { opacity: 1; background:
  linear-gradient(90deg, rgba(36,37,31,.14) 0 1px, transparent 1px) 0 0 / 92px 7px,
  linear-gradient(90deg, rgba(36,37,31,.14) 0 1px, transparent 1px) 46px 7px / 92px 7px,
  linear-gradient(rgba(36,37,31,.14), rgba(36,37,31,.14)) 0 6.5px / 100% 1px no-repeat,
  var(--stone-2); }

/* ============ v3: restraint pass ============ */
/* No rules or borders used as decoration; sections are divided by tone and space. */
.site-head { border-bottom: 0; }
.site-head nav a::after { height: 1px; bottom: 6px; background: var(--ink-2); }
.section + .section { border-top: 0; }
.site-foot { border-top: 0; background: var(--stone) var(--grain); }
.split > div + div { border-left: 0; }
.split { gap: 0 clamp(24px, 4vw, 56px); }
@media (max-width: 720px) { .split > div + div { border-top: 0; padding-top: 0; } }
.photo-needed { border: 0; background: var(--stone-2); color: var(--ink-2); }
.split .photo-needed { background: var(--paper); }
.carousel { background: transparent; }
.c-note { margin: 12px auto 0; font-size: .8rem; color: var(--muted); }
.c-btn { background: rgba(36,37,31,.22); width: 44px; height: 44px; opacity: .75; transition: opacity .25s, background .25s; }
.carousel:hover .c-btn, .c-btn:focus-visible { opacity: 1; }
.compare .tag { background: none; color: #F1ECE2; padding: 0; font-weight: 500; letter-spacing: .1em; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.compare .handle { box-shadow: none; }
.compare .knob { width: 36px; height: 36px; box-shadow: none; border-radius: 50%; }
.proj .meta { font-size: .92rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ph-tag { font-weight: 500; }
.details dt { color: var(--muted); }
.notes th, .notes td { border-bottom: 1px solid var(--rule); }
.compare .tag { background: rgba(241,236,226,.9); color: var(--ink); padding: 5px 9px 6px; text-shadow: none; font: 400 .82rem/1 var(--sans); letter-spacing: .02em; text-transform: none; }
.c-btn { background: rgba(36,37,31,.3); opacity: .85; }

/* ============ v4: projects ============ */
/* Homepage before/after, set into the page rather than boxed */
.feature { padding-bottom: clamp(56px, 8vw, 104px); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 44px); align-items: end; }
.feature-text h2 { font-size: 1.6rem; margin-bottom: 8px; }
.feature-text p { color: var(--ink-2); margin-bottom: 10px; }

/* Project previews: photograph, name, place */
.pvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 28px; }
.pvs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.pv { display: block; color: inherit; }
.pv-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); margin-bottom: 14px; }
.pv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pv:hover .pv-media img { transform: scale(1.025); }
.pv h3 { font-size: 1.25rem; line-height: 1.25; }
.pv:hover h3 { color: var(--earth); }
.pv-place { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.pv p:not(.pv-place) { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
.to-come { width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center; background: var(--stone-2) var(--grain); color: var(--muted); font-size: .9rem; }
.band .pv-media, .band .to-come { background-color: var(--paper); }

/* Project page */
.proj-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(20px, 3vw, 32px); }
.back { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); margin-bottom: 18px; min-height: 44px; }
.back::before { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s ease; }
.back:hover { color: var(--ink); } .back:hover::before { width: 28px; }
.proj-hero { margin-bottom: clamp(32px, 5vw, 56px); }
.proj-hero > img, .proj-hero .compare, .proj-hero .to-come { width: 100%; max-width: 980px; }
.proj-hero .to-come { aspect-ratio: 3 / 2; }
.carousel--project { width: min(100% - 2 * var(--gutter), 980px); margin: 0 auto clamp(32px, 5vw, 56px) max(var(--gutter), (100vw - var(--max)) / 2); }
.carousel--project .track { height: auto; aspect-ratio: 3 / 2; }
.proj-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; margin: 0; font-size: .95rem; align-content: start; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }

@media (max-width: 900px) { .feature-grid, .proj-body { grid-template-columns: minmax(0, 1fr); } .pvs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pvs, .pvs--2 { grid-template-columns: minmax(0, 1fr); } }

/* ============ v5: logo ============ */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.brand img { width: clamp(150px, 12vw + 70px, 230px); height: auto; }
.brand-place { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-head .wrap { align-items: center; padding-block: clamp(14px, 2vw, 26px) clamp(12px, 1.6vw, 22px); }

/* Home: header and hero meet without a hard edge.
   A soft limestone wash fades from the header into the top of the photograph,
   with a light blur so the transition reads as stone, not as a line. */
.site-head--hero { position: relative; z-index: 3; }
.site-head--hero + main .carousel .track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(70px, 9vw, 130px); z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, var(--paper) 0%, rgba(241,236,226,.82) 30%, rgba(241,236,226,.35) 65%, rgba(241,236,226,0) 100%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent);
}

@media (max-width: 720px) {
  .site-head .wrap { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .site-head nav ul { justify-content: center; }
  .brand img { width: 170px; }
}
@media (max-width: 380px) { .brand img { width: 150px; } .site-head nav ul { gap: 2px 18px; } }
.site-head--hero + main .carousel .track::before {
  height: clamp(36px, 4.5vw, 72px);
  background: linear-gradient(to bottom, var(--paper) 0%, rgba(241,236,226,.55) 35%, rgba(241,236,226,0) 100%);
  -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent); mask-image: linear-gradient(to bottom, #000 20%, transparent);
}

/* ============ WordPress integration ============ */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; padding: 8px 14px; background: var(--ink); color: var(--paper); z-index: 100; }
.site-head nav li { list-style: none; }
.site-head nav .current-menu-item > a::after, .site-head nav .current_page_item > a::after, .site-head nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.site-head nav .current-menu-item > a { color: var(--ink); }
.site-head nav .sub-menu { display: none; }

/* Editor content (pages, project descriptions) */
.entry { max-width: 40em; }
.entry > * + * { margin-top: 1em; }
.entry p { margin: 0; }
.entry h2 { margin-top: 1.6em; } .entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry a { color: var(--earth); text-decoration: underline; text-decoration-color: rgba(122,75,48,.35); text-underline-offset: 3px; }
.entry img { height: auto; }
.entry figure { margin: 1.6em 0; }
.alignwide { max-width: none; } .alignfull { max-width: none; }
.aligncenter { margin-inline: auto; } .alignleft { float: left; margin: .3em 1.5em 1em 0; } .alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-caption-text, .wp-element-caption { font-size: .86rem; color: var(--muted); margin-top: 8px; }

/* Contact form states */
.notice { padding: 10px 0 10px 16px; border-left: 3px solid var(--lichen); margin-bottom: 22px; }
.notice--error { border-left-color: #8E2B1E; color: #8E2B1E; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Project video */
.proj-video { margin-top: clamp(24px, 4vw, 40px); max-width: 980px; }
.proj-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* Pagination / misc */
.pagination { margin-top: 40px; display: flex; gap: 18px; }
.page-simple { padding-block: clamp(40px, 6vw, 88px); }
.site-foot ul.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.brand img { display: block; }
.proj-hero:empty { display: none; }
