:root {
  --green: #1f3a2c;
  --green-2: #2c5240;
  --cream: #f6f1e6;
  --paper: #fffdf8;
  --brass: #a8822f;
  --brass-soft: #e9dcbc;
  --ink: #1d1d1a;
  --muted: #5d5a52;
  --rule: #dcd2bc;
  --danger: #9b2c22;
  --radius: 10px;
  --max: 1120px;
  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; font-stretch: 112%; line-height: 1.15; color: var(--green); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--green); color: var(--cream); border-bottom: 4px solid var(--brass); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; flex-wrap: wrap; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; margin-right: auto; padding: 10px 0; }
.brand:hover { color: var(--cream); }
.brand-mark { flex: 0 0 auto; width: 52px; height: 52px; border: 2px solid var(--brass); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-stretch: 87.5%; font-size: .66rem; letter-spacing: .03em; color: var(--brass-soft); }
.brand-logo { flex: 0 0 auto; display: block; height: 56px; width: auto; filter: brightness(0) saturate(100%) invert(82%) sepia(5%) saturate(302%) hue-rotate(-2deg) brightness(104%) contrast(121%); }
.brand-name { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; font-stretch: 100%; line-height: 1.15; }
.brand-sub { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-top: 4px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--cream); text-decoration: none; padding: 8px 10px; border-radius: 6px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-2); color: #fff; }
.nav .login { border: 1.5px solid var(--brass); color: var(--brass-soft); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--brass); color: var(--cream); border-radius: 6px; padding: 6px 12px; font: inherit; font-weight: 600; }
@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--green); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .wrap { position: relative; padding: 96px 20px 88px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { font-size: 1.25rem; max-width: 38ch; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); font-weight: 700; margin-bottom: 12px; }
.page-head { background: var(--green); color: var(--cream); padding: 56px 0 44px; }
.page-head h1 { color: #fff; }
.page-head p { max-width: 60ch; font-size: 1.15rem; margin: 0; }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; background: var(--brass); color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: #8f6e25; color: #fff; }
.btn.ghost { background: transparent; border: 2px solid currentColor; color: inherit; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lead { font-size: 1.2rem; max-width: 62ch; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; }
.meta { font-size: .88rem; letter-spacing: .04em; color: var(--brass); font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.split { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); border: 1px solid var(--rule); }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; width: 100%; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { background: var(--brass-soft); font-family: var(--serif); color: var(--green); }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* Info strip */
.strip { background: var(--green-2); color: var(--cream); padding: 36px 0; }
.strip .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.strip p { margin: 0; font-size: 1.1rem; }

/* Forms */
form.form { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="search"], .field textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--rule); border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--brass-soft); border-color: var(--brass); }
.field textarea { min-height: 120px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; gap: 18px; flex-wrap: wrap; }
.checks label, .consent label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.req { color: var(--danger); }
.row2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.notice { padding: 14px 16px; border-radius: 8px; background: var(--brass-soft); border-left: 4px solid var(--brass); }
.notice.error { background: #f6dcd8; border-left-color: var(--danger); }
.notice.ok { background: #dcebdc; border-left-color: var(--green-2); }
.empty { color: var(--muted); font-style: italic; }

/* Steps */
ol.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
ol.steps li { counter-increment: s; position: relative; padding-left: 56px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--brass-soft); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }

/* Article */
.article { max-width: 720px; }
.article img.cover { border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
blockquote { border-left: 4px solid var(--brass); margin: 1em 0; padding: .2em 1em; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--green); }

/* Archive */
.result { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.result:last-child { border-bottom: 0; }
.result mark { background: var(--brass-soft); padding: 0 2px; }
.issue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.issue-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #d8d3c6; padding: 48px 0 28px; margin-top: 0; font-size: .98rem; }
.site-footer a { color: var(--brass-soft); }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-base { border-top: 1px solid #3a3933; margin-top: 32px; padding-top: 18px; font-size: .88rem; color: #a8a396; }
/* Social links */
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--brass); color: var(--cream); font-size: 1.15rem; text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.social a:hover, .social a:focus-visible { background: var(--brass); border-color: var(--brass); color: #fff; transform: translateY(-2px); }
.social.labeled a { width: auto; height: auto; border-radius: 999px; padding: 9px 16px 9px 14px; display: inline-flex; align-items: center; gap: 10px; color: var(--green); border-color: var(--rule); background: var(--paper); font-weight: 600; font-size: 1rem; }
.social.labeled a i { font-size: 1.1rem; width: 1.1em; text-align: center; color: var(--brass); }
.social.labeled a:hover, .social.labeled a:focus-visible { background: var(--green); border-color: var(--green); color: #fff; }
.social.labeled a:hover i, .social.labeled a:focus-visible i { color: var(--brass-soft); }