/* ARQIVEN Media
   VOICE   occasion: a quiet, confident production house; few hues, fine detail, air
   IDEA    an editing suite: program monitor, timeline, playhead, title cards
   PICTURE the home monitor plays the ARQIVEN end card while the playhead runs a
           timeline whose three tracks are the three services
   COLOUR  screen black, the logo's lavender silver as the second field, and one
           clip colour per service (iris film, teal post, rose content) as encoding
   TYPE    Cardo for headings (the logo's Roman capitals), Gillius for text,
           Anonymous Pro digits only for timecode inside the suite
   LAYOUT  title across the top, the suite full width beneath; phones stack */

@font-face { font-family: "Cardo"; src: url("../fonts/cardo-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Gillius"; src: url("../fonts/gillius-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gillius"; src: url("../fonts/gillius-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Gillius"; src: url("../fonts/gillius-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Anon"; src: url("../fonts/anonymous-digits.woff") format("woff"); font-display: swap; }

:root {
  color-scheme: dark;
  --black: #000;
  --panel: #141318;
  --lane: #1D1C23;
  --line: rgba(217, 214, 228, .16);
  --line-2: rgba(217, 214, 228, .32);
  --silver: #D9D6E4;
  --silver-hi: #F1EFF6;
  --ash: #A6A3B1;
  --on-silver: #000;
  --on-silver-2: #3B3946;
  --film: #9D8CFF;
  --post: #4CC3B2;
  --content: #E88AA6;
  --focus: #B8ABFF;
  --display: "Cardo", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Gillius", "Gill Sans", "Gill Sans MT", "Segoe UI", system-ui, sans-serif;
  --tc: "Anon", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: max(5vw, 16px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: cubic-bezier(.7, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--silver); font: 17px/1.6 var(--sans); letter-spacing: .005em; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--silver-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--silver); color: #000; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--silver); color: #000; padding: 10px 14px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--silver-hi); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.06; letter-spacing: -.01em; }
h3 { font-size: 23px; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ash); max-width: 38em; margin: 16px 0 0; }
.note { font-size: 14px; color: var(--ash); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--silver); color: #000; border: 1px solid var(--silver); border-radius: 2px; font: 400 16px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #fff; border-color: #fff; color: #000; }
.btn-line { background: transparent; color: var(--silver-hi); border-color: var(--line-2); }
.btn-line:hover { background: transparent; color: #fff; border-color: var(--silver); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; transition: min-height .3s var(--ease); }
.is-scrolled .bar { min-height: 60px; }
.brand { display: block; padding: 6px 0; }
.brand img { height: 30px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 26px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav ul { display: flex; gap: clamp(16px, 2.6vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ash); text-decoration: none; font-size: 16px; padding: 10px 0; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--silver-hi); }
.nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; background: transparent; color: var(--silver-hi); border: 1px solid var(--line-2); border-radius: 2px; font: 16px var(--sans); cursor: pointer; }
/* scrub bar: the page as a timeline */
.scrub { position: relative; height: 1px; background: var(--line); }
.scrub i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, rgba(217, 214, 228, .15), rgba(217, 214, 228, .6)); }
.scrub::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--silver-hi); left: calc(var(--sp, 0) * (100% - 1px)); opacity: 0; transition: opacity .3s; }
.is-scrolled .scrub::after { opacity: 1; }

