/* Yelbrands public face — header, hero, footer */
:root {
  --teal: #12343A;
  --amber: #C57119;
  --cream: #F3ECE1;
  --ink: #070D0E;
  --white: #FFFFFF;
  --muted-light: rgba(243, 236, 225, 0.7);
  --border: rgba(18, 52, 58, 0.12);
  --border-light: rgba(243, 236, 225, 0.15);
  --radius-pill: 999px;
  --max: 1280px;
  --header-h: 76px;
  --font-heading: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; font-family: var(--font-heading); }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

main {
  display: flex;
  flex-direction: column;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(243, 236, 225, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(243, 236, 225, 0.96);
  box-shadow: 0 6px 24px rgba(7, 13, 14, 0.06);
}
.site-header .header-bar {
  display: block;
  width: min(100% - 48px, var(--max));
}
.header-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.header-mobile { display: none; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
}
.brand-mark-only img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  font-family: var(--font-heading);
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--teal);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: var(--amber);
  background: rgba(197, 113, 25, 0.08);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.header-spacer { width: 44px; height: 44px; }

.btn {
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: rgba(18, 52, 58, 0.35);
}
.btn-ghost:hover {
  border-color: var(--teal);
  background: rgba(18, 52, 58, 0.04);
  color: var(--teal);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.nav a.btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 24px 28px 36px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu-close {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.mobile-menu-close:hover { background: rgba(18, 52, 58, 0.06); }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.mobile-menu-nav a {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  padding: 6px 0;
}
.mobile-menu-nav a:hover { color: var(--amber); }
.mobile-menu-nav .btn {
  align-self: flex-start;
  margin-top: 12px;
  font-size: 1rem;
}
body.menu-open { overflow: hidden; }

/* —— Desk tease (non-working) —— */
.desk-tease {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.desk-tease-clip { overflow: visible; }
.dk-search,
.dk-search input,
.dk-details,
.dk-details input,
.dk-details label,
.dk-go,
.dk-chips,
.dk-chip {
  pointer-events: none;
}
.desk-wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
  padding: 12px 0 16px;
}
.dk-search-row {
  display: grid;
  gap: 10px;
}
.dk-search-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dk-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px;
  border: 1px solid #e6e0d3;
  background: #fff;
  border-radius: 999px;
}
.dk-search-icon {
  flex: none;
  color: #7b7b7b;
  font-size: 19px;
  line-height: 1;
  transform: translateY(-1px);
}
.dk-search input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 15px;
  color: #12262b;
}
.dk-search input:focus { outline: none; }
.dk-search input::placeholder { color: #7b7b7b; }
.sh-hint {
  margin: 0;
  color: #5f6b6e;
  font-family: var(--font-heading);
  font-size: 12.5px;
}
.dk-details {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(130px, 1fr) minmax(160px, 1.3fr) minmax(90px, 0.8fr) auto;
  align-items: stretch;
  gap: 10px;
}
.dk-details label {
  display: grid;
  gap: 3px;
  padding: 8px 14px;
  border: 1px solid #e6e0d3;
  background: #fff;
  border-radius: 14px;
}
.dk-details label span {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f6b6e;
}
.dk-details input {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 15px;
  color: #12262b;
}
.dk-details input:focus { outline: none; }
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.sh-btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}
.sh-btn.ghost {
  color: #12262b;
  background: #fff;
  border-color: #12262b;
}
.sh-btn.amber {
  background: var(--amber);
  color: #fff;
}
.dk-go {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
}
.dk-go:disabled {
  opacity: 0.55;
}
.dk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid #e6e0d3;
  border-radius: 999px;
  background: #fff;
  color: #5f6b6e;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

.spec-line {
  margin: 18px auto 16px;
  padding: 0 24px;
  max-width: 40rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
}

.step-band {
  background: var(--teal);
  color: #fff;
  padding: 14px 0;
}
.dk-steps {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}
.dk-steps li { min-width: 0; }
.dk-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  pointer-events: none;
}
.dk-step.on {
  color: var(--teal);
  background: #fff;
}
.dk-step:not(.on) { opacity: 0.45; }
.dk-step-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}
.dk-step.on .dk-step-n {
  background: var(--amber);
  color: #fff;
}
.dk-step-label {
  display: grid;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.dk-step-label small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

.coming-soon {
  margin: 16px auto 18px;
  width: fit-content;
  padding: 10px 22px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--teal);
  background: var(--cream);
}

/* —— Footer —— */
.site-footer {
  background: var(--teal);
  color: var(--cream);
  padding: 56px 0 36px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px 40px;
  align-items: start;
  text-align: left;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand-col p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(243, 236, 225, 0.8);
  max-width: 22ch;
  line-height: 1.45;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer-col a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(243, 236, 225, 0.88);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-rule {
  margin-top: 36px;
  border-top: 1px solid var(--border-light);
}
.footer-copy {
  margin: 18px 0 0;
  font-size: 0.85rem;
  opacity: 0.55;
  text-align: left;
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container,
  .site-header .header-bar { width: min(100% - 32px, var(--max)); }
  .desk-wrap { width: calc(100% - 32px); padding: 8px 0 10px; }
  .dk-search-row { gap: 8px; }
  .dk-search { border-radius: 16px; padding: 2px 12px; }
  .dk-search-icon { display: none; }
  .dk-details {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dk-details label { padding: 6px 10px; }
  .dk-go { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .dk-steps { grid-template-columns: 1fr 1fr; }
  .dk-step { min-height: 0; gap: 8px; padding: 8px 10px; }
  .spec-line { margin: 12px auto 10px; font-size: 1rem; }
  .step-band { padding: 10px 0; }
  .coming-soon {
    margin: 14px auto 16px;
    padding: 8px 16px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }
  .header-desktop { display: none; }
  .header-mobile {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: var(--header-h);
  }
  .header-mobile .nav-toggle {
    display: flex;
    justify-self: start;
  }
  .header-mobile .brand-mark-only { justify-self: center; }
  .header-mobile .header-spacer { justify-self: end; }
  .site-footer { padding: 24px 0 16px; }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-rule { margin-top: 14px; }
  .footer-copy { margin: 10px 0 0; }
}
