:root {
  --homegrid-bg: #f7f3ed;
  --homegrid-ink: #211b16;
  --homegrid-muted: #6b6057;
  --homegrid-soft: rgba(255, 253, 249, .72);
  --homegrid-line: #e5d8c8;
  --homegrid-gold: #b88a3a;
  --homegrid-cream: #fffdf9;
  --homegrid-brown: #211b16;
  --homegrid-page-bg-2: #fffaf3;
  --homegrid-radius: 10px;
  --homegrid-font: "Inter", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.homegrid-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, #fffaf3 0%, #f7f3ed 48%, #fffdf9 100%);
  color: var(--homegrid-ink);
  font-family: var(--homegrid-font);
  overflow-x: hidden;
}

.homegrid-page * {
  box-sizing: border-box;
}

.homegrid-page::before {
  display: none;
}

.homegrid-page > .hd .hd-right,
.homegrid-page > .drawer {
  display: none !important;
}

.homegrid-page > .hd {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 40 !important;
  background: rgba(255, 253, 248, .72) !important;
  border-bottom: 1px solid rgba(216, 200, 178, .34) !important;
  backdrop-filter: blur(16px) !important;
}

.homegrid-skip {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 50;
  background: #fff;
  color: #080808;
  padding: 10px 12px;
  border-radius: var(--homegrid-radius);
  font-weight: 800;
  transition: top .15s ease;
}

.homegrid-skip:focus {
  top: 14px;
}

.homegrid-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 124px;
}

.homegrid-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 52px;
  padding: 8px 12px 6px;
  background: linear-gradient(180deg, rgba(8, 9, 10, .74), rgba(8, 9, 10, 0));
  pointer-events: none;
}

.homegrid-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 253, 249, .92);
  padding: 8px 13px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.homegrid-logo img {
  display: block;
  width: auto;
  height: 18px;
}

.homegrid-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.homegrid-eyebrow,
.homegrid-kicker,
.homegrid-services-head p {
  margin: 0;
  color: var(--homegrid-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.homegrid-status h1 {
  max-width: 560px;
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.homegrid-reserve {
  display: inline-flex;
  min-width: 112px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(251, 245, 234, .94);
  color: #1b1712;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.homegrid-intro {
  width: min(100% - 28px, 720px);
  margin: 0 auto;
  padding: 38px 0 20px;
}

.homegrid-intro h2 {
  max-width: 680px;
  margin: 8px 0 13px;
  color: var(--homegrid-brown);
  font-size: clamp(30px, 6.5vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

.homegrid-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--homegrid-muted);
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.9;
}

.homegrid-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100% - 28px, 820px);
  max-width: 820px;
  margin: 0 auto;
  padding: 6px 0 22px;
}

.homegrid-facts a {
  min-width: 0;
  border: 1px solid var(--homegrid-line);
  border-radius: 14px;
  background: rgba(255, 253, 249, .88);
  padding: 13px 14px;
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.homegrid-facts strong,
.homegrid-price-summary strong {
  display: block;
  color: var(--homegrid-brown);
  font-size: 14px;
  line-height: 1.35;
}

.homegrid-facts span,
.homegrid-price-summary span {
  display: block;
  margin-top: 4px;
  color: var(--homegrid-muted);
  font-size: 11px;
  line-height: 1.45;
}

.homegrid-facts a:hover,
.homegrid-facts a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(215, 170, 82, .72);
  background: rgba(184, 138, 58, .12);
}

.homegrid-home {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 236, 205, .38), transparent 34%),
    linear-gradient(180deg, rgba(242, 231, 214, .78), rgba(216, 198, 176, .76) 48%, rgba(186, 164, 141, .78)),
    var(--homegrid-random-bg);
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-blend-mode: screen, normal, normal;
}

.homegrid-home::before,
.homegrid-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.homegrid-home::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0) 24%),
    rgba(80, 62, 45, .08);
}

.homegrid-home::after {
  display: none;
}

.homegrid-scene {
  display: none;
}

.homegrid-scene-light {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #e3bf4d;
  box-shadow: 0 0 18px rgba(227, 191, 77, .65);
}

