/* Tokens */
:root {
  --pn_bg: #F3F2EB;
  --pn_surface: #FCFBF7;
  --pn_text: #23261F;
  --pn_muted: #5A5E53;
  --pn_accent: #56651E;
  --pn_accent_dark: #46511A;
  --pn_accent_text: #FCFBF7;
  --pn_plate_bg: #23261F;
  --pn_plate_text: #F3F2EB;
  --pn_line: #D8D6CB;
  --pn_tint: #E9E7DC;
  --pn_font_head: 'Gill Sans', 'Gill Sans MT', Calibri, 'Segoe UI', sans-serif;
  --pn_font_body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pn_radius_card: 14px;
  --pn_radius_btn: 10px;
  --pn_shadow: 0 1px 2px rgb(35 38 31 / .06), 0 12px 32px rgb(35 38 31 / .08);
  --pn_shadow_lift: 0 2px 4px rgb(35 38 31 / .08), 0 20px 44px rgb(35 38 31 / .14);
  --pn_pad: clamp(16px, 4vw, 40px);
  --pn_gap: clamp(64px, 9vw, 128px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pn_bg);
  color: var(--pn_text);
  font-family: var(--pn_font_body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--pn_font_head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.2rem, 0.4vw + 1.05rem, 1.5rem); line-height: 1.25; }
p { margin: 0 0 16px; max-width: 68ch; }
a { color: var(--pn_accent_dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pn_text); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
.pn_wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pn_pad); }
.pn_text { color: var(--pn_muted); }

/* Skip link */
.pn_skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--pn_plate_bg);
  color: var(--pn_plate_text);
  padding: 12px 20px;
  border-radius: var(--pn_radius_btn);
  text-decoration: none;
  transition: top 0.2s ease;
}
.pn_skip:focus { top: 12px; }

/* Header */
.pn_bar {
  position: sticky;
  top: 10px;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 10px var(--pn_pad) 0;
  padding: 12px 18px;
  background: var(--pn_surface);
  border: 1px solid var(--pn_line);
  border-radius: 18px;
  box-shadow: var(--pn_shadow);
}
.pn_mark {
  justify-self: center;
  font-family: var(--pn_font_head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--pn_text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.pn_burger {
  justify-self: start;
  width: 48px;
  height: 48px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 0 12px;
  background: none;
  border: 1px solid var(--pn_line);
  border-radius: var(--pn_radius_btn);
  cursor: pointer;
}
.pn_burger_line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pn_text);
  border-radius: 2px;
}
.pn_burger:hover { background: var(--pn_tint); }
.pn_burger:focus-visible { outline: 3px solid var(--pn_plate_bg); outline-offset: 2px; }
.pn_burger:active { background: var(--pn_line); }
@media (max-width: 479px) {
  .pn_mark { font-size: 1.15rem; }
  .pn_bar .pn_btn { padding: 0 20px; font-size: 0.95rem; }
}

