:root {
  --bg: oklch(0.997 0.0025 85);
  --surface: oklch(0.965 0.006 85);
  --tint: oklch(0.955 0.045 85);
  --ink: oklch(0.16 0.005 85);
  --ink-muted: oklch(0.46 0.007 85);
  --gold: oklch(0.80 0.155 85);
  --gold-deep: oklch(0.45 0.13 75);
  --line: oklch(0.91 0.006 85);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
}

::selection { background: var(--gold); color: var(--ink); }

*:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.display {
  font-variation-settings: "opsz" 96, "wght" 700;
  letter-spacing: -0.035em;
}

.phone-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}
.phone-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.phone-number-link {
  display: block;
  text-decoration: none;
  margin-bottom: 28px;
  transition: opacity 200ms ease-out;
}
.phone-number-link:hover { opacity: 0.85; }
.phone-number {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-variation-settings: "opsz" 96, "wght" 700;
  letter-spacing: -0.035em;
  font-size: 40px;
  line-height: 1;
  color: var(--bg);
  display: block;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) {
  .phone-number { font-size: 48px; }
}
@media (min-width: 768px) {
  .phone-card { padding: 40px 30px; }
  .phone-number { font-size: 52px; }
}
@media (min-width: 1024px) {
  .phone-card { padding: 56px 40px; border-radius: 28px; }
  .phone-number { font-size: 68px; }
}
.phone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  transition: background 200ms ease-out;
}
.phone-cta:hover { background: oklch(0.85 0.16 85); }
.phone-cta:hover .arrow { transform: translateX(2px); }

.caller {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 8px 24px 8px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.caller-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}
.caller-text {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

.brand-logo {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-variation-settings: "opsz" 96, "wght" 800;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.035em;
}
.display-light {
  font-variation-settings: "opsz" 96, "wght" 600;
  letter-spacing: -0.03em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 200ms ease-out, color 200ms ease-out, transform 200ms cubic-bezier(0.16,1,0.3,1);
  line-height: 1;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: oklch(0.85 0.16 85); }
.btn-gold:hover .arrow { transform: translateX(2px); }

.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: oklch(0.28 0.01 85); }
.btn-ink:hover .arrow { transform: translateX(2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.arrow { transition: transform 200ms cubic-bezier(0.16,1,0.3,1); }

.nav-link {
  position: relative;
  transition: color 180ms ease-out;
}
.nav-link:hover { color: var(--gold-deep); }

.cat-card {
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 280ms cubic-bezier(0.16,1,0.3,1), border-color 280ms ease-out, box-shadow 280ms ease-out;
}
.cat-card:hover {
  border-color: oklch(0.84 0.05 85);
  box-shadow: 0 12px 32px oklch(0.16 0.005 85 / 0.06);
}
.cat-card img { transition: transform 700ms cubic-bezier(0.16,1,0.3,1); }
.cat-card:hover img { transform: scale(1.04); }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out, backdrop-filter 220ms ease-out;
}
.site-header.scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 oklch(0.16 0.005 85 / 0.04);
  backdrop-filter: saturate(140%);
}

.mobile-menu-panel {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 30;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: panelDown 280ms cubic-bezier(0.16,1,0.3,1);
}
@keyframes panelDown {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-variation-settings: "opsz" 96, "wght" 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease-out;
}
.mobile-nav a:hover { color: var(--gold-deep); }
.mobile-nav a::after {
  content: "→";
  color: var(--ink-muted);
  font-size: 18px;
  transition: transform 200ms cubic-bezier(0.16,1,0.3,1);
}
.mobile-nav a:hover::after { transform: translateX(4px); }

.mobile-cta-wrap {
  margin-top: auto;
  padding-top: 32px;
}
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 18px 28px;
  font-size: 17px;
  font-weight: 700;
  transition: background 200ms ease-out;
}
.mobile-cta:hover { background: oklch(0.85 0.16 85); }
.mobile-hours {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-muted);
}

html:has(#mobile-menu[open]) { overflow: hidden; }
@media (min-width: 1024px) {
  html:has(#mobile-menu[open]) { overflow: auto; }
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-tag {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-variation-settings: "opsz" 96, "wght" 700;
  letter-spacing: -0.025em;
  color: var(--gold-deep);
  font-size: 18px;
  line-height: 1.1;
  width: 88px;
  flex-shrink: 0;
  tab-size: 4;
}
.trust-text { flex: 1; }
.trust-head {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.trust-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .trust-item { gap: 28px; padding: 22px 0; }
  .trust-tag { width: 110px; font-size: 22px; }
  .trust-head { font-size: 18px; }
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 1040px;
    column-gap: 56px;
  }
  .trust-item { padding: 26px 0; gap: 24px; }
  .trust-tag { width: 96px; font-size: 22px; }
}
@media (min-width: 1024px) {
  .trust-grid { column-gap: 72px; }
  .trust-item { padding: 30px 0; }
  .trust-tag { width: 110px; font-size: 26px; }
  .trust-head { font-size: 19px; }
}

.spec-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 200ms ease-out, transform 200ms cubic-bezier(0.16,1,0.3,1);
}
.spec-card:hover {
  border-color: oklch(0.84 0.05 85);
}
@media (min-width: 768px) {
  .spec-card { padding: 20px 22px; }
}
@media (min-width: 1024px) {
  .spec-card { padding: 22px 24px; }
}

.calc-ours-card {
  background: linear-gradient(135deg, oklch(0.96 0.05 85) 0%, oklch(0.92 0.07 85) 100%);
}

.karat-pill {
  padding: 16px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  transition: background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, transform 180ms cubic-bezier(0.16,1,0.3,1);
}
.karat-pill:hover { border-color: var(--ink); }
.karat-pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.menu-bar {
  transition: transform 200ms cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}
details[open] .menu-bar:nth-child(1) { transform: translateY(3px) rotate(45deg); }
details[open] .menu-bar:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none; animation: none; }
}
