:root {
  font-family: system-ui, sans-serif;
  color-scheme: dark;
  color: var(--ink);
  background: var(--paper);
  --paper: #26201d;
  --ink: #f6eee2;
  --muted: #d5c2b2;
  --orange: #ec966f;
  --button-ink: #342a24;
  --line: #53453c;
  --outline: #897062;
  --panel: #302823;
  --glow: #443128;
  --hover: #42342c;
  --focus: #ffaa83;
}
:root[data-theme="day"] {
  color-scheme: light;
  --paper: #f6eee2;
  --ink: #342a24;
  --muted: #655449;
  --line: #e2d3c4;
  --outline: #c8b39f;
  --panel: #fbf5eb;
  --glow: #efdfce;
  --hover: #eee0d1;
  --focus: #be4923;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1260px); margin-inline: auto; }
.header {
  width: 100%;
  min-height: 92px;
  padding: 12px max(32px, calc((100% - 1260px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; padding: 3px; }
.logo-art {
  background: url('logo-orange.png') no-repeat;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}
:root[data-theme="day"] .logo-art { filter: none; mix-blend-mode: multiply; }
.logo-compact {
  display: block;
  width: 53px;
  aspect-ratio: 1 / 1.15;
  background-size: 320% auto;
  background-position: 50.1% 11%;
}
.header-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 3px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--outline);
  border-radius: 999px;
  font: inherit;
  font-size: .875rem;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle button {
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 42px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
}
.interface-icon { display: block; width: 20px; height: 20px; flex: none; }
.theme-toggle button[aria-pressed="true"] {
  color: var(--button-ink);
  background: var(--orange);
  font-weight: 700;
}
.hero {
  background: radial-gradient(ellipse at 80% 40%, var(--glow) 0%, transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  padding-block: clamp(60px, 9vw, 138px);
}
.hero-content { grid-area: 1 / 1; }
.logo-wide {
  width: min(100%, 530px);
  aspect-ratio: 2.34;
  background-size: 118.6% auto;
  background-position: 50% 75.7%;
  justify-self: center;
}
h1 { font-size: clamp(1.85rem, 3.7vw, 3.65rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 650; }
.hero p { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.2rem); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--outline); border-radius: 7px;
  font-weight: 700;
}
.primary { color: var(--button-ink); background: var(--orange); border-color: var(--orange); }
.primary:hover { background: #e8855b; border-color: #e8855b; }
.secondary:hover { background: var(--hover); }
.site-footer {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
}
.footer-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.equipment { padding-block: clamp(36px, 5vw, 76px); border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 4vw, 3.25rem); letter-spacing: -.045em; line-height: 1; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
article { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; overflow: hidden; }
article img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.68) sepia(.14); }
h3 { font-size: 1.25rem; margin: 16px 16px 6px; }
article p { color: var(--muted); margin: 0 16px 18px; line-height: 1.5; }
@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header { padding-inline: 20px; gap: 12px; }
  .header-controls { justify-content: flex-end; gap: 0 10px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 46px; }
  .hero-content { grid-area: auto; }
  .logo-wide { max-width: 380px; justify-self: start; }
  .actions > a { flex: 1 1 125px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
}
