:root {
  color-scheme: light;
  --ink: #242326;
  --muted: #56545b;
  --line: #dedde1;
  --soft: #f6f5f5;
  --paper: #fff;
  --accent: #a9242e;
  --accent-hover: #841923;
  --radius: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(36px, 6vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block: 20px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.62 system-ui, "Segoe UI", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -.045em; }
h2 { font-size: clamp(23px, 3vw, 32px); letter-spacing: -.025em; }
h3 { font-size: 19px; }
p, ul, ol, figure, address { margin: 0; }
address { font-style: normal; }

.sto-container { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sto-section { padding-block: var(--section-space); }
.sto-skip { position: absolute; z-index: 5; top: 8px; left: var(--gutter); padding: 8px 14px; background: var(--paper); transform: translateY(-150%); }
.sto-skip:focus { transform: none; }
.sto-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--paper); }
.sto-header-inner { position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 78px; padding-block: 10px; }
.sto-logo { flex: 0 0 auto; }
.sto-logo img { width: clamp(130px, 16vw, 172px); aspect-ratio: 198 / 71; object-fit: contain; }
.sto-nav { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 14px); }
.sto-nav > a, .sto-nav summary, .sto-menu-toggle {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.sto-nav > a:hover, .sto-nav > a[aria-current], .sto-nav summary:hover, .sto-nav details[open] > summary { background: var(--soft); color: var(--accent); }
.sto-nav summary { gap: 9px; list-style: none; cursor: pointer; }
.sto-nav summary::-webkit-details-marker { display: none; }
.sto-nav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-top: -4px; }
.sto-nav details[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.sto-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(820px, 100%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px #2423261c;
}
.sto-menu-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sto-menu-groups .sto-group { padding: 10px; background: var(--soft); border-radius: 6px; }
.sto-menu-groups .sto-group h3 { font-size: 15px; }
.sto-menu-groups .sto-group a { display: block; padding: 5px 0; min-height: 32px; font-size: 14px; }
.sto-header-address { margin-left: auto; color: var(--muted); font-size: 14px; text-decoration: none; }
.sto-header-address:hover { text-decoration: underline; }
.sto-menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--paper); }

