/* Profile Powder Coating Ltd - site styles, v3 (2026-09-27, D-043)
   Built by slct.studio. Refined industrial: warm neutrals, cinematic
   photography, thin lines, Satoshi. Brand colours from the client's logo
   and flyer; see 04-Client-Work/ppc/brand-model.txt. */

/* ---------- tokens ---------- */
:root {
  --night: #12161C;        /* blue-black, sits next to the navy logo tile */
  --night-2: #1B2029;
  --ink: #16130F;          /* warm near-black text */
  --muted: #6B665E;
  --cream: #F3F0EA;
  --paper: #FBFAF7;
  --stone: #E2DDD3;
  --line: rgba(22, 19, 15, 0.12);
  --line-2: rgba(22, 19, 15, 0.22);
  --line-light: rgba(255, 255, 255, 0.16);
  --line-light-2: rgba(255, 255, 255, 0.32);
  --navy: #002B53;         /* logo */
  --navy-deep: #0A1F45;    /* flyer */
  --blue: #0D8CFF;         /* logo, focus */
  --magenta: #AE127E;      /* flyer, the dot */
  --yellow: #FFC113;       /* flyer, the call to action */
  --yellow-hover: #FFD04D;
  --wa: #25D366;
  --wa-hover: #4BE283;

  --font: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3.2vw, 44px);
  --max: 1320px;
  --inset: clamp(8px, 1vw, 14px);
  --r: 4px;
  --r-lg: 10px;
  --section: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 1;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 1rem; letter-spacing: 0; }
em.b { font-style: italic; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--white, #fff); }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .lead, .section--night .muted { color: rgba(255, 255, 255, 0.64); }

/* ---------- labels ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px 5px 10px; border-radius: var(--r);
  background: rgba(22, 19, 15, 0.06); font-size: 0.8rem; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); flex: none; }
.pill--light { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pill--light::before { background: var(--yellow); }
.bracket { font-size: 0.9rem; font-weight: 500; color: inherit; text-decoration: none; white-space: nowrap; }
.bracket::before { content: "[ "; opacity: 0.6; }
.bracket::after { content: " ]"; opacity: 0.6; }

/* section head: pill on the left, heading on the right, like an index */
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) {
  .head { grid-template-columns: minmax(160px, 1fr) 3fr; align-items: start; gap: 32px; }
  .head .pill { margin-top: 0.7em; justify-self: start; }
}
.head-main { display: grid; gap: 22px; }
@media (min-width: 960px) { .head-main--action { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }
.head .pill, .head-main > .btn { justify-self: start; }
.head-main > div { display: grid; gap: 18px; justify-items: start; }
.head h2 { margin: 0; max-width: 14em; }
.head .lead { margin: 0; }
.cols { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.cols p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 30em; }
@media (min-width: 960px) { .head + .cols, .head-offset { margin-left: calc(25% + 8px); } }

/* ---------- icons ---------- */
.i { width: 20px; height: 20px; flex: none; }
.i-lg { width: 28px; height: 28px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 2px;
  font: inherit; font-weight: 500; font-size: 0.92rem; letter-spacing: 0; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--night-2); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: var(--line-light-2); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--wa { background: var(--wa); color: var(--ink); }
.btn--wa:hover { background: var(--wa-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.text-link:hover { border-color: var(--ink); }
.text-link .i { width: 16px; height: 16px; transition: transform 0.2s ease; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- header: floating dark box ---------- */
.site-header { position: fixed; top: calc(var(--inset) + 12px); left: 0; right: 0; z-index: 50; pointer-events: none; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-box, .header-cta { pointer-events: auto; }
.nav-box {
  display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 0 8px 0 18px; border-radius: var(--r);
  background: rgba(251, 250, 247, 0.9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(22, 19, 15, 0.06);
}
.brand { display: block; flex: none; line-height: 0; margin-right: 22px; }
.brand img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 2px; text-decoration: none; font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); background: rgba(22, 19, 15, 0.05); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--magenta); margin-right: 8px; }
.header-cta { display: flex; gap: 8px; }
.header-cta .btn--wa { width: 46px; padding: 0; }
.header-cta .btn--wa .i { width: 22px; height: 22px; }
.menu-toggle {
  display: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 2px; background: rgba(22, 19, 15, 0.06); color: var(--ink);
  font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer;
}
.nav-extra { display: none; }
@media (max-width: 1020px) {
  .site-header .container { display: block; }
  .brand img { width: 155px; }
  .nav-box { flex-wrap: wrap; padding: 10px 10px 10px 16px; }
  .brand { margin-right: auto; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-cta { display: none; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 8px 12px 0; }
  .nav a { min-height: 52px; font-size: 1.35rem; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .nav-open .nav { display: flex; }
  .nav-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .nav-extra .btn { min-height: 48px; }
}

/* ---------- hero (inset panel, like a framed print) ---------- */
.hero { position: relative; margin: var(--inset); border-radius: var(--r-lg); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.55) 0%, rgba(18, 22, 28, 0.1) 30%, rgba(18, 22, 28, 0.35) 55%, rgba(18, 22, 28, 0.92) 100%);
}
.hero-inner { min-height: calc(100svh - 2 * var(--inset)); display: grid; grid-template-rows: 1fr auto auto; padding-top: 120px; }
.hero h1 { align-self: end; margin: 0 0 clamp(28px, 4vw, 44px); color: #fff; max-width: 8em; }
.hero-rule { height: 1px; background: var(--line-light-2); }
.hero-foot { display: grid; gap: 22px; padding: 24px 0 clamp(24px, 3vw, 36px); align-items: end; }
@media (min-width: 860px) { .hero-foot { justify-items: end; } }
.hero-foot p { margin: 0 0 16px; max-width: 26em; color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
@media (max-width: 1020px) { .hero-inner { min-height: calc(100svh - 2 * var(--inset) - 76px); } }
/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--inset) + 150px) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 12em; margin: 22px 0 0; }
.page-hero .lead { margin-top: 20px; }
.page-hero--image { position: relative; margin: var(--inset); border-radius: var(--r-lg); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.page-hero--image .hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 22, 28, 0.55) 0%, rgba(18, 22, 28, 0.15) 35%, rgba(18, 22, 28, 0.9) 100%); }
.page-hero--image .hero-content { min-height: min(72vh, 680px); display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 clamp(32px, 4vw, 48px); }
.page-hero--image .pill, .wa-card .pill { align-self: flex-start; justify-self: start; }
.page-hero--image h1 { color: #fff; margin: 20px 0 16px; max-width: 12em; }
.page-hero--image .hero-content p { color: rgba(255, 255, 255, 0.8); max-width: 30em; margin: 0; }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--four { aspect-ratio: 4 / 3; }
.media--band { aspect-ratio: 4 / 1; }
@media (max-width: 760px) { .media--band { aspect-ratio: 2 / 1; } }
.media-cap { position: absolute; left: 16px; bottom: 14px; color: rgba(255, 255, 255, 0.86); font-size: 0.85rem; }
.film { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--night); aspect-ratio: 21 / 9; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 22, 28, 0.55), rgba(18, 22, 28, 0) 40%); pointer-events: none; }
.film .media-cap { z-index: 1; }
@media (max-width: 760px) { .film { aspect-ratio: 4 / 3; } }
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }

