/* Cubical brand tokens. Generated by scripts/design/brand/build.py — do not edit by hand. */
@property --k { syntax: "<number>"; inherits: true; initial-value: .56; }

:root {
  color-scheme: dark light;
  /* neutrals (dark is the default, as on cubical.ro) */
  --paper: #08090d;
  --paper-2: #12141c;
  --ink: #f1eee6;
  --muted: #8d8e97;
  --line: rgba(241, 238, 230, .40);
  --line-soft: rgba(241, 238, 230, .14);
  --grid: rgba(241, 238, 230, .075);
  --face-a: rgba(241, 238, 230, .13);
  --face-b: rgba(241, 238, 230, .015);
  /* accent */
  --accent: #ff5b2e;
  --accent-hi: #ff8a4c;
  --accent-lo: #e2401a;
  --accent-2: #ffb36b;
  --accent-text: #ff5b2e;          /* orange used as text colour */
  --on-accent: #08090d;     /* text on an orange button: always the dark paper */
  --glow: rgba(255, 91, 46, .19);
  --grain: .07;
  /* type */
  --font: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  /* shape and rhythm */
  --radius: 4px;
  --pad: clamp(16px, 2.6vw, 30px);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 112px;
  --measure: 66ch;
}
@media (prefers-color-scheme: light) {
  :root {
    --paper: #f4f1ea;
    --paper-2: #e9e4d8;
    --ink: #15161b;
    --muted: #5e5f67;
    --line: rgba(21, 22, 27, .46);
    --line-soft: rgba(21, 22, 27, .14);
    --grid: rgba(21, 22, 27, .08);
    --face-a: rgba(21, 22, 27, .085);
    --face-b: rgba(255, 255, 255, .30);
    --accent-text: #b8300e;  /* #ff5b2e fails as text on light paper (2.7:1) */
    --glow: rgba(255, 91, 46, .15);
    --grain: .05;
  }
}
/* manual switch: <html data-theme="light"> or "dark" */
:root[data-theme="light"] {
  --paper: #f4f1ea; --paper-2: #e9e4d8; --ink: #15161b; --muted: #5e5f67;
  --line: rgba(21, 22, 27, .46); --line-soft: rgba(21, 22, 27, .14); --grid: rgba(21, 22, 27, .08);
  --accent-text: #b8300e; --glow: rgba(255, 91, 46, .15); --grain: .05;
}
:root[data-theme="dark"] {
  --paper: #08090d; --paper-2: #12141c; --ink: #f1eee6; --muted: #8d8e97;
  --line: rgba(241, 238, 230, .40); --line-soft: rgba(241, 238, 230, .14); --grid: rgba(241, 238, 230, .075);
  --accent-text: #ff5b2e; --glow: rgba(255, 91, 46, .19); --grain: .07;
}

