/* Ruby Hardware Store: design preview by Elevate Ads.
   One theme (light), one accent (sign yellow), one family (Archivo, width axis for display).
   Radius rule: pills for buttons, nav and chips; 28px shells around 22px cores; 12px drawers; 14px inputs. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F2F3F1;
  --surface: #FBFBFA;
  --ink: #18264A;
  --ink-2: #434E68;
  --ink-3: #5B667D;
  --line: rgba(24, 38, 74, 0.12);
  --line-strong: rgba(24, 38, 74, 0.22);
  --tint: rgba(24, 38, 74, 0.05);
  --tint-2: rgba(24, 38, 74, 0.08);
  --yellow: #F5B21E;
  --yellow-hover: #FFC13A;
  --yellow-wash: rgba(245, 178, 30, 0.18);
  --steel: #D7DBE1;
  --steel-2: #BCC2CB;
  --steel-3: #9AA2AE;
  --recess: #222D48;
  --on-ink: #F2F3F1;
  --on-ink-2: rgba(242, 243, 241, 0.74);
  --error: #B42318;
  --ok: #1E7A4C;
  --shadow: rgba(24, 38, 74, 0.28);
  --glass: rgba(251, 251, 250, 0.78);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 11vw, 160px);
  --max: 1320px;
  --z-nav: 20;
  --z-menu: 30;
  --z-badge: 40;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
p { margin: 0; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: lining-nums tabular-nums; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-ink); text-decoration: none; }
.skip:focus { top: 16px; }

/* reveal: JS sets the start state only when GSAP runs */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js .line__in { display: inline-block; transform: translateY(110%); }
html.js [data-hero-fade] { opacity: 0; transform: translateY(24px); }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- wordmark (their sign, set in type) ---------- */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.mark__name { font-weight: 900; font-stretch: 112%; font-size: 22px; letter-spacing: -0.02em; }
.mark__sub { display: flex; flex-direction: column; font-weight: 700; font-stretch: 100%; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: transform 0.5s var(--ease);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.05); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-hover); }
.btn--yellow .btn__icon { background: var(--ink); color: var(--yellow); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: #22325C; }
.btn--ink .btn__icon { background: rgba(242, 243, 241, 0.12); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { background: var(--tint); }
.btn--ghost .btn__icon { background: var(--tint-2); }
.on-ink .btn--ghost { color: var(--on-ink); box-shadow: inset 0 0 0 1px rgba(242, 243, 241, 0.3); }
.on-ink .btn--ghost:hover { background: rgba(242, 243, 241, 0.08); }
.on-ink .btn--ghost .btn__icon { background: rgba(242, 243, 241, 0.12); }

/* ---------- double bezel ---------- */
.shell {
  padding: 6px;
  border-radius: 28px;
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
}
.core {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.core > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1040px;
  height: 64px;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav.is-scrolled, .nav--solid {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -24px var(--shadow);
}
.nav__links { display: none; margin: 0 auto; padding: 0; list-style: none; gap: 4px; }
.nav__links a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--tint-2); }
.nav__cta { display: none; }
.nav__menu-btn {
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  cursor: pointer;
}
.nav__menu-btn span {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--on-ink);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__menu-btn span:nth-child(1) { top: 20px; }
.nav__menu-btn span:nth-child(2) { top: 26px; }
.menu-open .nav__menu-btn span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .nav__menu-btn span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu-btn { display: none; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 10; /* under the nav pill (20) so the close button stays on top */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--gutter) 40px;
  background: rgba(242, 243, 241, 0.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.menu[hidden] { display: none; }
.menu-open .menu { opacity: 1; }
.menu ul { margin: 0; padding: 0; list-style: none; }
.menu li { overflow: hidden; }
.menu li a {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
}
.menu-open .menu li a { transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: 0.05s; }
.menu-open .menu li:nth-child(3) a { transition-delay: 0.1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: 0.15s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.nav-wrap { position: relative; z-index: calc(var(--z-menu) + 1); }

/* ---------- eyebrow (rationed: hero, drawers, contact) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); }

/* ---------- open-now chip (real state from their hours) ---------- */
.open-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 34px -20px var(--shadow);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
}
.open-chip__state {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint-2);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.open-chip[data-open="true"] .open-chip__state { background: var(--yellow); }

/* ---------- hero ---------- */
.hero { padding: 118px 0 72px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 7.4vw, 4.4rem); font-stretch: 108%; }
@media (min-width: 1100px) { .hero__title { font-size: clamp(3.4rem, 5.1vw, 4.6rem); } }
.hero__title em { font-style: normal; position: relative; white-space: nowrap; }
.hero__title em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.26em;
  z-index: -1;
  border-radius: 4px;
  background: var(--yellow);
  transform-origin: left;
}
html.js .hero__title em::after { transform: scaleX(0); }
.hero__title .line { isolation: isolate; }
.hero__sub { max-width: 34ch; margin-top: 26px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__pic { position: relative; }
.hero__pic .core { aspect-ratio: 1100 / 1203; }
.hero__pic .open-chip { position: absolute; left: -10px; bottom: 34px; }
.hero__photo { transform-origin: 50% 30%; }
@media (min-width: 1100px) {
  .hero { padding-top: 132px; }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 64px; }
  .hero__pic { max-width: 470px; justify-self: end; width: 100%; }
  .hero__pic .open-chip { left: -48px; }
}
@media (max-width: 1099px) {
  .hero__pic { max-width: 520px; }
  .hero__pic .open-chip { left: 14px; bottom: 14px; }
}

