/*
 * DrososPaints production interface
 * Direction: modern colour workshop, built from clean static primitives.
 */

:root {
  color-scheme: light;
  --bg: #f4f2eb;
  --surface: #fffef9;
  --surface-2: #e9e6dd;
  --surface-3: #ddd9ce;
  --text: #15171a;
  --muted: #5a605f;
  --line: rgba(21, 23, 26, 0.2);
  --line-strong: #15171a;
  --primary: #2555f5;
  --primary-strong: #153cbf;
  --on-primary: #ffffff;
  --coral: #ee5a45;
  --lime: #b4d544;
  --yellow: #f2c94c;
  --green: #30845f;
  --fixed-dark: #101318;
  --fixed-dark-2: #191d23;
  --fixed-light: #fffef9;
  --glass: rgba(244, 242, 235, 0.84);
  --shadow: rgba(16, 19, 24, 0.13);
  --focus: #ffcf3f;
  --font-body: "Noto Sans", "DejaVu Sans", sans-serif;
  --font-display: "Noto Sans", "DejaVu Sans", sans-serif;
  --step--1: clamp(0.76rem, 0.73rem + 0.12vw, 0.84rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.12rem, 1.02rem + 0.42vw, 1.34rem);
  --step-2: clamp(1.45rem, 1.22rem + 0.95vw, 1.95rem);
  --step-3: clamp(2rem, 1.55rem + 1.85vw, 3rem);
  --step-4: clamp(2.8rem, 1.85rem + 4vw, 5.6rem);
  --step-5: clamp(3.4rem, 2rem + 6.2vw, 8.8rem);
  --space-1: 0.4rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: clamp(4rem, 8vw, 7.5rem);
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 12px;
  --content: 78rem;
  --content-wide: 92rem;
  --motion-nav: 180ms;
  --motion-theme: 240ms;
  --motion-hero: 900ms;
  --motion-hover: 150ms;
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1013;
  --surface: #15191e;
  --surface-2: #1e242a;
  --surface-3: #293038;
  --text: #f4f1e9;
  --muted: #abb2b5;
  --line: rgba(244, 241, 233, 0.2);
  --line-strong: #e5e2da;
  --primary: #7896ff;
  --primary-strong: #9bb0ff;
  --on-primary: #081127;
  --coral: #ff715e;
  --lime: #c2df58;
  --yellow: #ffd45f;
  --green: #61b78d;
  --glass: rgba(13, 16, 19, 0.84);
  --shadow: rgba(0, 0, 0, 0.34);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d1013;
    --surface: #15191e;
    --surface-2: #1e242a;
    --surface-3: #293038;
    --text: #f4f1e9;
    --muted: #abb2b5;
    --line: rgba(244, 241, 233, 0.2);
    --line-strong: #e5e2da;
    --primary: #7896ff;
    --primary-strong: #9bb0ff;
    --on-primary: #081127;
    --coral: #ff715e;
    --lime: #c2df58;
    --yellow: #ffd45f;
    --green: #61b78d;
    --glass: rgba(13, 16, 19, 0.84);
    --shadow: rgba(0, 0, 0, 0.34);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  min-width: 18rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic);
}

body.nav-open {
  overflow: hidden;
}

main {
  display: block;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-block-start: 0;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  letter-spacing: -0.065em;
}

h2 {
  font-size: var(--step-4);
  letter-spacing: -0.052em;
}

