/* RG Audio and Designs — site styles
   Colors are taken from the RG logo. Change them here and the whole site follows. */

@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2"); }

:root {
  /* Logo palette */
  --plum: #5A3F6F;        /* the R and G */
  --plum-deep: #432E54;
  --plum-tint: #F1EDF5;
  --slate: #636588;       /* top of the letters */
  --signal: #3F83BD;      /* the waveform */
  --signal-deep: #2F6B9E;
  --teal: #4FD9CC;        /* top of the frame */
  --periwinkle: #5D73ED;  /* bottom of the frame */

  /* Neutrals */
  --ink: #1D1A2C;
  --ink-2: #3D3A4F;
  --muted: #5E5A70;
  --paper: #FFFFFF;
  --mist: #F4F5F9;
  --line: #E3E2EC;
  --line-2: #CFCDDC;

  --ok: #2E7D4F;
  --bad: #B3261E;

  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --r-sm: 6px;
  --r: 10px;
  --frame: linear-gradient(90deg, var(--teal), var(--periwinkle));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--signal-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 3px; }
::selection { background: #DCD3E6; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.005em; }
h1 { font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; }
h2 { font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.08; }
h3 { font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
h4 { font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head::before { content: ""; display: block; height: 3px; background: var(--frame); }
.head-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-name { font: 600 1.25rem/1 var(--display); letter-spacing: .005em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font: 500 1.0625rem/1 var(--display); color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: var(--r-sm); }
.nav a:hover { color: var(--plum); background: var(--plum-tint); }
.nav a[aria-current="page"] { color: var(--plum); box-shadow: inset 0 -2px 0 var(--plum); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 12px; font: 600 1rem/1 var(--display); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; box-shadow: 0 18px 30px -24px rgba(29,26,44,.4); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--plum); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1.0625rem/1 var(--display); letter-spacing: .01em; text-decoration: none; border-radius: var(--r-sm); padding: 14px 22px; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--plum); color: var(--plum); background: var(--plum-tint); }
.nav .btn { padding: 11px 18px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--plum-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-mist { background: var(--mist); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-2); max-width: 36em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Signature line: the logo frame, used once per section heading at most */
.frame-rule { width: 56px; height: 3px; background: var(--frame); border-radius: 2px; margin-bottom: 18px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-mark { justify-self: end; width: min(100%, 440px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-mark { justify-self: start; width: 132px; order: -1; } }

/* The waveform band: the one bold element, built from the bars in the logo */
.waveband { margin-top: clamp(56px, 8vw, 96px); height: clamp(120px, 16vw, 190px); display: flex; align-items: center; gap: clamp(3px, .5vw, 6px); }
.waveband span { flex: 1 1 0; min-width: 2px; border-radius: 3px; background: linear-gradient(180deg, var(--signal) 0%, var(--plum) 100%); opacity: .92; height: var(--h); transform-origin: center; }
.waveband span.dot { flex: 0 0 auto; width: clamp(5px, .6vw, 8px); height: clamp(5px, .6vw, 8px); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .waveband.play span { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d); }
  @keyframes rise { from { transform: scaleY(.04); opacity: 0; } to { transform: scaleY(1); opacity: .92; } }
}

/* ---------- Service list (home) ---------- */
.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc-list a { display: block; padding: 28px 28px 30px 0; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.svc-list a:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-list h3 { color: var(--ink); }
.svc-list p { margin-top: 8px; color: var(--muted); }
.svc-list a:hover h3 { color: var(--plum); }
@media (max-width: 900px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .svc-list a:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .svc-list a:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-list a:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Feature (home: featured work) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Media frame + placeholder ---------- */
.media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.media.tall { aspect-ratio: 9 / 16; max-height: 620px; margin-inline: auto; }
.media video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.media .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff;
  background: radial-gradient(120% 90% at 20% 0%, #3A2A4A 0%, var(--ink) 60%); }
.media .ph strong { display: block; font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.05 var(--display); }
.media .ph span { display: block; margin-top: 10px; font-size: .95rem; color: #C9C3D6; }
.media .ph .bars { display: flex; gap: 4px; align-items: center; justify-content: center; height: 46px; margin: 0 auto 18px; }
.media .ph .bars i { width: 4px; border-radius: 2px; background: linear-gradient(180deg, #7FB3E0, #9A86B6); opacity: .8; }
.media.has-video .ph { display: none; }

/* ---------- Work page ---------- */
.work-item { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 60px); align-items: center; padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.work-item:first-of-type { border-top: 0; padding-top: 0; }
.work-item.flip > .media-col { order: 2; }
.work-meta { margin-top: 10px; color: var(--muted); }
.credits { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.credits li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.credits span { color: var(--muted); }
.credits b { font-weight: 600; text-align: right; }
.work-item p.desc { margin-top: 16px; color: var(--ink-2); }
@media (max-width: 860px) { .work-item, .work-item.flip { grid-template-columns: 1fr; } .work-item.flip > .media-col { order: 0; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--plum-tint); position: relative; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo .mono { position: absolute; inset: 0; display: grid; place-items: center; font: 600 3.2rem/1 var(--display); color: var(--plum); letter-spacing: .02em;
  background: linear-gradient(160deg, var(--plum-tint) 0%, #E4ECF6 100%); }
.person .photo.has-img .mono { display: none; }
.person h3 { margin-top: 18px; }
.person .role { margin-top: 4px; color: var(--plum); font: 600 1.05rem/1.2 var(--display); }
.person p.bio { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .person .photo { aspect-ratio: 1 / 1; max-width: 320px; } }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 64px; padding-block: 44px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail .for { margin-top: 10px; color: var(--muted); }
.svc-detail p + p, .svc-detail p + ul, .svc-detail ul + p { margin-top: 16px; }
.ticks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--signal); }
.note { margin-top: 18px; padding: 14px 18px; background: var(--mist); border-left: 3px solid var(--plum); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; padding: 0 22px 0 0; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--plum); color: var(--plum); font: 600 1.1rem/1 var(--display); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 38px; right: 0; height: 1.5px; background: var(--line-2); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-top: 18px; font-size: 1.3rem; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px 58px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li::after { top: 38px; bottom: 0; left: 19px; right: auto; width: 1.5px; height: auto; }
  .steps h3 { margin-top: 6px; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .lede { margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px 40px; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--frame); }
.cta h2 { color: #fff; }
.cta p { margin-top: 10px; color: #CFCADB; max-width: 34em; }
.cta .btn-primary { background: #fff; color: var(--plum); }
.cta .btn-primary:hover { background: var(--plum-tint); color: var(--plum-deep); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-block + .aside-block { margin-top: 44px; }
.aside-block h2 { font-size: 1.7rem; }
.direct { margin-top: 14px; }
.direct a { font: 600 1.3rem/1.2 var(--display); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.faq { margin-top: 14px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font: 600 1.15rem/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Forms ---------- */
.form-card { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.form-card header { padding: 28px 32px 0; }
.form-body { padding: 24px 32px 32px; }
@media (max-width: 560px) { .form-card header { padding: 22px 20px 0; } .form-body { padding: 18px 20px 24px; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.block { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.block.hidden { display: none; }
.block > legend, .block-title { font: 600 1.35rem/1.2 var(--display); color: var(--ink); padding: 0; float: left; width: 100%; }
.block > legend + *, .block-title + * { clear: both; }
.block .hint { margin-top: 4px; color: var(--muted); font-size: .95rem; clear: both; }
.sub { margin-top: 22px; font: 600 1.05rem/1.2 var(--display); color: var(--plum); clear: both; }
.sub.hidden, .field.hidden { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 16px; }
.grid-1 { display: grid; gap: 16px; margin-top: 16px; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 13px; min-height: 46px; }
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input::placeholder, textarea::placeholder { color: #9894A8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(63,131,189,.18); }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .choices, .choices.three { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; background: var(--paper); transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--slate); }
.choice input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--plum); flex: none; }
.choice b { display: block; font-weight: 600; }
.choice small { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--plum); background: var(--plum-tint); }
.choice.compact { padding: 10px 14px; align-items: center; }
.choice.compact input { margin-top: 0; }

.form-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot p { color: var(--muted); font-size: .95rem; }
.form-error { margin-top: 16px; color: var(--bad); font-weight: 600; }
.form-error:empty { display: none; }
.empty-hint { margin-top: 20px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); color: var(--muted); }
.empty-hint.hidden { display: none; }
.sent { padding: 48px 32px; text-align: left; }
.sent h2 { font-size: 2rem; }
.sent p { margin-top: 12px; color: var(--ink-2); max-width: 34em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Portal ---------- */
.portal { min-height: calc(100vh - 71px - 220px); display: grid; place-items: center; padding-block: clamp(56px, 10vw, 120px); }
.portal-card { width: min(100%, 460px); text-align: left; }
.portal-card img { width: 64px; height: 64px; }
.portal-card h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-top: 22px; }
.portal-card .lede { font-size: 1.1rem; margin-top: 12px; }
.pass { display: flex; gap: 10px; margin-top: 28px; }
.pass input { flex: 1; font-size: 1.1rem; letter-spacing: .04em; }
.pass .btn { padding-inline: 20px; }
.pass-msg { margin-top: 12px; min-height: 1.6em; font-weight: 600; color: var(--bad); }
.pass-msg.ok { color: var(--ok); }
.shake { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .shake { animation: none; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--mist); padding-block: 48px 36px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 48px; height: 48px; }
.foot-brand b { display: block; font: 600 1.25rem/1.1 var(--display); }
.foot-brand span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.site-foot h2 { font: 600 1rem/1 var(--display); color: var(--muted); margin-bottom: 14px; letter-spacing: .01em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { color: var(--plum); text-decoration: underline; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { padding-block: 120px; }
.notfound p { margin-top: 14px; }
.notfound .hero-actions { margin-top: 28px; }