/* ---------- marquee (the one on the page) ---------- */
.ticker {
  overflow: hidden;
  padding: 18px 0;
  background: var(--yellow);
  color: var(--ink);
}
.ticker__track { display: flex; width: max-content; gap: 0; }
.ticker__group { display: flex; flex: none; align-items: center; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ticker__item::after { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 38s linear infinite; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- drawer wall (signature) ---------- */
.drawers { position: relative; padding: var(--section) 0; background: var(--paper); }
.drawers__pin { display: grid; gap: 48px; align-items: center; }
.drawers__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); max-width: 14ch; }
.drawers__text { max-width: 38ch; margin-top: 22px; font-size: 1.1rem; }
.drawers__count { margin-top: 30px; color: var(--ink); font-weight: 700; font-stretch: 112%; font-size: 1.05rem; }
.drawers__count b { display: inline-block; min-width: 1.4ch; font-size: 2.4rem; font-weight: 900; letter-spacing: -0.03em; vertical-align: -0.12em; }
.cabinet {
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, #8C95A3, #6F7888);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 40px 80px -40px var(--shadow);
}
.cabinet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) { .cabinet__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.drawer {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 12px;
  background: var(--recess);
  overflow: hidden;
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.5);
}
.drawer__inside {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 9%;
  gap: 4px;
}
.drawer__item { width: 46%; height: auto; color: #E4E7EC; }
.drawer__name {
  color: var(--yellow);
  font-weight: 700;
  font-stretch: 100%;
  font-size: clamp(11px, 1.05vw, 13.5px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.drawer__front {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #E3E6EA 0%, var(--steel) 55%, var(--steel-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  will-change: transform;
}
.drawer__label {
  width: 52%;
  height: 22%;
  border-radius: 4px;
  background: #F6F7F8;
  box-shadow: inset 0 0 0 1px rgba(24, 38, 74, 0.18);
  margin-top: -12%;
}
.drawer__handle {
  position: absolute;
  left: 50%;
  bottom: 16%;
  width: 34%;
  height: 9%;
  border-radius: 999px;
  background: var(--steel-3);
  transform: translateX(-50%);
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.25);
}
.drawer--open .drawer__front { transform: translateY(84%); }
.drawers__note { margin-top: 18px; color: var(--ink-3); font-size: 14.5px; }
@media (min-width: 1024px) {
  .drawers { padding: 0; }
  .drawers__pin { min-height: 100dvh; grid-template-columns: 5fr 7fr; gap: 72px; padding: 110px 0 60px; }
}
@media (max-width: 1023px) {
  .drawers__copy { max-width: 560px; }
}

/* ---------- what's in the shop (bento) ---------- */
.shop { padding: var(--section) 0; }
.shop__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); max-width: 16ch; }
.shop__lead { max-width: 52ch; margin-top: 20px; font-size: 1.1rem; }
.bento { display: grid; gap: 14px; margin-top: 56px; }
.tile { position: relative; min-height: 300px; }
.tile .core { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.tile .core > img { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.tile:hover .core > img { transform: scale(1.04); }
.tile__body { position: relative; padding: 26px; }
.tile--photo .tile__body {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(24, 38, 74, 0) 0%, rgba(24, 38, 74, 0.86) 70%);
  padding-top: 90px;
  color: var(--on-ink-2);
}
.tile--photo h3 { color: var(--on-ink); }
.tile h3 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); }
.tile p { margin-top: 8px; max-width: 34ch; }
.tile--yellow .core { background: var(--yellow); }
.tile--yellow p { color: var(--ink); }
.tile--ink .core { background: var(--ink); }
.tile--ink h3 { color: var(--on-ink); }
.tile--ink p { color: var(--on-ink-2); }
.tile__glyph { position: absolute; top: 24px; left: 26px; width: 48px; height: 48px; }
.tile--yellow .tile__glyph { color: var(--ink); }
.tile--ink .tile__glyph { color: var(--yellow); }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .tile { min-height: 0; }
  .tile--a { grid-column: span 7; grid-row: span 2; }
  .tile--b { grid-column: span 5; grid-row: span 2; }
  .tile--c { grid-column: span 4; }
  .tile--d { grid-column: span 4; }
  .tile--e { grid-column: span 4; }
}
@media (min-width: 1024px) {
  .tile--a { grid-column: span 5; grid-row: span 2; }
  .tile--b { grid-column: span 4; }
  .tile--c { grid-column: span 3; }
  .tile--d { grid-column: span 7; }
  .tile--e { grid-column: 1 / -1; }
}