h3 {
  font-size: var(--step-2);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

p,
li,
dd {
  max-width: 70ch;
}

a {
  color: var(--primary-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

::selection {
  background: var(--yellow);
  color: #111318;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px #111318;
}

[id] {
  scroll-margin-top: 7rem;
}

[hidden] {
  display: none !important;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 0;
  padding: 0.8rem 1rem;
  border: 2px solid #111318;
  border-radius: 0 0 var(--radius) 0;
  background: var(--focus);
  color: #111318;
  font-weight: 800;
  transform: translate3d(0, -140%, 0);
  transition: transform var(--motion-nav) var(--ease-out-quart);
}

.skip-link:focus {
  transform: translate3d(0, 0, 0);
}

.container,
.container-wide {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 2rem), var(--content-wide));
}

.flow > * + * {
  margin-block-start: var(--flow-space, 1rem);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.stack {
  display: grid;
  gap: var(--space-4);
}

.eyebrow,
.section-kicker,
.card-index,
.specimen-code,
.meta-label,
.status,
.badge {
  margin-bottom: var(--space-2);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.card-index,
.meta-label {
  color: var(--primary-strong);
}

.status,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--text);
}

.status::before,
.badge::before {
  width: 0.48rem;
  height: 0.48rem;
  margin-inline-end: 0.46rem;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.lede,
.section-intro,
.hero-intro {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.52;
}

.text-small {
  font-size: var(--step--1);
}

.text-muted {
  color: var(--muted);
}

/* Glass header, navigation, and theme control */
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 10px 28px transparent;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    box-shadow var(--motion-theme) var(--ease-in-out-cubic);
}

.site-header:hover,
.site-header:focus-within {
  box-shadow: 0 10px 28px var(--shadow);
}

.header-inner {
  display: grid;
  grid-template-areas:
    "brand actions"
    "nav nav";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 4.8rem;
  transition: min-height var(--motion-theme) var(--ease-in-out-cubic),
    gap var(--motion-theme) var(--ease-in-out-cubic);
}

.brand,
.site-brand {
  display: inline-flex;
  grid-area: brand;
  align-items: center;
  width: fit-content;
  min-width: 0;
  gap: 0.72rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover,
.site-brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  min-width: 3.7rem;
  height: 2.55rem;
  padding-inline: 0.46rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.brand:hover .brand-mark {
  transform: rotate(-2deg) translate3d(0, -1px, 0);
}

.brand-name {
  display: block;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-name small,
.brand-subtitle {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header .brand > .badge {
  display: none;
  margin: 0;
}

.header-actions {
  display: flex;
  grid-area: actions;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.theme-toggle,
.nav-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.theme-toggle:hover,
.nav-toggle:hover {
  transform: translate3d(0, -2px, 0);
}

.theme-toggle-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(0deg);
  transition: transform var(--motion-theme) var(--ease-in-out-cubic);
}

.theme-toggle-icon::after {
  position: absolute;
  inset: -0.18rem -0.18rem auto auto;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--surface);
  content: "";
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-theme) var(--ease-in-out-cubic);
}

:root[data-theme="dark"] .theme-toggle-icon {
  transform: rotate(28deg);
}

:root[data-theme="light"] .theme-toggle-icon::after {
  transform: translate3d(0.72rem, -0.72rem, 0);
}

.nav-toggle-icon,
.nav-toggle::after {
  display: block;
  width: 1.2rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transition: transform var(--motion-nav) var(--ease-out-quart);
}

.nav-toggle:has(.nav-toggle-icon)::after {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon,
.nav-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.site-nav {
  grid-area: nav;
  max-height: none;
  overflow: visible;
  border-top: 1px solid var(--line);
}

html.js .site-nav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -0.45rem, 0);
  visibility: hidden;
  transition: max-height var(--motion-nav) var(--ease-out-quart),
    opacity var(--motion-nav) var(--ease-out-quart),
    transform var(--motion-nav) var(--ease-out-quart),
    visibility 0ms linear 0ms;
}

html.js .site-nav[data-open="false"] {
  transition-delay: 0ms, 0ms, 0ms, var(--motion-nav);
}

html.js .site-nav[data-open="true"] {
  max-height: 32rem;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  transition-delay: 0ms;
}

.site-nav ul {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav li + li {
  border-top: 1px solid var(--line);
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.2rem;
  padding: 0.6rem 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a::after {
  color: var(--primary);
  content: "↗";
  font-size: 1rem;
  transform: translate3d(0, 0, 0);
  transition: transform var(--motion-hover) var(--ease-out-quart);
}

.site-nav a:hover::after {
  transform: translate3d(0.18rem, -0.18rem, 0);
}

.site-nav a[aria-current="page"] {
  color: var(--primary-strong);
}

.site-nav a[aria-current="page"]::before {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--coral);
  content: "";
}

.site-nav .nav-language a {
  width: fit-content;
  min-width: 3rem;
  justify-content: center;
  padding-inline: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav .nav-language a::after {
  content: none;
}

/* Actions */
.button,
.btn {
  position: relative;
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.button::after,
.btn::after {
  content: "→";
  font-size: 1.08em;
  transform: translate3d(0, 0, 0);
  transition: transform var(--motion-hover) var(--ease-out-quart);
}

.button:hover,
.btn:hover {
  color: var(--text);
  text-decoration: none;
  transform: translate3d(0, -3px, 0);
}

.button:hover::after,
.btn:hover::after {
  transform: translate3d(0.2rem, 0, 0);
}

.button-primary,
.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.button-primary:hover,
.btn-primary:hover {
  color: var(--on-primary);
}

.button-ghost,
.btn-ghost {
  background: transparent;
}

.button-light {
  border-color: var(--fixed-light);
  background: var(--fixed-light);
  color: #111318;
}

.button-group,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 clamp(0.45rem, 2vw, 2rem);
  width: 2px;
  background: var(--coral);
  content: "";
  opacity: 0.85;
}

.hero .container,
.hero .container-wide {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 11ch;
  margin-bottom: var(--space-4);
}

.hero-copy h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-copy .hero-intro,
.hero-copy .lede,
.hero-copy .section-intro {
  max-width: 58ch;
  margin-bottom: var(--space-5);
}

.hero-actions + .status,
.hero-actions + p {
  margin-top: var(--space-4);
}

.hero-meta,
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--space-5);
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.hero-meta > *,
.hero-stats > * {
  min-width: 0;
  padding: 0.8rem;
  background: var(--surface);
  color: var(--text);
}

.hero-meta strong,
.hero-stats strong {
  display: block;
  font-size: var(--step-1);
  line-height: 1.15;
}

.hero-panel,
.hero-specimen,
.sample-book {
  position: relative;
  display: grid;
  min-height: 22rem;
  align-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 10px 10px 0 var(--primary);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.hero-panel:hover,
.hero-specimen:hover,
.sample-book:hover {
  transform: translate3d(0, -3px, 0);
}

.hero-specimen p,
.sample-book p,
.hero-panel p {
  color: var(--muted);
}

.section-ink .hero-specimen .section-kicker,
.section-ink .sample-book .section-kicker,
.section-cobalt .hero-specimen .section-kicker,
.section-cobalt .sample-book .section-kicker {
  color: var(--primary-strong);
}

/* CSS-only orbital colour mixer */
.hero-orbit {
  position: relative;
  width: min(82vw, 31rem);
  aspect-ratio: 1;
  justify-self: center;
  isolation: isolate;
}

/* Progressive Three.js material study. The authored orbit remains the fallback. */
.hero-material-lab {
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  perspective: 75rem;
}

.hero-material-stage {
  position: absolute;
  inset: 0;
  border-radius: 48% 52% 46% 54%;
  transform: rotateX(var(--scene-tilt-x)) rotateY(var(--scene-tilt-y));
  transform-style: preserve-3d;
  transition: transform 420ms var(--ease-out-quart);
  will-change: transform;
}

.hero-material-stage::before,
.hero-material-stage::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero-material-stage::before {
  z-index: 0;
  inset: 3%;
  border: 1px solid var(--line-strong);
  border-radius: inherit;
  background:
    radial-gradient(circle at 72% 24%, color-mix(in srgb, var(--coral) 28%, transparent), transparent 28%),
    radial-gradient(circle at 20% 78%, color-mix(in srgb, var(--lime) 22%, transparent), transparent 26%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 88%, var(--primary)), var(--surface-2));
  box-shadow:
    0 2.2rem 5rem color-mix(in srgb, var(--shadow) 72%, transparent),
    inset 0 0 0 0.5rem color-mix(in srgb, var(--surface) 58%, transparent);
}

.hero-material-stage::after {
  z-index: 1;
  inset: 8%;
  border-radius: 50%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line-strong) 28%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line-strong) 28%, transparent) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: radial-gradient(circle, #000 16%, transparent 69%);
  opacity: 0.45;
}