/* Bands */
.band { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head { max-width: 46em; margin-bottom: clamp(36px, 5vw, 60px); }
.silver { background: var(--silver); color: var(--on-silver); }
.silver h2, .silver h3 { color: #000; }
.silver .lede { color: var(--on-silver-2); }
.silver a { color: #000; }
.silver :focus-visible { outline-color: #000; }

/* ---------------------------------------------------------------- Edit suite (home) */
.suite { padding: clamp(22px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.suite-head { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 36px); }
.suite h1 { font-size: clamp(40px, 4.3vw, 60px); }
.suite-intro p { color: var(--ash); max-width: 34em; margin: 0; }
.suite-intro .actions { margin-top: 22px; }
.monitor { margin: 0; background: var(--panel); border: 1px solid var(--line); padding: clamp(10px, 1.4vw, 18px); }
.screen { position: relative; width: min(100%, calc(min(33vh, 400px) * 2.39)); aspect-ratio: 2.39 / 1; margin: 0 auto; background: #000; overflow: hidden; }
.safe { position: absolute; inset: 7% 5%; pointer-events: none;
  background:
    linear-gradient(var(--line-2), var(--line-2)) top left / 18px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top left / 1px 18px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 18px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 1px 18px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 18px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 1px 18px no-repeat; }
.endcard { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s ease; }
.endlogo { position: relative; width: 46%; aspect-ratio: 900 / 220; }
.endlogo img { width: 100%; height: 100%; }
.sheen { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask: url("../img/brand/arqiven-logo.png") center / 100% 100% no-repeat; mask: url("../img/brand/arqiven-logo.png") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 62%) 0 0 / 300% 100% no-repeat; }
.monitor.is-end .sheen { animation: sheen 1.5s ease .25s both; }
@keyframes sheen { 0% { opacity: 1; background-position: 100% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0 0; } }
.slate { position: absolute; left: 6%; right: 6%; bottom: 10%; display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .2s; }
.slate-svc { font-size: 14px; color: var(--ash); display: inline-flex; align-items: center; gap: 8px; }
.slate-svc::before { content: ""; width: 10px; height: 10px; border-radius: 1px; background: var(--sc, var(--silver)); }
.slate-name { font-family: var(--display); font-size: clamp(20px, 2.6vw, 34px); color: var(--silver-hi); line-height: 1.1; }
.monitor.is-slate .slate { opacity: 1; }
.monitor.is-slate .endcard { opacity: 0; }
.transport { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 2px 10px; font-size: 14px; color: var(--ash); }
.tc, .tc-len, .ruler span { font-family: var(--tc); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tc { color: var(--silver-hi); font-size: 17px; }
.tc-name { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* timeline */
.tl { --head: clamp(64px, 15%, 190px); border-top: 1px solid var(--line); padding-top: 4px; user-select: none; }
.tl-ruler, .track { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); }
.ruler { position: relative; height: 26px; border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 12)) bottom / 100% 8px no-repeat,
              repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 60)) bottom / 100% 4px no-repeat; }
.ruler span { position: absolute; top: 2px; padding-left: 5px; font-size: 13px; color: var(--ash); white-space: nowrap; }
.ruler span:nth-child(n+2) { transform: none; }
.tl-body { position: relative; }
.track { height: 38px; margin-top: 4px; }
.th { display: flex; align-items: center; gap: 8px; padding: 0 10px 0 0; font-size: 14px; color: var(--ash); text-decoration: none; white-space: nowrap; overflow: hidden; }
.th::before { content: ""; flex: 0 0 auto; width: 3px; height: 22px; background: var(--tcol); }
.th:hover { color: var(--silver-hi); }
.th-short { display: none; }
.t-film { --tcol: var(--film); } .t-post { --tcol: var(--post); } .t-content { --tcol: var(--content); }
.c-film { --cc: var(--film); } .c-post { --cc: var(--post); } .c-content { --cc: var(--content); }
.lane { position: relative; height: 100%; background: var(--lane); }
.clip { position: absolute; top: 2px; bottom: 2px; display: flex; align-items: flex-start; padding: 3px 7px; overflow: hidden;
  background: color-mix(in srgb, var(--cc) 30%, #111); border-left: 2px solid var(--cc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc) 45%, transparent); }
.clip b { font-weight: 400; font-size: 13px; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1; }
.clip.c-film::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 42%; background: url("../img/wave.svg") 0 0 / 100% 100% no-repeat; opacity: .8; }
.clip.c-post { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--post) 26%, #111) 0 6px, color-mix(in srgb, var(--post) 16%, #111) 6px 12px); }
.clip.is-hot { background-color: color-mix(in srgb, var(--cc) 48%, #111); }
.ph-layer { position: absolute; top: -30px; bottom: 0; left: var(--head); right: 0; pointer-events: none; }
.ph { position: absolute; top: 0; bottom: 0; left: calc(var(--p, .95) * 100%); width: 1px; background: var(--silver-hi); transition: left .35s var(--ease); }
.ph::before { content: ""; position: absolute; top: 0; left: -6px; width: 13px; height: 12px; background: var(--silver-hi); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.tl.is-sweep .ph { transition: none; }
.tl-body .lane { cursor: crosshair; }

/* ---------------------------------------------------------------- Services overview (silver band) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.svc { display: flex; flex-direction: column; padding-top: 22px; border-top: 1px solid rgba(0, 0, 0, .25); }
.chip { display: inline-flex; align-self: flex-start; align-items: center; min-height: 36px; padding: 6px 14px 6px 12px; font: 400 17px/1.2 var(--sans); letter-spacing: .01em; color: #000;
  background: var(--cc); border-left: 3px solid color-mix(in srgb, var(--cc) 60%, #000); text-decoration: none; }
.svc .chip { margin-bottom: 18px; }
.svc p { color: var(--on-silver-2); }
.asks { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 10px; }
.asks li { position: relative; padding-left: 22px; line-height: 1.45; }
.asks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 6px; background: var(--cc, currentColor); }
.silver .asks li::before { background: #000; }
.more { margin-top: auto; align-self: flex-start; font-size: 16px; padding: 10px 0; }

/* ---------------------------------------------------------------- Process */
.proc-track { position: relative; }
.proc-rule { position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line-2); }
.proc-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--pp, 1)); background: var(--silver); }
.proc-head { position: absolute; top: -18px; left: calc(var(--pp, 1) * 100%); width: 1px; height: 37px; background: var(--silver-hi); }
.proc-head::before { content: ""; position: absolute; top: 0; left: -6px; width: 13px; height: 12px; background: var(--silver-hi); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.step { position: relative; padding-top: 0; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border: 1px solid var(--line-2); border-radius: 50%; background: #000; font: 17px var(--display); color: var(--ash); transition: background .3s, color .3s, border-color .3s; }
.step.is-passed .step-n { background: var(--silver); color: #000; border-color: var(--silver); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ash); font-size: 16px; margin: 0; }

/* ---------------------------------------------------------------- Formats */
.formats { border-top: 1px solid var(--line); }
.fmts { --fh: clamp(64px, 9.6vw, 140px); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px clamp(16px, 2.4vw, 32px); }
.fmt { display: grid; gap: 12px; align-content: start; width: max(calc(var(--fh) * var(--r)), 8.5em); }
.fmt { grid-template-rows: var(--fh) auto; }
.frame { display: grid; place-items: center; height: var(--fh); width: calc(var(--fh) * var(--r)); border: 1px solid var(--silver); background: linear-gradient(180deg, #0c0b10, #17161d); }
.frame span { font: clamp(15px, 1.5vw, 20px) var(--display); color: var(--silver-hi); }
.use { font-size: 15px; color: var(--ash); line-height: 1.35; }

/* ---------------------------------------------------------------- Family */
.family { border-top: 1px solid var(--line); }
.fam-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.fam { display: grid; grid-template-columns: clamp(84px, 9vw, 120px) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 32px); align-items: center; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-2); text-decoration: none; color: var(--silver); transition: border-color .25s, background-color .25s; }
.fam:hover { border-color: var(--silver); background: rgba(217, 214, 228, .04); color: var(--silver); }
.fam-logo img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.fam:hover .fam-logo img { transform: rotate(-4deg) scale(1.04); }
.fam-text { display: grid; gap: 6px; }
.fam-name { font: clamp(22px, 2.2vw, 28px)/1.15 var(--display); color: var(--silver-hi); }
.fam-what { color: var(--ash); }
.fam-go { margin-top: 8px; font-size: 15px; color: var(--silver-hi); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- CTA */
.cta { border-top: 1px solid var(--line); text-align: left; }
.cta .wrap { display: grid; justify-items: start; }
.cta h2 { font-size: clamp(36px, 4.4vw, 60px); }
.cta .btn { margin-top: 30px; }

/* ---------------------------------------------------------------- Page heads and inner pages */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head.short { border-bottom: 0; min-height: 52vh; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; }
.jump .chip { min-height: 44px; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-lane { height: 34px; margin-bottom: clamp(32px, 4vw, 48px); }
.svc-lane .lane { height: 100%; }
.svc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.svc-cols .btn { margin-top: 28px; }
.svc-facts h3 { font: 700 15px/1.3 var(--sans); letter-spacing: .02em; color: var(--silver-hi); margin: 0 0 12px; }
.svc-facts h3:not(:first-child) { margin-top: 30px; }
.svc-facts p { color: var(--ash); margin: 0; }
.svc-facts .asks { margin-bottom: 0; }
#film .asks { --cc: var(--film); } #post .asks { --cc: var(--post); } #content .asks { --cc: var(--content); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-body h2, .founder h2 { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 18px; }
.about-body p { color: var(--ash); max-width: 36em; }
.founder { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; }
.founder-frame { display: block; padding: 6px; background: var(--panel); border: 1px solid var(--line); }
.founder-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person { font: 22px/1.2 var(--display); color: var(--silver-hi); margin: 0 0 8px; }
.founder p:last-child { color: var(--ash); margin: 0; }
.group { border-top: 1px solid var(--line); }
.group-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.group-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.group-logos img:first-child { height: 40px; width: auto; }
.group-logos img:last-child { height: 30px; width: auto; }

/* Quote form */
.quote { padding-top: clamp(40px, 5vw, 64px); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 22px; max-width: 720px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.field { display: grid; gap: 8px; align-content: start; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 16px; color: var(--silver-hi); padding: 0; }
.opt { color: var(--ash); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 16px/1.4 var(--sans); color: var(--silver-hi); background: var(--panel); border: 1px solid var(--line-2); border-radius: 2px; }
textarea { resize: vertical; min-height: 150px; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(-45deg, transparent 50%, var(--silver) 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #7D7A88; }
input:hover, select:hover, textarea:hover { border-color: var(--silver); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.check { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px 10px 12px; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; color: var(--silver-hi); transition: border-color .2s, background-color .2s; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--cc); }
.check::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--cc); }
.check:has(input:checked) { border-color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); }
.check:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.err { margin: 0; min-height: 0; font-size: 14px; color: #FFB1BF; }
.err:empty { display: none; }
.is-invalid input, .is-invalid textarea { border-color: #FFB1BF; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-foot .note { margin: 0; }
.form-status { margin: 0; font-size: 15px; color: var(--silver-hi); }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border: 1px solid var(--line-2); background: var(--panel); }
.quote-aside { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--panel); position: sticky; top: 96px; }
.quote-aside h2 { font-size: 28px; margin-bottom: 18px; }
.next { margin: 0 0 22px; padding-left: 22px; display: grid; gap: 12px; color: var(--ash); }
.next b { font-weight: 700; color: var(--silver-hi); }
.quote-aside .note { margin: 0; }

/* Policy */
.policy { max-width: calc(760px + 2 * var(--gutter)); margin-left: 0; margin-right: auto; }
@media (min-width: 1000px) { .policy { margin-left: max(0px, calc((100vw - var(--wrap)) / 2 - var(--gutter))); } }
.policy-band { padding-top: clamp(40px, 5vw, 64px); }
.policy section + section { margin-top: clamp(36px, 5vw, 52px); }
.policy h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 12px; }
.policy p { color: var(--ash); }
.policy-warn { border-left: 2px solid var(--content); padding-left: 16px; color: var(--silver-hi) !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 40px; font-size: 15px; color: var(--ash); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.foot-logo { width: 220px; height: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 24em; }
.foot-brand .btn { margin-top: 6px; }
.foot-h { font: 700 15px/1.3 var(--sans); color: var(--silver-hi); letter-spacing: .02em; margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { color: var(--ash); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer ul a:hover { color: var(--silver-hi); text-decoration: underline; }
.foot-group { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.m-onev { height: 28px; width: auto; }
.m-vent { height: 18px; width: auto; }
.foot-div { width: 1px; height: 26px; background: var(--line-2); }
.legal { margin: 24px 0 0; font-size: 13.5px; line-height: 1.6; max-width: 70em; }
.legal a { color: var(--ash); }

/* ---------------------------------------------------------------- Motion: edits, not fades */
@media (prefers-reduced-motion: no-preference) {
  .js [data-cut] { clip-path: inset(0 100% 0 0); }
  .js [data-cut].is-in { clip-path: inset(0 -2px 0 0); transition: clip-path .8s var(--cut) var(--d, 0s); }
  .js .mark { opacity: 0; transform: translateY(18px) scale(.92) rotate(-4deg); }
  .js .is-in .mark, .js .mark.is-in { animation: markIn 1.2s var(--ease) var(--md, .35s) both; }
  .js .suite .clip { clip-path: inset(0 100% 0 0); }
  .js .suite.is-laid .clip { clip-path: inset(0 -2px 0 0); transition: clip-path .55s var(--cut) var(--cd, 0s); }
}
@keyframes markIn { from { opacity: 0; transform: translateY(18px) scale(.92) rotate(-4deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scrub::after { display: none; }
}

/* short laptop screens: keep the whole suite in the first screen */
@media (max-height: 800px) and (min-width: 761px) {
  .screen { width: min(100%, calc(25vh * 2.39)); }
  .suite { padding-top: 18px; }
  .track { height: 34px; }
}

/* ---------------------------------------------------------------- Narrow screens */
@media (max-width: 980px) {
  .suite-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .svc-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .proc-rule { left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .proc-fill { transform-origin: 50% 0; transform: scaleY(var(--pp, 1)); }
  .proc-head { display: none; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; }
  .step-n { grid-row: span 2; margin: 0; }
  .fam-cards { grid-template-columns: 1fr; }
  .svc-cols, .about-grid, .group-row, .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #000; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; min-height: 48px; }
  .tl { --head: 64px; }
  .th-long { display: none; }
  .th-short { display: inline; }
  .ruler span:nth-child(even) { display: none; }
  .track { height: 34px; }
  .clip { padding: 2px 5px; }
  .tc-len { display: none; }
  .tc-name { text-align: right; }
  .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand img { height: 24px; }
  .suite { padding-top: 22px; }
  .monitor { padding: 8px; }
  .endlogo { width: 62%; }
  .slate { bottom: 8%; }
  .slate-svc { font-size: 13px; }
  .clip b { font-size: 13px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 100px minmax(0, 1fr); }
  .fmt .use { font-size: 14px; }
  .actions .btn { flex: 1 1 auto; }
  .foot-div { display: none; }
  .fmts { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- Current projects */
.projects { border-top: 1px solid var(--line); --thread: #D23A41; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.proj { display: flex; flex-direction: column; }
.proj-pic { position: relative; aspect-ratio: 16 / 10; margin-bottom: 22px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.proj h3 { font-size: 26px; margin: 0; }
.proj-role { margin: 6px 0 12px; font-size: 15px; color: var(--silver-hi); }
.proj > p:not(.proj-role) { color: var(--ash); margin: 0; }
/* live: a monitor with a live tag and audio meters */
.live-frame { position: absolute; inset: 12% 8%;
  background:
    linear-gradient(var(--line-2), var(--line-2)) top left / 16px 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) top left / 1px 16px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 16px 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) top right / 1px 16px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 16px 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) bottom left / 1px 16px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 16px 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) bottom right / 1px 16px no-repeat; }
.live-tag { position: absolute; left: 12%; top: 18%; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 8px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(210, 58, 65, .6); font-size: 14px; color: #fff; letter-spacing: .02em; }
.live-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--thread); }
.live-bars { position: absolute; right: 12%; bottom: 18%; display: flex; align-items: flex-end; gap: 4px; height: 34%; }
.live-bars b { width: 7px; height: 100%; background: linear-gradient(0deg, var(--silver) 0 62%, #E3B341 62% 84%, var(--thread) 84%); transform-origin: 50% 100%; transform: scaleY(var(--lv, .5)); }
.live-bars b:nth-child(1) { --lv: .45; } .live-bars b:nth-child(2) { --lv: .7; } .live-bars b:nth-child(3) { --lv: .58; } .live-bars b:nth-child(4) { --lv: .82; } .live-bars b:nth-child(5) { --lv: .4; }
/* podcast: a waveform with a playhead */
.pod-wave { position: absolute; left: 8%; right: 8%; top: 30%; bottom: 30%; background: url("../img/wave.svg") center / 100% 100% no-repeat; opacity: .9; }
.pod-head { position: absolute; top: 22%; bottom: 22%; left: 38%; width: 1px; background: var(--silver-hi); }
.pod-head::before { content: ""; position: absolute; top: 0; left: -6px; width: 13px; height: 12px; background: var(--silver-hi); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
/* quire: the label's own logo */
.pic-quire { display: grid; place-items: center; background: #000; }
.pic-quire img { width: 68%; height: auto; }
.proj-quire { position: relative; }
.proj-quire .proj-pic { transition: border-color .25s; }
.proj-quire:hover .proj-pic { border-color: var(--silver); }
.proj-go { margin-top: 14px; align-self: flex-start; padding: 6px 0; font-size: 15px; color: var(--silver-hi); text-underline-offset: 4px; }
.proj-go::after { content: ""; position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .live-tag i { animation: live-pulse 1.6s ease-in-out infinite; }
  .live-bars b { animation: meter 1.1s ease-in-out infinite alternate; }
  .live-bars b:nth-child(2) { animation-duration: .8s; } .live-bars b:nth-child(3) { animation-duration: 1.3s; } .live-bars b:nth-child(4) { animation-duration: .9s; } .live-bars b:nth-child(5) { animation-duration: 1.2s; }
  .pod-head { animation: pod-play 9s linear infinite; }
}
@keyframes live-pulse { 50% { opacity: .25; } }
@keyframes meter { from { transform: scaleY(calc(var(--lv) * .45)); } to { transform: scaleY(var(--lv)); } }
@keyframes pod-play { from { left: 8%; } to { left: 92%; } }
@media (max-width: 980px) { .proj-grid { grid-template-columns: 1fr; gap: 44px; } .proj-pic { max-width: 560px; } }

/* ---------------------------------------------------------------- Quire Records, the label's own page
   IDEA    a record that is sewn: the Q is a vinyl record and its tail a bookbinder's stitch
   COLOUR  vinyl black and label ink; thread red appears only where something is sewn
           (the stitch, the header thread, the tracklist); one white "liner notes" band
   TYPE    Cardo, the QUIRE lettering, for headings; Poppins Light, the RECORDS lettering, for text */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
.quire-page { --ink: #ECEAF2; --thread: #D23A41; --paper: #FFFFFF; --paper-ink: #141318; --paper-thread: #B3252D; --groove: #16151B; }
.quire-page main, .q-head { --sans: "Poppins", "Gillius", "Segoe UI", system-ui, sans-serif; }
.quire-page main { font-family: var(--sans); font-weight: 300; }
.quire-page main b, .quire-page main strong { font-weight: 400; }

/* header: the label's logo, its nav, and a thread that sews across as you read */
.q-head { font-family: var(--sans); background: rgba(0, 0, 0, .94); }
.q-head .bar { min-height: 76px; }
.q-brand { display: block; padding: 6px 0; }
.q-brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .q-brand img { height: 40px; }
.q-parent { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--ash); text-decoration: none; white-space: nowrap; }
.q-parent img { height: 13px; width: auto; opacity: .85; transition: opacity .2s; }
.q-parent:hover { color: var(--silver-hi); }
.q-parent:hover img { opacity: 1; }
.stitchbar { position: relative; height: 1px; background: var(--line); }
.stitchbar i { position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--thread) 0 12px, transparent 12px 22px);
  clip-path: inset(0 calc((1 - var(--sp, 0)) * 100%) 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .js .q-home .q-brand { clip-path: inset(0 100% 0 0); visibility: hidden; transition: clip-path .6s var(--cut), visibility 0s .6s; }
  .js.is-docked .q-home .q-brand { clip-path: inset(-4px -4px -4px 0); visibility: visible; transition: clip-path .6s var(--cut), visibility 0s; }
}

/* hero: the logo assembles itself, then the record keeps sounding */
.q-hero { position: relative; overflow: clip; padding: clamp(36px, 7vh, 88px) 0 clamp(64px, 10vh, 120px); text-align: center; }
.q-hero-in { display: grid; justify-items: center; }
.q-logo { position: relative; width: min(100%, 720px); margin: 0; font-size: 0; line-height: 0; }
.q-logo-svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
.q-ripples { position: absolute; left: 12.88%; top: 30.92%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.q-ripples svg { display: block; width: 100%; height: 100%; overflow: visible; }
.q-ripples circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-opacity: 0; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.q-intro { max-width: 30em; margin: clamp(32px, 5vh, 52px) auto 0; font: 300 clamp(19px, 1.7vw, 23px)/1.5 var(--sans); color: var(--silver); text-wrap: balance; }
.q-hero .actions { justify-content: center; margin-top: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .q-rim { transform-box: fill-box; transform-origin: center; animation: qGrow 1s var(--ease) .15s both; }
  .q-groove { stroke-dasharray: 1; animation: qDraw 1.2s var(--ease) calc(.3s + var(--i) * .14s) both; }
  .q-label { transform-box: fill-box; transform-origin: center; animation: qPop .7s cubic-bezier(.3, 1.6, .5, 1) .8s both; }
  .q-stitch { transform-box: fill-box; transform-origin: 0 0; animation: qSew .3s var(--ease) calc(1.05s + var(--i) * .18s) both; }
  .q-word { animation: qCut .9s var(--cut) .5s both; }
  .q-rule-l { transform-box: fill-box; transform-origin: 100% 50%; animation: qRule .8s var(--ease) 1.15s both; }
  .q-rule-r { transform-box: fill-box; transform-origin: 0 50%; animation: qRule .8s var(--ease) 1.15s both; }
  .q-sub { animation: qFade .9s ease 1.25s both; }
  .q-intro { animation: qUp .8s var(--ease) 1.35s both; }
  .q-hero .actions { animation: qUp .8s var(--ease) 1.5s both; }
  .q-ripples circle { animation: qRipple 7.5s cubic-bezier(.15, .6, .35, 1) infinite; }
  .q-ripples circle:nth-child(1) { animation-delay: 1.7s; }
  .q-ripples circle:nth-child(2) { animation-delay: 4.2s; }
  .q-ripples circle:nth-child(3) { animation-delay: 6.7s; }
}
@keyframes qGrow { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes qDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes qPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes qSew { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes qCut { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes qRule { from { transform: scaleX(0); } to { transform: none; } }
@keyframes qFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes qRipple { 0% { transform: scale(1); stroke-opacity: .5; } 100% { transform: scale(7); stroke-opacity: 0; } }

/* liner notes: the one white band */
.q-notes { background: var(--paper); color: var(--paper-ink); }
.q-notes h2 { color: var(--paper-ink); margin-bottom: 24px; }
.q-notes p { color: #3A3942; max-width: 33em; }
.q-notes p:last-child { margin-bottom: 0; }
.q-notes :focus-visible { outline-color: var(--paper-ink); }
.q-notes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.q-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.q-fig { display: grid; gap: 14px; align-content: start; margin: 0; }
.q-fig > svg, .q-fig > img { display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 13%; border: 1px solid rgba(20, 19, 24, .14); }
.q-fig figcaption { font-size: 15px; line-height: 1.45; color: #55535E; }
.qf-sheet { fill: none; stroke: var(--paper-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qf-stitch { stroke: var(--paper-thread); stroke-width: 4.2; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .js .qf-sheet { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .is-in .qf-sheet { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) calc(.35s + var(--i) * .16s); }
  .js .qf-stitch { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
  .js .is-in .qf-stitch { transform: none; transition: transform .28s var(--ease) calc(1.25s + var(--i) * .16s); }
}

/* tracklist: the thread sews down the list as you read it */
.q-tracks { border-top: 0; }
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.side h3 { margin: 0 0 12px; font: 400 16px/1.3 var(--sans); color: var(--ash); }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.trk { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.trk::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 3px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, transparent 0 6px, var(--thread) 6px 18px, transparent 18px 24px);
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--cut); }
.trk.is-sewn::before { clip-path: inset(0); }
.trk-n { padding-left: 20px; font: 21px/1.25 var(--display); color: var(--ash); transition: color .4s; }
.trk.is-sewn .trk-n { color: var(--silver-hi); }
.trk-t { display: block; margin-bottom: 6px; font: 26px/1.2 var(--display); color: var(--silver-hi); }
.trk-d { display: block; color: var(--ash); }

/* releases: an empty sleeve, waiting */
.q-releases { border-top: 1px solid var(--line); }
.rel-row { display: grid; grid-template-columns: clamp(150px, 20vw, 240px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sleeve { position: relative; aspect-ratio: 1; border: 1px dashed var(--line-2); background: var(--groove); overflow: hidden; }
.sleeve-disc { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed var(--line-2);
  background: radial-gradient(circle, transparent 0 4%, var(--line) 4.5% 22%, transparent 22.5%); }
.q-releases .lede { max-width: 30em; }

/* contact */
.q-contact { border-top: 1px solid var(--line); }
.q-contact .sec-head { margin-bottom: 36px; }
.q-aside .mark { width: 170px; margin-bottom: 22px; }
.q-aside h2 { font-size: 26px; margin-bottom: 12px; }
.q-aside p { color: var(--ash); }
.q-aside .btn { margin-top: 6px; }
.q-sent-mark { width: 92px; height: auto; margin-bottom: 30px; }

@media (max-width: 980px) {
  .q-notes-grid, .sides { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .q-parent { justify-content: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .q-parent img { height: 15px; }
  .rel-row { grid-template-columns: 1fr; }
  .sleeve { width: min(220px, 60vw); }
}
@media (max-width: 600px) {
  .q-brand img { height: 32px; }
  .is-scrolled .q-brand img { height: 30px; }
  .trk { grid-template-columns: 48px minmax(0, 1fr); }
  .trk-t { font-size: 23px; }
  .q-hero .actions .btn { flex: 1 1 100%; }
}
