:root {
  --ink: #252820; --paper: #f6f5ee; --muted: #5d6257; --line: #d2d4c8;
  --surface: #e9ebdf; --accent: #43543c; --warning: #f6ebdf;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --heading-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a { color: inherit; }
:is(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--accent); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; padding: 0 var(--gutter); color: var(--ink); background: var(--paper); }
.site-shell .site-body { display: block; width: 100%; min-height: 0; padding: 0; flex: 1; }
.site-shell a { text-decoration: none; }
.ruvra-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.ruvra-logo { display: block; width: 146px; flex-shrink: 0; }
.ruvra-logo img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.ruvra-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); font-size: .82rem; }
.ruvra-header nav > a { display: flex; align-items: center; min-height: 44px; }
.ruvra-header nav a:hover, .ruvra-header a[aria-current=page] { text-decoration: underline; text-underline-offset: 5px; }
.email-control { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .6rem; position: relative; }
.email-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 44px; padding: .65rem .9rem; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: .82rem; white-space: nowrap; transition: background .2s, color .2s; }
.email-button:hover { color: var(--paper); background: var(--ink); }
.email-button [aria-hidden] { font-size: 1rem; }
.ruvra-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0; margin: 0; border-top: 1px solid var(--line); color: var(--muted); text-transform: none; letter-spacing: 0; font-size: .68rem; }
.ruvra-footer > a { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.4rem; color: var(--ink); font-weight: 800; letter-spacing: -.05em; }
.ruvra-footer > a img { display: block; width: 104px; height: auto; }
.ruvra-footer nav { display: flex; gap: 1.5rem; }
.ruvra-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.ruvra-footer nav a:hover { text-decoration: underline; }
.ruvra-skip { position: absolute; z-index: 5; top: 1rem; left: 1rem; padding: 1rem; background: var(--paper); transform: translateY(-200%); }
.ruvra-skip:focus { transform: translateY(0); }
.visually-hidden { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-heading { padding: clamp(2.5rem, 6vw, 6rem) 0 3rem; }
.page-heading h1, .site-shell .page-heading h1, .team-body h1 { font: 400 var(--heading-size)/1.05 Georgia, serif; letter-spacing: -.05em; margin: 1.5rem 0; max-width: 1050px; }
.page-heading .page-intro { max-width: 660px; font-size: 1.05rem; line-height: 1.8; color: var(--muted); }
.page-back { display: inline-block; color: var(--muted); font-size: .78rem; padding: .7rem 0; margin-bottom: 2rem; }
.page-back:hover { text-decoration: underline; }
.ruvra-kicker { display: flex; align-items: center; gap: .6rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; line-height: 1.6; }
.contact-hint { color: var(--muted); font-size: .75rem; line-height: 1.6; }
.login-content { width: min(100%, 540px); margin: clamp(3rem, 8vh, 6rem) auto; }
.login-content .page-heading { padding: 0 0 1rem; }
.login-content .page-intro { font-size: 1rem; }
.login-form { margin: 1.5rem 0 2rem; padding: 2rem; background: var(--surface); }
.login-form label { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.login-form input { width: 100%; margin: .7rem 0 1.3rem; padding: 1rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 0; }
.login-form button { display: flex; justify-content: space-between; width: 100%; padding: 1rem; border: 0; background: var(--ink); color: var(--paper); font-size: .85rem; }
.login-form button:hover { background: var(--accent); }
.login-error { color: #8c382d; line-height: 1.6; font-size: .9rem; }
.material-cursor { display: none; width: 0; height: 0; position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; will-change: transform; }
.material-cursor.visible { display: block; }
.material-cursor-surface { --cursor-x: -13px; --cursor-y: -13px; display: flex; align-items: center; justify-content: center; position: absolute; width: 26px; height: 26px; overflow: hidden; border: 1px solid var(--ink); border-radius: 999px; background: #f6f5ee70; box-shadow: 0 0 0 1px #f6f5ee80; transform: translate(var(--cursor-x), var(--cursor-y)); transition: width .18s ease, height .18s ease, background .18s ease; }
.material-cursor.on-dark:not(.interactive) .material-cursor-surface { border-color: var(--paper); background: #25282040; }
.material-cursor.interactive .material-cursor-surface { width: var(--cursor-width); height: 40px; background: var(--ink); color: var(--paper); }
.material-cursor-label { flex-shrink: 0; white-space: nowrap; font-size: 12px; line-height: 1.4; opacity: 0; transition: opacity .12s ease; }
.material-cursor.interactive .material-cursor-label { opacity: 1; }
.material-cursor.label-left .material-cursor-surface { --cursor-x: calc(-100% + 13px); }
.material-cursor.label-above .material-cursor-surface { --cursor-y: calc(-100% + 13px); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .material-cursor-active, .material-cursor-active * { cursor: none !important; } }
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) { .material-cursor, .material-cursor.visible { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (min-width: 1600px) { :root { --gutter: max(5.5rem, calc((100vw - 1440px) / 2)); } }
@media (max-width: 720px) {
  .ruvra-header { min-height: 96px; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; }
  .ruvra-logo { width: 118px; }
  .ruvra-header nav { gap: 1rem; font-size: .75rem; }
  .email-button { font-size: .75rem; gap: .6rem; }
  .ruvra-footer { flex-wrap: wrap; }
  .ruvra-footer p { flex-basis: 100%; order: 3; margin: 0; }
}
@media (max-width: 480px) { .ruvra-header { gap: .8rem; } .ruvra-header nav { flex-basis: 100%; justify-content: space-between; gap: .75rem; } .login-form { padding: 1.4rem; } }