.hero-webgl-canvas {
  position: absolute;
  z-index: 2;
  inset: 3%;
  display: block;
  width: 94%;
  height: 94%;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms var(--ease-out-quart), filter var(--motion-theme) var(--ease-in-out-cubic);
  filter: saturate(1.04) contrast(1.015);
}

.hero-material-lab.is-webgl-ready .hero-webgl-canvas {
  opacity: 1;
}

.material-readout {
  position: absolute;
  z-index: 4;
  inset: 7.5% auto auto 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid color-mix(in srgb, var(--line-strong) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--text);
  box-shadow: 0 0.55rem 1.5rem color-mix(in srgb, var(--shadow) 44%, transparent);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(0.7rem);
}

.material-readout i {
  width: 0.48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--lime) 18%, transparent);
}

.hero-material-lab.is-webgl-ready .orbit-core {
  opacity: 0;
  animation-play-state: paused;
}

.hero-material-lab.is-webgl-ready .orbit-ring {
  opacity: 0.18;
  animation-play-state: paused;
}

.hero-material-lab.is-webgl-ready .orbit-chip {
  opacity: 0;
  animation-play-state: paused;
}

.hero-orbit > .hero-panel {
  position: absolute;
  z-index: 5;
  inset: auto 0 4% auto;
  display: grid;
  width: min(68%, 15rem);
  min-height: 0;
  gap: 0.16rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--coral);
}

.hero-orbit > .hero-panel:hover {
  transform: none;
}

.hero-orbit > .hero-panel .meta-label {
  margin-bottom: 0.18rem;
}

.hero-orbit > .hero-panel strong {
  font-size: 0.84rem;
  line-height: 1.25;
}

.hero-orbit > .hero-panel > span:last-child {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.35;
}

.orbit-ring {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  opacity: 0.6;
  transition: opacity 420ms var(--ease-out-quart);
  will-change: transform;
}

.ring-a {
  inset: 8%;
  animation: orbit-spin 24s linear infinite;
}