.homegrid-scene-light-1 { top: 9%; left: 16%; }
.homegrid-scene-light-2 { top: 14%; right: 18%; }

.homegrid-scene-chair {
  position: absolute;
  right: 7%;
  bottom: 12%;
  width: 120px;
  height: 150px;
  border-radius: 52% 52% 24% 24%;
  border: 12px solid rgba(230, 226, 212, .34);
  border-bottom-width: 22px;
  transform: rotate(-16deg);
  opacity: .58;
}

.homegrid-scene-mirror {
  position: absolute;
  left: 7%;
  top: 20%;
  width: 96px;
  height: 96px;
  border: 10px solid rgba(184, 138, 58, .18);
  border-radius: 50%;
}

.homegrid-scene-counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20%;
  height: 80px;
  background: linear-gradient(180deg, rgba(214, 196, 174, .48), rgba(172, 151, 128, .42));
}

.homegrid-scene-plant {
  position: absolute;
  left: 4%;
  bottom: 18%;
  width: 48px;
  height: 88px;
  background:
    radial-gradient(circle at 30% 25%, #75a45b 0 14px, transparent 15px),
    radial-gradient(circle at 70% 42%, #4f7e46 0 16px, transparent 17px),
    linear-gradient(90deg, transparent 0 20px, #5f4a32 20px 28px, transparent 28px);
  opacity: .62;
}

.homegrid-pages {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: inherit;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.homegrid-pages::-webkit-scrollbar {
  display: none;
}

.homegrid-app-page {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.homegrid-swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 184px;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(48, 37, 28, .34);
  transform: translateX(-50%);
  animation: homegrid-swipe-hint 1.8s ease-in-out infinite;
}

.homegrid-swipe-hint::after {
  content: "  →";
  color: rgba(255, 255, 255, .95);
  font-weight: 900;
}

@keyframes homegrid-swipe-hint {
  0%, 100% {
    transform: translateX(calc(-50% - 5px));
  }
  50% {
    transform: translateX(calc(-50% + 5px));
  }
}

.homegrid-apps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 4.2vh, 44px) clamp(10px, 4vw, 42px);
  align-items: start;
  width: min(100% - 28px, 720px);
  margin: 0 auto;
  padding: clamp(44px, 8vh, 76px) 0 58px;
  /* Keep menu text crisp during scrolling. */
}

/* Scroll-state blur removed: client reported persistent blurry labels. */

.homegrid-app {
  display: grid;
  grid-template-rows: auto minmax(34px, auto);
  justify-items: center;
  gap: 9px;
  min-width: 0;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.homegrid-icon {
  position: relative;
  display: grid;
  width: clamp(76px, 18vw, 118px);
  aspect-ratio: 1;
  place-items: center;
  padding: 4%;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 25%;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .10) 38%, rgba(255, 255, 255, .22)),
    rgba(255, 253, 248, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .72),
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    0 12px 24px rgba(81, 57, 38, .22);
  backdrop-filter: blur(12px) saturate(1.08);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}

.homegrid-app .homegrid-icon::before {
  content: "";
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(9px, 1.8vw, 13px);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: lowercase;
}

.homegrid-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.homegrid-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22%;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
}

.homegrid-label {
  display: block;
  width: 100%;
  color: #4f3d31;
  font-size: clamp(11px, 1.7vw, 15px);
  font-weight: 650;
  line-height: 1.22;
  text-shadow: 0 1px 8px rgba(255, 253, 248, .7);
  overflow-wrap: anywhere;
}

.homegrid-app:not(.homegrid-app-priority) {
  opacity: .96;
}