/* ---- site (from docs/design/mockup) ---- */

  /* Mockup of the Cubical home page. Tokens come from ../brand/brand.css; the cube is the one from site/index.html. */
  :root { --face-top: rgba(241,238,230,.20); --s: clamp(150px, 26vmin, 250px); --u: calc(var(--s) / 2); }
  @media (prefers-color-scheme: light) { :root { --face-top: rgba(255,255,255,.62); } }
  :root[data-theme="light"] { --face-top: rgba(255,255,255,.62); }
  :root[data-theme="dark"] { --face-top: rgba(241,238,230,.20); }

  *, *::before, *::after { box-sizing: border-box; }
  .wp-site-blocks { padding: 0 !important; } .wp-site-blocks > * { margin-block: 0 !important; } .wp-block-post-content > * { margin-block: 0 !important; max-width: none !important; }
  main > .wp-block-html, .wp-block-post-content > .wp-block-html { display: contents; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  body::after { content: ""; position: fixed; inset: 0; opacity: var(--grain); mix-blend-mode: overlay; pointer-events: none; z-index: 50;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  img { max-width: 100%; display: block; }
  a { color: var(--accent-text); }
  .wrap { width: min(1180px, 100% - 2 * var(--pad)); margin-inline: auto; }
  .on-light { display: none; }
  @media (prefers-color-scheme: light) { .on-dark { display: none; } .on-light { display: block; } }
  :root[data-theme="light"] .on-dark { display: none; } :root[data-theme="light"] .on-light { display: block; }
  :root[data-theme="dark"] .on-dark { display: block; } :root[data-theme="dark"] .on-light { display: none; }

  .label { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font: 500 12px/1 var(--font-mono); letter-spacing: .34em; text-transform: uppercase; }
  .label::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
  .label b { color: var(--accent-text); font-weight: 500; }
  h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
  h1 { font-size: clamp(36px, 5.2vw, 70px); line-height: 1.04; }
  h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
  h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
  .grad { background: linear-gradient(180deg, var(--ink) 38%, var(--muted) 135%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  p { margin: 0; }
  .lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 52ch; }

  /* buttons */
  .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius); font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
  .btn.p { background: linear-gradient(135deg, var(--accent-hi), var(--accent) 62%, var(--accent-lo)); color: var(--on-accent); }
  .btn.p:hover { box-shadow: 0 10px 30px -8px rgba(255,91,46,.55); }
  .btn.s { border-color: var(--line); color: var(--ink); background: transparent; }
  .btn.s:hover { border-color: var(--accent-text); }
  .btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

  /* header */
  header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
  header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
  header.site .logo { width: 84px; flex: none; }
  header.site nav { display: flex; gap: 28px; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
  header.site nav a { color: var(--muted); text-decoration: none; padding: 8px 0; }
  header.site nav a:hover, header.site nav a[aria-current] { color: var(--ink); }
  .head-actions { display: flex; align-items: center; gap: 12px; }
  .theme { width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: transparent; color: var(--ink); cursor: pointer; font-size: 16px; }
  .menu { display: none; min-height: 40px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }

  /* hero */
  .hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px); background: radial-gradient(ellipse 80% 48% at 78% 48%, var(--glow), transparent 100%), radial-gradient(ellipse 42% 30% at 78% 48%, var(--glow), transparent 72%); }
  .hero::before { content: ""; position: absolute; left: 76%; top: 48%; width: 240vmax; height: 240vmax; margin: -120vmax 0 0 -120vmax; border-radius: 50%; z-index: 0; pointer-events: none;
    background: repeating-radial-gradient(circle, transparent 0 56px, var(--grid) 56px 57px);
    -webkit-mask-image: radial-gradient(circle, transparent calc(var(--s) * .7), #000 calc(var(--s) * 1.4), transparent 70vmin); mask-image: radial-gradient(circle, transparent calc(var(--s) * .7), #000 calc(var(--s) * 1.4), transparent 70vmin); }
  .hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
  .hero h1 { margin: 28px 0 24px; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
  .hero .note { margin-top: 22px; color: var(--muted); font: 500 12px/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
  .frame i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--line); z-index: 1; }
  .frame i:nth-child(1) { top: 22px; left: var(--pad); border-width: 1px 0 0 1px; } .frame i:nth-child(2) { top: 22px; right: var(--pad); border-width: 1px 1px 0 0; }
  .frame i:nth-child(3) { bottom: 22px; left: var(--pad); border-width: 0 0 1px 1px; } .frame i:nth-child(4) { bottom: 22px; right: var(--pad); border-width: 0 1px 1px 0; }

  /* the cube from site/index.html */
  .stage { position: relative; width: calc(var(--s) * 1.9); height: calc(var(--s) * 1.96); display: grid; place-items: center; perspective: calc(var(--s) * 5.2); margin-inline: auto; }
  .float { transform-style: preserve-3d; animation: bob 8s ease-in-out infinite; }
  .rig { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-22deg); animation: spin 48s linear infinite, breathe 8s ease-in-out infinite; }
  .c { --m: 1; position: absolute; left: calc(var(--u) / -2); top: calc(var(--u) / -2); width: var(--u); height: var(--u); transform-style: preserve-3d;
       transform: translate3d(calc(var(--x) * var(--u) * var(--k) * var(--m)), calc(var(--y) * var(--u) * var(--k) * var(--m)), calc(var(--z) * var(--u) * var(--k) * var(--m))); }
  .c:nth-child(1) { --x: -1; --y: -1; --z: -1; } .c:nth-child(2) { --x: 1; --y: -1; --z: -1; } .c:nth-child(3) { --x: -1; --y: 1; --z: -1; } .c:nth-child(4) { --x: 1; --y: 1; --z: -1; }
  .c:nth-child(5) { --x: -1; --y: -1; --z: 1; } .c:nth-child(6) { --x: 1; --y: -1; --z: 1; } .c:nth-child(7) { --x: -1; --y: 1; --z: 1; } .c:nth-child(8) { --x: 1; --y: 1; --z: 1; }
  .c > i { position: absolute; inset: 0; border: 1px solid var(--line); background: linear-gradient(135deg, var(--face-a), var(--face-b)); }
  .c > i:nth-child(1) { transform: translateZ(calc(var(--u) / 2)); } .c > i:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--u) / 2)); }
  .c > i:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--u) / 2)); } .c > i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--u) / 2)); }
  .c > i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--u) / 2)); background: linear-gradient(135deg, var(--face-top), var(--face-a)); }
  .c > i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--u) / 2)); }
  .c.a { --m: 1.2; } .c.a > i { border-color: rgba(255,196,150,.9); background: linear-gradient(135deg, #ff8a4c, var(--accent) 62%, #e2401a); box-shadow: 0 0 calc(var(--s) * .22) rgba(255,91,46,.38); }
  .c.a > i:nth-child(5) { background: linear-gradient(135deg, var(--accent-2), #ff7a3d); }
  .floor { position: absolute; left: 50%; bottom: 0; width: calc(var(--s) * 1.25); height: calc(var(--s) * .16); margin-left: calc(var(--s) * -.625); background: radial-gradient(closest-side, rgba(255,91,46,.26), transparent); filter: blur(5px); z-index: -1; animation: floor 8s ease-in-out infinite; }
  @keyframes spin { from { transform: rotateX(-24deg) rotateY(-22deg); } to { transform: rotateX(-24deg) rotateY(338deg); } }
  @keyframes breathe { 0%, 100% { --k: .51; } 50% { --k: .67; } }
  @keyframes bob { 0%, 100% { transform: translateY(-2%); } 50% { transform: translateY(3%); } }
  @keyframes floor { 0%, 100% { transform: scale(.86); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }

  /* sections */
  section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line-soft); position: relative; }
  .head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
  .grid { display: grid; gap: 20px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(135deg, var(--face-a), var(--face-b)); text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
  .card:hover { border-color: var(--accent-text); transform: translateY(-2px); }
  .card .n { font: 500 12px/1 var(--font-mono); letter-spacing: .3em; color: var(--accent-text); }
  .card p { color: var(--muted); font-size: 16px; }
  .card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .chip { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line-soft); border-radius: 3px; color: var(--muted); }
  .price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: baseline; gap: 10px; }
  .price i { font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-style: normal; }
  .price b { font-size: 26px; font-weight: 500; }
  .more { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
  .split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
  .steps { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
  .step::before { counter-increment: s; content: "0" counter(s); font: 500 14px/1.6 var(--font-mono); letter-spacing: .2em; color: var(--accent-text); }
  .step p { color: var(--muted); margin-top: 6px; }
  .tablewrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
  table { width: 100%; border-collapse: collapse; min-width: 720px; }
  th, td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: top; font-size: 16px; }
  th { font: 500 11px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
  tr:last-child td { border-bottom: 0; }
  td:first-child { font-weight: 600; } td.pr { white-space: nowrap; font-size: 20px; color: var(--accent-text); font-weight: 500; }
  td.pr small { display: block; font: 500 10px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .fine { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 80ch; }
  .ph { border: 1px dashed var(--line); border-radius: var(--radius); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 14px, var(--grid) 14px 15px); }
  .ph b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
  .faq { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
  details { border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
  summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font-size: 20px; font-weight: 500; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font: 400 26px/1 var(--font-mono); color: var(--accent-text); transition: transform .2s ease; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { color: var(--muted); margin-top: 14px; max-width: 70ch; }

  /* contact */
  .contact { background: radial-gradient(50vmin 36vmin at 20% 60%, var(--glow), transparent 72%), var(--paper-2); }
  .contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
  form { display: grid; gap: 16px; }
  label { display: grid; gap: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  input[type=text], input[type=email], textarea { width: 100%; font: 400 17px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
  textarea { min-height: 130px; resize: vertical; }
  .check { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
  .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
  .mail { display: grid; gap: 6px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
  .mail span { color: var(--muted); font-size: 15px; }

  /* footer */
  footer.site { padding: 56px 0 40px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 15px; }
  footer.site .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
  footer.site h4 { margin: 0 0 14px; font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
  footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  footer.site a { color: var(--muted); text-decoration: none; } footer.site a:hover { color: var(--ink); }
  .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; margin-top: 12px; border-top: 1px solid var(--line-soft); font: 500 11px/1.6 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }

  @media (max-width: 980px) {
    .hero .wrap, .split, .contact .wrap { grid-template-columns: 1fr; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .stage { margin-top: 12px; }
    footer.site .wrap { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    header.site nav { display: none; } .menu { display: inline-block; } header.site .logo { width: 72px; }
    header.site .head-actions .btn { display: none; }
  }
  @media (max-width: 620px) {
    :root { --s: clamp(120px, 34vw, 170px); }
    .cards { grid-template-columns: 1fr; }
    footer.site .wrap { grid-template-columns: 1fr; }
    .step { grid-template-columns: 44px 1fr; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- sub-pages, mobile menu, contact form messages ---- */
@media (max-width: 760px) {
  header.site nav.open { display: grid; position: absolute; left: 0; right: 0; top: 72px; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: 8px var(--pad) 16px; }
  header.site nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
}
.phero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(ellipse 80% 48% at 78% 48%, var(--glow), transparent 100%), radial-gradient(ellipse 42% 30% at 78% 48%, var(--glow), transparent 72%); }
.phero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; width: min(1180px, 100% - 2 * var(--pad)); margin-inline: auto; }
.phero { --s: clamp(120px, 20vmin, 190px); }
.phero .pcol { display: grid; gap: 20px; justify-items: start; }
.phero .pcol > * { max-width: 62ch; }
.phero .pcol > h1 { max-width: 20ch; }
.phero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; max-width: none; }
@media (max-width: 980px) { .phero .wrap { grid-template-columns: 1fr; } .phero .stage { display: none; } }
.crumbs { font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.from { display: flex; align-items: baseline; gap: 12px; }
.from i { font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.from b { font-size: 34px; font-weight: 500; } .from small { color: var(--muted); font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; background: linear-gradient(135deg, var(--face-a), var(--face-b)); }
.box h3 { margin-bottom: 14px; }
.box ul, .prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; color: var(--muted); }
.box li::marker, .prose li::marker { color: var(--accent-text); }
.prose { max-width: 70ch; display: grid; gap: 18px; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 24px; }
.band { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line-soft); }
.bandbox { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: radial-gradient(60% 120% at 100% 50%, var(--glow), transparent 70%), linear-gradient(135deg, var(--face-a), var(--face-b)), var(--paper-2); }
.bandbox > * { position: relative; z-index: 1; }
.bandbox .k1, .bandbox .k2, .bandbox .k3, .bandbox .k4 { position: absolute; width: 12px; height: 12px; border: 0 solid var(--line); }
.bandbox .k1 { top: 14px; left: 14px; border-width: 1px 0 0 1px; } .bandbox .k2 { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.bandbox .k3 { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; } .bandbox .k4 { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }
.bandbox .bt { display: grid; gap: 16px; justify-items: start; }
.bandbox h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; max-width: 18ch; }
.bandbox .bt p { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; }
.bandbox .ba { display: grid; gap: 14px; justify-items: stretch; min-width: 250px; }
.bandbox .ba small { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 30ch; }
.btn.lg { min-height: 58px; padding: 0 32px; font-size: 17px; justify-content: center; }
.btn.lg span { transition: transform .15s ease; }
.bandbox .ba .btn.s { justify-content: center; }
@media (max-width: 860px) { .bandbox { grid-template-columns: 1fr; } .bandbox .ba { min-width: 0; } .bandbox .ba small { max-width: none; } }
.notice { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.notice.ok { border-color: var(--accent-text); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
details.wp-block-details { border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
.faq-wrap { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
@media (max-width: 980px) { .two { grid-template-columns: 1fr; } }
.hero::before { display: none !important; }

/* ---- gradient headings: do not clip descenders (g, p, ț) ---- */
.grad { padding-bottom: .14em; margin-bottom: -.14em; }

/* ---- masked e-mail with eye icon ---- */
.cbm { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.cbm-t { font-variant-numeric: tabular-nums; letter-spacing: .01em; } .cbm-t a { color: var(--accent-text); text-decoration: none; } .cbm-t a:hover { text-decoration: underline; }
.cbm-b { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); background: transparent; color: var(--muted); cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.cbm-b:hover { color: var(--ink); border-color: var(--accent-text); } .cbm-b:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.cbm .eye-shut { display: none; } .cbm.open .eye-shut { display: block; } .cbm.open .eye-open { display: none; }
.cbm.onbtn { justify-content: space-between; min-height: 48px; padding: 0 6px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.cbm.onbtn .cbm-b { border-color: transparent; }
.mail .cbm { font-size: 20px; }

/* ---- footer ---- */
footer.site.foot { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 28px; background: radial-gradient(50vmin 40vmin at 12% 20%, var(--glow), transparent 72%); }
footer.site.foot .wrap { display: block; }
.foot-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.foot-brand { display: grid; gap: 18px; justify-items: start; }
.foot-logo { width: 96px; }
.foot-brand h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; max-width: 14ch; }
.foot-brand p { color: var(--muted); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.foot-tech { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.foot-tech .chips { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site li a { position: relative; display: inline-block; transition: color .15s ease, transform .15s ease; } footer.site li a:hover { transform: translateX(3px); }
.foot-word { margin: clamp(36px, 6vw, 72px) 0 0; font: 300 min(14.4vw, 178px)/.82 var(--font); letter-spacing: .2em; white-space: nowrap; text-align: center; text-indent: .2em; user-select: none;
  background: linear-gradient(180deg, var(--line) 0%, transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
footer.site.foot .legal { margin-top: 8px; padding-top: 24px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }

/* ---- Fluent Forms in the Cubical style ---- */
.fluentform .ff-el-input--label label, .fluentform .ff-el-form-control + label { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fluentform .ff-el-group { margin-bottom: 16px; }
.fluentform .ff-el-form-control { width: 100%; font: 400 17px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: none; }
.fluentform .ff-el-form-control:focus { border-color: var(--accent-text); outline: 2px solid var(--accent-text); outline-offset: 2px; background: var(--paper); color: var(--ink); }
.fluentform .ff-el-form-control::placeholder { color: var(--muted); opacity: .8; }
.fluentform textarea.ff-el-form-control { min-height: 130px; }
.fluentform .ff-el-tc label, .fluentform .ff_t_c, .fluentform .ff-el-form-check label { font: 400 14px/1.5 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
.fluentform input[type=checkbox] { accent-color: var(--accent); width: 20px; height: 20px; }
.fluentform .ff-btn-submit, .fluentform .ff-btn.ff-btn-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius); font: 600 16px/1 var(--font);
  background: linear-gradient(135deg, var(--accent-hi), var(--accent) 62%, var(--accent-lo)); color: var(--on-accent); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.fluentform .ff-btn-submit:hover { box-shadow: 0 10px 30px -8px rgba(255,91,46,.55); opacity: 1; }
.fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--accent-text); }
.fluentform .error, .fluentform .text-danger { color: var(--accent-text); font-size: 14px; margin-top: 6px; }
.ff-message-success { border: 1px solid var(--accent-text); border-radius: var(--radius); background: var(--paper-2); color: var(--ink); padding: 18px 20px; box-shadow: none; }
.ff-message-success p { margin: 0; }
.fluentform input[type=checkbox] { margin-right: 12px; vertical-align: middle; }

.foot-brand h2 { max-width: 16ch; } .foot-brand p { max-width: 40ch; }
.foot-brand { gap: 20px; } .foot-logo { margin-bottom: 14px; } .foot-brand h2 { font-size: clamp(26px, 2.9vw, 40px); max-width: 21ch; }

/* ---- answer box, checklists, technology tiles ---- */
.answer { padding: clamp(32px, 4vw, 48px) 0 0; border: 0; }
.abox { display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent); border-radius: var(--radius); background: linear-gradient(135deg, var(--face-a), var(--face-b)); }
.abox p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 80ch; }
.checks ol { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; } .checks li::marker { color: var(--accent-text); font-weight: 600; }
.prose ul { max-width: none; }
.techgrp { display: grid; gap: 12px; margin-bottom: 28px; }
.techgrp h3 { font: 500 12px/1 var(--font-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.tbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tchip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-soft); border-radius: 999px; background: transparent; color: var(--muted); font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.tchip b { font-weight: 500; color: var(--accent-text); margin-left: 6px; }
.tchip:hover { color: var(--ink); border-color: var(--line); }
.tchip[aria-pressed="true"] { color: var(--on-accent); border-color: transparent; background: linear-gradient(135deg, var(--accent-hi), var(--accent) 62%, var(--accent-lo)); }
.tchip[aria-pressed="true"] b { color: var(--on-accent); }
.tchip:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 104px; padding: 18px 8px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius); text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--face-a), var(--face-b)); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .2s ease; }
.tile img { height: 34px; width: auto; max-width: 74px; object-fit: contain; display: block; filter: brightness(0) invert(1); opacity: .72; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.tile span { font: 500 11px/1.2 var(--font-mono); letter-spacing: .07em; color: var(--muted); transition: color .2s ease; }
.tile:hover { border-color: var(--accent-text); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(255, 91, 46, .5); }
.tile:hover::after { opacity: 1; }
.tile:hover img { filter: none; opacity: 1; transform: scale(1.08); }
.tile:hover span { color: var(--ink); }
.tile[hidden] { display: none; }
@media (prefers-color-scheme: light) { .tile img { filter: brightness(0); opacity: .66; } }
:root[data-theme="light"] .tile img { filter: brightness(0); opacity: .66; } :root[data-theme="dark"] .tile img { filter: brightness(0) invert(1); opacity: .72; }
:root[data-theme="light"] .tile:hover img, :root[data-theme="dark"] .tile:hover img { filter: none; opacity: 1; }
@media (prefers-color-scheme: light) { .tile:hover img { filter: none; opacity: 1; } }
@media (hover: none) { .tile img { filter: none; opacity: 1; } }

/* ---- robustness: long words and grid items never push the page wider ---- */
.faq, .faq details, .faq summary, .split > *, .grid > *, .two > * { min-width: 0; }
summary, details p, .card p, .box li, td, th { overflow-wrap: anywhere; }
summary > :first-child { min-width: 0; }

/* ================= design pass: header, rhythm, new sections ================= */
header.site .wrap { height: 84px; }
header.site .logo { width: 62px; }
@media (max-width: 760px) { header.site .logo { width: 54px; } header.site nav.open { top: 84px; } }
main section.alt { background: var(--paper-2); }
main section.alt .tile, main section.alt .mini, main section.alt .abox { background: var(--paper); }
@media (min-width: 981px) { .split > .head { position: sticky; top: 120px; align-self: start; } }

/* stat strip */
.statsec { padding: clamp(28px, 4vw, 44px) 0 0; border: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--face-a), var(--face-b)); }
.st { display: grid; gap: 10px; padding: clamp(20px, 3vw, 32px); border-right: 1px solid var(--line-soft); }
.st:last-child { border-right: 0; }
.st i { font: 500 11px/1.3 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.st b { font-size: clamp(24px, 3.2vw, 40px); font-weight: 500; line-height: 1.1; }
.st.hot b { color: var(--accent-text); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .st { border-right: 0; border-bottom: 1px solid var(--line-soft); } .st:last-child { border-bottom: 0; } }

/* mini cards */
.minis { display: grid; gap: 14px; } .minis.c3 { grid-template-columns: repeat(3, 1fr); } .minis.c2 { grid-template-columns: repeat(2, 1fr); }
.mini { position: relative; display: grid; gap: 12px; align-content: start; padding: 24px 24px 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(135deg, var(--face-a), var(--face-b)); transition: border-color .2s ease, transform .2s ease; }
.mini:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.mn { font: 500 12px/1 var(--font-mono); letter-spacing: .3em; color: var(--accent-text); }
.mini p { color: var(--ink); font-size: 16.5px; line-height: 1.5; }
@media (max-width: 900px) { .minis.c3, .minis.c2 { grid-template-columns: 1fr; } }

/* timeline */
.tl { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 34px; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-soft) 40%, var(--line-soft)); }
.tl-i { position: relative; display: grid; gap: 10px; align-content: start; }
.tl-i::before { content: ""; position: absolute; left: 0; top: -29px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.tl-n { font: 300 clamp(40px, 4.4vw, 60px)/1 var(--font); color: transparent; -webkit-text-stroke: 1px var(--accent-text); letter-spacing: .02em; }
.tl-i h3 { font-size: 20px; } .tl-i p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 30px; }
  .tl::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-soft)); }
  .tl-i::before { left: -30px; top: 8px; }
}

/* principles */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pr3 { display: grid; gap: 14px; align-content: start; padding: 30px 28px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: radial-gradient(70% 60% at 0% 0%, var(--glow), transparent 70%), linear-gradient(135deg, var(--face-a), var(--face-b)); color: var(--ink); }
.pr3 svg { color: var(--line); } .pr3 h3 { font-size: 22px; } .pr3 p { color: var(--muted); }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

/* technology marquee */
.marq { overflow: hidden; border-block: 1px solid var(--line-soft); padding: 22px 0; background: var(--paper-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-track { display: flex; gap: 56px; width: max-content; animation: marq 70s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.mq img { height: 26px; width: auto; max-width: 60px; filter: brightness(0) invert(1); opacity: .6; transition: filter .2s ease, opacity .2s ease; }
.mq i { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; font-style: normal; }
.mq:hover img { filter: none; opacity: 1; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-color-scheme: light) { .mq img { filter: brightness(0); opacity: .55; } .mq:hover img { filter: none; } }
:root[data-theme="light"] .mq img { filter: brightness(0); opacity: .55; } :root[data-theme="dark"] .mq img { filter: brightness(0) invert(1); opacity: .6; }
@media (prefers-reduced-motion: reduce) { .marq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--pad); } .marq { -webkit-mask-image: none; mask-image: none; } }

/* goal list on the services hub */
.goals { display: grid; border-top: 1px solid var(--line-soft); }
.goal { display: grid; grid-template-columns: 1fr auto 28px; gap: 20px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; font-size: clamp(18px, 2vw, 24px); transition: padding .2s ease, background .2s ease; }
.goal b { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.goal i { font-style: normal; color: var(--accent-text); transition: transform .2s ease; }
.goal:hover { padding-left: 18px; background: linear-gradient(90deg, var(--glow), transparent 60%); } .goal:hover i { transform: translateX(6px); }
@media (max-width: 700px) { .goal { grid-template-columns: 1fr 24px; } .goal b { grid-column: 1; grid-row: 2; } .goal i { grid-row: 1 / span 2; grid-column: 2; } }

/* price cards on the prices page */
.pcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pcard { display: grid; gap: 8px; padding: 24px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(135deg, var(--face-a), var(--face-b)); text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.pcard:hover { border-color: var(--accent-text); transform: translateY(-3px); }
.pcard i { font: 500 11px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.pcard b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; color: var(--accent-text); }
.pcard small { color: var(--muted); font-size: 13px; } .pcard em { font-style: normal; font-size: 14px; }
@media (max-width: 1100px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pcards { grid-template-columns: 1fr; } }

/* 404 */
.nf { padding: clamp(72px, 12vw, 160px) 0; background: radial-gradient(46vmin 34vmin at 80% 40%, var(--glow), transparent 72%); border: 0; }
.nf .wrap { display: grid; gap: 22px; justify-items: start; } .nf .actions { display: flex; flex-wrap: wrap; gap: 14px; }
summary::after { flex: none; width: 26px; text-align: center; }
.faq details, details.wp-block-details { overflow: hidden; }
.statsec { padding-bottom: clamp(36px, 5vw, 56px); }
.from { flex-wrap: wrap; } .from i, .from b { white-space: nowrap; } @media (max-width: 520px) { .from b { font-size: 30px; } }

/* footer: technology logo strip */
.foot-tech { display: grid; gap: 14px; }
.ftech { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ftech li { display: grid; place-items: center; height: 52px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(135deg, var(--face-a), var(--face-b)); transition: border-color .2s ease, transform .2s ease; }
.ftech li:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.ftech img { height: 22px; width: auto; max-width: 56px; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: filter .2s ease, opacity .2s ease; }
.ftech li:hover img { filter: none; opacity: 1; }
@media (prefers-color-scheme: light) { .ftech img { filter: brightness(0); opacity: .62; } .ftech li:hover img { filter: none; opacity: 1; } }
:root[data-theme="light"] .ftech img { filter: brightness(0); opacity: .62; } :root[data-theme="dark"] .ftech img { filter: brightness(0) invert(1); opacity: .7; }
:root[data-theme="light"] .ftech li:hover img, :root[data-theme="dark"] .ftech li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .ftech img { filter: none; opacity: 1; } }
.ftech-all { font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.ftech-all:hover { text-decoration: underline; }
@media (max-width: 520px) { .ftech { grid-template-columns: repeat(4, 1fr); } }

/* ================= section backgrounds (the pattern images from docs/design/assets/patterns) ================= */
.bg-art { position: relative; isolation: isolate; overflow: hidden; }
.bg-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--art) center / cover no-repeat; pointer-events: none; }
.bg-grid { --art: url("../img/bg/blueprint-grid.webp"); }
.bg-lattice { --art: url("../img/bg/cub-izometric.webp"); }
/* the images are dark art: in the light theme they are inverted (dark -> light, orange stays orange) */
@media (prefers-color-scheme: light) { .bg-art::before, .bandbox::before { filter: invert(1) hue-rotate(180deg) saturate(1.15); } }
:root[data-theme="light"] .bg-art::before, :root[data-theme="light"] .bandbox::before { filter: invert(1) hue-rotate(180deg) saturate(1.15); }
:root[data-theme="dark"] .bg-art::before, :root[data-theme="dark"] .bandbox::before { filter: none; }
.bg-lattice .tile, .bg-network .tile { background: var(--paper); }

.divd { color: var(--accent-text); padding: 6px var(--pad); overflow: hidden; border-top: 1px solid var(--line-soft); }
.divd svg { display: block; width: min(1180px, 100%); height: auto; margin-inline: auto; max-height: 56px; }

/* offer panel: light streaks image as the panel background */
.bandbox { isolation: isolate; background: var(--paper-2); }
.bandbox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/bg/dungi-de-lumina.webp") center / cover no-repeat; opacity: 1; mix-blend-mode: normal; pointer-events: none; display: block; }
.bandbox::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--paper-2) 0%, transparent 65%); opacity: .75; pointer-events: none; }

/* toned down: backgrounds are only a hint */
.bg-art::before { opacity: .45; }
.bandbox::before { opacity: .6; }

/* more backgrounds, kept light (images from docs/design/assets/patterns) */
.bg-circuit { --art: url("../img/bg/circuit-trasee.webp"); }
.bg-code { --art: url("../img/bg/linii-de-cod.webp"); }
.bg-network { --art: url("../img/bg/retea-de-noduri.webp"); }
.bg-dots { --art: url("../img/bg/matrice-de-puncte.webp"); }
.bg-pixels { --art: url("../img/bg/bloc-pixeli.webp"); }
.bg-circuit::before, .bg-network::before, .bg-dots::before { opacity: .5; }
.bg-code::before { opacity: .32; }
.bg-pixels::before { opacity: .55; background-position: right top; }
.bg-network .tile, .bg-circuit .mini, .bg-code details { background-color: transparent; }

/* budget tiers and combination links (services hub) */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { display: grid; gap: 14px; align-content: start; padding: 28px 26px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(135deg, var(--face-a), var(--face-b)); }
.tier h3 { font-size: 26px; font-weight: 500; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.tier li a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; transition: padding .2s ease; }
.tier li a:hover { padding-left: 8px; } .tier li a b { font-weight: 500; color: var(--accent-text); white-space: nowrap; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.mini .cl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mini .cl a { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.mini .cl a:hover { border-color: var(--accent-text); }
.mini h3 { font-size: 20px; }

/* slightly stronger muted text (WCAG 4.5:1 on both themes) */
:root { --muted: #9b9ca5; }
@media (prefers-color-scheme: light) { :root { --muted: #52535b; } }
:root[data-theme="light"] { --muted: #52535b; } :root[data-theme="dark"] { --muted: #9b9ca5; }
.tier .label { line-height: 1.6; letter-spacing: .2em; }
@media (prefers-color-scheme: light) { :root { --accent-text: #a82c0c; } }
:root[data-theme="light"] { --accent-text: #a82c0c; } :root[data-theme="dark"] { --accent-text: #ff5b2e; }

/* contact form card */
.formcard { position: relative; display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: radial-gradient(70% 50% at 100% 0%, var(--glow), transparent 70%), linear-gradient(135deg, var(--face-a), var(--face-b)), var(--paper); box-shadow: 0 30px 60px -40px rgba(0,0,0,.6); }
.formcard .k1, .formcard .k2, .formcard .k3, .formcard .k4 { position: absolute; width: 12px; height: 12px; border: 0 solid var(--line); }
.formcard .k1 { top: 12px; left: 12px; border-width: 1px 0 0 1px; } .formcard .k2 { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.formcard .k3 { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; } .formcard .k4 { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
.fc-head { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.fc-head h3 { font-size: 26px; font-weight: 500; } .fc-head p { color: var(--muted); font-size: 15px; }
.formcard .fluentform .ff-el-form-control { background: var(--paper-2); }

.bg-pixels::before { opacity: .35; }

/* the header wrapper stays at the top while scrolling (header v1) */
.hdr-v1 .wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 30; }
.hdr-v1 header.site { position: relative; top: auto; }

/* contact: left column centred next to the form card, no stretched gaps */
.contact .wrap { align-items: center; }
.contact .head { align-content: center; gap: 18px; }
.contact .head h2 { margin: 0; }
.contact .mail { margin-top: 12px; }

/* animations stop while their block is off screen (class set by site.js) */
.marq.is-paused .marq-track, .stage.is-paused *, .stage.is-paused { animation-play-state: paused !important; }

/* the film-grain overlay is a full-screen blend layer: it is repainted on every animation frame, so it is skipped on phones and tablets and for people who prefer less motion (invisible difference: opacity .05-.07) */
@media (max-width: 1080px), (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* illustrations: the small float of the orange cube repaints an SVG with filters, so it is off on phones/tablets, for reduced motion and while the illustration is off screen */
@media (max-width: 980px), (prefers-reduced-motion: reduce) { .il .bx.or { animation: none; } }
.il.is-paused .bx.or { animation-play-state: paused; }