.ring-a::before,
.ring-b::before {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.ring-a::before {
  inset: 12% 9% auto auto;
}

.ring-b {
  inset: 22%;
  border-style: dashed;
  animation: orbit-spin-reverse 18s linear infinite;
}

.ring-b::before {
  inset: auto auto 0 23%;
  background: var(--lime);
}

.orbit-core {
  position: absolute;
  z-index: 2;
  inset: 29%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 22px 55px var(--shadow);
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    opacity 420ms var(--ease-out-quart),
    transform 420ms var(--ease-out-quart);
  animation: core-breathe 5s ease-in-out infinite;
}

.orbit-core::after {
  position: absolute;
  inset: 17%;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.45;
}

.orbit-core > span {
  margin-inline: 0.05em;
  font-size: 0.52em;
}

.orbit-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  width: clamp(3.2rem, 9vw, 5.6rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #111318;
  border-radius: 38% 62% 54% 46%;
  color: #111318;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 360ms var(--ease-out-quart);
  will-change: transform;
}

.chip-cobalt,
.swatch-cobalt {
  background: #2555f5;
  color: #ffffff;
}

.chip-cobalt {
  inset: 5% auto auto 15%;
  animation: chip-float-a 6s ease-in-out infinite;
}

.chip-coral,
.swatch-clay,
.swatch-red {
  background: var(--coral);
  color: #111318;
}

.chip-coral {
  inset: 16% 4% auto auto;
  animation: chip-float-b 7s ease-in-out -1.4s infinite;
}

.chip-lime,
.swatch-lime,
.swatch-green {
  background: var(--lime);
  color: #111318;
}

.chip-lime {
  inset: auto auto 10% 9%;
  animation: chip-float-b 5.5s ease-in-out -2.2s infinite;
}

.chip-paper,
.swatch-paper {
  background: var(--surface);
  color: var(--text);
}

.chip-paper {
  inset: auto 8% 4% auto;
  animation: chip-float-a 6.5s ease-in-out -0.8s infinite;
}

.swatch-ink {
  background: #111318;
  color: #ffffff;
}

.swatch-yellow {
  background: var(--yellow);
  color: #111318;
}

@keyframes orbit-spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes orbit-spin-reverse {
  to {
    transform: rotate(-1turn);
  }
}

@keyframes core-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes chip-float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }

  50% {
    transform: translate3d(0, -0.55rem, 0) rotate(3deg);
  }
}

@keyframes chip-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }

  50% {
    transform: translate3d(0.35rem, 0.5rem, 0) rotate(-3deg);
  }
}

/* Legacy colour specimen support */
.swatch-grid,
.swatch-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.paint-swatch,
.swatch-chip {
  position: relative;
  min-height: 5rem;
  padding: 0.65rem;
  background: var(--swatch, var(--primary));
  color: var(--swatch-text, var(--on-primary));
}