.homegrid-app:focus-visible .homegrid-icon,
.homegrid-app:hover .homegrid-icon {
  transform: translateY(-4px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 20px 34px rgba(60, 42, 24, .28), 0 0 0 2px rgba(184, 138, 58, .24);
}

.homegrid-page-dots {
  position: absolute;
  left: 50%;
  bottom: 162px;
  z-index: 3;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.homegrid-page-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 1px 5px rgba(48, 37, 28, .16);
}

.homegrid-page-dots span.is-active {
  width: 18px;
  background: rgba(255, 255, 255, .92);
}

.homegrid-bottom-dock {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-height: 78px;
  padding: 10px 14px 8px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 24px;
  background: rgba(250, 244, 235, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 18px 42px rgba(128, 92, 55, .20);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: transform .22s ease;
}

.homegrid-page.is-deep-scroll .homegrid-bottom-dock {
  transform: translateY(100%);
}

.homegrid-bottom-dock a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-width: 0;
  color: #58412f;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

.homegrid-bottom-dock img {
  display: block;
  width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.76);
  object-fit: contain;
  background: linear-gradient(180deg, #fbf5ed, #e4d2bd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 7px 16px rgba(121, 88, 57, .16);
}

.homegrid-services {
  width: min(100% - 28px, 1040px);
  margin: 28px auto 0;
  padding: 8px 0 22px;
  scroll-margin-top: 92px;
}

.homegrid-services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.homegrid-services-head h2 {
  margin: 0;
  color: var(--homegrid-brown);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.homegrid-service-track {
  display: flex;
  gap: 14px;
  margin-inline: -4px;
  padding: 6px 4px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.homegrid-service-track::-webkit-scrollbar {
  height: 6px;
}

.homegrid-service-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(184, 138, 58, .34);
}

.homegrid-service-card {
  flex: 0 0 min(82vw, 340px);
  overflow: hidden;
  border: 1px solid var(--homegrid-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, .94);
  color: var(--homegrid-brown);
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 18px 42px rgba(60, 42, 24, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.homegrid-service-card:hover,
.homegrid-service-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(184, 138, 58, .56);
  box-shadow: 0 24px 52px rgba(60, 42, 24, .13);
}

.homegrid-service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #eadfce;
}

.homegrid-service-body {
  display: grid;
  gap: 6px;
  padding: 15px 16px 18px;
}

.homegrid-service-title {
  color: var(--homegrid-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
}

.homegrid-service-subtitle {
  color: var(--homegrid-brown);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.homegrid-service-description {
  color: var(--homegrid-muted);
  font-size: 13px;
  line-height: 1.75;
}

.homegrid-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100% - 28px, 920px);
  margin: 4px auto 18px;
}

.homegrid-proof article {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--homegrid-line);
  border-radius: 18px;
  background: var(--homegrid-cream);
  padding: 12px;
  backdrop-filter: blur(18px);
}

.homegrid-proof img {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
}

.homegrid-proof h2 {
  margin: 5px 0 6px;
  color: var(--homegrid-brown);
  font-size: 17px;
  line-height: 1.45;
}

.homegrid-proof span {
  display: block;
  color: var(--homegrid-muted);
  font-size: 13px;
  line-height: 1.75;
}

.homegrid-panels {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  width: min(100% - 28px, 920px);
}

.homegrid-panel {
  display: none;
  border: 1px solid var(--homegrid-line);
  border-radius: 22px;
  background: rgba(255, 253, 249, .96);
  color: var(--homegrid-brown);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .26);
  scroll-margin-top: 18px;
}

.homegrid-panel.is-active {
  display: block;
}

.homegrid-panel-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}

.homegrid-seo h2 {
  margin: 0;
  color: var(--homegrid-brown);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.homegrid-seo p,
.homegrid-note {
  color: rgba(42, 33, 24, .72);
  font-size: 14px;
  line-height: 1.9;
}

.homegrid-pills,
.homegrid-actions,
.homegrid-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.homegrid-pills a,
.homegrid-footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(42, 33, 24, .16);
  border-radius: 999px;
  background: #fff;
  padding: 8px 13px;
  color: var(--homegrid-brown);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.homegrid-cta,
.homegrid-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  color: #080808;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.homegrid-cta {
  margin-top: 18px;
  background: var(--homegrid-gold);
}

