/* Rainbow Ltd preview. Light only. The six arc colours come from their logo and live only in the
   rainbow (signature, trade tags, a thin rule); the working accent is the logo's roof red. */
@font-face { font-family: 'Bricolage'; src: url('/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage'; src: url('/fonts/bricolage-ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #F4F5F7;
  --bg-2: #EAECF0;
  --surface: #FFFFFF;
  --ink: #15171C;
  --ink-2: #474C57;
  --ink-3: #5F6571;
  --line: rgba(21, 23, 28, 0.12);
  --red: #D4261E;
  --red-hi: #B81E17;
  --red-wash: rgba(212, 38, 30, 0.08);
  --c1: #E5322D; --c2: #EE8A1C; --c3: #F2C21B; --c4: #3BAA4A; --c5: #1F6FC0; --c6: #4B3FA0;
  --spectrum: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6));
  --r: 14px;
  --r-sm: 10px;
  --max: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 30; --z-menu: 35; --z-badge: 40;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 'Bricolage', system-ui, sans-serif; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-weight: 760; letter-spacing: -0.04em; line-height: 0.98; margin: 0; }
.h2 { font-size: clamp(34px, 4.8vw, 62px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 18px 0 0; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line__in { display: block; }
.rule { height: 4px; width: 120px; border-radius: 2px; background: var(--spectrum); margin: 0 0 22px; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); }
.btn--line { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn .icon { width: 18px; height: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-nav); height: 76px; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.nav.is-scrolled { background: rgba(244, 245, 247, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; display: block; }
.brand img { width: 112px; height: auto; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); place-items: center; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg); padding: 100px var(--pad) 40px; display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .35s var(--ease); }
html.menu-open .menu { opacity: 1; }
.menu a { font-size: 42px; font-weight: 740; letter-spacing: -0.04em; text-decoration: none; padding: 4px 0; }
.menu .btn { margin-top: 24px; align-self: flex-start; font-size: 16px; letter-spacing: 0; }
html.menu-open .nav { background: var(--bg); }
@media (max-width: 979px) { .nav__links, .nav__cta { display: none; } .menu-btn { display: grid; } }

/* hero */
.hero { padding: 120px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); }
.hero h1 em { font-style: italic; font-weight: 780; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 840 / 520; background: var(--bg-2); box-shadow: 0 40px 80px -40px rgba(21, 23, 28, 0.45); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__note { position: absolute; left: clamp(-24px, -2vw, -12px); bottom: -28px; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--r); background: var(--surface); box-shadow: 0 20px 40px -20px rgba(21, 23, 28, 0.35), inset 0 0 0 1px var(--line); font-size: 14px; max-width: 300px; }
.hero__note b { display: block; font-size: 15px; }
.hero__note span { color: var(--ink-3); }
.mini-arc { width: 46px; height: 26px; flex: none; }
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__note { left: 12px; right: 12px; max-width: none; bottom: -36px; }
  .hero__media { margin-bottom: 36px; }
}

/* signature: the rainbow, one band per trade, then the roof */
.arc-sec { position: relative; height: 640vh; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.arc-sec__sticky { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.arc-sec__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; width: 100%; }
.arc-sec__head { grid-column: 1 / -1; display: flex; align-items: end; gap: 24px; justify-content: space-between; }
.arc-sec__head .h2 { font-size: clamp(30px, 3.6vw, 50px); max-width: 16ch; }
.arc-steps { display: flex; gap: 6px; }
.arc-steps i { width: 26px; height: 6px; border-radius: 3px; background: var(--bg-2); transition: background-color .4s var(--ease); }
.arc { width: 100%; height: auto; max-height: 62dvh; overflow: visible; }
.arc .band { fill: none; stroke-linecap: round; }
.arc .roof { fill: none; stroke: var(--c1); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.arc text { font-family: 'Bricolage', sans-serif; font-weight: 700; font-size: 18px; fill: var(--ink); letter-spacing: -0.01em; }
.trade-card { position: relative; min-height: 420px; }
.tc { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; }
.tc.is-on { opacity: 1; visibility: visible; }
.tc__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 650; }
.tc__tag i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.tc h3 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 740; letter-spacing: -0.03em; line-height: 1.05; }
.tc p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.tc__img { margin-top: 6px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; max-height: 260px; background: var(--bg-2); }
.tc__img img { width: 100%; height: 100%; object-fit: cover; }
.tc--final h3 { font-size: clamp(34px, 3.6vw, 52px); }
.tc--final ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.tc--final li { display: flex; gap: 10px; align-items: flex-start; }
.tc--final li .icon { color: var(--red); margin-top: 3px; }
@media (max-width: 900px) {
  .arc-sec { height: 760vh; }
  .arc-sec__grid { grid-template-columns: 1fr; gap: 12px; }
  .arc-sec__head .h2 { font-size: 26px; }
  .arc-steps { display: none; }
  .arc { max-height: 30dvh; }
  .trade-card { min-height: 360px; }
  .tc__img { max-height: 150px; aspect-ratio: 16 / 9; }
  .tc h3 { font-size: 26px; }
  .tc p { font-size: 15px; }
}