.paint-swatch > span,
.swatch-chip > span {
  position: absolute;
  inset: auto 0.55rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-specimen .paint-swatch,
.sample-book .paint-swatch {
  display: grid;
  min-height: 18rem;
  align-content: space-between;
  padding: 1rem;
  background: #2555f5;
}

.paint-swatch > .swatch-label {
  position: static;
  align-self: start;
  color: #ffffff;
  font-size: clamp(2.5rem, 9vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.paint-swatch > .swatch-grid {
  align-self: end;
  border-color: #ffffff;
  background: #ffffff;
}

.paint-swatch .swatch-chip {
  min-height: clamp(4.5rem, 10vw, 7rem);
  padding: 0;
}

.hero-specimen figcaption,
.sample-book figcaption {
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 750;
}

/* Moving workshop index */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
}

.ticker-group > *,
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.82rem 1.25rem;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-group > *::before,
.ticker-item::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.ticker-group > :nth-child(3n + 2)::before {
  background: var(--lime);
}

.ticker-group > :nth-child(3n + 3)::before {
  background: var(--primary);
}

@keyframes ticker-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Sections */
.section {
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic);
}

.section-compact {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section-ink,
.section-cobalt {
  color: var(--fixed-light);
}

.section-ink {
  background: var(--fixed-dark);
}

.section-cobalt {
  background: #2148d7;
}

.section-ink a,
.section-cobalt a {
  color: var(--fixed-light);
}

.section-ink .section-kicker,
.section-cobalt .section-kicker,
.section-ink .section-intro,
.section-cobalt .section-intro,
.section-ink .lede,
.section-cobalt .lede,
.section-ink .eyebrow,
.section-cobalt .eyebrow {
  color: #d9def5;
}

.section-ink .status,
.section-cobalt .status {
  color: var(--fixed-light);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  margin-bottom: clamp(2.2rem, 5vw, 4.5rem);
  padding-top: var(--space-3);
  border-top: 1px solid currentColor;
}

.section-header > * {
  min-width: 0;
}

.section-header .section-title,
.section-header h2 {
  max-width: 15ch;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.section-header .section-intro {
  margin: 0;
}

/* Cards */
.card-grid,
.category-grid,
.service-grid,
.proof-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

.card,
.category-card,
.service-card,
.proof-item,
.process-step {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 15rem;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transform: translate3d(0, 0, 0);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.card::after,
.category-card::after,
.service-card::after,
.proof-item::after,
.process-step::after {
  position: absolute;
  inset: auto 0 0;
  height: 0.42rem;
  background: var(--accent, var(--primary));
  content: "";
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--motion-hover) var(--ease-out-quart);
}

.card:hover,
.category-card:hover,
.service-card:hover,
.proof-item:hover,
.process-step:hover {
  transform: translate3d(0, -5px, 0);
}

.card:hover::after,
.category-card:hover::after,
.service-card:hover::after,
.proof-item:hover::after,
.process-step:hover::after {
  transform: scaleX(1);
}

.card:nth-child(4n + 2),
.category-card:nth-child(4n + 2),
.service-card:nth-child(4n + 2),
.proof-item:nth-child(4n + 2),
.process-step:nth-child(4n + 2) {
  --accent: var(--coral);
}

.card:nth-child(4n + 3),
.category-card:nth-child(4n + 3),
.service-card:nth-child(4n + 3),
.proof-item:nth-child(4n + 3),
.process-step:nth-child(4n + 3) {
  --accent: var(--lime);
}

.card:nth-child(4n + 4),
.category-card:nth-child(4n + 4),
.service-card:nth-child(4n + 4),
.proof-item:nth-child(4n + 4),
.process-step:nth-child(4n + 4) {
  --accent: var(--yellow);
}

.card-title,
.card h3,
.category-card h3,
.service-card h3,
.proof-item h3,
.process-step h3 {
  margin-bottom: var(--space-3);
}

.card p,
.category-card p,
.service-card p,
.proof-item p,
.process-step p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: var(--space-4);
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transform: translate3d(0, 0, 0);
  transition: transform var(--motion-hover) var(--ease-out-quart);
}

.card-link:hover::after {
  transform: translate3d(0.22rem, 0, 0);
}

.card-link > [aria-hidden="true"] {
  display: none;
}

.section-ink .card,
.section-ink .category-card,
.section-ink .service-card,
.section-ink .proof-item,
.section-ink .process-step {
  border-color: rgba(255, 255, 255, 0.38);
  background: var(--fixed-dark-2);
  color: var(--fixed-light);
}

.section-ink .card p,
.section-ink .category-card p,
.section-ink .service-card p,
.section-ink .proof-item p,
.section-ink .process-step p {
  color: #c3c8d1;
}

.section-ink .card-link {
  color: #aebeff;
}

/* Compact trust indicators */
.trust-strip {
  display: block;
  border-block: 1px solid var(--line-strong);
  background: var(--surface-2);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding: 0;
  margin-block: 0;
  background: var(--line-strong);
}

.trust-item {
  position: relative;
  min-width: 0;
  padding: 1.1rem 1.1rem 1.1rem 2.5rem;
  background: var(--surface);
  color: var(--text);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic);
}

.trust-item::before {
  position: absolute;
  inset: 1.48rem auto auto 1rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.trust-item strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.35;
}

.trust-item span,
.trust-item p,
.trust-item dd {
  margin: 0;
  color: var(--muted);
  font-size: var(--step--1);
}

.trust-item dt {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Process / proof */
.process-grid {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-step {
  min-height: 17rem;
  counter-increment: process;
}

.process-step::before {
  margin-bottom: auto;
  color: var(--primary);
  content: "0" counter(process);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.process-step:has(.process-number)::before {
  content: none;
}

.process-number {
  display: block;
  margin-bottom: auto;
  color: var(--primary);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.section-cobalt .process-number {
  color: #d7ff63;
}

.section-action {
  margin: var(--space-5) 0 0;
}

.proof-item {
  min-height: 13rem;
}

.proof-item strong {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--primary);
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.proof-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.proof-footer .status {
  margin: 0;
  color: var(--fixed-light);
}

.section-ink .button-ghost,
.section-cobalt .button-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--fixed-light);
}

.section-cobalt .button-light,
.section-ink .button-light {
  border-color: var(--fixed-light);
  background: var(--fixed-light);
  color: #111318;
}

/* Catalogue */
.catalogue-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

.catalogue-item {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(7.5rem, 0.75fr) minmax(0, 1.25fr);
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.catalogue-item:hover {
  transform: translate3d(0, -3px, 0);
}

.catalogue-item::before {
  content: none;
}

.catalogue-item[data-index] {
  grid-template-columns: 3.25rem minmax(0, 1fr);
}

.catalogue-item[data-index]::before {
  color: var(--primary-strong);
  content: attr(data-index);
  font-size: var(--step-2);
  font-weight: 900;
  line-height: 1;
}

.catalogue-item h3 {
  margin-bottom: var(--space-2);
}

.catalogue-item p:last-child {
  margin-bottom: 0;
}

.catalogue-item > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.catalogue-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: 0;
  margin: var(--space-3) 0 0;
  list-style: none;
}

.catalogue-meta li,
.tag-list li,
.tag {
  width: fit-content;
  padding: 0.25rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 750;
}

/* Split panels */
.split-panel,
.split-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-strong);
}

.split-panel > *,
.split-grid > * {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--surface);
  color: var(--text);
}

.split-panel > :first-child,
.split-grid > :first-child {
  background: #2148d7;
  color: var(--fixed-light);
}

.split-panel > :first-child a,
.split-grid > :first-child a {
  color: var(--fixed-light);
}

.split-panel > :first-child .section-kicker,
.split-grid > :first-child .section-kicker,
.split-panel > :first-child .section-intro,
.split-grid > :first-child .section-intro,
.split-panel > :first-child .lede,
.split-grid > :first-child .lede,
.split-panel > :first-child .eyebrow,
.split-grid > :first-child .eyebrow {
  color: #d9def5;
}

.split-panel h2,
.split-grid h2 {
  overflow-wrap: anywhere;
  text-wrap: wrap;
}

