:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --ink: #1c1b1a;
  --muted: #55514e;
  --accent: #b51b19;
  --line: #dedbd5;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.layout { max-width: 1536px; padding: 0 clamp(22px, 5vw, 84px); margin-inline: auto; }
.site-header {
  min-height: 106px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; border-bottom: 1px solid var(--line);
}
.brand { display: block; width: clamp(116px, 12vw, 170px); height: auto; }
.site-header span { color: var(--muted); font-size: .85rem; font-weight: 600; text-align: right; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-top: clamp(24px, 4vw, 60px); }
.hero-copy { align-self: center; padding: 16px clamp(24px, 3.2vw, 52px) 16px 0; }
h1 {
  font-size: clamp(2.7rem, 4.15vw, 4.5rem); font-weight: 670; line-height: 1.02;
  letter-spacing: -.065em; margin: 0;
}
h1 span { color: var(--accent); display: block; }
.service-copy { margin: clamp(24px, 3vw, 44px) 0 24px; min-height: 112px; }
.service-copy h2 { font-size: 1.06rem; line-height: 1.3; margin: 0 0 7px; letter-spacing: -.01em; }
.service-copy p { font-size: 1.02rem; line-height: 1.6; margin: 0; color: var(--muted); max-width: 36ch; }
.contact-button {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 26px;
  min-height: 51px; padding: 10px 19px; border: 0; background: var(--accent);
  color: #fff; font-weight: 650; text-decoration: none; line-height: 1.2;
}
.contact-button:hover { background: #921714; }
.contact-button span { font-size: 1.3rem; }
.hero-art { min-height: 440px; aspect-ratio: 1.27; position: relative; isolation: isolate; overflow: hidden; }
.hero-art img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .85s ease; mix-blend-mode: plus-lighter;
}
.hero-art img.active { opacity: 1; }
.carousel-controls { display: flex; grid-column: 1 / -1; margin-top: 18px; gap: 18px; align-items: start; }
.service-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; flex: 1; }
.service-buttons button {
  min-height: 53px; padding: 10px 0; border: 0; border-top: 2px solid var(--line);
  background: none; text-align: left; color: var(--muted); font-size: .91rem; font-weight: 650;
}
.service-buttons button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); }
.service-buttons button:hover { color: var(--accent); }
.rotation { flex: 0 0 44px; height: 44px; border: 1px solid var(--line); color: var(--ink); background: transparent; }
.rotation:hover { border-color: var(--accent); }
.rotation[aria-pressed="true"] .play, .rotation[aria-pressed="false"] .pause { display: none; }
.site-footer { margin-top: 24px; border-top: 1px solid var(--line); padding: 17px 0 24px; font-size: .82rem; color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.contact-main { max-width: 680px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) 0; }
.contact-main h1 { margin: 0 0 24px; }
.contact-main .intro { color: var(--muted); line-height: 1.6; }
.back-link { color: var(--ink); font-size: .9rem; text-underline-offset: 4px; }
.contact-main form { display: grid; gap: 17px; margin-top: 23px; }
.contact-main label { display: grid; gap: 7px; font-weight: 600; }
.contact-main input, .contact-main textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #aaa39c; border-radius: 0;
  color: var(--ink); background: #fff; font-weight: 400;
}
.contact-main textarea { resize: vertical; }
.contact-main button { justify-self: start; }
.notice { padding: 10px 14px; border-left: 3px solid var(--accent); background: #eeeae3; }
@media (max-width: 880px) {
  .hero-art { min-height: 350px; }
  h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
}
@media (max-width: 690px) {
  .site-header { min-height: 80px; }
  .site-header span { font-size: .76rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 3px 0 25px; }
  .hero-art { min-height: 0; aspect-ratio: 1.4; }
  .service-copy { min-height: 112px; margin: 21px 0 15px; }
  h1 { font-size: clamp(2.35rem, 8vw, 3.45rem); }
  .carousel-controls { gap: 10px; margin-top: 12px; }
  .service-buttons { gap: 8px; }
  .service-buttons button { font-size: .77rem; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img { transition: none; }
}
