:root {
  color-scheme: light;
  --ink: #162e29;
  --leaf: #0f5846;
  --soft: #e8eee6;
  --paper: #fcfaf4;
  --line: #cdd5c9;
  --muted: #52625a;
  --accent: #d3ec82;
  --serif: "Source Serif 4", "Georgia", serif;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--leaf); text-underline-offset: .2em; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a45012; outline-offset: 3px; }
.wrap { width: min(100% - 48px, 1060px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.header-inner, .footer, .section-head, .profile-head, .entry-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 75px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-size: 25px; font-weight: 740; letter-spacing: -1.7px; }
.logo-mark { display: inline-grid; place-items: center; background: var(--leaf); color: var(--accent); border-radius: 9px 9px 9px 1px; width: 32px; height: 30px; font: 700 38px/1.1 Georgia, serif; }
.nav-link, .back-link { color: var(--leaf); font-weight: 600; font-size: .9rem; }
.nav-link { text-decoration: none; }
.nav-link:hover, .back-link:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); letter-spacing: -.045em; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; }
.hero { background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: 10%; padding-block: clamp(38px, 6vw, 72px); }
.hero h1 { font-size: clamp(4.6rem, 8.6vw, 7.4rem); line-height: .89; letter-spacing: -.073em; }
.hero em { color: var(--leaf); font-weight: 400; }
.intro p { margin: 20px 0; line-height: 1.5; font-size: 1.04rem; }
.search { display: flex; padding: 5px; background: white; border: 1px solid #81958a; border-radius: 7px; }
.search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 0 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75em; min-height: 43px; border: 1px solid var(--leaf); border-radius: 4px; background: var(--leaf); color: white; font-weight: 650; padding: 10px 18px; text-decoration: none; }
.button:hover { background: var(--ink); }
.paper-art { position: relative; height: clamp(180px, 19vw, 240px); width: min(100%, 320px); justify-self: center; }
.sheet { position: absolute; inset: 6% 8%; border: 1.5px solid var(--ink); border-radius: 7px; }
.sheet.back { background: var(--leaf); transform: rotate(-12deg) translate(-8px, 4px); }
.sheet.front { overflow: hidden; padding: 12px 24px; background: var(--accent); transform: rotate(8deg) translate(7px, -5px); }
.art-quote { display: block; height: 53%; color: var(--leaf); font: bold clamp(80px, 9vw, 128px)/1 Georgia, serif; }
.sheet i { display: block; width: 74%; height: 3px; margin: 11px 0; background: var(--leaf); }
.sheet i:nth-of-type(2) { width: 86%; }
.sheet i:nth-of-type(3) { width: 46%; }
.art-fold { position: absolute; bottom: -1px; right: -1px; width: 27px; height: 27px; background: linear-gradient(135deg, #a4bf63 50%, var(--ink) 51%, var(--soft) 57%); }
.directory { padding-block: 42px 64px; }
.section-head { border-bottom: 1px solid var(--ink); padding-bottom: 15px; }
.count, small, .muted, .entry-meta time { color: var(--muted); }
.count, small, .entry-meta time { font-size: .85rem; }
.count { flex: none; }
.company-row { display: flex; align-items: center; gap: 18px; min-height: 88px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.company-row:hover { background: #f0f2e8; }
.initial { flex: none; display: grid; place-items: center; height: 44px; width: 44px; font: 1.6rem var(--serif); background: #e4e9cd; border-radius: 7px; }
.row-text { flex: 1; min-width: 0; }
.row-text strong { display: block; font-size: 1.12rem; overflow-wrap: anywhere; }
.row-text small, .row-rating small { display: block; margin-top: 4px; }
.row-rating { text-align: right; }
.star, .stars { color: var(--leaf); }
.arrow { font-size: 1.3rem; margin-left: 8px; }
.empty { padding: 26px 0; }
.empty p { color: var(--muted); margin-top: 10px; }
.footer { border-top: 1px solid var(--line); min-height: 70px; color: var(--muted); font-size: .85rem; }
.footer span { font-weight: 700; }
.profile { padding-block: 32px 72px; }
.back-link { display: inline-block; margin: 0 0 26px; text-decoration: none; }
.profile-head { align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.profile-head > div { min-width: 0; }
.profile-head .button { flex: none; }
.profile-head h1, .narrow h1, .entry-meta, .section-head h2, .review-body, .empty h3 { overflow-wrap: anywhere; }
.kicker { font-size: .95rem; color: var(--leaf); font-weight: 600; margin-bottom: 9px; }
.profile-head .muted { margin-top: 10px; }
.review-layout { display: grid; grid-template-columns: minmax(180px, 30%) minmax(0, 1fr); gap: 5%; margin-top: 32px; align-items: start; }
.summary { background: var(--soft); padding: 22px; border-radius: 6px; }
.summary h2 { font-size: 1.6rem; }
.summary .muted { font-size: .92rem; line-height: 1.55; margin-top: .65rem; }
.score { margin-top: 12px; font: 3.4rem/.95 var(--serif); }
.score small { font: 1.2rem var(--serif); }
.distribution { margin-top: 18px; }
.distribution div { display: flex; gap: 8px; align-items: center; margin-top: 5px; font-size: .82rem; }
meter { flex: 1; min-width: 0; accent-color: var(--leaf); }
.entry { padding: 22px 0; border-bottom: 1px solid var(--line); }
.entry-meta time { flex: none; }
.stars { letter-spacing: 2px; margin: 8px 0; }
.review-body { white-space: pre-wrap; line-height: 1.6; margin: 8px 0 12px; }
.pager { display: flex; align-items: center; gap: 18px; margin-top: 20px; font-size: .9rem; }
.narrow { max-width: 620px; padding-block: 32px 70px; }
.narrow h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.review-form { margin-top: 28px; }
fieldset, .field { margin: 0 0 18px; padding: 0; border: none; min-width: 0; }
.field label, legend { display: block; font-weight: 650; padding: 0; margin-bottom: 6px; }
.field input, textarea { width: 100%; padding: 10px 12px; min-height: 43px; border: 1px solid #849389; border-radius: 4px; color: var(--ink); background: white; }
textarea { resize: vertical; }
.field small, fieldset small { display: inline-block; margin-top: 5px; line-height: 1.4; }
.rating-options { display: flex; gap: 6px; }
.rating-options label { flex: 1; position: relative; cursor: pointer; }
.rating-options input, .sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rating-options span { display: block; padding: 12px 0; background: white; border: 1px solid #849389; border-radius: 4px; text-align: center; }
.rating-options input:checked + span { background: var(--leaf); color: white; }
.rating-options input:focus-visible + span { outline: 3px solid #a45012; outline-offset: 2px; }
.errorlist { color: #983a24; margin: 5px 0; padding-left: 22px; }
.message-panel { padding-block: 64px; }
.message-panel > p, .message-panel form, .message-panel .back-link, .message-panel > .button { margin-top: 20px; line-height: 1.6; }
.confirm-preview, .notices p { padding: 18px; background: var(--soft); margin-top: 18px; }
.skip:focus { position: fixed; z-index: 5; padding: 10px; background: white; }
@media (max-width: 660px) {
  .wrap { width: min(100% - 32px, 620px); }
  .header-inner { min-height: 62px; }
  .brand { font-size: 22px; }
  .hero-inner { display: block; }
  .paper-art { display: none; }
  .directory { padding-block: 30px 48px; }
  .review-layout { grid-template-columns: 1fr; gap: 24px; }
  .profile-head { align-items: start; flex-direction: column; }
  .company-row { gap: 10px; }
  .initial { width: 35px; height: 39px; }
  .arrow { display: none; }
}