.fact-list,
.contact-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.fact-list li,
.contact-list li {
  display: grid;
  gap: 0.25rem;
  padding-block: var(--space-3);
  border-top: 1px solid currentColor;
}

.fact-list li:last-child,
.contact-list li:last-child {
  border-bottom: 1px solid currentColor;
}

.fact-list strong,
.contact-list strong {
  font-size: 1.05rem;
}

/* Notices and checklists */
.notice,
.archive-note {
  position: relative;
  display: block;
  padding: var(--space-4) var(--space-4) var(--space-4) 4.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic);
}

.notice::before,
.archive-note::before {
  position: absolute;
  display: grid;
  inset: var(--space-4) auto auto var(--space-4);
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #111318;
  border-radius: 50%;
  background: var(--yellow);
  color: #111318;
  content: "i";
  font-weight: 900;
}

.notice > :last-child,
.archive-note > :last-child,
.notice p:last-child,
.archive-note p:last-child {
  margin-bottom: 0;
}

.notice .card-grid,
.archive-note .card-grid {
  margin-top: var(--space-4);
}

.notice > .button,
.archive-note > .button {
  margin-top: var(--space-3);
}

.section-ink .notice a,
.section-cobalt .notice a,
.section-ink .archive-note a,
.section-cobalt .archive-note a {
  color: #111318;
}

.check-list {
  display: grid;
  padding: 0;
  margin: 0;
  border-top: 1px solid currentColor;
  list-style: none;
}

.check-list li {
  position: relative;
  max-width: none;
  padding: var(--space-3) 0 var(--space-3) 2.25rem;
  border-bottom: 1px solid currentColor;
}

.check-list li::before {
  position: absolute;
  display: grid;
  inset: 1.15rem auto auto 0;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border: 1px solid #111318;
  background: var(--lime);
  color: #111318;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

/* Contact */
.contact-card {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  padding: var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transform: translate3d(0, 0, 0);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    transform var(--motion-hover) var(--ease-out-quart);
}

.contact-card:hover {
  transform: translate3d(0, -4px, 0);
}

.contact-card h3 {
  margin-bottom: var(--space-2);
}

.contact-card > p:not(.badge):not(.status) {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.75rem;
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-card > p:not(.badge):not(.status):last-child {
  border-bottom: 1px solid var(--line);
}

.contact-card > p:not(.badge):not(.status) span {
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--primary-strong);
  font-size: var(--step-1);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-form-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
}

.section-ink .contact-form a,
.section-cobalt .contact-form a {
  color: var(--primary-strong);
}

.form-grid {
  display: grid;
  gap: var(--space-3);
}

.form-field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.form-field label,
.form-legend {
  font-size: var(--step--1);
  font-weight: 850;
  letter-spacing: 0.045em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: background-color var(--motion-theme) var(--ease-in-out-cubic),
    border-color var(--motion-theme) var(--ease-in-out-cubic),
    box-shadow var(--motion-hover) var(--ease-out-quart);
}

.form-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}

.form-help,
.form-privacy-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: var(--step--1);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.privacy-grid {
  display: grid;
  gap: var(--space-3);
}