/* ---------- hours ---------- */
.hours { padding: var(--section) 0; background: var(--surface); }
.hours__title { font-size: clamp(2.4rem, 5.4vw, 5rem); max-width: 15ch; }
.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 56px;
}
.day {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 18px 14px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  transition: transform 0.6s var(--ease);
}
.day__name { font-weight: 700; font-stretch: 100%; font-size: 15px; }
.day__time { font-weight: 800; font-stretch: 112%; font-size: clamp(1.05rem, 1.6vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; }
.day__time span { display: block; color: var(--ink-3); font-weight: 500; font-stretch: 100%; font-size: 13px; letter-spacing: 0; }
.day--today { background: var(--yellow); box-shadow: none; transform: translateY(-10px); }
.day--today .day__time span { color: var(--ink); }
.day__flag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hours__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 40px; }
@media (max-width: 767px) {
  .week { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .day { min-height: 0; flex-direction: row; align-items: center; padding: 16px 18px; border-radius: 16px; }
  .day__time { font-size: 1.1rem; }
  .day__time span { display: inline; margin-left: 6px; }
  .day--today { transform: none; }
}

/* ---------- reviews ---------- */
.voices { padding: var(--section) 0; }
.voices__grid { display: grid; gap: 48px; }
.score { display: flex; align-items: baseline; gap: 16px; color: var(--ink); }
.score__num { font-weight: 900; font-stretch: 112%; font-size: clamp(5rem, 11vw, 9rem); letter-spacing: -0.05em; line-height: 0.9; }
.stars { display: inline-flex; gap: 3px; color: var(--yellow); }
.stars .icon { width: 22px; height: 22px; }
.score__meta { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.voices__title { margin-top: 26px; font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 16ch; }
.quotes { display: grid; gap: 14px; }
.quote .core { padding: 30px 30px 26px; }
.quote blockquote { margin: 0; color: var(--ink); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) {
  .voices__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote--wide { grid-column: span 2; }
  .quote:nth-child(2) { transform: translateY(36px); }
}

/* ---------- delivery / final call ---------- */
.call { padding: 0 0 var(--section); }
.call__block {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 40px;
  padding: clamp(40px, 6vw, 88px);
  border-radius: 36px;
  background: var(--ink);
  color: var(--on-ink-2);
}
.call__block h2 { color: var(--on-ink); font-size: clamp(2.3rem, 5vw, 4.6rem); max-width: 13ch; }
.call__block h2 em { font-style: normal; color: var(--yellow); }
.call__text { max-width: 40ch; margin-top: 20px; font-size: 1.1rem; }
.call__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.call__truck { width: min(320px, 70%); color: var(--yellow); justify-self: end; align-self: end; opacity: 0.95; }
@media (min-width: 900px) { .call__block { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* ---------- page heads (about, contact, 404) ---------- */
.page-head { padding: 140px 0 64px; }
.page-head__title { font-size: clamp(2.8rem, 7.4vw, 6.6rem); font-stretch: 114%; max-width: 13ch; }
.page-head__sub { max-width: 44ch; margin-top: 24px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; }

/* ---------- about ---------- */
.about-pics { display: grid; gap: 14px; padding-bottom: var(--section); }
.about-pics .core { aspect-ratio: 4 / 3; }
.about-pics__tall .core { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .about-pics { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .about-pics__tall { grid-column: 1 / span 5; }
  .about-pics__wide { grid-column: 6 / span 7; margin-top: 120px; }
}
.ideas { padding: var(--section) 0; background: var(--surface); }
.ideas__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); max-width: 15ch; }
.ideas__list { display: grid; gap: 0; margin-top: 56px; counter-reset: idea; }
.idea { display: grid; gap: 12px; padding: 34px 0; border-top: 1px solid var(--line); }
.idea h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.idea p { max-width: 52ch; font-size: 1.06rem; }
.idea__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.idea__icon .icon { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .idea { grid-template-columns: 80px 5fr 6fr; gap: 32px; align-items: start; }
}
.find { padding: var(--section) 0; }
.find__grid { display: grid; gap: 40px; align-items: center; }
.find__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); max-width: 13ch; }
.find__addr { margin-top: 22px; color: var(--ink); font-size: 1.25rem; font-weight: 500; }
.find__text { max-width: 42ch; margin-top: 12px; }
.find__pic .core { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .find__grid { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* ---------- contact ---------- */
.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 7fr 5fr; gap: 40px; } }
.form .core { padding: clamp(24px, 4vw, 44px); }
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tabs button[aria-selected="true"] { background: var(--yellow); }
.tabs .icon { width: 18px; height: 18px; }
@media (max-width: 639px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tabs button { justify-content: center; padding: 10px 8px; font-size: 14px; }
  .tabs .icon { display: none; }
}
.form__title { margin-top: 30px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.form__intro { margin-top: 10px; max-width: 48ch; }
.fields { display: grid; gap: 20px; margin-top: 30px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink); font-weight: 600; font-size: 15px; }
.field label span { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font-size: 16px;
  transition: box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7489; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--yellow-wash); }
