:root {
  color-scheme: light;
  --ink: #1c1917;
  --muted: #56514b;
  --paper: #fffdf9;
  --canvas: #f6f4ef;
  --line: #dcd7cf;
  --accent: #e26c0a;
  --accent-hover: #ef8128;
  --accent-deep: #a44800;
  --radius: 10px;
  --gutter: clamp(20px, 5vw, 76px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 6.1vw, 6.25rem); font-weight: 720; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 680; }

.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { background: transparent; border-color: #b7afa3; color: var(--ink); }
.button-outline:hover { background: #eeeae2; border-color: var(--ink); }
.inline-link { color: var(--accent-deep); font-weight: 690; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.inline-link:hover { color: var(--ink); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 88px; }
.brand { display: block; width: 78px; height: 76px; overflow: hidden; }
.brand img { width: 96px; max-width: none; height: 96px; margin: -11px 0 0 -13px; }
.header-inner nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
.nav-link { position: relative; text-decoration: none; font-weight: 640; white-space: nowrap; }
.nav-link::after { position: absolute; inset: auto 0 -6px; height: 2px; content: ''; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.header-call { justify-self: end; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(1.25rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6.3vw, 6rem) clamp(1.5rem, 3.1vw, 3.125rem); }
.hero-copy { animation: appear 520ms ease-out both; }
.hero-location { display: flex; align-items: center; gap: .625rem; color: var(--accent-deep); font-size: .9rem; font-weight: 760; margin-bottom: 1.3rem; }
.hero-location::before { display: block; width: 7px; height: 7px; border: 2px solid var(--accent-deep); border-radius: 50%; content: ''; }
.hero h1 { max-width: 9.5ch; }
.hero-description { max-width: 37ch; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.hero-price-link { margin-top: .85rem; }
.hero-carousel { position: relative; min-width: 0; }
.hero-image { overflow: hidden; aspect-ratio: 1.22; background: #e6e1d8; border-radius: var(--radius); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position, center); }
.hero-image-enter { animation: reveal-photo 360ms ease-out both; }
.hero-controls { position: absolute; z-index: 1; bottom: .65rem; left: .65rem; display: flex; align-items: center; padding: .15rem; border-radius: 6px; background: #1c1917e8; }
.hero-controls button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 4px; color: #fff; background: transparent; cursor: pointer; }
.hero-controls button:hover { background: #ffffff28; }
.hero-controls button:focus-visible { outline: 2px solid white; outline-offset: -2px; }
.hero-rotation::before { width: 11px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); content: ''; }
.hero-rotation[data-playing]::before { border-inline: 3px solid currentColor; background: transparent; clip-path: none; }
.hero-dot::before { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; content: ''; }
.hero-dot[aria-current="true"]::before { color: #ffa45b; background: currentColor; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-photo { from { opacity: .68; } to { opacity: 1; } }

.trust-section { padding-bottom: clamp(1.65rem, 3.8vw, 3.5rem); }
.trust-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; list-style: none; padding: 0; }
.trust-badges li {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: start;
  gap: .9rem;
  min-height: 160px;
  padding: 1.3rem 1rem 1.1rem;
  border: 1px solid #e7d2bf;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0%, #ffebd9, transparent 72%), var(--paper);
  box-shadow: 0 8px 24px #4934210e;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.23;
  letter-spacing: -.02em;
  text-align: center;
}
.trust-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid #e3af86;
  border-radius: 50%;
  color: var(--accent-deep);
  background: linear-gradient(150deg, #fff3e3, #ffc99b);
  box-shadow: inset 0 1px 0 #fff9f2, 0 0 0 4px #fff7ee, 0 6px 16px #a4480026;
}
.trust-icon-experience::before { width: 42%; aspect-ratio: 1; border: 2px solid currentColor; border-radius: 50%; content: ''; }
.trust-icon-experience::after { position: absolute; top: 37%; left: calc(50% - 1px); width: 12%; height: calc(13% + 1px); border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; content: ''; }
.trust-icon-satisfaction::before { width: 47%; aspect-ratio: 1; background: currentColor; clip-path: polygon(50% 0, 65% 34%, 100% 38%, 74% 62%, 81% 98%, 50% 80%, 19% 98%, 26% 62%, 0 38%, 35% 34%); content: ''; }
.trust-icon-warranty::before { width: 43%; aspect-ratio: 8 / 9; background: currentColor; clip-path: polygon(50% 0, 95% 16%, 95% 55%, 81% 80%, 50% 100%, 19% 80%, 5% 55%, 5% 16%); content: ''; }
.trust-icon-warranty::after { position: absolute; top: 42%; width: 19%; height: 11%; transform: rotate(-45deg); border-bottom: 2px solid #fff4e6; border-left: 2px solid #fff4e6; content: ''; }

.section { padding-block: clamp(3.5rem, 7vw, 6.75rem); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .8rem 2rem; margin-bottom: 1.75rem; }
.section-heading p { margin-top: .55rem; color: var(--muted); }
.references-section { background: var(--canvas); }
.product-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card, .project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; }
.product-card, .featured-project { display: block; transition: border-color 180ms ease, box-shadow 180ms ease; }
.product-card:hover, .featured-project:hover { border-color: #b6ab9d; box-shadow: 0 5px 20px #36301e0b; }
.product-visual { display: grid; place-items: center; aspect-ratio: 1.6; padding: 1rem; overflow: hidden; background: #fbfaf7; }
.product-visual img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform 240ms ease; }
.product-card:hover img, .featured-project:hover img, .project-card summary:hover img { transform: scale(1.035); }
.product-card-caption, .project-card-caption { padding: 1rem 1.1rem; }
.product-card-caption p { color: var(--muted); margin-top: .4rem; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-visual { display: block; aspect-ratio: 1.72; overflow: hidden; background: #e6e1d8; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.project-card-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem .8rem; }
.project-heading { font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.project-city { font-size: .9rem; color: var(--muted); }

.testimonials-section { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.testimonial-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 31%; gap: .85rem; margin: 0; padding: 0 0 .65rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.testimonial-controls { display: flex; gap: .5rem; }
.testimonial-controls button { min-width: 44px; padding: 0 .75rem; font-size: 1.5rem; cursor: pointer; }
.testimonial-controls button:disabled { opacity: .45; cursor: default; }
.testimonial-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: .75rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.testimonial-example { color: var(--muted); font-size: .875rem; }
.testimonial-text { margin: 0; color: var(--muted); }
.testimonial-author { padding-top: .75rem; margin-top: auto; border-top: 1px solid var(--line); font-weight: 700; }

.about-section { border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; }
.about-copy > p { max-width: 64ch; color: var(--muted); font-size: 1.15rem; }
.about-copy > p + p { margin-top: .85rem; }
.about-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.6rem; margin-top: 1.65rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.about-topics p { margin-block: .55rem .7rem; color: var(--muted); }
.contact-section { padding-block: clamp(2rem, 4.5vw, 4.25rem); border-block: 1px solid var(--line); background: var(--canvas); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-lead p { max-width: 33ch; margin-top: .85rem; color: var(--muted); }
.contact-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem 2rem; padding-top: .8rem; }
.contact-details h3 { margin-bottom: .85rem; }
.contact-details address { font-style: normal; margin-bottom: .35rem; }
.contact-lines div { display: grid; grid-template-columns: 3rem 1fr; gap: .25rem; }
.contact-lines dd, .hours dd, .project-information dd { margin: 0; }
.contact-lines a, .contact-email { text-underline-offset: 3px; }
.contact-email { display: inline-block; margin-top: .35rem; overflow-wrap: anywhere; }
.contact-lines dt, .hours dt { color: var(--muted); }
.hours { display: grid; gap: .2rem; margin-top: .85rem; font-size: .93rem; }
.hours div { display: flex; flex-wrap: wrap; gap: .15rem .7rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; min-height: 84px; padding-block: 1rem; }
.footer-brand { font-size: 1.15rem; font-weight: 740; text-decoration: none; }
.footer-inner span { color: var(--muted); }
.footer-inner > a:last-child { margin-left: auto; text-underline-offset: 4px; }
.mobile-actions { display: none; }

.inner-page { padding-block: clamp(2.5rem, 6vw, 6rem); }
.page-intro { max-width: 80ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-intro h1, .detail-hero h1 { font-size: clamp(2.75rem, 6vw, 5.45rem); }
.page-intro p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.page-intro .inline-link { display: inline-block; margin-top: .75rem; }
.page-intro .detail-actions .inline-link { margin-top: 0; }
.section-nav { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.section-nav a { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 5px; font-weight: 650; text-decoration: none; }
.section-nav a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.catalog-group + .catalog-group { margin-top: clamp(2.75rem, 6vw, 5rem); }
.catalog-group h2 { margin-bottom: 1.15rem; font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
.catalog-notes { max-width: 78ch; margin-top: clamp(2.75rem, 6vw, 5rem); }
.catalog-notes h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); margin-bottom: .85rem; }
.catalog-notes p + p { margin-top: .75rem; }
.breadcrumbs { margin-bottom: 1.25rem; color: var(--accent-deep); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: .6rem; color: var(--muted); content: '/'; }
.breadcrumbs [aria-current] { color: var(--muted); }
.breadcrumbs a { text-underline-offset: 4px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
.detail-hero p { margin-top: 1rem; color: var(--muted); }
.detail-image { display: grid; place-items: center; background: var(--canvas); aspect-ratio: 1.25; padding: 1rem; border-radius: var(--radius); overflow: hidden; }
.detail-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.detail-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.detail-section h2 { margin-bottom: 1rem; font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
.detail-section p + p { margin-top: .8rem; }
.price-guide .detail-section { max-width: 72ch; }
.price-guide ul { padding-inline-start: 1.35rem; }
.price-guide ul li + li { margin-top: .55rem; }
.legacy-content { overflow-x: auto; }
.legacy-content table { margin-block: .5rem 1.4rem; }
.legacy-content img { height: auto; }
.table-wrap { overflow: auto; }
.table-wrap + .table-wrap { margin-top: 1rem; }
table { border-collapse: collapse; }
.table-wrap table { width: 100%; min-width: max-content; }
caption { text-align: left; padding: .5rem 0; font-weight: 700; }
th, td { border-bottom: 1px solid var(--line); padding: .625rem .75rem; text-align: left; }
th { font-weight: 690; }
thead { background: var(--canvas); }
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .9rem; list-style: none; margin: 0; padding: 0; }
.color-grid li { overflow: hidden; border: 1px solid var(--line); padding: .55rem; border-radius: 5px; }
.color-grid img { width: 100%; aspect-ratio: 2; object-fit: cover; margin-bottom: .4rem; }
.product-contact { background: var(--canvas); padding-block: 1.75rem; }
.product-contact > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.product-contact h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }

.project-card summary { display: block; list-style: none; cursor: pointer; }
.project-card summary::-webkit-details-marker { display: none; }
.project-card summary:focus-visible { outline-offset: -5px; }
.project-card:target { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.project-information { padding: .1rem 1.1rem 1rem; }
.project-information dl > div, .dialog-details dl > div { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
.project-information dt, .dialog-details dt { font-weight: 690; }
.project-information .inline-link { display: inline-block; margin-top: .55rem; }
.project-dialog { width: min(calc(100% - 2rem), 790px); max-height: 92dvh; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; color: var(--ink); background: var(--paper); }
.project-dialog::backdrop { background: #191613bf; }
.project-dialog form { display: flex; justify-content: flex-end; padding: .6rem .8rem; }
.project-dialog form .button { min-height: 42px; cursor: pointer; }
.project-dialog > img { width: 100%; max-height: 60dvh; object-fit: contain; background: var(--canvas); }
.dialog-copy { padding: 1rem 1.25rem 1.35rem; }
.dialog-copy h2 { margin-bottom: .5rem; font-size: clamp(1.55rem, 4vw, 2.4rem); }

@media (max-width: 940px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-details { max-width: 680px; padding-top: 0; }
  .contact-lead p { max-width: 48ch; }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 .75rem; min-height: 68px; }
  .brand { width: 64px; height: 64px; }
  .brand img { width: 80px; height: 80px; margin: -8px 0 0 -11px; }
  .header-inner nav { grid-column: 1 / -1; flex-wrap: wrap; gap: .75rem 1.25rem; padding: 0 0 1rem; }
  .header-inner[data-menu-ready] nav { display: none; }
  .header-inner[data-menu-open] nav { display: flex; }
  .menu-toggle { display: block; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); min-height: 44px; padding: .5rem .8rem; font-weight: 700; cursor: pointer; }
  .header-call { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.3rem 1.7rem; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.9rem, 8.8vw, 4.5rem); }
  .hero-location { margin-bottom: .65rem; }
  .hero-description { margin-top: .85rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-image { aspect-ratio: 1.4; }
  .testimonial-grid { grid-auto-columns: 86%; gap: .65rem; }
  .trust-badges { gap: .5rem; }
  .trust-badges li { min-height: 128px; gap: .7rem; padding: .9rem .35rem .75rem; font-size: .9rem; letter-spacing: 0; }
  .trust-icon { width: 54px; height: 54px; }
  .products-section { padding-top: 2.3rem; }
  .product-grid, .project-grid, .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout { grid-template-columns: 1fr; gap: .85rem; }
  .about-copy > p { font-size: 1.05rem; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-image { max-width: 450px; }
  .site-footer { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  .mobile-actions { display: grid; position: fixed; z-index: 3; inset: auto 0 0; grid-template-columns: 1fr 1fr; gap: .55rem; border-top: 1px solid var(--line); background: var(--paper); padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom)); }
  .mobile-actions .button { min-height: 46px; }
}

@media (max-width: 450px) {
  .product-grid, .project-grid, .featured-grid { gap: .6rem; }
  .product-visual { padding: .55rem; }
  .product-card-caption, .project-card-caption { padding: .75rem; }
  .product-card-caption h3, .project-heading { font-size: 1rem; }
  .project-city { font-size: .875rem; }
  .about-topics { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 365px) {
  .trust-badges { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
