:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --white: #fffefa;
  --ink: #192c23;
  --muted: #4d5d52;
  --green: #174536;
  --green-hover: #205b47;
  --pale: #e9ede2;
  --line: #d9dfd4;
  --gold: #edca79;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.58 var(--sans); }
p, h1, h2, h3, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.15rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.045em; }
h3 { font-size: 1.14rem; line-height: 1.26; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #8f5a00; outline-offset: 4px; }
::selection { background: #ead597; color: var(--ink); }

.shell { width: min(100%, 1280px); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); font-size: .9rem; font-weight: 550; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 48px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 9px; font-weight: 700; text-decoration: none; line-height: 1.25; }
.button span { font-size: 1.15em; }
.button-outline { border-color: #b7c5b8; color: var(--green); font-size: .86rem; }
.button-outline:hover { background: var(--pale); }
.button-primary { min-height: 59px; padding-inline: 1.15rem; background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-hover); }
.button-light { min-height: 54px; background: var(--gold); color: #203026; }
.button-light:hover { background: #f8d995; }
.icon { width: 23px; height: 23px; flex: none; }
.text-link { text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.25rem); padding-block: clamp(38px, 5vw, 72px) 30px; }
.hero-copy { padding-block: .25rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; color: var(--green); font-size: .77rem; font-weight: 750; text-transform: uppercase; letter-spacing: .115em; line-height: 1.5; }
.status-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #567e61; box-shadow: 0 0 0 3px #e4eadf; }
.hero h1 { margin-bottom: 1.55rem; font-size: clamp(3.1rem, 5.8vw, 5.3rem); letter-spacing: -.065em; line-height: .99; }
.hero h1 em { display: block; font-weight: 400; color: #496752; }
.hero-intro { max-width: 32rem; color: var(--muted); font-size: clamp(1.03rem, 1.45vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.3rem; margin-top: 1.65rem; }
.hero-qr { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 650; color: var(--green); }
.hero-note { margin-top: .8rem; color: var(--muted); font-size: .84rem; }

.hero-photo { position: relative; overflow: hidden; min-width: 0; aspect-ratio: 1.14; border-radius: 18px; background: #d8d1c5; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.hero-photo figcaption { position: absolute; inset: auto .9rem .9rem; display: flex; align-items: center; gap: .8rem; padding: .85rem; border-radius: 10px; background: var(--white); }
.hero-photo strong, .hero-photo small { display: block; }
.hero-photo strong { font-size: .94rem; line-height: 1.26; }
.hero-photo small { margin-top: .2rem; color: var(--muted); line-height: 1.3; }
.photo-index { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pale); font: 1.03rem var(--serif); color: var(--green); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.facts li { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.6rem; }
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font: 1.62rem/1.12 var(--serif); }
.facts span { margin-top: .3rem; color: var(--muted); font-size: .86rem; line-height: 1.35; }

.section { padding-block: clamp(54px, 7vw, 96px); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 1.5rem; margin-bottom: 1.8rem; }
.section-intro > p { max-width: 28rem; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.topic { padding: clamp(1.1rem, 2.6vw, 2rem); border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.topic-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.3rem; border-radius: 10px; color: var(--green); background: var(--pale); }
.topic p { margin-top: .58rem; color: var(--muted); font-size: .94rem; }

.process-section { padding-block: clamp(44px, 6vw, 78px); background: var(--pale); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(1.5rem, 7vw, 6rem); }
.process-photo img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: center 67%; border-radius: 16px; background: #d8d1c5; }
.process-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .83rem; }
.steps { margin: 1.65rem 0 0; padding-left: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 1rem; padding-block: .82rem; border-top: 1px solid #ccd5c9; counter-increment: step; }
.steps li::before { display: grid; flex: 0 0 38px; place-items: center; height: 38px; border: 1px solid #bdcbbd; border-radius: 50%; color: var(--green); content: counter(step, decimal-leading-zero); font: 1rem var(--serif); }
.steps h3 { padding-top: .18rem; }
.steps p { margin-top: .23rem; color: var(--muted); font-size: .92rem; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.6rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { position: absolute; top: calc(50% - 1px); right: .2rem; width: 13px; height: 2px; background: var(--green); content: ""; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: none; }
.faq-list details > p { max-width: 35rem; padding: 0 1.5rem 1.15rem 0; color: var(--muted); font-size: .94rem; }

.contact-section { padding-bottom: clamp(50px, 6vw, 80px); }
.contact-panel { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(1.65rem, 5vw, 5rem); padding: clamp(1.25rem, 5vw, 4rem); border-radius: 19px; background: var(--green); color: #fffdf2; }
.contact-panel .eyebrow { color: var(--gold); }
.contact-panel .status-dot { background: var(--gold); box-shadow: 0 0 0 3px #3c614e; }
.contact-copy > p:not(.eyebrow) { max-width: 30rem; margin-top: .9rem; color: #e6ece1; }
.contact-copy .button { margin-top: 1.15rem; }
.contact-copy .contact-note { font-size: .85rem; }
.contact-panel :focus-visible { outline-color: #f6d37d; }
.profile-card { min-width: 0; padding: 1rem; border-radius: 14px; background: var(--white); color: var(--ink); }
.profile-card :focus-visible { outline-color: #8f5a00; }
.profile-heading { display: flex; gap: .75rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.profile-heading strong, .profile-heading small { display: block; line-height: 1.35; }
.profile-heading small { margin-top: .15rem; color: var(--muted); }
.profile-avatar { position: relative; display: block; overflow: hidden; width: 47px; height: 47px; flex: none; border-radius: 50%; background: var(--pale); }
.profile-avatar img { position: absolute; top: -5%; left: -74%; width: 220%; height: auto; max-width: none; }
.qr-block { display: flex; gap: .7rem; align-items: center; padding-top: .8rem; }
.qr-block > a { flex: 0 0 116px; }
.qr-block img { background: #fff; }
.qr-block p { display: flex; flex-direction: column; gap: .3rem; font-size: .89rem; line-height: 1.4; }
.qr-block span { color: var(--muted); }

.site-footer { padding-block: 1.45rem 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.cookie-settings {
  position: fixed;
  z-index: 3;
  inset-inline: 0;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: min(264px, calc(100% - 24px));
  max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  overflow: auto;
  padding: .5rem .625rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 16px #192c2326;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.3;
}
.cookie-settings h2 { margin-bottom: .2rem; color: var(--ink); font: 700 .85rem/1.25 var(--sans); letter-spacing: normal; }
.cookie-settings .text-link { color: var(--green); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .375rem; }
.cookie-actions button { flex: 1 1 0; min-height: 36px; padding: .25rem .5rem; border-radius: 6px; background: transparent; font-size: .75rem; cursor: pointer; }
.cookie-actions button:hover { background: var(--pale); }
.cookie-status { margin-top: .5rem; }
.cookie-status:empty { display: none; }

.policy { max-width: 860px; padding-block: clamp(2rem, 6vw, 4.5rem); }
.policy h1 { font-size: clamp(2.35rem, 5.6vw, 4.2rem); letter-spacing: -.05em; line-height: 1.04; overflow-wrap: anywhere; }
.policy .policy-lead { margin-top: 1.25rem; color: var(--muted); }
.policy section { margin-top: 2rem; }
.policy h2 { font: 700 1.25rem/1.25 var(--sans); letter-spacing: normal; }
.policy p, .policy ul { margin-top: .6rem; }
.policy ul { padding-left: 1.3rem; }

@media (max-width: 850px) {
  .main-nav { display: none; }
  .hero { gap: 1.35rem; }
  .hero h1 { font-size: clamp(2.75rem, 6.7vw, 4.3rem); }
  .hero-photo { aspect-ratio: .98; }
  .contact-panel { gap: 1.4rem; }
}

@media (max-width: 660px) {
  html { scroll-padding-top: 79px; }
  .header-row { min-height: 62px; gap: .45rem; }
  .site-header .brand img { width: 145px; height: auto; }
  .site-header .button { min-height: 44px; padding-inline: .65rem; gap: .4rem; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 32px 21px; }
  .hero h1 { margin-bottom: 1rem; font-size: clamp(2.8rem, 10vw, 4.4rem); }
  .hero h1 em { display: inline; }
  .desktop-break { display: none; }
  .eyebrow { margin-bottom: .75rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-actions .button-primary { padding-inline: .8rem; }
  .hero-photo { aspect-ratio: 1.32; }
  .hero-photo figcaption { inset: auto .55rem .55rem; padding: .55rem; gap: .6rem; }
  .photo-index { width: 32px; height: 32px; }
  .facts li { padding: .8rem .48rem; }
  .facts strong { font-size: clamp(1.02rem, 3.9vw, 1.3rem); }
  .facts span { font-size: .72rem; }
  .section-intro, .topic-grid, .process-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; }
  .section-intro { gap: .7rem; margin-bottom: 1.2rem; }
  .topic-icon { margin-bottom: .8rem; }
  .process-copy { grid-row: 1; }
  .process-photo img { aspect-ratio: 1.55; }
  .contact-panel { border-radius: 14px; }
  .footer-row { align-items: start; flex-direction: column; }
}

@media (max-width: 365px) {
  .site-header .brand img { width: 127px; }
  .hero h1 { font-size: clamp(2.32rem, 11vw, 2.8rem); }
  .hero-actions { gap: .45rem .8rem; }
  .qr-block > a { flex-basis: 100px; }
  .qr-block img { width: 100px; height: 100px; }
}