.privacy-card {
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.privacy-card h2,
.privacy-card h3 {
  overflow-wrap: anywhere;
}

.privacy-card h3 {
  margin-bottom: var(--space-3);
}

.privacy-card > :last-child {
  margin-bottom: 0;
}

.privacy-card ul {
  padding-inline-start: 1.25rem;
}

.privacy-card li + li {
  margin-top: 0.45rem;
}

.privacy-details {
  margin: 0;
}

.privacy-details > div {
  display: grid;
  gap: 0.25rem;
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
}

.privacy-details > div:last-child {
  border-bottom: 1px solid var(--line);
}

.privacy-details dt {
  font-weight: 850;
}

.privacy-details dd {
  margin: 0;
  color: var(--muted);
}

.section-cobalt .privacy-details a {
  color: var(--primary-strong);
}

.contact-band,
.cta-band {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid #111318;
  background: var(--lime);
  color: #111318;
}

.contact-band-inner,
.cta-band-inner {
  display: grid;
  align-items: end;
  gap: var(--space-4);
}

.contact-band h2,
.cta-band h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.contact-band .section-kicker,
.cta-band .section-kicker,
.contact-band .section-intro,
.cta-band .section-intro {
  color: #25311b;
}

/* Secondary pages */
.breadcrumbs {
  padding-block: 0.8rem;
  border-bottom: 1px solid currentColor;
  font-size: var(--step--1);
  font-weight: 750;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before,
.breadcrumbs > * + *::before {
  margin-inline: 0.45rem;
  color: var(--coral);
  content: "/";
}

.breadcrumbs > [aria-hidden="true"] {
  display: none;
}

.page-hero {
  padding-block: clamp(3rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero .breadcrumbs {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.page-hero-grid {
  display: grid;
  gap: var(--space-5);
}

.page-hero h1 {
  max-width: 13ch;
  margin-bottom: var(--space-4);
  font-size: clamp(2.8rem, 1.8rem + 4.2vw, 6.2rem);
}

.page-index {
  align-self: end;
  color: var(--primary);
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.7;
  text-align: right;
}

.prose {
  font-size: var(--step-1);
}

.prose > * {
  max-width: 70ch;
}

.prose > * + * {
  margin-block-start: 1.2em;
}

.prose h2,
.prose h3 {
  margin-block-start: 2em;
}

.prose blockquote {
  padding: var(--space-4);
  border-inline-start: 0.45rem solid var(--primary);
  background: var(--surface);
  font-size: var(--step-2);
  font-weight: 750;
  line-height: 1.35;
}

.prose :where(ul, ol) {
  padding-inline-start: 1.35em;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-4);
  cursor: pointer;
  font-size: var(--step-1);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--primary);
  content: "+";
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details > div {
  padding: 0 0 var(--space-4);
}

/* Footer */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 6rem) var(--space-4);
  background: var(--fixed-dark);
  color: var(--fixed-light);
}

.site-footer a {
  color: var(--fixed-light);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
}

.footer-grid > nav,
.footer-nav ul,
.footer-links,
.site-footer nav ul {
  display: grid;
  align-content: start;
  gap: 0.58rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer .brand-name,
.site-footer .brand-name small,
.site-footer .brand-subtitle {
  color: var(--fixed-light);
}

.site-footer .brand-mark {
  border-color: var(--fixed-light);
}

.site-footer .status {
  color: var(--fixed-light);
}

.footer-contact {
  display: grid;
  gap: 0.38rem;
  max-width: 34rem;
  margin-top: var(--space-3);
  color: #dfe3e9;
  font-style: normal;
}

.footer-contact strong {
  color: var(--fixed-light);
  font-size: var(--step-0);
}

.footer-contact a {
  width: fit-content;
  font-weight: 780;
}

.trust-item a {
  color: inherit;
  font-weight: inherit;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: #bdc2ca;
  font-size: var(--step--1);
}

.footer-meta p {
  margin-bottom: 0;
}

/* Progressive reveal: content is visible until JavaScript opts in. */
[data-reveal] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition: opacity var(--motion-hero) var(--ease-out-expo),
    transform var(--motion-hero) var(--ease-out-expo);
  will-change: opacity, transform;
}

.js.reveal-ready [data-reveal][data-reveal-delay="1"] {
  transition-delay: 90ms;
}

.js.reveal-ready [data-reveal][data-reveal-delay="2"] {
  transition-delay: 180ms;
}

.js.reveal-ready [data-reveal][data-reveal-delay="3"] {
  transition-delay: 270ms;
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js .hero .hero-copy,
.js .hero .hero-orbit,
.js .page-hero .hero-copy,
.js .page-hero .hero-specimen {
  animation: hero-enter var(--motion-hero) var(--ease-out-expo) both;
}

.js .hero .hero-orbit,
.js .page-hero .hero-specimen {
  animation-delay: 100ms;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 2rem, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Responsive layout */
@media (max-width: 35.999rem) {
  .notice h2,
  .archive-note h2 {
    font-size: var(--step-3);
    overflow-wrap: anywhere;
  }
}

@media (min-width: 36rem) {
  .container,
  .container-wide {
    width: min(calc(100% - 3rem), var(--content));
  }

  .container-wide {
    width: min(calc(100% - 3rem), var(--content-wide));
  }

  .card-grid,
  .category-grid,
  .service-grid,
  .proof-grid,
  .process-grid,
  .contact-grid,
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field-wide,
  .privacy-card-wide {
    grid-column: 1 / -1;
  }

  .trust-strip {
    display: block;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta,
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 49.999rem) {
  .material-readout {
    display: none;
  }
}

@media (min-width: 50rem) {
  body.nav-open {
    overflow: visible;
  }

  .header-inner {
    grid-template-areas: "brand nav actions";
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    min-height: 5.25rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  html.js .site-nav,
  html.js .site-nav[data-open="true"] {
    max-height: none;
    overflow: visible;
    border-top: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.7rem, 1.7vw, 1.55rem);
  }

  .site-nav li + li {
    border-top: 0;
  }

  .site-nav a {
    min-height: 2.8rem;
    padding: 0.45rem 0;
    font-size: 0.76rem;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  }

  .hero-orbit {
    justify-self: end;
    width: min(100%, 31rem);
  }

  .hero-panel,
  .hero-specimen,
  .sample-book {
    min-height: 29rem;
  }

  .section-header {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
    align-items: end;
    column-gap: var(--space-6);
  }

  .section-header .section-kicker {
    grid-column: 1 / -1;
  }

  .split-panel,
  .split-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .contact-band-inner,
  .cta-band-inner {
    grid-template-columns: minmax(0, 1.25fr) auto;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.5fr);
  }

  .footer-grid {
    grid-template-columns: minmax(15rem, 1.5fr) minmax(10rem, 0.7fr);
  }

  .contact-form-layout {
    grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1.32fr);
    align-items: start;
  }

  /* Keep longer Greek display words intact inside desktop two-column panels. */
  html[lang="el"] .contact-form-layout {
    grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  }

  html[lang="el"] #contact-form-title,
  html[lang="el"] #visit-title,
  html[lang="el"] #photo-title {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  html[lang="el"] #contact-form-title {
    font-size: clamp(2.55rem, 4.6vw, 4.5rem);
  }

  html[lang="el"] #visit-title,
  html[lang="el"] #photo-title {
    font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  }

  /* The four-letter privacy marker needs a tighter desktop scale than 01-04. */
  html[lang="en"] body:has(.privacy-grid) .page-index {
    font-size: clamp(4rem, 8.5vw, 8.5rem);
  }
}

@media (min-width: 68rem) {
  .site-header .brand > .badge {
    display: inline-flex;
  }

  .card-grid,
  .category-grid,
  .service-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .card-grid > *,
  .category-grid > *,
  .service-grid > * {
    grid-column: span 4;
  }

  .card-grid > :nth-child(5n + 1),
  .category-grid > :nth-child(5n + 1),
  .service-grid > :nth-child(5n + 1) {
    grid-column: span 5;
  }

  .card-grid > :nth-child(5n + 2),
  .category-grid > :nth-child(5n + 2),
  .service-grid > :nth-child(5n + 2) {
    grid-column: span 7;
  }

  .proof-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip {
    display: block;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-proof .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-compact .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
    align-items: stretch;
  }

  .catalogue-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .catalogue-grid > * {
    grid-column: span 4;
  }

  .catalogue-grid > :nth-child(5n + 1) {
    grid-column: span 5;
  }

  .catalogue-grid > :nth-child(5n + 2) {
    grid-column: span 7;
  }

  .catalogue-item[data-index] {
    grid-template-columns: 4rem minmax(12rem, 0.8fr) minmax(16rem, 1.2fr);
    align-items: start;
  }

  .catalogue-item[data-index] > :first-child {
    grid-column: 2;
  }

  .catalogue-item[data-index] > :nth-child(2) {
    grid-column: 3;
  }

  .catalogue-item[data-index]::before {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 50rem) and (max-width: 84.999rem) {
  .split-panel .catalogue-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-panel .catalogue-grid > * {
    grid-column: auto;
  }
}

@media (min-width: 85rem) {
  .split-panel .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel .catalogue-grid > * {
    grid-column: auto;
  }

  .split-panel .catalogue-item {
    grid-template-columns: minmax(6rem, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
  }
}

/* Motion and contrast preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .ticker-track {
    width: 100%;
    flex-wrap: wrap;
    transform: none !important;
  }

  .ticker-group[aria-hidden="true"] {
    display: none;
  }

  .js.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-material-stage {
    transform: none !important;
  }

  .hero-webgl-canvas {
    display: none;
  }

  .hero-material-lab.is-webgl-ready .orbit-core {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentColor;
    --line-strong: currentColor;
  }

  .hero-webgl-canvas,
  .hero-material-stage::before,
  .hero-material-stage::after {
    display: none;
  }

  .hero-material-lab.is-webgl-ready .orbit-core {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero-webgl-canvas,
  .hero-material-stage::before,
  .hero-material-stage::after,
  .material-readout {
    display: none;
  }

  .hero-material-lab.is-webgl-ready .orbit-core {
    opacity: 1;
    transform: none;
  }
}

/* Print */
@media print {
  :root,
  :root[data-theme="dark"] {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --surface-3: #ffffff;
    --text: #000000;
    --muted: #222222;
    --line: #000000;
    --line-strong: #000000;
    --primary: #000000;
    --primary-strong: #000000;
    --on-primary: #ffffff;
  }

  html {
    scroll-padding-top: 0;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 10.5pt;
  }

  .nav-toggle,
  .theme-toggle,
  .nav-language,
  .site-nav,
  .skip-link,
  .hero-actions,
  .button-group,
  .ticker {
    display: none !important;
  }

  .site-header {
    position: static;
    border-bottom: 1px solid #000000;
    background: #ffffff;
    box-shadow: none;
    backdrop-filter: none;
  }

  .section,
  .hero,
  .page-hero,
  .site-footer,
  .contact-band,
  .cta-band,
  .section-ink,
  .section-cobalt {
    padding-block: 1.5rem;
    background: #ffffff !important;
    color: #000000 !important;
  }

  .site-footer a,
  .section-ink a,
  .section-cobalt a {
    color: #000000;
  }

  .hero-orbit,
  .hero-panel,
  .hero-specimen,
  .sample-book,
  .card,
  .category-card,
  .service-card,
  .proof-item,
  .process-step,
  .contact-card {
    box-shadow: none;
    break-inside: avoid;
  }

  .hero-orbit {
    max-width: 10cm;
  }

  .hero-webgl-canvas,
  .material-readout {
    display: none !important;
  }

  .hero-material-stage {
    transform: none !important;
  }

  .hero-material-lab.is-webgl-ready .orbit-core {
    opacity: 1;
    transform: none;
  }

  [data-reveal],
  .js.reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: 400;
  }

  .brand::after,
  .site-brand::after,
  .button::after,
  .btn::after,
  .card-link::after {
    content: none;
  }

  @page {
    margin: 1.6cm;
  }
}