/* hardware store */
.store { padding: clamp(90px, 11vw, 150px) 0 clamp(60px, 8vw, 100px); }
.store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.store__facts { display: grid; gap: 12px; margin-top: 30px; }
.fact { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fact .icon { width: 24px; height: 24px; color: var(--red); }
.fact b { display: block; }
.fact span { color: var(--ink-3); font-size: 15px; }
.marquee { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .store__grid { grid-template-columns: 1fr; } }

/* work gallery bento */
.work { padding: clamp(60px, 8vw, 110px) 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; margin-top: 40px; }
.bento figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento figure:hover img { transform: scale(1.04); }
.bento figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 14px; font-weight: 600; }
.b-big { grid-column: span 2; grid-row: span 2; }
.b-tall { grid-row: span 2; }
.b-wide { grid-column: span 2; }
.b-wide3 { grid-column: span 3; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .b-big { grid-column: span 2; }
  .b-wide3 { grid-column: span 1; }
}

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.reason { padding: 26px 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.reason::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.reason h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.reason p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 1000px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* quote band */
.band { margin: clamp(40px, 6vw, 80px) 0 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--spectrum); }
.band__in { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.band .lead { color: rgba(255, 255, 255, 0.78); }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.band .btn--line:hover { box-shadow: inset 0 0 0 1px #fff; }
@media (max-width: 860px) { .band__in { grid-template-columns: 1fr; } }

/* footer */
.foot { padding: 56px 0 96px; font-size: 15px; color: var(--ink-2); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 14px; color: var(--ink-3); font-weight: 600; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--red); }
.foot__base { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

/* inner pages */
.page-head { padding: 150px 0 56px; }
.page-head h1 { font-size: clamp(42px, 6.4vw, 88px); max-width: 14ch; }
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 6vw, 96px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.story__text p { margin: 0 0 18px; color: var(--ink-2); max-width: 60ch; }
.story__text p:first-child { font-size: clamp(20px, 1.8vw, 25px); color: var(--ink); line-height: 1.45; letter-spacing: -0.01em; }
.story__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: sticky; top: 100px; }
.story__photos figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.story__photos figure:first-child { grid-column: span 2; aspect-ratio: 840 / 456; }
.story__photos img { width: 100%; height: 100%; object-fit: cover; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tl { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tl b { display: block; font-size: 28px; font-weight: 760; letter-spacing: -0.03em; margin-bottom: 6px; }
.tl span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__photos { position: static; } .timeline { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.quote { background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 3vw, 40px); }
.steps { display: flex; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.steps li { flex: 1; height: 5px; border-radius: 3px; background: var(--bg-2); transition: background-color .5s var(--ease); }
.steps li.is-done:nth-child(1) { background: var(--c1); } .steps li.is-done:nth-child(2) { background: var(--c3); } .steps li.is-done:nth-child(3) { background: var(--c5); }
.step { border: 0; margin: 0; padding: 0; }
.step h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 740; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.step > p { margin: 0 0 22px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-in { position: relative; }
.chip-in input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-in label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 500; background: var(--surface); transition: box-shadow .2s, background-color .2s; }
.chip-in label i { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.chip-in input:checked + label { box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg); }
.chip-in input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 1px rgba(21, 23, 28, 0.2); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.err { font-size: 13px; color: #B42318; }
.field.has-err input { box-shadow: inset 0 0 0 2px #B42318; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.step__nav { display: flex; gap: 12px; margin-top: 26px; }
.summary { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--bg); font-size: 15px; }
.summary li span { color: var(--ink-3); flex: none; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red-wash); color: var(--red); margin-bottom: 16px; }
.side-card { padding: clamp(22px, 3vw, 30px); border-radius: var(--r); background: var(--ink); color: #fff; position: sticky; top: 100px; overflow: hidden; }
.side-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--spectrum); }
.side-card h2 { margin: 6px 0 16px; font-size: 22px; font-weight: 700; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.side-card a span { color: rgba(255, 255, 255, 0.7); font-size: 13px; display: block; }
.side-card a:hover b { text-decoration: underline; }
.side-card p { margin: 16px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .side-card { position: static; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.lost { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad) 80px; }
.lost img { width: 180px; margin: 0 auto 24px; }
.lost p { color: var(--ink-2); margin: 14px auto 28px; }

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

html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js [data-hero-fade] { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .arc-sec { height: auto; }
  .arc-sec__sticky { position: static; height: auto; padding: 80px 0; }
  .trade-card { min-height: 0; }
  .tc { position: static; opacity: 1; visibility: visible; display: none; }
  .tc--final { display: flex; }
}