/* ---------- capability ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 12px; padding: 22px 36px; font-size: 0.95rem; font-weight: 500; white-space: nowrap; border-right: 1px solid var(--line); }
.ticker li .i { color: var(--muted); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; }
}

/* ---------- service cards ---------- */
.cards { display: grid; gap: 14px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: border-color 0.2s ease; }
.card:hover { border-color: var(--line-2); }
.card .media { border-radius: 0; aspect-ratio: 4 / 3; }
.card:hover .media img { transform: scale(1.04); }
.card-body { display: grid; gap: 8px; padding: 22px 22px 24px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 0.8rem; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; font-size: 0.9rem; }
.card-more .i { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card-more .i { transform: translateX(3px); }

/* ---------- facility: photo panel with glass cards ---------- */
.facility { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--night); color: #fff; isolation: isolate; min-height: 640px; display: flex; flex-direction: column; justify-content: space-between; }
.facility .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 28, 0.6) 0%, rgba(18, 22, 28, 0.15) 45%, rgba(18, 22, 28, 0.75) 100%); }
.facility-head { padding: clamp(28px, 4vw, 48px); max-width: 640px; }
.facility-head h2 { color: #fff; font-weight: 300; margin: 18px 0 0; }
.glass-row { display: flex; gap: 10px; padding: 0 clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px); }
.glass {
  flex: 1 1 0; min-width: 0; display: grid; align-content: space-between; gap: 34px; min-height: 196px; padding: 20px;
  border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  transition: flex-grow 0.5s var(--ease), background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.glass .i-lg { color: currentColor; }
.glass h3 { color: inherit; font-size: 1.05rem; margin: 0 0 6px; }
.glass p { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; margin: 0; line-height: 1.45; min-height: 2.9em; transition: color 0.35s ease; }
.glass.is-default { flex-grow: 1.4; background: var(--paper); border-color: transparent; color: var(--ink); }
.glass.is-default p { color: var(--muted); }
@media (hover: hover) and (pointer: fine) and (min-width: 1021px) {
  .glass-row:hover .glass { flex-grow: 1; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
  .glass-row:hover .glass p { color: rgba(255, 255, 255, 0.7); }
  .glass-row:hover .glass:hover { flex-grow: 1.4; background: var(--paper); border-color: transparent; color: var(--ink); }
  .glass-row:hover .glass:hover p { color: var(--muted); }
}
@media (max-width: 1020px) {
  .facility { min-height: 0; }
  .facility-head { padding-bottom: 120px; }
  .glass-row {
    display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 12px 12px; padding: 4px 16px;
    border-radius: var(--r-lg); background: rgba(18, 22, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  }
  .glass, .glass.is-default {
    display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 14px; min-height: 0; padding: 14px 0;
    background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0; color: #fff;
    -webkit-backdrop-filter: none; backdrop-filter: none; transition: none;
  }
  .glass:first-child { border-top: 0; }
  .glass .i-lg { width: 24px; height: 24px; margin-top: 1px; color: var(--yellow); }
  .glass h3 { font-size: 1rem; margin: 0 0 2px; }
  .glass p, .glass.is-default p { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; min-height: 0; }
  .glass:focus { outline: none; }
}

/* ---------- process plan (line drawing) ---------- */
.plan { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--night); color: #fff; isolation: isolate; }
.plan .hero-media img { filter: none; }
.plan-grid { display: grid; gap: 32px; padding: clamp(28px, 5vw, 64px); }
@media (min-width: 1040px) { .plan-grid { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 56px; } }
.plan-drawing { color: rgba(255, 255, 255, 0.78); }
.plan-drawing svg { width: 100%; height: auto; overflow: visible; }
.plan-drawing .t { font-family: var(--font); font-size: 11px; fill: rgba(255, 255, 255, 0.62); letter-spacing: 0.04em; }
.plan-drawing .t-b { font-size: 13px; fill: #fff; font-weight: 500; }
.plan-drawing .acc { stroke: var(--yellow); }
.plan-drawing { position: relative; }
.plan-tag { position: absolute; right: 0; bottom: -6px; display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.38); }
.plan-tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); animation: pulse 2.4s ease-in-out infinite; }
.plan-drawing .flow { animation: flow 1.4s linear infinite; }
.plan-drawing .acc-fill { fill: var(--yellow); }
.plan-drawing .runner { animation: run 9s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes run { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 22% { transform: translateX(140px); } 32% { transform: translateX(140px); } 70% { transform: translateX(400px); } 80% { transform: translateX(400px); } 94% { opacity: 1; } 100% { transform: translateX(520px); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plan-drawing .flow, .plan-drawing .runner, .plan-tag span { animation: none; } .plan-drawing .runner { opacity: 0; } }
.steps { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 18px 20px; border: 1px solid var(--line-light); border-radius: var(--r); background: rgba(255, 255, 255, 0.03); }
.step .i-lg { color: var(--yellow); margin-top: 2px; }
.step h3 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.step p { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; margin: 0; }
.step-n { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-right: 6px; font-weight: 400; }

/* ---------- RAL spectrum + swatches ---------- */
.spectrum { display: flex; height: clamp(120px, 18vw, 220px); border-radius: var(--r-lg); overflow: hidden; }
.spectrum-wrap { position: relative; padding-top: 34px; }
.spectrum-label { position: absolute; top: 0; left: 0; margin: 0; padding: 4px 10px; border-radius: 2px; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 500; white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.spectrum-label.is-on { opacity: 1; }
.spectrum a { display: block; flex: 1 1 0; min-width: 0; transition: flex-grow 0.35s var(--ease); cursor: pointer; }
.spectrum a:hover, .spectrum a:focus-visible { flex-grow: 7; }
.spectrum a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.ral-fams { display: flex; gap: 2px; margin-top: 10px; }
.ral-fams a { flex: var(--n) 1 0; min-width: 0; display: flex; align-items: baseline; gap: 6px; padding-top: 8px; border-top: 2px solid var(--line-2); text-decoration: none; color: var(--muted); font-size: 0.78rem; font-weight: 500; transition: color 0.2s ease, border-color 0.2s ease; }
.ral-fams a:hover, .ral-fams a:focus-visible { color: var(--ink); border-color: var(--ink); }
.rf-strip { display: none; }
.rf-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-n { display: none; font-size: 0.7rem; opacity: 0.7; }
@media (max-width: 900px) {
  .spectrum-wrap { padding-top: 0; }
  .spectrum-label { display: none; }
  .spectrum { display: none; }
  .ral-fams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 0; }
  .ral-fams a { flex: none; display: grid; gap: 2px; padding: 0 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; color: var(--ink); font-size: 0.8rem; }
  .rf-strip { display: flex; height: 54px; margin-bottom: 6px; }
  .rf-strip span { flex: 1 1 0; }
  .rf-n { display: block; }
  .rf-name, .rf-n { padding: 0 10px; }
  .rf-name { white-space: normal; line-height: 1.2; }
}
.spectrum-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.spectrum-foot p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.ral-tools { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 900px) { .ral-tools { grid-template-columns: 340px 1fr; align-items: center; } }
.ral-search { position: relative; }
.ral-search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ral-search input { width: 100%; min-height: 48px; padding: 0 14px 0 42px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
.ral-search input:focus { outline: none; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; font: inherit; font-size: 0.85rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ral-family { margin-top: 32px; }
.ral-family[hidden] { display: none; }
.ral-family h2 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ral-family h2 span { font-size: 0.85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.ral-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(70px, 18vw, 104px), 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.ral-grid li[hidden] { display: none; }
.ral-grid a { display: block; text-decoration: none; color: inherit; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease; }
.ral-grid a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ral-chip { display: block; aspect-ratio: 4 / 3; }
.ral-meta { display: grid; padding: 6px 8px 7px; line-height: 1.25; }
.ral-code { font-weight: 700; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.ral-name { font-size: 0.7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ral-empty { margin-top: 40px; color: var(--muted); }
.ral-note { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); max-width: 46em; }

/* ---------- RAL modal ---------- */
.ral-modal { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.ral-modal::backdrop { background: rgba(18, 22, 28, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ral-modal[open] { display: grid; }
@media (min-width: 700px) { .ral-modal[open] { grid-template-columns: 1fr 1.15fr; } }
.ral-m-swatch { min-height: 220px; }
.ral-m-body { padding: clamp(22px, 4vw, 36px); display: grid; gap: 10px; align-content: start; }
.ral-m-body .pill { justify-self: start; }
.ral-m-body h2 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.ral-m-name { margin: 0; color: var(--muted); font-size: 1.05rem; }
.ral-m-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.ral-m-codes div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ral-m-codes dt { font-size: 0.75rem; color: var(--muted); }
.ral-m-codes dd { margin: 2px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.ral-m-note { margin: 6px 0 8px; font-size: 0.8rem; color: var(--muted); }
.ral-m-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ral-m-tools button, .ral-m-close { min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; font: inherit; font-size: 0.82rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.ral-m-tools button:hover, .ral-m-close:hover { border-color: var(--ink); }
.ral-m-close { position: absolute; top: 12px; right: 12px; background: var(--paper); }

/* ---------- tags + audience ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 0.9rem; font-weight: 500; }
.tags li.tag--accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.section--night .tags li { border-color: var(--line-light-2); }

/* ---------- bento ---------- */
.bento { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.bento .media { aspect-ratio: 1 / 1; }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px); }
  .bento .media { aspect-ratio: auto; }
  .bento .media:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
.bento .media:hover img { transform: scale(1.04); }

/* ---------- CTA + enquiry ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--night); color: #fff; isolation: isolate; }
.cta .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 22, 28, 0.94) 0%, rgba(18, 22, 28, 0.8) 50%, rgba(18, 22, 28, 0.6) 100%); }
.cta-grid { display: grid; gap: 0; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
.cta-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; }
.cta-copy .pill { align-self: flex-start; }
.cta-copy h2 { color: #fff; margin: 22px 0 14px; max-width: 10em; }
.cta-copy > p { color: rgba(255, 255, 255, 0.7); max-width: 28em; }
.cta-copy .btn-row { margin-top: 18px; }
.contact-lines { display: grid; margin-top: auto; padding-top: 36px; }
.contact-lines a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-light); color: #fff; text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--yellow); }
.contact-lines a .i { color: rgba(255, 255, 255, 0.55); }
.contact-lines a span { margin-left: auto; font-size: 0.8rem; font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.cta-form { margin: clamp(10px, 1.4vw, 16px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); }
.cta-form h3 { font-size: 1.5rem; margin: 0 0 4px; }
.cta-form .muted { font-size: 0.92rem; margin: 0; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: 0.85rem; font-weight: 500; color: var(--ink); padding: 0; }
.field .hint { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border-radius: var(--r); -webkit-appearance: none; appearance: none;
  border: 1px solid var(--line-2); background-color: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 19, 15, 0.08); }
.field input[type="file"] { padding: 10px; border-style: dashed; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.seg span .i { width: 18px; height: 18px; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.form-foot p { margin: 0; font-size: 0.84rem; color: var(--muted); }
.form-error { color: var(--magenta); font-weight: 500; font-size: 0.9rem; }
.form-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 6px; }
.wa-card { display: grid; gap: 12px; padding: 26px; margin-bottom: 22px; border-radius: var(--r-lg); background: var(--night); color: #fff; }
.wa-card h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.wa-card p { color: rgba(255, 255, 255, 0.7); margin: 0; font-size: 0.95rem; }
.wa-card .btn { justify-self: start; margin-top: 6px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list .i { color: var(--muted); margin-top: 2px; }
.contact-list small { display: block; font-size: 0.8rem; color: var(--muted); }
.contact-list a, .contact-list address { font-style: normal; font-weight: 500; font-size: 1.05rem; color: var(--ink); text-decoration: none; line-height: 1.45; }
.contact-list a:hover { color: var(--magenta); }
.map { margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) sepia(0.15) contrast(1.02); }

/* ---------- gallery page ---------- */
.gallery-tools { margin-bottom: 28px; }
.gallery { columns: 3 300px; column-gap: 10px; }
.gallery-item { break-inside: avoid; margin: 0 0 14px; }
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; overflow: hidden; border-radius: var(--r); background: var(--stone); cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform 1s var(--ease); }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-item figcaption { padding: 8px 2px 0; font-size: 0.85rem; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1280px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(18, 22, 28, 0.94); }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--r); }
.lightbox-caption { color: #fff; text-align: center; margin-top: 12px; font-size: 0.9rem; }
.lightbox-close { position: absolute; top: -48px; right: 0; min-height: 36px; padding: 0 14px; border: 0; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer; }

/* ---------- values ---------- */
.values { display: grid; gap: 10px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.value .i-lg { color: var(--ink); margin-bottom: 40px; }
.value h3 { margin: 0 0 6px; }
.value p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- footer ---------- */
.site-footer { margin: var(--inset); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); color: var(--muted); padding: clamp(48px, 7vw, 88px) 0 28px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--magenta); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-brand p { max-width: 22em; font-size: 0.95rem; }
.footer-col h4 { color: var(--muted); font-size: 0.8rem; font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.footer-base a { color: var(--ink); }

/* ---------- WhatsApp float + mobile bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 18px 0 14px; border-radius: var(--r); background: var(--wa); color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 0.92rem; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); transition: background-color 0.2s ease;
}
.wa-float:hover { background: var(--wa-hover); }
.wa-float .i { width: 22px; height: 22px; }
.js .wa-float { opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease; }
.js .wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 1020px) { .wa-float { display: none; } }
.action-bar { display: none; }
@media (max-width: 1020px) {
  .action-bar {
    position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px;
    padding: 6px; border-radius: var(--r-lg); background: rgba(18, 22, 28, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r); text-decoration: none; color: #fff; font-weight: 500; font-size: 0.9rem; background: rgba(255, 255, 255, 0.08); }
  .action-bar a .i { width: 19px; height: 19px; }
  .action-bar a.is-wa { background: var(--wa); color: var(--ink); }
  .action-bar a.is-primary { background: var(--yellow); color: var(--ink); }
  body { padding-bottom: 76px; }
  .js .action-bar { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; transition: transform 0.35s var(--ease), opacity 0.25s ease; }
  .js .action-bar.is-shown { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .media img, .gallery-item img, .spectrum span, .ral-grid a { transition: none; }
}

/* ---------- misc ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.thanks { min-height: 70vh; display: grid; align-items: center; padding-top: 150px; }
.thanks h1 { margin: 22px 0 14px; }
.thanks .lead { margin: 0 0 28px; }
