/* C&X Ironmongery preview. Concrete grey, charcoal frames, sign red. See DESIGN.md. */

@font-face {
  font-family: "Schibsted";
  src: url("/fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  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: "Schibsted";
  src: url("/fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "RH Mono";
  src: url("/fonts/redhat-mono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #E7E8E7;
  --bg-2: #DCDDDC;
  --surface: #F7F7F6;
  --ink: #1C1F22;
  --ink-2: #43484D;
  --ink-3: #5A5F65;
  --char: #23272B;
  --char-2: #30353A;
  --on-char: #EEF0F0;
  --on-char-2: #B9BEC2;
  --red: #C21F2D;
  --red-hover: #A51A26;
  --red-wash: #F4DADC;
  --line: rgba(28, 31, 34, 0.12);
  --line-2: rgba(28, 31, 34, 0.2);
  --shadow: rgba(35, 39, 43, 0.16);
  --wood-1: #D8B98C;
  --wood-2: #C9A472;
  --wood-3: #B88F5D;
  --error: #B42318;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-shell: 28px;
  --r-core: 22px;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 152px);
  --z-nav: 20;
  --z-menu: 30;
  --z-badge: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Schibsted", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: "RH Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: 0.01em; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- double bezel ---------- */
.shell {
  margin: 0;
  padding: 6px;
  border-radius: var(--r-shell);
  background: rgba(28, 31, 34, 0.05);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -38px var(--shadow);
}
.shell > .core {
  display: block;
  overflow: hidden;
  border-radius: var(--r-core);
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.shell > .core > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.25s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__ic { transform: translate(2px, -1px) scale(1.05); }
.btn--red { background: var(--red); color: #fff; }
.btn--red .btn__ic { background: rgba(255, 255, 255, 0.16); }
.btn--red:hover { background: var(--red-hover); }
.btn--ink { background: var(--char); color: var(--on-char); }
.btn--ink .btn__ic { background: rgba(255, 255, 255, 0.1); }
.btn--ink:hover { background: #121416; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost .btn__ic { background: rgba(28, 31, 34, 0.07); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- wordmark (their sign: outlined red C and X, black ampersand) ---------- */
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark__cx { display: inline-flex; align-items: baseline; font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.mark__o { color: transparent; -webkit-text-stroke: 2px var(--red); paint-order: stroke; }
.mark__amp { font-size: 0.62em; margin: 0 1px; color: var(--on-char); }
.mark__word { font-size: 12.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-char); }

/* ---------- nav: floating charcoal pill ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-nav); padding: 0 12px; pointer-events: none; }
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1120px;
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(35, 39, 43, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px -24px rgba(20, 22, 24, 0.5);
  color: var(--on-char);
}
.nav__home { text-decoration: none; margin-right: auto; }
.nav__links { display: none; gap: 4px; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 550; color: var(--on-char-2); transition: color 0.3s var(--ease), background-color 0.3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav .status { display: none; color: var(--on-char-2); }
.nav__cta { display: none; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 650; font-size: 15px; text-decoration: none; transition: background-color 0.3s var(--ease); }
.nav__cta:hover { background: var(--red-hover); }
.nav__burger { position: relative; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
.nav__burger span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.5s var(--ease); }
.nav__burger span:first-child { top: 20px; }
.nav__burger span:last-child { top: 27px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}
@media (min-width: 1180px) { .nav .status { display: inline-flex; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--pad) 40px;
  background: rgba(231, 232, 231, 0.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.menu[hidden] { display: none; }
.menu-open .menu { opacity: 1; }
.menu-open .nav { z-index: 35; }
.menu ul { display: grid; gap: 4px; }
.menu li { overflow: hidden; }
.menu li a { display: block; padding: 6px 0; font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; text-decoration: none; transform: translateY(110%); 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-open .menu li:nth-child(5) a { transition-delay: 0.2s; }
.menu__foot { display: grid; gap: 16px; justify-items: start; margin-top: 40px; }
.menu__addr { color: var(--ink-2); }
.menu-open { overflow: hidden; }

/* ---------- live status ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; white-space: nowrap; }
.status__light { width: 9px; height: 9px; border-radius: 50%; background: #8A9096; }
.status.is-open .status__light { background: #2F9E5B; box-shadow: 0 0 0 4px rgba(47, 158, 91, 0.18); }
.status--big { margin-top: 20px; padding: 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); }

/* ---------- headline lines (masked rise) ---------- */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line__in { display: block; }
.js [data-hero-fade] { opacity: 0; transform: translateY(24px); }
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ---------- hero ---------- */
.hero { padding: 128px 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; gap: 36px; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 0.96; letter-spacing: -0.045em; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__sub { max-width: 40ch; margin-top: 26px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__pic .core { aspect-ratio: 1160 / 976; }
@media (min-width: 1024px) {
  .hero { padding-top: 132px; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 56px; }
  .hero__pic { rotate: 1.5deg; }
}

/* ---------- marquee band ---------- */
.band { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); }
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band__run { display: flex; align-items: center; }
.band__run span { padding: 0 26px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; }
.band__run i { width: 10px; height: 10px; border-radius: 2px; background: var(--red); rotate: 45deg; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- signature: the cut ---------- */
.cut { position: relative; }
.cut__pin { display: flex; align-items: center; min-height: 100dvh; padding: 110px 0 60px; }
.cut__grid { display: grid; gap: 40px; align-items: center; }
.cut__copy h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.cut__copy > p:not(.cut__read) { max-width: 40ch; margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; }
.cut__read { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 26px; padding: 9px 16px; border-radius: 999px; background: var(--char); color: var(--on-char); font-size: 14px; min-width: 260px; }
.cut__read::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); rotate: 45deg; flex: none; }
.cut__stage { position: relative; aspect-ratio: 5 / 4.4; border-radius: var(--r-shell); padding: 6px; background: rgba(28, 31, 34, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.cut__stage::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: var(--r-core);
  background:
    radial-gradient(circle at 1px 1px, rgba(28, 31, 34, 0.12) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--surface);
}
.cut__ruler {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 7%;
  height: 26px;
  border-radius: 6px;
}
.cut__ruler {
  background:
    repeating-linear-gradient(90deg, rgba(28, 31, 34, 0.85) 0 1.5px, transparent 1.5px 10%) 0 0 / 100% 70% no-repeat,
    repeating-linear-gradient(90deg, rgba(28, 31, 34, 0.6) 0 1px, transparent 1px 2%) 0 0 / 100% 38% no-repeat,
    #ECEDEC;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.cut__mark { position: absolute; top: -8px; left: 68%; width: 2px; height: 42px; background: var(--red); }
.cut__mark::after { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 12px; border-radius: 3px; background: var(--red); rotate: 45deg; }
.cut__bench { position: absolute; left: 8%; right: 8%; top: 20%; height: 50%; }
.board, .glass { position: absolute; inset: 0; }
.board__keep, .board__off, .glass__keep, .glass__off { position: absolute; top: 0; bottom: 0; }
.board__keep { left: 0; width: 68%; border-radius: 10px 0 0 10px; }
.board__off { right: 0; width: 32%; border-radius: 0 10px 10px 0; }
.board__keep, .board__off, .pile__strip {
  background:
    repeating-linear-gradient(4deg, rgba(120, 80, 40, 0.13) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(-2deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 27px),
    linear-gradient(180deg, var(--wood-1), var(--wood-2));
  box-shadow: inset 0 0 0 1px rgba(120, 80, 40, 0.28), 0 18px 30px -20px rgba(70, 45, 20, 0.6);
}
.board__line { position: absolute; top: -4%; bottom: -4%; left: 68%; width: 3px; margin-left: -1.5px; transform-origin: top; background: repeating-linear-gradient(180deg, var(--red) 0 10px, transparent 10px 16px); }
.board__blade {
  position: absolute;
  left: 68%;
  top: -4%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  border: 4px dotted #7E868D;
  background:
    radial-gradient(circle, var(--char) 0 5px, #C9CDD0 5.5px 13px, transparent 13.5px),
    repeating-conic-gradient(#AEB4B9 0 10deg, #D6DADD 10deg 20deg);
  box-shadow: 0 0 0 1px rgba(28, 31, 34, 0.25), 0 8px 16px -8px var(--shadow);
}
.board__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--char);
  color: var(--on-char);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
}
.glass { opacity: 0; }
.glass__keep, .glass__off {
  left: 0;
  right: 0;
  background: linear-gradient(130deg, rgba(186, 214, 220, 0.72), rgba(234, 244, 246, 0.55) 45%, rgba(186, 214, 220, 0.7));
  box-shadow: inset 0 0 0 1.5px rgba(110, 150, 160, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 30px -22px rgba(40, 70, 80, 0.5);
}
.glass__keep { top: 0; bottom: auto; height: 62%; border-radius: 10px 10px 0 0; }
.glass__off { top: 62%; bottom: 0; border-radius: 0 0 10px 10px; }
.glass__keep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.65) 38%, transparent 46%); }
.glass__line { position: absolute; left: -3%; right: -3%; top: 62%; height: 2px; margin-top: -1px; transform-origin: left; background: var(--red); }
.glass__wheel { position: absolute; left: -3%; top: 62%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle, var(--char) 0 3px, #D6DADD 3.5px 8px, var(--char) 8.5px); }
.pile { position: absolute; right: 8%; bottom: 7%; width: 34%; height: 18%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.pile__strip { display: block; height: 12px; border-radius: 4px; }
.pile__strip:nth-child(3) { width: 86%; margin-left: 8%; }
.pile__strip:nth-child(4) { width: 94%; }
.pile__strip--new { transform-origin: bottom; }
.pile__label { position: absolute; right: calc(100% + 14px); bottom: -4px; font-size: 13px; font-weight: 650; color: var(--red); white-space: nowrap; }
@media (min-width: 1024px) {
  .cut__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
}
@media (max-width: 1023px) {
  .cut__pin { min-height: 0; padding: var(--section) 0; }
}

/* ---------- jobs bento ---------- */
.jobs { padding: var(--section) 0; }
.jobs__title { margin-bottom: 44px; max-width: 14ch; }
.bento { display: grid; gap: 14px; }
.cell { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 30px; border-radius: var(--r-shell); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cell p { color: var(--ink-2); max-width: 34ch; }
.cell__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: auto; border-radius: 999px; background: var(--red-wash); color: var(--red); font-size: 22px; }
.cell h3 { margin-top: 28px; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.cell--hire { background: var(--char); color: var(--on-char); box-shadow: none; }
.cell--hire p { color: var(--on-char-2); }
.cell--hire .cell__ic { background: var(--red); color: #fff; }
.hire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hire li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-weight: 600; font-size: 15px; }
.cell--paint { background: linear-gradient(160deg, #F7F7F6 30%, #F3DFE0); }
.swatches { position: absolute; right: 26px; top: 26px; display: flex; }
.swatches i { width: 34px; height: 56px; margin-left: -10px; border-radius: 8px; box-shadow: 0 0 0 3px var(--surface); }
.swatches i:nth-child(1) { background: #EDE6D8; }
.swatches i:nth-child(2) { background: #B9C9C4; }
.swatches i:nth-child(3) { background: #6E8597; }
.swatches i:nth-child(4) { background: #D9A441; }
.swatches i:nth-child(5) { background: var(--red); }
.cell--repair { background: radial-gradient(circle at 1px 1px, rgba(28, 31, 34, 0.1) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--surface); }
.cell--logs {
  background:
    repeating-linear-gradient(4deg, rgba(120, 80, 40, 0.12) 0 2px, transparent 2px 15px),
    linear-gradient(180deg, var(--wood-1), var(--wood-2));
  box-shadow: none;
}
.cell--logs p, .cell--logs h3 { color: #2A1E12; }
.cell--logs .cell__ic { background: rgba(255, 255, 255, 0.5); color: #5A3A1A; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell--hire { grid-row: span 2; }
  .cell--paint { grid-column: span 2; }
}

/* ---------- shopfront ---------- */
.front { padding-bottom: var(--section); }
.front__pic .core { aspect-ratio: 16 / 9; }
.front__pic .core img { object-position: 50% 62%; }
.front__txt { display: grid; gap: 18px; justify-items: start; max-width: 640px; margin-top: 40px; }
.front__txt p { color: var(--ink-2); font-size: 1.08rem; }
@media (min-width: 1024px) {
  .front__txt { margin: -120px 0 0 auto; position: relative; padding: 36px; border-radius: var(--r-shell); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px var(--shadow); max-width: 520px; margin-right: 48px; }
}

/* ---------- hours ---------- */
.hours { padding: var(--section) 0; background: var(--bg-2); }
.hours__grid { display: grid; gap: 40px; }
.eyebrow { margin-bottom: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.week { display: grid; gap: 8px; }
.day { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease); }
.day__name { font-weight: 750; text-decoration: none; }
.day__open, .day__close { min-width: 48px; text-align: right; font-weight: 550; color: var(--ink-2); }
.day__close:not(:empty)::before { content: "to "; color: var(--ink-3); font-weight: 450; }
.day--closed { background: transparent; }
.day--closed .day__open { color: var(--ink-3); }
.day.is-today { background: var(--char); color: var(--on-char); box-shadow: none; }
.day.is-today .day__open, .day.is-today .day__close { color: var(--on-char); }
.day.is-today .day__close::before { color: var(--on-char-2); }
.day.is-today .day__name::after { content: "Today"; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
@media (min-width: 1024px) {
  .hours__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
}

/* ---------- closing CTA ---------- */
.ask-cta { padding: var(--section) 0; }
.ask-cta__box {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: clamp(36px, 6vw, 80px);
  border-radius: 36px;
  background: var(--char);
  color: var(--on-char);
}
.ask-cta__box::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid var(--red); opacity: 0.9; }
.ask-cta__box h2 { position: relative; z-index: 1; max-width: 14ch; }
.ask-cta__box p { position: relative; z-index: 1; max-width: 42ch; color: var(--on-char-2); font-size: 1.1rem; }
.ask-cta__box .btn { position: relative; z-index: 1; margin-top: 10px; }

/* ---------- inner page hero ---------- */
.page-hero { padding: 150px 0 clamp(40px, 6vw, 72px); }
.page-hero__title { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -0.045em; line-height: 0.98; max-width: 16ch; }
.page-hero__sub { max-width: 44ch; margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); }

/* ---------- stock ---------- */
.cats { padding-bottom: var(--section); }
.cats__grid { display: grid; gap: 14px; }
.cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 28px; border-radius: var(--r-shell); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 100px; }
.cat__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: auto; border-radius: 999px; background: var(--red-wash); color: var(--red); font-size: 21px; }
.cat h3 { margin-top: 24px; }
.cat p { color: var(--ink-2); font-size: 15.5px; }
.cat--paint { background: var(--red); color: #fff; box-shadow: none; }
.cat--paint h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.cat--paint p { color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; max-width: 32ch; }
.cat--paint .cat__ic { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cat--wood { background: repeating-linear-gradient(4deg, rgba(120, 80, 40, 0.12) 0 2px, transparent 2px 15px), linear-gradient(180deg, var(--wood-1), var(--wood-2)); box-shadow: none; }
.cat--wood p, .cat--wood h3 { color: #2A1E12; }
.cat--wood .cat__ic { background: rgba(255, 255, 255, 0.5); color: #5A3A1A; }
.cat--photo { padding: 0; min-height: 300px; background: var(--char); }
.cat--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.cat--photo:hover img { transform: scale(1.04); }
.cat__over { position: relative; margin-top: auto; padding: 60px 28px 26px; background: linear-gradient(180deg, transparent, rgba(20, 22, 24, 0.86)); color: #fff; }
.cat__over p { color: rgba(255, 255, 255, 0.85); }
@media (min-width: 768px) {
  .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat--paint { grid-column: span 2; }
  .cat--photo { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat--paint { grid-column: span 2; grid-row: span 2; }
  .cat--photo { grid-column: span 2; }
}

.posts { padding: var(--section) 0; background: var(--bg-2); }
.posts h2 { margin-bottom: 44px; }
.posts__grid { display: grid; gap: 18px; }
.post .core { display: grid; height: 100%; }
.post__pic { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; }
.post__pic img { width: 72%; height: auto; max-height: 92%; object-fit: contain; }
.post__pic--small img { width: auto; max-width: 223px; }
.post__txt { display: grid; gap: 10px; align-content: start; padding: 26px 28px 30px; }
.post__txt p { color: var(--ink-2); }
.post__price { font-size: 15px; }
.post__price .num { margin-right: 6px; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--red); vertical-align: -3px; }
.post__list { display: grid; gap: 10px; }
.post__list li { padding-left: 18px; position: relative; color: var(--ink-2); }
.post__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; rotate: 45deg; background: var(--red); }
.post__list strong { color: var(--ink); font-weight: 700; }
.post__ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 650; color: var(--red); text-decoration: none; }
.post__ask .icon { transition: transform 0.4s var(--ease); }
.post__ask:hover .icon { transform: translateX(4px); }
.sigma { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 1.4px) 0 0 / 20px 20px, var(--char); min-height: 240px; }
.sigma__tub { display: grid; place-items: center; align-content: center; width: 46%; aspect-ratio: 1 / 0.9; border-radius: 10px 10px 22px 22px; background: linear-gradient(180deg, #fff, #E9ECEF); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.6); color: var(--ink); max-width: 200px; }
.sigma__tub b { color: var(--red); }
.sigma__tub b { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.9; }
.sigma__tub i { font-style: normal; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 12px; }
@media (min-width: 900px) {
  .posts__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .post--heater { grid-column: span 5; }
  .post--sigma { grid-column: span 7; }
  .post--sigma .core { grid-template-columns: 1fr 1fr; }
  .post--sigma .sigma { aspect-ratio: auto; height: 100%; }
  .post--roof { grid-column: 4 / span 6; }
  .post--roof .core { grid-template-columns: 1fr 1fr; align-items: center; }
  .post--roof .post__pic { height: 100%; aspect-ratio: auto; min-height: 260px; }
}

.brands { padding: var(--section) 0 0; }
.brands__grid { display: grid; gap: 28px; }
.brands__list { display: flex; flex-wrap: wrap; gap: 10px; }
.brands__list li { padding: 14px 24px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 750; letter-spacing: -0.02em; }
.brands__note { color: var(--ink-3); }

/* ---------- about ---------- */
.about-pic .core { aspect-ratio: 16 / 9; }
.about-pic .core img { object-position: 50% 40%; }
.signs { padding: var(--section) 0; }
.signs__grid { display: grid; gap: 44px; }
.signs__head p { max-width: 36ch; margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; }
.signs__list { display: grid; gap: 12px; counter-reset: sign; }
.signs__list li { position: relative; padding: 24px 26px 24px 76px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.signs__list li::before { counter-increment: sign; content: counter(sign); position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--char); color: #fff; font-weight: 750; font-size: 15px; }
.signs__list li:first-child { background: var(--char); color: var(--on-char); box-shadow: none; }
.signs__list li:first-child::before { background: var(--red); }
.signs__list li:first-child p { color: var(--on-char-2); }
.signs__list p { margin-top: 6px; color: var(--ink-2); }
@media (min-width: 900px) {
  .signs__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .signs__head { position: sticky; top: 120px; align-self: start; }
  .signs__list { grid-template-columns: 1fr 1fr; }
  .signs__list li:first-child, .signs__list li:last-child { grid-column: span 2; }
}
.corner { padding-bottom: var(--section); }
.corner__grid { display: grid; gap: 40px; }
.corner__pic .core { aspect-ratio: 4 / 3; }
.corner__txt { display: grid; gap: 18px; align-content: center; }
.corner__txt > p { color: var(--ink-2); font-size: 1.08rem; max-width: 40ch; }
@media (min-width: 900px) {
  .corner__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
  .corner__pic { rotate: -1.5deg; }
}

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(48px, 6vw, 80px); }
.contact__grid { display: grid; gap: 14px; }
.cc { display: block; text-decoration: none; transition: transform 0.5s var(--ease); }
.cc:hover { transform: translateY(-4px); }
.cc .core { display: grid; gap: 8px; align-content: start; height: 100%; min-height: 210px; padding: 28px; }
.cc__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 999px; background: var(--red-wash); color: var(--red); font-size: 21px; }
.cc__k { font-size: 14px; font-weight: 650; color: var(--ink-3); }
.cc__v { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; }
.cc__v--small { font-size: 1.05rem; overflow-wrap: anywhere; }
.cc__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--red); font-weight: 650; font-size: 15px; }
.cc--call .core { background: var(--red); color: #fff; }
.cc--call .cc__k { color: rgba(255, 255, 255, 0.85); }
.cc--call .cc__v { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.cc--call .cc__ic { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (min-width: 768px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .contact__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.where { padding-bottom: var(--section); }
.where__grid { display: grid; gap: 40px; }
.where__map .core { aspect-ratio: 4 / 3; }
.where__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.7) contrast(1.03); }
.where__hours h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.where__hours .week { margin-top: 24px; }
.where__note { margin-top: 16px; color: var(--ink-3); font-size: 15px; }
@media (min-width: 1024px) { .where__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }

/* ---------- ask form ---------- */
.ask { padding-bottom: var(--section); }
.ask__grid { display: grid; gap: 32px; align-items: start; }
.ask__form .core, .done .core { padding: clamp(24px, 4vw, 44px); }
.fs { margin: 0 0 34px; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); display: grid; gap: 22px; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 18px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field__label { font-weight: 650; font-size: 15.5px; }
.field__help { font-size: 14.5px; color: var(--ink-3); }
.field__err { font-size: 14.5px; font-weight: 600; color: var(--error); }
.field__err:empty { display: none; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .qty input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  font: inherit;
  color: var(--ink);
  transition: box-shadow 0.3s var(--ease);
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1F22' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center / 12px; padding-right: 44px; }
.field input:focus, .field select:focus, .qty input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field.has-error input, .field.has-error select { box-shadow: inset 0 0 0 2px var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span { background: var(--char); color: #fff; box-shadow: none; }
.chip input:focus-visible + span, .seg__opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.has-error .chip span, .has-error .seg__opt span { box-shadow: inset 0 0 0 1.5px var(--error); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); justify-self: start; }
.seg__opt span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.seg__opt input:checked + span { background: var(--red); color: #fff; }
.qty { display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
.qty input { width: 76px; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 999px; background: rgba(28, 31, 34, 0.07); color: var(--ink); font-size: 18px; cursor: pointer; transition: background-color 0.3s var(--ease); }
.qty__btn:hover { background: rgba(28, 31, 34, 0.14); }
.ask__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ask__summary { font-weight: 650; color: var(--error); }
.ask__side { display: grid; gap: 14px; padding: 30px; border-radius: var(--r-shell); background: var(--char); color: var(--on-char); }
.ask__side h2 { font-size: 1.7rem; }
.ask__side p { color: var(--on-char-2); }
.ask__side a { color: #fff; font-weight: 700; }
.ask__addr { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.done:focus { outline: none; }
.done[hidden] { display: none; }
.done h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 18px 0 12px; }
.done > .core > p:not(.done__stamp) { color: var(--ink-2); }
.done__stamp { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 14.5px; }
.done__list { display: grid; gap: 0; margin: 26px 0 30px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.done__list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 20px; }
.done__list div + div { border-top: 1px solid var(--line); }
.done__list dt { color: var(--ink-3); font-weight: 600; font-size: 15px; }
.done__list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.done__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) {
  .ask__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; }
  .ask__side { position: sticky; top: 110px; grid-column: 2; grid-row: 1; }
  .ask__form, .done { grid-column: 1; grid-row: 1; }
}

/* ---------- 404 ---------- */
.nf { padding: 160px 0 var(--section); }
.nf__code { font-size: clamp(5rem, 16vw, 12rem); font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; color: transparent; -webkit-text-stroke: 3px var(--red); margin-bottom: 18px; }
.nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- footer ---------- */
.foot { padding: clamp(64px, 8vw, 110px) 0 120px; background: var(--char); color: var(--on-char); border-radius: 40px 40px 0 0; }
.foot__top { display: grid; gap: 20px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.foot__mark { display: flex; align-items: baseline; font-size: clamp(5rem, 15vw, 11rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.05em; }
.foot__o { color: transparent; -webkit-text-stroke: clamp(3px, 0.45vw, 6px) var(--red); }
.foot__amp { font-size: 0.5em; margin: 0 0.04em; }
.foot__line { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--on-char-2); }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 44px 0; }
.foot h3 { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-char-2); }
.foot p { line-height: 1.8; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__base { font-size: 14px; color: var(--on-char-2); }
@media (min-width: 900px) {
  .foot__top { grid-template-columns: auto 1fr; gap: 48px; }
  .foot__cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 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: rgba(247, 247, 246, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 30px -14px var(--shadow);
  color: var(--ink-2);
  font-size: 12.5px;
}
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 650; }
.badge__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 999px; background: rgba(28, 31, 34, 0.08); color: var(--ink); cursor: pointer; }
.badge__close svg { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .band__track { animation: none; }
  .hero__pic, .corner__pic { rotate: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__pill { background: var(--char); }
  .menu, .badge { background: var(--surface); }
}
.done, .ask__form { scroll-margin-top: 100px; }
.front__txt h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
@media (min-width: 1024px) { .cut + .jobs { padding-top: 48px; } }
@media (max-width: 479px) {
  .seg { display: grid; justify-self: stretch; border-radius: 24px; }
  .seg__opt span { text-align: center; }
}