/* Drawer */
.pn_drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 150;
  width: min(320px, 86vw);
  padding: 88px 32px 32px;
  background: var(--pn_surface);
  border-right: 1px solid var(--pn_line);
  box-shadow: var(--pn_shadow_lift);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
}
.pn_drawer.is_open { transform: translateX(0); visibility: visible; }
.pn_drawer_list { list-style: none; display: grid; gap: 4px; }
.pn_drawer_link {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  font-size: 1.05rem;
  color: var(--pn_text);
  text-decoration: none;
}
.pn_drawer_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: var(--pn_accent);
  transition: width 0.25s ease;
}
.pn_drawer_link:hover::after,
.pn_drawer_link:focus-visible::after,
.pn_drawer_link[aria-current="page"]::after { width: 100%; }
.pn_scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgb(35 38 31 / .55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pn_scrim[hidden] { display: block; visibility: hidden; }
.pn_scrim.is_open { opacity: 1; visibility: visible; }

/* Buttons */
.pn_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--pn_radius_btn);
  background: linear-gradient(135deg, var(--pn_accent) 0%, var(--pn_accent_dark) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: var(--pn_accent_text);
  font-family: var(--pn_font_body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(35 38 31 / .18);
  transition: background-position 0.3s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.pn_btn:hover {
  background-position: 100% 0;
  box-shadow: 0 4px 14px rgb(86 101 30 / .35);
}
.pn_btn:focus-visible {
  outline: 3px solid var(--pn_plate_bg);
  outline-offset: 2px;
}
.pn_btn:active { box-shadow: none; transform: translateY(1px); }
.pn_btn_ghost {
  background: none;
  border: 1.5px solid var(--pn_accent_dark);
  color: var(--pn_accent_dark);
  box-shadow: none;
}
.pn_btn_ghost:hover { background: rgb(86 101 30 / .08); box-shadow: none; }

/* Sections */
.pn_block { padding-block: calc(var(--pn_gap) / 2) var(--pn_gap); }
.pn_block:first-of-type { padding-top: 24px; }
main#main > .pn_block:first-child { padding-top: 8px; }
#inquiry.pn_block { padding-bottom: 96px; }
.pn_tinted {
  position: relative;
  background: var(--pn_tint);
  border-radius: 28px;
  margin-inline: var(--pn_pad);
  padding-inline: var(--pn_pad);
}
@media (min-width: 1280px) {
  .pn_tinted {
    margin-inline: auto;
    max-width: calc(1200px - 2 * var(--pn_pad));
    width: calc(100% - 2 * var(--pn_pad));
  }
  .pn_bar {
    max-width: 1200px;
    margin-inline: auto;
    left: 0;
    right: 0;
    width: calc(100% - 2 * var(--pn_pad));
  }
}

/* Hero */
.pn_hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 24px;
  padding-top: 24px;
}
.pn_hero_title { max-width: 700px; font-size: clamp(40px, 5vw, 64px); line-height: 1.1; text-wrap: balance; }
.pn_hero_lead { max-width: 58ch; color: var(--pn_muted); font-size: 1.1em; }
.pn_hero_media { width: 100%; max-width: 960px; margin: 24px 0 0; }
.pn_highlight {
  font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem);
  font-family: var(--pn_font_head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pn_accent_dark);
  margin: 0;
  max-width: none;
}
.pn_hero_kicker {
  font-size: clamp(1.25rem, 0.5vw + 1.05rem, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--pn_accent);
}

/* Split layout */
.pn_split {
  display: grid;
  gap: 40px;
  align-items: start;
}
.pn_split_side {
  max-width: 460px;
  display: grid;
  gap: 32px;
  align-content: start;
}
.pn_split_side h2 { margin: 0; }
.pn_split_side .pn_frame { margin-top: 0; }
.pn_split_main { min-width: 0; }
@media (min-width: 900px) {
  .pn_split { grid-template-columns: minmax(300px, 340px) 1fr; gap: 64px; }
  .pn_split_side { position: sticky; top: 110px; min-width: 300px; }
  .pn_split_side > .pn_text { max-width: 34ch; }
}

