/* RG Audio and Designs — site styles ("Frame" look)
   Colors come from the RG logo. Change them here and the whole site follows. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }

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

  /* Neutrals */
  --ink: #1E1B2E;
  --ink-2: #3F3B54;
  --muted: #5C5873;
  --ground: #F7F6FB;
  --panel: #FFFFFF;
  --soft: #F1F0F7;
  --line: #E5E3EF;
  --line-2: #D3D0E2;
  --night: #1E1B2E;

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

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-btn: 12px;
  --r-tile: 20px;
  --r-panel: 28px;
  --frame: linear-gradient(180deg, var(--teal) 0%, var(--periwinkle) 100%);
  --frame-x: linear-gradient(90deg, var(--teal) 0%, var(--periwinkle) 100%);
}

*, *::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(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 2px solid var(--periwinkle); outline-offset: 3px; border-radius: 6px; }
::selection { background: #DCD3E6; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.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: 8px; 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(247,246,251,.9); backdrop-filter: saturate(1.4) blur(10px); }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.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-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav-pill { display: flex; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.nav-pill a { font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.nav-pill a:hover { color: var(--plum); background: var(--soft); }
.nav-pill a[aria-current="page"] { color: var(--ink); background: var(--plum-tint); font-weight: 600; }
.menu-btn { display: none; min-height: 44px; min-width: 64px; justify-content: center; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font: 600 .95rem/1 var(--font); color: var(--ink); cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 4px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-tile); flex-direction: column; align-items: stretch; padding: 10px; gap: 8px; box-shadow: 0 24px 40px -28px rgba(30,27,46,.45); }
  .nav.open { display: flex; }
  .nav-pill { flex-direction: column; border: 0; padding: 0; gap: 2px; }
  .nav-pill a { padding: 13px 14px; border-radius: 12px; font-size: 1.05rem; }
  .nav .btn { justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1 var(--font); text-decoration: none; border-radius: var(--r-btn); padding: 16px 22px; border: 0; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-quiet { background: var(--soft); color: var(--ink); }
.btn-quiet:hover { background: var(--plum-tint); color: var(--plum); }
.nav .btn { padding: 13px 18px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Moving equalizer bands (the RG waveform) ---------- */
.eqband { position: absolute; display: flex; align-items: center; justify-content: center; gap: var(--eq-gap, 6px); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.eqband i { flex: 0 0 auto; width: var(--eq-w, 5px); border-radius: 3px; height: var(--h); transform-origin: center; background: var(--eq-color, linear-gradient(180deg, rgba(79,217,204,0), rgba(93,115,237,.55) 50%, rgba(90,63,111,0))); transform: scaleY(.6); }
.eqband.on i { animation: eq var(--dur, 2.6s) cubic-bezier(.45,0,.55,1) infinite; animation-delay: var(--del, 0s); }
.eqband.paused i { animation-play-state: paused; }
@keyframes eq { 0% { transform: scaleY(.4); } 25% { transform: scaleY(.95); } 50% { transform: scaleY(1.18); } 75% { transform: scaleY(.7); } 100% { transform: scaleY(.4); } }
@media (prefers-reduced-motion: reduce) { .eqband.on i { animation: none; } }

/* ---------- Hero (home): the logo's frame ---------- */
.hero { padding-top: 12px; }
.hero-frame { border-radius: 32px; padding: 2px; background: var(--frame); }
.hero-panel { position: relative; overflow: hidden; border-radius: 30px; background: var(--panel); padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-panel > *:not(.eqband) { position: relative; }
.hero-copy { flex: 999 1 600px; min-width: 0; }
.hero h1 { max-width: 15em; font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.06; }
.hero .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-mark { flex: 1 1 260px; max-width: 340px; width: 100%; height: auto; }
.hero-panel .eqband { inset: auto 0 0 0; height: 46%; opacity: .5; }
@media (max-width: 1120px) { .hero-mark { flex: 0 0 auto; width: 104px; max-width: 104px; order: -1; } .hero-copy { flex-basis: 100%; } .hero-panel { gap: 24px; } .hero-panel .eqband { height: 30%; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); max-width: 30em; }
.frame-rule { display: none; }

/* ---------- Service tiles (home) ---------- */
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.svc-list a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 26px 26px 28px; text-decoration: none; color: inherit; transition: border-color .15s; }
.svc-list a:hover { border-color: var(--line-2); }
.svc-list a:hover h3 { color: var(--plum); }
.svc-list p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 400px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- Dark feature panel ---------- */
.night { position: relative; overflow: hidden; background: var(--night); color: #fff; border-radius: var(--r-panel); display: flex; flex-wrap: wrap; }
.night h2, .night h3 { color: #fff; }
.night .feature-media { flex: 3 1 520px; min-width: 0; }
.night .feature-text { flex: 2 1 360px; min-width: 0; padding: clamp(28px, 4vw, 44px); position: relative; }
.night .feature-text .eqband { inset: auto 0 0 0; height: 90px; opacity: .35; }
.night .kicker { color: #A49EBB; font-size: .95rem; }
.night .work-meta { color: #CFC9DC; }
.night .credits { border-color: #343048; }
.night .credits li { border-color: #343048; }
.night .credits span { color: #A49EBB; }
.night a { color: #fff; }

/* ---------- Media frame + placeholder ---------- */
.media { position: relative; overflow: hidden; background: #121022; aspect-ratio: 16 / 9; border-radius: var(--r-tile); }
.night .media { border-radius: 0; height: 100%; }
.media.tall { aspect-ratio: 9 / 16; max-height: 640px; margin-inline: auto; }
.media video { width: 100%; height: 100%; object-fit: contain; background: #000; position: relative; z-index: 1; }
.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%, #121022 70%); }
.media .ph strong { display: block; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.media .ph span { display: block; margin-top: 8px; font-size: .95rem; color: #C9C3D6; }
.media .ph .eqband { position: relative; height: 54px; margin: 0 auto 16px; width: 180px; }
.media.has-video .ph { display: none; }

/* ---------- Work page ---------- */
.work-list { display: grid; gap: 14px; }
.work-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(14px, 2vw, 18px); display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: center; }
.work-item > .media-col { flex: 3 1 520px; min-width: 0; }
.work-item > div:not(.media-col) { flex: 2 1 320px; min-width: 0; padding: clamp(10px, 2vw, 24px); }
.work-item.flip > .media-col { order: 2; }
.work-meta { margin-top: 8px; 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; }
@media (max-width: 860px) { .work-item.flip > .media-col { order: 0; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px 14px 24px; }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden; background: var(--plum-tint); position: relative; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.person .photo .mono { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 2.8rem; letter-spacing: -0.02em; color: var(--plum); background: linear-gradient(160deg, var(--plum-tint) 0%, #E3EAF8 100%); }
.person .photo.has-img .mono { display: none; }
.person h3 { margin: 18px 8px 0; }
.person .role { margin: 4px 8px 0; color: var(--plum); font-weight: 600; font-size: .98rem; }
.person p.bio { margin: 12px 8px 0; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
@media (max-width: 1060px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .person .photo { aspect-ratio: 1 / 1; } }

/* ---------- Services page ---------- */
.svc-stack { display: grid; gap: 14px; }
.svc-detail { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 20px 56px; scroll-margin-top: 100px; }
.svc-detail > div:first-child { flex: 1 1 260px; min-width: 0; }
.svc-detail > div:last-child { flex: 999 1 520px; min-width: 0; }
.svc-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.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: 10px 28px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 4px; background: var(--plum-tint); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 12px var(--periwinkle); }
.note { margin-top: 18px; padding: 16px 18px; background: var(--soft); border-radius: 14px; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--plum-tint); color: var(--plum); font-weight: 700; }
.steps h3 { margin-top: 14px; font-size: 1.1rem; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-top: 12px; }
.page-head .head-panel { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 64px); }
.page-head .head-panel > *:not(.eqband) { position: relative; }
.page-head .head-panel .eqband { inset: 0 0 0 auto; width: min(52%, 560px); opacity: .45; }
.page-head .lede { margin-top: 16px; }
@media (max-width: 760px) { .page-head .head-panel .eqband { width: 100%; opacity: .18; } }

/* ---------- CTA panel ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 2px; background: var(--frame); }
.cta-in { position: relative; overflow: hidden; border-radius: 30px; background: var(--night); color: #fff; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta-in > *:not(.eqband) { position: relative; }
.cta-in .eqband { inset: 0; opacity: .3; }
.cta h2 { color: #fff; }
.cta p { margin-top: 10px; color: #CFCADB; max-width: 32em; }
.cta a:not(.btn) { color: #fff; }
.cta .btn-primary { background: #fff; color: var(--plum); }
.cta .btn-primary:hover { background: var(--plum-tint); color: var(--plum-deep); }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.contact-grid > :first-child { flex: 999 1 600px; min-width: 0; }
.contact-grid > aside { flex: 1 1 340px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 36px); }
.aside-block + .aside-block { margin-top: 36px; }
.aside-block h2 { font-size: 1.5rem; }
.direct { margin-top: 12px; }
.direct a { font-weight: 700; font-size: 1.15rem; }

.faq { margin-top: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 32px 15px 0; position: relative; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; 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 16px; color: var(--ink-2); font-size: .98rem; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Forms ---------- */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); }
.form-card header { padding: 32px 36px 0; }
.form-body { padding: 24px 36px 36px; }
@media (max-width: 560px) { .form-card header { padding: 24px 20px 0; } .form-body { padding: 18px 20px 26px; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.block { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.block > legend, .block-title { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; 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-weight: 600; font-size: 1rem; color: var(--plum); clear: both; }
.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 { display: block; font-weight: 600; font-size: .95rem; 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(--panel);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 108px; 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% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
input::placeholder, textarea::placeholder { color: #9893AB; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--periwinkle); box-shadow: 0 0 0 3px rgba(93,115,237,.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 { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; background: var(--panel); transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: #B9B4CF; }
.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: .9rem; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--plum); background: var(--plum-tint); }
.choice.compact { padding: 11px 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: 18px; padding: 16px 18px; background: var(--soft); border-radius: 14px; color: var(--muted); }
.sent { padding: 48px 36px; }
.sent h2 { font-size: 1.9rem; }
.sent p { margin-top: 12px; color: var(--ink-2); max-width: 34em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Portal ---------- */
.portal { padding-top: 12px; padding-bottom: 40px; }
.portal-panel { position: relative; overflow: hidden; border-radius: 30px; background: var(--panel); min-height: 560px; display: grid; place-items: center; padding: clamp(40px, 8vw, 96px) 22px; }
.portal-panel .eqband { inset: 0; opacity: .32; --eq-w: 6px; --eq-gap: 8px; }
.portal-card { position: relative; width: min(100%, 460px); text-align: center; }
.portal-card img { width: 72px; height: 72px; margin: 0 auto; }
.portal-card h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-top: 20px; }
.portal-card .lede { font-size: 1.05rem; margin: 12px auto 0; }
.pass { display: flex; gap: 8px; margin-top: 28px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px; }
.pass:focus-within { border-color: var(--periwinkle); box-shadow: 0 0 0 3px rgba(93,115,237,.18); }
.pass input { flex: 1; border: 0 !important; box-shadow: none !important; font-size: 1.05rem; letter-spacing: .04em; min-height: 44px; }
.pass .btn { padding: 12px 18px; border-radius: 11px; }
.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 { padding-block: 8px 28px; }
.foot-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(28px, 4vw, 40px); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.foot-grid > :first-child { flex: 2 1 320px; }
.foot-grid > :not(:first-child) { flex: 1 1 160px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 48px; height: 48px; }
.foot-brand b { display: block; font-weight: 700; font-size: 1.1rem; }
.foot-brand span { display: block; color: var(--muted); font-size: .93rem; margin-top: 2px; }
.site-foot h2 { font-size: .95rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.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: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: .9rem; }

/* ---------- 404 ---------- */
.notfound { padding-block: 12px 40px; }

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
