:root {
  color-scheme: light;
  --paper: #fbf1e7;
  --cream: #fffaf4;
  --ink: #3d231b;
  --rust: #942f1f;
  --muted: #69473b;
  --line: #e6cabb;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9d4527; outline-offset: 4px; }
[hidden] { display: none !important; }
section { scroll-margin-top: 24px; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { display: block; padding: 12px; }
.top { border-bottom: 1px solid var(--line); background: var(--cream); }
.top-inner, .foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-inner { min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: .83rem; font-weight: 750; line-height: 1.2; color: var(--rust); }
.brand img { object-fit: contain; }
nav, .foot > div { display: flex; flex-wrap: wrap; gap: 30px; }
nav a, .foot a { text-decoration: none; font-weight: 650; }
nav a:hover, .foot a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 9px; background: var(--rust); color: #fff8ee; font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { background: #722215; }
.small { min-height: 42px; padding: 9px 17px; font-size: .9rem; }
.hero { display: grid; grid-template-columns: 1fr 1.03fr; gap: 42px; align-items: center; padding-block: 42px 50px; }
.hero-copy { padding-block: 14px; }
.location, .eyebrow { color: var(--rust); font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.location { display: flex; align-items: center; gap: 7px; margin: 0 0 18px; }
h1, h2, h3, figcaption { font-family: Georgia, serif; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 5.55vw, 5.1rem); line-height: .99; margin: 0; }
h1 em { color: var(--rust); font-weight: inherit; }
h2 { font-size: clamp(2.2rem, 4vw, 3.65rem); line-height: 1; margin: 0; }
h3 { font-size: 1.55rem; line-height: 1.06; margin: 0; }
p { line-height: 1.58; }
.intro { color: var(--muted); max-width: 38ch; margin: 22px 0 24px; font-size: 1.08rem; }
.hero-art { position: relative; aspect-ratio: 1.41; margin: 0; border-radius: 22px; overflow: hidden; background: #f4c591; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 52%; }
figcaption { position: absolute; bottom: 16px; left: 18px; background: #fff2dc; color: #682a19; padding: 8px 14px; border-radius: 6px; font-size: 1.06rem; letter-spacing: 0; }
.catalog { border-top: 1px solid var(--line); padding-block: 34px 54px; }
.eyebrow { margin: 0 0 9px; }
.catalog h2 + p, .network p, .request > div > p { color: var(--muted); }
.finder, .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.finder { gap: 14px; margin-top: 22px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1px solid var(--line); padding: 0 13px; border-radius: 9px; flex: 1 1 270px; color: var(--rust); }
.search input { border: 0; min-width: 0; width: 100%; background: none; min-height: 46px; color: var(--ink); }
.filter { border: 1px solid var(--line); background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 999px; min-height: 42px; font-size: .9rem; font-weight: 650; }
.filter[aria-pressed=true], .filter:hover { background: #f2d6c6; border-color: #bb735c; color: #742819; }
.status { min-height: 1.4em; margin: 16px 0 12px; color: var(--muted); font-size: .88rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--cream); }
.card img { width: 100%; aspect-ratio: 2.05; object-fit: cover; background: #f7d7ac; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 18px; }
.card-body p:not(.eyebrow) { color: var(--muted); margin: 9px 0 16px; }
.card-body button { margin-top: auto; }
.outline { background: transparent; color: var(--rust); border-color: var(--line); padding-inline: 14px; min-height: 42px; }
.outline:hover { background: #f8e4d6; }
.network { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: center; border-radius: 18px; background: #f4d8c8; padding: clamp(24px, 5vw, 55px); }
.network p.eyebrow, .request p.eyebrow { color: var(--rust); }
.network p:last-child { margin-bottom: 0; }
.roles { display: grid; gap: 8px; }
.role { padding: 12px 15px; border: 1px solid #e3bdac; border-radius: 9px; background: var(--cream); color: var(--rust); text-align: left; font-weight: 700; }
.role:hover { background: #fff; }
.request { display: grid; grid-template-columns: .75fr 1fr; gap: 40px; padding-block: 65px; }
.request > div > p { max-width: 36ch; }
.direct { color: var(--rust); font-weight: 700; }
#festa { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 32px); }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-bottom: 20px; }
.fields label { font-size: .9rem; font-weight: 700; }
.fields span { color: var(--muted); font-weight: 400; }
.fields input, .fields select, .fields textarea { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 10px; color: var(--ink); background: white; border: 1px solid #d5b8aa; border-radius: 7px; min-height: 44px; font-size: 1rem; }
.fields select { appearance: none; padding-right: 28px; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%2369473b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center; }
.wide { grid-column: 1 / -1; }
footer { border-top: 1px solid var(--line); padding-block: 24px; }
.foot small { color: var(--muted); }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--cream); color: var(--ink); }
dialog::backdrop { background: #3d231b99; }
dialog img { width: 100%; aspect-ratio: 2.15; object-fit: cover; }
.close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.5rem; }
.detail-copy { padding: clamp(18px, 4vw, 32px); }
.detail-copy h2 { font-size: clamp(2rem, 5vw, 2.85rem); }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { flex-wrap: wrap; gap: 4px 12px; padding-block: 7px; }
  .top-inner nav { width: 100%; order: 3; border-top: 1px solid var(--line); padding-block: 8px 3px; gap: 18px; font-size: .9rem; }
  .hero, .network, .request { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding-block: 24px 32px; }
  .hero-copy { padding-block: 4px; }
  .hero-art { aspect-ratio: 1.55; }
  .catalog { padding-top: 28px; }
  .request { padding-block: 42px; }
  .foot > div { gap: 6px 16px; justify-content: end; }
}
@media (max-width: 450px) {
  .cards, .fields { grid-template-columns: 1fr; }
  .foot { align-items: start; }
  .filters { gap: 6px; }
}
