:root {
  color-scheme: light;
  --ink: #161715;
  --muted: #5f625b;
  --line: #dedfd6;
  --surface: #fff;
  --canvas: #f6f6f1;
  --orange: #f7ac73;
  --dark-orange: #934219;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b04f18; outline-offset: 4px; }
.skip { position: fixed; z-index: 5; top: -8rem; left: 1rem; padding: .8rem; background: white; }
.skip:focus { top: 1rem; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; border-bottom: 1px solid var(--line); background: var(--surface); padding: .75rem clamp(1rem, 4vw, 4rem); }
.brand img { width: clamp(124px, 18vw, 188px); height: auto; display: block; }
.header-actions, .page-heading { display: flex; align-items: center; justify-content: space-between; gap: clamp(.6rem, 2vw, 1.2rem); }
.shop-link { font-size: .91rem; font-weight: 650; }
.shop-link:hover, footer a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5em; border: 1px solid transparent; min-height: 43px; padding: .62rem .9rem; border-radius: 7px; font-weight: 690; line-height: 1.2; }
.button.primary { background: var(--orange); color: var(--ink); }
.button.primary:hover { background: #f9ba88; }
.button.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: #a6a89f; }
.shell { width: min(100%, 1520px); margin: auto; padding: 1.7rem clamp(1rem, 4vw, 4rem) 0; display: grid; grid-template-columns: minmax(178px, 219px) minmax(0, 1fr); gap: clamp(1.3rem, 3.8vw, 3.8rem); }
aside { position: sticky; top: 1.3rem; align-self: start; }
.profile { display: flex; align-items: center; gap: .75rem; padding-bottom: 1.3rem; }
.profile > span { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: var(--ink); color: var(--orange); font-size: .8rem; font-weight: 720; }
.profile strong, .location strong, .profile small, .location small { display: block; }
.profile small, .location small { color: var(--muted); margin-top: .18rem; font-size: .8rem; }
nav { display: grid; gap: .2rem; }
nav a { display: flex; justify-content: space-between; align-items: center; gap: .3rem; border-radius: 7px; min-height: 44px; padding: .7rem .65rem; font-size: .9rem; font-weight: 610; white-space: nowrap; }
nav a:hover { background: #eaeae2; }
nav a[aria-current] { background: #f4e6d9; color: #74331a; }
nav output { min-width: 20px; text-align: center; padding: .1rem .3rem; background: #e6e6de; color: var(--ink); border-radius: 12px; font-size: .75rem; }
.location { margin-top: 2rem; padding: .9rem .65rem 0; border-top: 1px solid var(--line); font-size: .87rem; }
.hero { min-height: clamp(360px, 36vw, 500px); display: grid; align-content: end; border-radius: 13px; color: #fff; background: linear-gradient(90deg, #161714e8, #18191677 58%, #18191620 100%), url('/assets/realistic/solar-villa-day.webp') 63% 52% / cover, #343c32; }
.hero-copy { padding: clamp(1.5rem, 4vw, 4rem); max-width: 770px; }
h1 { margin: .25em 0 .3em; font-size: clamp(2.9rem, 6.7vw, 6.5rem); font-weight: 690; letter-spacing: -.065em; line-height: .96; }
.hero-copy p:not(.kicker) { color: #f4f4ed; max-width: 36ch; margin: 1.15rem 0; font-size: 1.06rem; line-height: 1.55; }
.kicker { color: var(--dark-orange); font-weight: 750; letter-spacing: .14em; font-size: .74rem; margin: 0; }
.hero .kicker { color: #ffc598; }
.notice { display: flex; align-items: baseline; gap: .6rem 1rem; margin: 1rem 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .9rem; }
.notice strong { color: var(--ink); flex-shrink: 0; }
.notice p { margin: 0; line-height: 1.5; }
.tiles, .products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.tiles a { position: relative; display: grid; gap: .35rem; align-content: center; min-height: 104px; border: 1px solid var(--line); border-radius: 9px; padding: 1rem 1.8rem 1rem 1rem; background: var(--surface); }
.tiles a:hover { border-color: #bf7a53; }
.tiles small, .product small { color: var(--muted); }
.tiles span { position: absolute; top: .9rem; right: .9rem; color: var(--dark-orange); }
.page-heading { margin: .7rem 0 1.4rem; align-items: end; }
.page-heading h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); margin-bottom: 0; }
.search { margin-bottom: .8rem; }
label { display: block; font-size: .9rem; font-weight: 680; margin-bottom: .4rem; }
.search > div { display: flex; gap: .65rem; }
input { min-height: 44px; border: 1px solid #c9cac0; background: var(--surface); border-radius: 7px; color: var(--ink); padding: .55rem .8rem; min-width: 0; }
.search input { flex: 1; }
.status { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.product { min-width: 0; display: grid; grid-template-rows: 150px auto; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.product-image { display: grid; place-items: center; background: #fff; padding: .75rem; border-bottom: 1px solid #efefe9; }
.product-image img { width: 100%; height: 125px; object-fit: contain; }
.product-image .photo-fallback { max-width: 100px; opacity: .5; }
.product-body { display: flex; flex-direction: column; gap: .6rem; padding: .85rem; }
.product h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: 1rem; letter-spacing: -.015em; line-height: 1.35; }
.product h2 a:hover { text-decoration: underline; }
.product-price { margin: auto 0 0; font-size: .88rem; font-weight: 680; }
.product button { width: 100%; font-size: .85rem; }
#more { margin-top: 1rem; }
.panel, .request { padding: clamp(.8rem, 3vw, 1.5rem); background: var(--surface); border-radius: 9px; border: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 72px auto; align-items: center; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.row input { width: 100%; padding-inline: .45rem; }
.row button { color: var(--dark-orange); border: none; background: none; padding: .5rem 0 .5rem .4rem; font-size: .85rem; }
.row button:hover { text-decoration: underline; }
.row-title strong, .row-title small { display: block; overflow-wrap: anywhere; }
.row-title small { margin-top: .23rem; color: var(--muted); }
#quote-fields { padding-top: 1.3rem; }
#project { width: min(100%, 420px); }
.request-list { display: grid; gap: .75rem; }
.request h2 { margin: 0 0 .3rem; font-size: 1.18rem; }
.request ul { padding-inline-start: 1.2rem; }
.request li { margin: .3rem 0; }
.empty { color: var(--muted); margin-block: .2rem .55rem; line-height: 1.55; }
footer { margin-top: 2.2rem; padding: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.toast { position: fixed; right: 1rem; bottom: 1rem; max-width: calc(100vw - 2rem); z-index: 3; background: var(--ink); color: #fff; padding: .8rem 1rem; border-radius: 8px; box-shadow: 0 10px 42px #0a0a0924; }
@media (max-width: 820px) {
  .shell { display: block; padding-top: .75rem; }
  aside { position: static; }
  aside .profile, aside .location { display: none; }
  nav { display: flex; overflow-x: auto; gap: .35rem; margin: 0 -.25rem 1rem; padding: .25rem; }
  nav a { flex: 0 0 auto; }
}
@media (max-width: 540px) {
  .hero { min-height: 360px; background-position: 68% center; }
  .hero-copy p:not(.kicker) { font-size: .96rem; }
  .hero { background-image: linear-gradient(90deg, #161714f2, #1819168a 60%, #1819164d), url('/assets/realistic/solar-villa-day.webp'); }
  .notice, .page-heading { display: block; }
  .notice p, .page-heading > a { margin-top: .6rem; }
  .tiles { grid-template-columns: 1fr; gap: .55rem; }
  .tiles a { min-height: 73px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .product { grid-template-rows: 115px auto; }
  .product-image img { height: 90px; }
  .product-body { padding: .65rem; }
  .product h2 { font-size: .89rem; }
  .search button { padding-inline: .55rem; font-size: .83rem; }
  .row { grid-template-columns: minmax(0, 1fr) 55px auto; gap: .45rem; }
}