.field__help { color: var(--ink-3); font-size: 14px; }
.field__error { display: none; color: var(--error); font-size: 14px; font-weight: 500; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--error); }
.field.is-invalid .field__error { display: block; }
.qty { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-strong); width: max-content; }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-size: 20px; font-weight: 600; cursor: pointer; }
.qty output { min-width: 3ch; text-align: center; color: var(--ink); font-weight: 700; font-size: 18px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 30px; }
.form__fine { max-width: 34ch; color: var(--ink-3); font-size: 14px; }
.panel[hidden] { display: none; }
.sent { display: none; margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: var(--yellow-wash); color: var(--ink); }
.sent.is-shown { display: block; }
.preview-msg { margin-top: 8px; white-space: pre-wrap; font-size: 15px; color: var(--ink-2); }
.cards { display: grid; gap: 12px; }
.ccard .core { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.ccard__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.ccard__icon .icon { width: 22px; height: 22px; }
.ccard h3 { font-size: 1.25rem; font-stretch: 110%; }
.ccard p { margin-top: 4px; }
.ccard a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.foot { padding: 0 var(--gutter) 24px; }
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px) 28px;
  border-radius: 36px;
  background: var(--ink);
  color: var(--on-ink-2);
}
.foot__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot__line { max-width: 28ch; margin-top: 18px; }
.foot h3 { margin-bottom: 14px; color: var(--on-ink); font-size: 14px; font-weight: 700; font-stretch: 100%; letter-spacing: 0.12em; text-transform: uppercase; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; transition: color 0.3s var(--ease); }
.foot li a:hover { color: var(--yellow); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(242, 243, 241, 0.14); font-size: 14px; }

/* ---------- 404 ---------- */
.lost { min-height: 100dvh; display: grid; align-content: center; padding: 120px 0 80px; }

/* ---------- preview badge ---------- */
.badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: var(--z-badge);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 30px -14px var(--shadow);
  color: var(--ink-2);
  font-size: 13px;
}
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 600; }
.badge__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink); cursor: pointer; }
.badge__close .icon { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .menu li a { transform: none; }
}