.homegrid-action-line { background: #24c768; }
.homegrid-action-tel { background: #fff; }
.homegrid-action-vacancy { background: #8bc7ff; }

.homegrid-price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.homegrid-price-summary div {
  min-width: 0;
  border: 1px solid rgba(42, 33, 24, .13);
  border-radius: 14px;
  background: #fff;
  padding: 12px 13px;
}

.homegrid-price-summary strong {
  color: var(--homegrid-brown);
}

.homegrid-price-summary span {
  color: rgba(42, 33, 24, .62);
}

.homegrid-faq {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.homegrid-faq div {
  border-top: 1px solid rgba(42, 33, 24, .13);
  padding-top: 12px;
}

.homegrid-faq dt {
  font-weight: 900;
}

.homegrid-faq dd {
  margin: 6px 0 0;
  color: rgba(42, 33, 24, .72);
  font-size: 14px;
  line-height: 1.8;
}

.homegrid-seo {
  max-width: 920px;
  width: min(100% - 28px, 920px);
  margin: 28px auto 0;
  border-top: 1px solid var(--homegrid-line);
  padding: 28px 0 0;
}

.homegrid-guide {
  width: 100%;
  margin-top: 30px;
  background: #fff;
  color: #171717;
  font-size: 13px;
}

.homegrid-guide details {
  border-top: 1px solid #ddd;
}

.homegrid-guide details:last-child {
  border-bottom: 1px solid #ddd;
}

.homegrid-guide summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.homegrid-guide summary::after {
  content: "›";
  transform: rotate(90deg);
  font-size: 18px;
  transition: transform .18s ease;
}

.homegrid-guide details[open] summary::after {
  transform: rotate(-90deg);
}

.homegrid-guide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 18px 18px 34px;
}

.homegrid-guide a {
  color: #171717;
  text-decoration: none;
}

.homegrid-spotlight {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 5, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.homegrid-spotlight.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.homegrid-spotlight-card {
  position: relative;
  width: min(100%, 330px);
  background: #fff;
  color: #171717;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.homegrid-spotlight-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.homegrid-spotlight-card p {
  margin: 18px 20px 4px;
  color: #b88a3a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.homegrid-spotlight-card h2 {
  margin: 0 20px 16px;
  font-size: 20px;
  line-height: 1.45;
}

.homegrid-spotlight-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 20px 22px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.homegrid-spotlight-close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  cursor: pointer;
}

.homegrid-seo h2,
.homegrid-seo p {
  color: var(--homegrid-brown);
}

.homegrid-seo p {
  color: var(--homegrid-muted);
}

.homegrid-page a:focus-visible,
.homegrid-page button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(215, 170, 82, .35);
}

.homegrid-page a:focus:not(:focus-visible) {
  outline: none;
}

@media (min-width: 940px) {
  .homegrid-shell {
    display: block;
  }

  .homegrid-home {
    min-height: 760px;
  }

  .homegrid-service-card {
    flex-basis: 320px;
  }
}

@media (max-width: 760px) {
  .homegrid-status {
    align-items: flex-start;
    gap: 12px;
  }

  .homegrid-reserve {
    min-width: 96px;
    min-height: 44px;
  }

  .homegrid-logo {
    padding-inline: 12px;
  }

  .homegrid-logo img {
    height: 20px;
  }

  .homegrid-facts,
  .homegrid-proof {
    grid-template-columns: 1fr 1fr;
  }

  .homegrid-proof article {
    grid-template-columns: 1fr;
  }

  .homegrid-proof img {
    width: 100%;
    height: 132px;
  }

  .homegrid-price-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .homegrid-shell {
    padding: 0 0 112px;
  }

  .homegrid-status {
    min-height: 50px;
    gap: 10px;
  }

  .homegrid-logo {
    min-height: 38px;
    max-width: 178px;
    padding: 8px 10px;
    overflow: hidden;
  }

  .homegrid-logo img {
    height: 18px;
  }

  .homegrid-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homegrid-home {
    min-height: 100svh;
    margin-top: 0;
  }

  .homegrid-swipe-hint {
    bottom: 220px;
    font-size: 10px;
  }

  .homegrid-page-dots {
    bottom: 200px;
  }

  .homegrid-apps {
    gap: clamp(18px, 4.2vh, 32px) 10px;
    padding-top: 76px;
  }

  .homegrid-icon {
    width: clamp(64px, 19.5vw, 78px);
  }

  .homegrid-label {
    font-size: 11.5px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .homegrid-icon,
  .homegrid-facts a,
  .homegrid-swipe-hint {
    transition: none;
    animation: none;
  }
}

/* Final mobile typography pass */
.homegrid-page {
  font-size: 15px;
  line-height: 1.75;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  font-feature-settings: "palt" 1;
}

.homegrid-page h1,
.homegrid-page h2,
.homegrid-page h3,
.homegrid-label,
.homegrid-bottom-dock span {
  letter-spacing: 0;
  text-wrap: balance;
}

.homegrid-label {
  width: min(92px, 23vw);
  margin: 8px auto 0;
  font-size: 11.8px;
  line-height: 1.26;
  font-weight: 560;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
}

.homegrid-bottom-dock span {
  font-size: 11px;
  line-height: 1.25;
}

@media (max-width: 420px) {
  .homegrid-label {
    width: min(86px, 22vw);
    font-size: 11.2px;
    line-height: 1.25;
  }

  .homegrid-bottom-dock span {
    font-size: 10.5px;
  }
}

/* Light footer refinement */
.homegrid-site-footer {
  margin-top: 0;
  padding: 38px 22px max(138px, calc(98px + env(safe-area-inset-bottom)));
  border-top: 1px solid rgba(166, 130, 74, .22);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .96) 0%, rgba(240, 231, 218, .98) 100%);
  color: #2b2118;
}

.homegrid-footer-brand {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: min(100%, 760px);
  margin: 0 auto 30px;
  text-align: center;
}

.homegrid-footer-brand a {
  display: inline-flex;
  width: fit-content;
  justify-content: center;
}

.homegrid-footer-brand img {
  display: block;
  width: min(250px, 70vw);
  height: auto;
}

.homegrid-footer-brand p {
  margin: 0;
  color: rgba(43, 33, 24, .66);
  font-size: 13px;
  line-height: 1.7;
}

.homegrid-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
  width: min(100%, 760px);
  margin: 0 auto;
}