.sto-home-hero, .sto-page-head, .sto-muted-band { background: var(--soft); }
.sto-home-hero { padding-block: clamp(32px, 4.5vw, 56px); }
.sto-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 6vw, 80px); }
.sto-hero-grid figure { justify-self: end; width: 100%; max-width: 440px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.sto-hero-grid figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sto-hero-grid figcaption { padding: 8px 12px; color: var(--muted); font-size: 13px; }
.sto-kicker { margin-bottom: 12px; color: var(--accent); font-size: 15px; font-weight: 650; }
.sto-lead { margin-top: 14px; max-width: 62ch; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.sto-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.sto-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 17px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--paper);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.sto-button:hover { color: var(--paper); border-color: var(--accent-hover); background: var(--accent-hover); }
.sto-button-outline { border-color: var(--line); background: var(--paper); color: var(--ink); }
.sto-button-outline:hover { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.sto-archive-note { margin-top: 24px; padding: 10px 14px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 15px; }
#services { padding-top: clamp(28px, 4vw, 48px); }
.sto-home-examples { padding-top: 0; }
.sto-catalog, .sto-examples, .sto-home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sto-catalog, .sto-examples { margin-top: 20px; }
.sto-catalog .sto-group, .sto-card { padding: clamp(16px, 3vw, 25px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.sto-group ul, .sto-contact-list { padding: 0; margin-top: 10px; list-style: none; }
.sto-group li + li, .sto-contact-list li + li { margin-top: 5px; }
.sto-group a[aria-current] { font-weight: 750; }
.sto-home-links > div { min-width: 0; }
.sto-home-links p { margin: 10px 0 12px; color: var(--muted); }

.sto-page-head { padding-block: clamp(22px, 4vw, 48px); }
.sto-crumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.sto-crumbs a { color: var(--muted); }
.sto-service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: clamp(24px, 6vw, 80px); align-items: start; padding-block: clamp(28px, 4vw, 52px); }
.sto-prose { max-width: 70ch; overflow-wrap: anywhere; }
.sto-prose > :first-child { margin-top: 0; }
.sto-prose :is(h2, h3, h4) { margin: 1.45em 0 .55em; }
.sto-prose :is(p, ul, ol, blockquote, table) { margin: 0 0 .85em; }
.sto-prose ul, .sto-prose ol { padding-left: 1.35em; }
.sto-prose li + li { margin-top: .45em; }
.sto-prose table { width: 100%; border-collapse: collapse; }
.sto-prose th, .sto-prose td { padding: 7px; border: 1px solid var(--line); }
.sto-service-aside { display: grid; gap: 9px; background: var(--soft); }
.sto-service-aside h2 { font-size: 17px; }
.sto-service-aside h2:not(:first-child) { margin-top: 12px; }
.sto-service-aside a { font-size: 15px; }
.sto-section-note { margin-top: 8px; color: var(--muted); font-size: 15px; }
.sto-service-layout + .sto-section { padding-top: 0; }
.sto-case-meta { margin: 12px 0; padding-left: 1.25em; color: var(--muted); font-size: 15px; }
.sto-card h3 + p { margin-top: 9px; }
.sto-card p + p { margin-top: 8px; }

.sto-review-grid, .sto-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.sto-review header { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.sto-review h2 { font-size: 21px; }
.sto-review-score { color: var(--accent); font-size: 16px; font-weight: 750; white-space: nowrap; }
.sto-review-date { margin: 4px 0 13px; color: var(--muted); font-size: 14px; }
.sto-review .sto-prose > :last-child { margin-bottom: 0; }
.sto-contact-grid address { margin: 12px 0 18px; }
.sto-booking { grid-column: 1 / -1; }
.sto-booking summary { cursor: pointer; font-weight: 700; }
.sto-form { display: grid; gap: 14px; max-width: 34rem; margin-top: 12px; }
.sto-form label { display: grid; gap: 5px; font-size: 15px; font-weight: 650; }
.sto-form input, .sto-form textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8a878e;
  border-radius: 6px; background: var(--paper); color: var(--ink); font-size: 16px;
}
.sto-form textarea { resize: vertical; }
.sto-form .sto-button { justify-self: start; }
.sto-form [role="status"] { color: #28633a; }
.sto-form [role="status"]:empty { display: none; }

.sto-footer { margin-top: 0; padding-block: 32px; background: var(--soft); border-top: 1px solid var(--line); }
.sto-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.sto-footer nav { display: grid; justify-items: start; }
.sto-footer p, .sto-footer a { font-size: 15px; }
.sto-footer p { color: var(--muted); }

@media (max-width: 820px) {
  .sto-header-address { display: none; }
  .sto-catalog, .sto-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .sto-header-inner { flex-wrap: wrap; min-height: 62px; gap: 6px 14px; }
  .sto-menu-toggle:not([hidden]) { display: flex; }
  .sto-nav { width: 100%; display: grid; padding-bottom: 6px; gap: 2px; }
  .sto-nav.is-collapsible:not(.is-open) { display: none; }
  .sto-menu-panel { position: static; width: 100%; padding: 8px; box-shadow: none; }
  .sto-menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .sto-hero-grid, .sto-service-layout, .sto-review-grid, .sto-contact-grid,
  .sto-home-links, .sto-footer-grid { grid-template-columns: 1fr; }
  .sto-hero-grid figure { justify-self: start; max-width: 400px; }
  .sto-service-layout { gap: 18px; }
}
@media (max-width: 480px) {
  .sto-catalog, .sto-examples, .sto-menu-groups { grid-template-columns: 1fr; }
  .sto-group li + li { margin-top: 3px; }
  .sto-catalog .sto-group a { display: inline-block; min-height: 32px; padding-block: 4px; }
}