/* Plates */
.pn_ink {
  margin-top: 0;
  padding: 24px 28px;
  background: var(--pn_plate_bg);
  color: var(--pn_plate_text);
  border-radius: var(--pn_radius_card);
  box-shadow: var(--pn_shadow);
}
.pn_ink p { margin: 0; color: inherit; max-width: 46ch; font-size: 0.95rem; line-height: 1.6; }
.pn_ink a { color: #CBD88F; }
.pn_ink a:hover { color: #E4EDB4; }
.pn_ink .pn_highlight { color: #E4EDB4; }
.pn_highlight_text { margin-left: 0; }
@media (min-width: 900px) {
  .pn_highlight_text { margin-left: 40px; max-width: 560px; }
}

/* Frames */
.pn_frame {
  margin: 0;
  padding: 12px;
  background: var(--pn_surface);
  border: 1px solid var(--pn_line);
  border-radius: var(--pn_radius_card);
  box-shadow: var(--pn_shadow);
}
.pn_frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.pn_frame_tall img { aspect-ratio: 3 / 4; }
.pn_frame_square img { aspect-ratio: 1 / 1; }

/* Filter */
.pn_filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.pn_filter_btn {
  min-height: 44px;
  padding: 0 18px;
  background: var(--pn_surface);
  border: 1px solid var(--pn_line);
  border-radius: var(--pn_radius_btn);
  color: var(--pn_text);
  font: 600 0.95rem var(--pn_font_body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.pn_filter_btn:hover { background: var(--pn_tint); }
.pn_filter_btn:focus-visible { outline: 3px solid var(--pn_plate_bg); outline-offset: 2px; }
.pn_filter_btn:active { transform: translateY(1px); }
.pn_filter_btn.is_active { background: var(--pn_accent); border-color: var(--pn_accent); color: var(--pn_accent_text); }

/* Cards */
.pn_list { list-style: none; display: grid; gap: 16px; grid-auto-rows: 1fr; align-items: stretch; }
.pn_list_item {
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  background: var(--pn_surface);
  border: 1px solid rgb(35 38 31 / .08);
  box-shadow: 0 1px 3px rgb(35 38 31 / .06);
  border-radius: var(--pn_radius_card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pn_list_item:hover { transform: translateY(-4px); box-shadow: var(--pn_shadow_lift); }
.pn_list_item h3 { margin-bottom: 8px; }
.pn_list_item p { margin-bottom: 10px; color: var(--pn_muted); }
.pn_list_item a { margin-top: auto; align-self: flex-start; }
.pn_list_item.is_hidden { display: none; }
.pn_tiles { display: grid; gap: 24px; }
.pn_tile {
  display: flex;
  flex-direction: column;
  background: var(--pn_surface);
  border: 1px solid rgb(35 38 31 / .08);
  box-shadow: 0 1px 3px rgb(35 38 31 / .06);
  border-radius: var(--pn_radius_card);
  padding: 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pn_tile:hover { transform: translateY(-4px); box-shadow: var(--pn_shadow_lift); }
.pn_price_note {
  margin: 16px 0 0;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #E5E3D8;
  font-weight: 600;
  color: var(--pn_text);
}
@media (min-width: 640px) {
  .pn_list { grid-template-columns: repeat(2, 1fr); }
  .pn_tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pn_tiles { grid-template-columns: repeat(3, 1fr); }
}

/* Steps */
.pn_steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }
.pn_step {
  counter-increment: step;
  position: relative;
  padding: 22px 26px 22px 74px;
  background: var(--pn_surface);
  border: 1px solid var(--pn_line);
  border-radius: var(--pn_radius_card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pn_step:hover { transform: translateY(-3px); box-shadow: var(--pn_shadow_lift); }
.pn_step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--pn_font_head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pn_accent_dark);
}
.pn_step h3 { margin-bottom: 6px; }
.pn_step p { margin: 0; color: var(--pn_muted); }
@media (max-width: 479px) {
  .pn_step { padding: 62px 26px 22px; }
  .pn_step::before { top: 20px; left: 26px; }
}

/* FAQ */
.pn_qa { display: grid; gap: 12px; }
.pn_qa_item {
  background: var(--pn_surface);
  border: 1px solid var(--pn_line);
  border-radius: var(--pn_radius_card);
  overflow: hidden;
}
.pn_qa_item summary {
  cursor: pointer;
  padding: 18px 52px 18px 24px;
  font-weight: 600;
  font-family: var(--pn_font_head);
  font-size: 1.1rem;
  list-style: none;
  position: relative;
}
.pn_qa_item summary::-webkit-details-marker { display: none; }
.pn_qa_item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--pn_accent_dark);
  border-bottom: 2px solid var(--pn_accent_dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.pn_qa_item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.pn_qa_item summary:hover { background: var(--pn_tint); }
.pn_qa_item summary:focus-visible { outline: 3px solid var(--pn_plate_bg); outline-offset: -3px; }
.pn_qa_item p { margin: 0; padding: 0 24px 20px; color: var(--pn_muted); }

/* Form */
.pn_form_field { margin-bottom: 18px; }
.pn_form_label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.pn_form_input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--pn_surface);
  border: 1.5px solid var(--pn_line);
  border-radius: var(--pn_radius_btn);
  color: var(--pn_text);
  font: 400 1rem var(--pn_font_body);
}
.pn_form_input::placeholder { color: var(--pn_muted); opacity: 1; }
.pn_form_input:focus-visible { outline: 3px solid var(--pn_accent); outline-offset: 1px; }
.pn_form_input.is_invalid { border-color: #8A2E1F; background: #FBEFEC; }
.pn_form_area { resize: vertical; min-height: 120px; }
.pn_form_check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 0.95rem; }
.pn_form_check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pn_accent); flex: none; }
.pn_form_check label { max-width: 60ch; }
.pn_form_hint { color: var(--pn_muted); font-size: 0.95rem; margin-bottom: 20px; }
.pn_form_submit { width: 100%; }
.pn_form.is_sent .pn_form_submit { opacity: 0.7; pointer-events: none; }
@media (min-width: 640px) { .pn_form_submit { width: auto; } }

/* Prose */
.pn_prose, .pn_text_col, div.pn_text { max-width: 760px; }
.pn_prose h2, .pn_text_col h2, div.pn_text h2 { font-size: clamp(1.4rem, 1vw + 1.1rem, 2rem); margin-top: 40px; color: var(--pn_text); }
.pn_prose h3, .pn_text_col h3, div.pn_text h3 { margin-top: 28px; color: var(--pn_text); }
.pn_prose ol, .pn_prose ul, .pn_text_col ol, .pn_text_col ul, div.pn_text ol, div.pn_text ul { padding-left: 24px; margin: 0 0 16px; color: var(--pn_muted); }
.pn_prose li, .pn_text_col li, div.pn_text li { margin-bottom: 8px; }
.pn_prose table, .pn_text_col table, div.pn_text table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.95rem;
}
.pn_prose th, .pn_prose td, .pn_text_col th, .pn_text_col td, div.pn_text th, div.pn_text td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--pn_line);
  background: var(--pn_surface);
}
.pn_prose th, .pn_text_col th, div.pn_text th { font-weight: 600; background: var(--pn_tint); }
.pn_prose a, .pn_text_col a, div.pn_text a { word-break: break-word; }

