:root {
  color-scheme: light;
  --ink: #26241f;
  --paper: #f7f5ef;
  --line: #d7d0c3;
  --accent: #874124;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #a85830; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-160%); z-index: 1; background: white; padding: .5rem; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 80rem); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.bar, nav, .actions { display: flex; align-items: center; gap: .75rem 1.6rem; flex-wrap: wrap; }
.bar { justify-content: space-between; padding-block: .8rem; }
.brand { font: bold 2rem/1 Georgia, serif; text-decoration: none; letter-spacing: -.05em; }
nav a { font-size: .94rem; text-decoration: none; }
nav a[aria-current], nav a:hover { color: var(--accent); text-decoration: underline; }
.hero { background: #eae3d5; padding-block: clamp(2rem, 5vw, 5.2rem); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.6rem, 5vw, 5rem); }
.eyebrow { color: #65462e; font-weight: 650; font-size: .88rem; letter-spacing: .06em; margin: 0 0 1rem; }
.service .eyebrow { margin-top: 1.6rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
h1 { font-size: clamp(2.35rem, 4.65vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2.25vw, 2rem); line-height: 1.15; }
.lead { font-size: clamp(1.09rem, 1.6vw, 1.32rem); max-width: 37ch; }
.button, button { display: inline-block; font: 650 .95rem/1.35 system-ui, sans-serif; color: white; background: var(--accent); border: 0; border-radius: .2rem; padding: .82rem 1.15rem; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { color: white; background: #69321e; }
button:disabled { opacity: .6; cursor: default; }
.photo img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #d9cdb9; }
.photo.panel img { object-position: center 27%; }
.photo.matrix img { object-position: center 56%; }
.photo.sign img { object-position: center 55%; }
.photo.mold img { object-fit: contain; background: #ded8cc; }
.hero .rosette img { aspect-ratio: 1.44; }
figcaption { font-size: .875rem; padding-top: .55rem; color: #5e5346; }
.section { padding-block: clamp(2.7rem, 6vw, 6rem); }
.cards, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.cards h3 { margin-top: .75rem; }
.process { background: #eae3d5; }
.steps { list-style: none; padding: 0; margin-bottom: 0; }
.steps li { border-top: 1px solid #aa9984; padding-top: 1rem; }
.steps p { margin-bottom: 0; }
.example { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.related { padding-left: 1.25rem; }
.related li + li { margin-top: .6rem; }
.brief { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); }
form, .fields { display: grid; gap: 1rem; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: .4rem; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: normal; width: 100%; min-width: 0; background: #fffdfa; border: 1px solid #918679; border-radius: .2rem; color: var(--ink); padding: .7rem; }
select { appearance: none; padding-right: 2.1rem; background: linear-gradient(45deg, transparent 50%, #574739 50%) right 1.08rem center / .35rem .35rem no-repeat, linear-gradient(135deg, #574739 50%, transparent 50%) right .73rem center / .35rem .35rem no-repeat #fffdfa; }
textarea { resize: vertical; }
form button { justify-self: start; }
#result { margin-top: 1.25rem; }
#copy { margin-top: .75rem; }
#status:empty { margin: 0; }
footer { border-top: 1px solid var(--line); }
footer p { margin: 0; }
@media (max-width: 54rem) {
  header nav { order: 2; width: 100%; gap: .45rem 1.2rem; }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .split, .cards, .steps, .brief, .fields { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 2rem; }
  .example > div { grid-row: 1; }
}