.homegrid-footer-nav details,
.homegrid-footer-about {
  min-width: 0;
  border: 1px solid rgba(166, 130, 74, .2);
  border-radius: 10px;
  background: rgba(255, 253, 248, .72);
  overflow: hidden;
}

.homegrid-footer-nav summary,
.homegrid-footer-about summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  color: #7e5b26;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  list-style: none;
}

.homegrid-footer-nav summary::-webkit-details-marker,
.homegrid-footer-about summary::-webkit-details-marker {
  display: none;
}

.homegrid-footer-nav summary::after,
.homegrid-footer-about summary::after {
  content: "+";
  color: rgba(43, 33, 24, .52);
  font-size: 18px;
  font-weight: 600;
}

.homegrid-footer-nav details[open] summary::after,
.homegrid-footer-about[open] summary::after {
  content: "-";
}

.homegrid-footer-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0 14px;
  border-top: 1px solid rgba(166, 130, 74, .12);
  color: rgba(43, 33, 24, .78);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.homegrid-footer-about {
  width: min(100%, 760px);
  margin: 14px auto 0;
}

.homegrid-footer-about div {
  display: grid;
  gap: 12px;
  padding: 0 14px 16px;
}

.homegrid-footer-about p {
  margin: 0;
  color: rgba(43, 33, 24, .72);
  font-size: 13.5px;
  font-weight: 430;
  line-height: 1.9;
}

.homegrid-footer-nav a:hover,
.homegrid-footer-nav a:focus-visible {
  color: #7e5b26;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.homegrid-footer-copy {
  width: min(100%, 760px);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 130, 74, .18);
  color: rgba(43, 33, 24, .52);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
}

@media (max-width: 700px) {
  .homegrid-site-footer {
    margin-top: 0;
    padding: 32px 20px max(132px, calc(92px + env(safe-area-inset-bottom)));
  }

  .homegrid-footer-brand {
    margin-bottom: 24px;
  }

  .homegrid-footer-brand img {
    width: min(224px, 72vw);
  }

  .homegrid-footer-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .homegrid-footer-nav summary,
  .homegrid-footer-about summary {
    font-size: 13px;
  }

  .homegrid-footer-nav a {
    min-height: 42px;
    font-size: 15px;
  }

  .homegrid-footer-copy {
    margin-top: 24px;
    font-size: 11.5px;
  }
}