/* Inner pages */
.pn_page_head { padding-block: 24px 0; }
.pn_page_head h1 { max-width: 22ch; }
.pn_page_lead { color: var(--pn_muted); font-size: 1.1em; max-width: 60ch; }
.pn_contact_card {
  display: grid;
  gap: 8px;
  padding: 26px 28px;
  background: var(--pn_surface);
  border: 1px solid var(--pn_line);
  border-radius: var(--pn_radius_card);
}
.pn_contact_card h2, .pn_contact_card h3 { margin: 0; }
.pn_contact_card p { margin: 0; color: var(--pn_muted); }
.pn_center {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding-block: var(--pn_gap);
}
.pn_center h1 { max-width: 24ch; }
.pn_center .pn_text { max-width: 56ch; }
.pn_center_links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 8px; }
@media (min-width: 480px) { .pn_center_links { gap: 16px 32px; } }

/* Footer */
.pn_bottom {
  margin-top: var(--pn_gap);
  padding: clamp(40px, 6vw, 72px) 0 32px;
  background: var(--pn_plate_bg);
  color: var(--pn_plate_text);
}
.pn_bottom .pn_mark { justify-self: start; font-size: 1.25rem; }
.pn_bottom_grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgb(243 242 235 / .2);
}
.pn_bottom_note { color: rgb(243 242 235 / .85); margin: 12px 0 0; font-size: 0.95rem; max-width: 34ch; }
.pn_bottom_head {
  font-size: 1.05rem;
  margin: 0 0 12px;
  color: var(--pn_plate_text);
}
.pn_bottom_list { list-style: none; display: grid; gap: 8px; }
.pn_bottom_link { color: rgb(243 242 235 / .9); text-decoration: none; font-size: 0.95rem; }
.pn_bottom_link:hover { color: #FCFBF7; text-decoration: underline; }
.pn_bottom_copy {
  margin: 24px 0 0;
  padding: 0 var(--pn_pad);
  text-align: center;
  font-size: 0.9rem;
  color: rgb(243 242 235 / .8);
}
@media (min-width: 640px) { .pn_bottom_grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Reveal */
html.is_js .pn_reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.is_js .pn_reveal.is_shown { opacity: 1; transform: none; }

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.is_js .pn_reveal { opacity: 1; transform: none; }
}
