:root {
  --bg: #07080b;
  --panel: rgba(16, 18, 23, .78);
  --panel-solid: #111319;
  --text: #f5f7fa;
  --muted: #9ba1ad;
  --line: rgba(255,255,255,.11);
  --accent: #ffffff;
  --accent-dark: #090a0d;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.12), transparent 35%),
    linear-gradient(180deg, #090a0e 0%, var(--bg) 55%, #050609 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.background-logo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/sync-background.png") center 16% / min(850px, 90vw) auto no-repeat;
  opacity: .035;
  filter: grayscale(1) contrast(1.2);
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px clamp(18px, 4vw, 60px);
  background: rgba(5,6,9,.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.06em; }
.brand img { width:38px; height:38px; border-radius:12px; object-fit:cover; }
.brand small { display:block; color:var(--muted); font-size:8px; letter-spacing:.25em; margin-top:-2px; }
.admin-button, .secondary-button, .logout {
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color:var(--text);
  border-radius:10px; padding:9px 13px; transition:.2s;
}
.admin-button:hover, .secondary-button:hover, .logout:hover { background:rgba(255,255,255,.11); }

/* Admin access: visible but unobtrusive, fixed in the top-left below the header. */
.admin-bubble {
  position: fixed;
  left: 14px;
  top: 78px;
  z-index: 50;
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(20,22,28,.78);
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: .04em;
  text-align: center;
  opacity: .72;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  transition: opacity .2s, background .2s, color .2s, transform .2s;
}
.admin-bubble:hover,
.admin-bubble:focus-visible {
  opacity: 1;
  background: rgba(35,38,47,.92);
  color: rgba(255,255,255,.95);
  transform: translateY(-1px);
  outline: none;
}

.container { width:min(1120px, calc(100% - 36px)); margin:auto; }
.hero { padding: clamp(65px, 13vw, 145px) 0 100px; }
.hero-card { max-width:850px; padding: clamp(28px, 6vw, 64px); }
.glass {
  background: linear-gradient(145deg, rgba(23,25,32,.86), rgba(11,12,16,.7));
  border:1px solid var(--line); box-shadow:var(--shadow); backdrop-filter:blur(18px);
  border-radius:24px;
}
.eyebrow { color:#bfc3ca; font-size:11px; font-weight:800; letter-spacing:.2em; }
h1 { font-size:clamp(45px, 8vw, 92px); line-height:.94; letter-spacing:-.06em; margin:14px 0 24px; max-width:900px; }
h2 { font-size:clamp(32px, 5vw, 54px); line-height:1; letter-spacing:-.04em; margin:10px 0 12px; }
h3 { margin:0; font-size:20px; }
p { color:var(--muted); line-height:1.7; }
.hero-card > p { max-width:720px; font-size:17px; }
.primary-button {
  display:inline-flex; align-items:center; justify-content:center; margin-top:12px;
  background:var(--accent); color:var(--accent-dark); font-weight:800; border:0;
  border-radius:11px; padding:12px 17px; transition:.2s; cursor:pointer;
}
.primary-button:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(255,255,255,.14); }
.full { width:100%; }
.section { padding:75px 0; }
.section-heading { margin-bottom:28px; }
.section-heading p { margin-top:0; }
.card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.card {
  position:relative; overflow:hidden; padding:24px; min-height:205px;
  border:1px solid var(--line); border-radius:20px;
  background:linear-gradient(145deg, rgba(24,26,33,.9), rgba(11,12,16,.75));
  transition:.25s;
}
.card:hover { transform:translateY(-4px); border-color:rgba(255,255,255,.23); }
.card::after { content:""; position:absolute; width:170px; height:170px; right:-80px; bottom:-90px; background:#fff; opacity:.035; border-radius:50%; }
.card-top { display:flex; align-items:center; gap:14px; min-width:0; }
.card-heading { min-width:0; flex:1; }
.card-heading h3, .role { overflow-wrap:anywhere; word-break:break-word; }
.avatar {
  width:54px; height:54px; border-radius:15px; flex:0 0 54px;
  background:#20232b; border:1px solid var(--line); object-fit:cover;
  display:flex; align-items:center; justify-content:center; font-weight:900;
}
.card h3 { letter-spacing:-.02em; }
.role { color:#d5d8de; font-size:12px; font-weight:700; margin-top:3px; }
.card-body { margin-top:20px; }
.card-body p { margin:7px 0; font-size:14px; overflow-wrap:anywhere; word-break:break-word; }
.quote { color:#e9ebef !important; font-style:italic; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.card-link { display:inline-flex; margin-top:9px; font-size:12px; font-weight:800; border-bottom:1px solid rgba(255,255,255,.3); }
.notes { margin-top:18px; padding:17px 20px; }
.notes strong { font-size:12px; text-transform:uppercase; letter-spacing:.12em; }
.notes p { margin:3px 0 0; font-size:13px; }
.contact { padding:80px 0 120px; }
.contact-card { padding:clamp(28px,5vw,55px); text-align:center; }
.contact-card p { max-width:650px; margin:0 auto 8px; }
footer { display:flex; justify-content:space-between; gap:20px; padding:25px max(18px, calc((100% - 1120px)/2)); border-top:1px solid var(--line); color:#777d88; font-size:11px; }
.modal-backdrop[hidden] { display:none !important; }
.modal-backdrop {
  position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:18px;
  background:rgba(0,0,0,.72); backdrop-filter:blur(10px);
}
.modal { width:min(900px,100%); max-height:90vh; overflow:auto; padding:26px; position:relative; }
.close-button { position:absolute; top:15px; right:18px; background:none; border:0; color:#aaa; font-size:28px; }
.modal h2 { font-size:34px; }
form { display:grid; gap:10px; margin-top:18px; }
input, textarea {
  width:100%; border:1px solid var(--line); background:#0b0d12; color:var(--text);
  border-radius:10px; padding:11px 12px; outline:none;
}
textarea { min-height:90px; resize:vertical; }
label { display:grid; gap:7px; margin:12px 0; color:#bfc3ca; font-size:12px; font-weight:700; }
.error { color:var(--danger); font-size:12px; min-height:18px; margin:0; }
.dashboard-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-right:25px; }
.dashboard-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.save-status { color:#9fe6ad; font-size:11px; font-weight:800; white-space:nowrap; }
.save-button { margin-top:0; min-width:120px; }
.save-button:disabled { opacity:.5; cursor:not-allowed; transform:none; box-shadow:none; }
.admin-warning { border:1px solid rgba(255,210,100,.15); background:rgba(255,210,100,.05); border-radius:12px; padding:10px 12px; font-size:12px; }
.editor-tabs { display:flex; flex-wrap:wrap; gap:7px; margin:20px 0; }
.tab { border:1px solid var(--line); background:#0c0e13; color:#aaa; padding:9px 12px; border-radius:9px; }
.tab.active { background:#fff; color:#090a0d; font-weight:800; }
.editor-panel { display:none; }
.editor-panel.active { display:block; }
.editor-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.edit-card { border:1px solid var(--line); border-radius:15px; padding:15px; margin:12px 0; background:rgba(0,0,0,.15); }
.edit-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.edit-actions { display:flex; gap:8px; margin-top:8px; }
.upload-label { display:inline-flex; align-items:center; gap:8px; width:max-content; border:1px dashed #444; padding:8px 10px; border-radius:9px; color:#bbb; cursor:pointer; }
.upload-label input { display:none; }
.logout { width:100%; margin-top:22px; color:#ff9a9a; }
@media (max-width:720px) {
  .site-header { padding:12px 14px; }
  .brand img { width:34px; height:34px; border-radius:10px; }
  .container { width:min(100% - 24px, 1120px); }
  .admin-bubble { left:10px; top:66px; min-width:32px; height:28px; line-height:26px; padding:0 8px; }
  .hero { padding:56px 0 62px; }
  .hero-card { padding:26px 20px; }
  h1 { font-size:clamp(38px, 13vw, 62px); line-height:.98; }
  h2 { font-size:clamp(30px, 10vw, 46px); }
  .hero-card > p { font-size:15px; }
  .section { padding:52px 0; }
  .card-grid { grid-template-columns:1fr; gap:12px; }
  .card { padding:18px; min-height:0; }
  .card-top { gap:11px; }
  .avatar { width:50px; height:50px; flex-basis:50px; border-radius:14px; }
  .card-body { margin-top:15px; }
  .contact { padding:55px 0 80px; }
  footer { flex-direction:column; gap:8px; padding:20px 12px; }
  .modal-backdrop { padding:8px; align-items:end; }
  .modal { width:100%; max-height:94vh; padding:20px 15px; border-radius:20px; }
  .modal h2 { font-size:30px; }
  .dashboard-header { align-items:flex-start; flex-direction:column; padding-right:0; gap:12px; }
  .dashboard-actions { width:100%; justify-content:stretch; }
  .dashboard-actions > * { flex:1 1 auto; }
  .save-status { flex:1 1 100%; }
  .editor-tabs { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; }
  .tab { flex:0 0 auto; }
  .edit-card { padding:12px; }
  .edit-actions { flex-wrap:wrap; }
  .upload-label, .edit-actions .secondary-button { max-width:100%; }
  input, textarea { font-size:16px; }
}
@media (min-width:721px) and (max-width:900px) {
  .container { width:calc(100% - 32px); }
}

