:root {
  --navy: #0c2f69;
  --blue: #0874e8;
  --blue-deep: #0753bc;
  --cyan: #45d7f2;
  --lime: #89ce12;
  --lime-dark: #5eaa0c;
  --ink: #0b2e54;
  --soft: #365d83;
  --muted: #8297b3;
  --line: rgba(89, 145, 197, 0.23);
  --glass: rgba(244, 251, 255, 0.86);
  --shadow: 0 10px 28px rgba(45, 96, 139, 0.14), inset 0 1px rgba(255,255,255,.96);
  --font: "Segoe UI", Tahoma, Verdana, sans-serif;
  color-scheme: light;
  font-family: var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255,255,255,.5), transparent 25rem),
    linear-gradient(180deg,rgba(103,213,250,.04),rgba(82,202,232,.09)),
    url("assets/generated/frutiger-water-bg-v2.jpg") center top / cover fixed;
  font-size: 14px;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p, blockquote, dl, dd, ul { margin-top: 0; }

.ref-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-deep);
  transform: translateY(-140%);
}

.ref-skip:focus { transform: none; }

.ref-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ref-shell {
  width: min(1580px, calc(100% - 14px));
  margin: 7px auto;
}

.ref-glass,
.ref-card {
  border: 1px solid rgba(255,255,255,.78);
  background:
    radial-gradient(ellipse at 24% -16%,rgba(255,255,255,.76),transparent 36%),
    linear-gradient(145deg,rgba(246,253,255,.5),rgba(208,235,247,.3));
  box-shadow: 0 12px 30px rgba(35,91,132,.16),inset 0 2px 1px rgba(255,255,255,.86),inset 0 -8px 18px rgba(97,160,194,.1);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  backdrop-filter: blur(28px) saturate(155%);
}

.ref-card {
  background:
    radial-gradient(ellipse at 24% -16%,rgba(255,255,255,.74),transparent 38%),
    linear-gradient(145deg,rgba(247,253,255,.54),rgba(185,226,239,.34));
  box-shadow: 0 14px 32px rgba(28,86,127,.18),inset 0 2px 1px rgba(255,255,255,.95),inset 0 -12px 22px rgba(63,160,195,.11),inset 14px 0 28px rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(25px) saturate(175%);
  backdrop-filter: blur(25px) saturate(175%);
}

.ref-card::before {
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(118deg,rgba(255,255,255,.42),transparent 21%,transparent 72%,rgba(201,247,255,.13)),radial-gradient(ellipse at 28% -4%,rgba(255,255,255,.5),transparent 29%);
  content: "";
  pointer-events: none;
}

.ref-card > :not(.ref-visually-hidden) { position: relative; z-index: 1; }

.ref-versions {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 22px;
  background: rgba(235,249,255,.48);
  box-shadow: 0 8px 24px rgba(31,83,130,.18), inset 0 1px #fff;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.ref-versions a {
  padding: 7px 13px;
  border-radius: 16px;
  color: #6681a4;
  font-size: .65rem;
  font-weight: 700;
}

.ref-versions a b { margin-right: 5px; color: #9aacc1; font-weight: 600; }
.ref-versions a.is-active { color: #fff; background: linear-gradient(#62b0f5, #1f73dc); box-shadow: inset 0 1px rgba(255,255,255,.55), 0 5px 12px rgba(26,100,190,.22); }

.ref-topbar {
  display: grid;
  min-height: 86px;
  grid-template-columns: 270px minmax(0,1fr) 160px;
  align-items: center;
  border-radius: 28px 28px 18px 18px;
  overflow: hidden;
}

.ref-brand {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-right: 1px solid var(--line);
}

.ref-brand strong, .ref-brand small { display: block; }
.ref-brand strong { font-size: 1.25rem; letter-spacing: -.025em; }
.ref-brand small { color: #365c81; font-size: .76rem; font-weight: 650; }

.ref-logo {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
}

.ref-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(23,73,167,.24));
}

.ref-utilities { display: grid; height: 100%; grid-template-columns: repeat(5, minmax(115px,1fr)); }

.ref-utility {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-right: 1px solid var(--line);
}

.ref-utility p { min-width: 0; margin: 0; }
.ref-utility small, .ref-utility strong { display: block; }
.ref-utility small { margin-bottom: 2px; color: #346597; font-size: .54rem; font-weight: 800; }
.ref-utility strong { overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.ref-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 7px rgba(111,190,16,.7); }
.ref-icon { color: var(--blue); font-size: 1.55rem; line-height: 1; }
.ref-weather { font-size: 1.45rem; }

.ref-user {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.ref-user small, .ref-user strong { display: block; text-align: right; }
.ref-user small { color: #557393; font-size: .58rem; }
.ref-user strong { font-size: .66rem; }
.ref-user i { display: grid; width: 40px; height: 40px; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#1e5596,#77c4d7); box-shadow: 0 5px 12px rgba(36,85,139,.2); font-style: normal; font-weight: 800; }

.ref-layout { display: grid; grid-template-columns: 238px minmax(0,1fr); gap: 10px; margin-top: 10px; }
.ref-sidebar { display: flex; min-width: 0; flex-direction: column; gap: 9px; }

.ref-blue-panel {
  overflow: hidden;
  border: 1px solid rgba(205,244,255,.9);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse at 24% -8%, rgba(255,255,255,.62), transparent 27%),
    radial-gradient(ellipse at 88% 108%, rgba(45,220,255,.32), transparent 34%),
    linear-gradient(105deg, rgba(76,205,255,.2), transparent 42%),
    linear-gradient(165deg, rgba(17,137,234,.42), rgba(4,76,185,.52) 61%, rgba(0,133,205,.4));
  box-shadow:
    0 13px 28px rgba(18,82,160,.28),
    inset 0 2px 1px rgba(255,255,255,.72),
    inset 8px 0 20px rgba(90,220,255,.12),
    inset 0 -10px 22px rgba(0,31,123,.24);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  text-shadow: 0 1px 2px rgba(0,43,112,.28);
}

.ref-panel-head {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 13px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-size: .58rem;
  font-weight: 800;
}

.ref-navigation { padding-bottom: 7px; }

.ref-navigation a {
  display: grid;
  min-height: 47px;
  grid-template-columns: 25px 22px 1fr 12px;
  align-items: center;
  gap: 5px;
  margin: 3px 7px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  font-size: .66rem;
}

.ref-navigation a i { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: linear-gradient(145deg,rgba(255,255,255,.29),rgba(90,185,255,.09)); box-shadow: inset 0 1px rgba(255,255,255,.38),0 3px 7px rgba(0,45,130,.16); font-style: normal; font-size: .9rem; }
.ref-navigation a span { opacity: .75; font-size: .55rem; }
.ref-navigation a strong { font-size: .76rem; }
.ref-navigation a > b { font-size: 1rem; }
.ref-navigation a:hover, .ref-navigation a:focus-visible { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); outline: none; }
.ref-navigation a.is-active {
  color: #fff;
  border-color: rgba(244,255,210,.95);
  background:
    radial-gradient(ellipse at 27% -18%,rgba(255,255,255,.72),transparent 40%),
    linear-gradient(180deg,rgba(193,239,66,.52),rgba(126,205,16,.58) 52%,rgba(83,166,7,.65));
  box-shadow: inset 0 2px 2px rgba(255,255,255,.8),inset 0 -8px 14px rgba(52,126,0,.27),0 8px 18px rgba(43,112,12,.32);
  text-shadow: 0 1px 2px rgba(35,95,0,.3);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  backdrop-filter: blur(18px) saturate(190%);
}

.ref-system { padding-bottom: 12px; }
.ref-pulse { display: flex; height: 42px; align-items: center; justify-content: center; gap: 5px; margin: 7px 12px 2px; border-bottom: 1px solid rgba(255,255,255,.24); }
.ref-pulse i { width: 5px; height: 22%; border-radius: 5px; background: #74e7ff; box-shadow: 0 0 5px #4ce2ff; }
.ref-pulse i:nth-child(2), .ref-pulse i:nth-child(8) { height: 46%; }
.ref-pulse i:nth-child(3), .ref-pulse i:nth-child(7) { height: 75%; background: #c9f427; }
.ref-pulse i:nth-child(4), .ref-pulse i:nth-child(6) { height: 40%; }
.ref-pulse i:nth-child(5) { height: 88%; background: #fff31c; }
.ref-system dl { margin: 3px 13px 8px; }
.ref-system dl div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .6rem; }
.ref-system dd { color: #d9ff21; font-weight: 700; }
.ref-system > a { display: flex; justify-content: space-between; padding: 4px 13px; color: #dff7ff; font-size: .59rem; font-weight: 700; }

.ref-quick { position: relative; min-height: 150px; overflow: hidden; border-radius: 20px; padding: 15px; }
.ref-quick > small { font-size: .55rem; font-weight: 800; }
.ref-quick p { position: relative; z-index: 2; margin: 10px 0 0; font-size: .64rem; font-weight: 600; line-height: 1.65; }
.ref-sprig-slot { position: absolute; right: -8px; bottom: -8px; display: grid; width: 105px; height: 125px; place-items: center; border-radius: 55% 20% 0 40%; color: rgba(38,112,78,.55); background: radial-gradient(ellipse at 70% 70%,#88cd4f,transparent 45%),linear-gradient(145deg,transparent,#d9f4cc); font-size: .51rem; font-weight: 800; text-align: center; transform: rotate(-7deg); }
.ref-sprig-slot { background-image: url("assets/generated/contact-glass-flowers.jpg"); background-position: 84% center; background-size: cover; font-size: 0; }
.ref-quick button { position: absolute; right: 10px; bottom: 9px; z-index: 3; display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(#b0dc27,#70b91a); box-shadow: 0 5px 10px rgba(72,139,23,.25); cursor: pointer; }

main { min-width: 0; }

.ref-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 28px;
}

.ref-hero-art { position: absolute; inset: 0; }
.ref-image-slot { overflow: hidden; border: 1px dashed rgba(30,110,174,.45); background:
  linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px),
  radial-gradient(circle at 66% 45%,rgba(150,220,61,.68),transparent 23%),radial-gradient(circle at 87% 22%,rgba(255,171,222,.48),transparent 19%),
  linear-gradient(145deg,#86d4e6,#d1eff3 48%,#cce9ca); background-size: 26px 26px,26px 26px,auto,auto,cover; }
.ref-image-slot > span { position: absolute; right: 16px; bottom: 13px; z-index: 3; padding: 7px 10px; border: 1px solid rgba(255,255,255,.88); border-radius: 9px; color: #2a648f; background: rgba(245,252,255,.76); box-shadow: 0 7px 16px rgba(36,88,130,.12); font-size: .51rem; font-weight: 800; text-align: center; backdrop-filter: blur(10px); }

.ref-image-slot.has-image {
  border-style: solid;
  border-color: rgba(255,255,255,.84);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ref-slot-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-photo-project .ref-slot-photo { object-position: 58% center; }
.ref-photo-journal .ref-slot-photo { object-position: 62% center; }
.ref-photo-mood .ref-slot-photo { object-position: center; }
.ref-photo-contact .ref-slot-photo { object-position: 76% center; }

.ref-image-slot.has-image > span,
.ref-image-slot.has-image .ref-art-shapes {
  display: none;
}


.ref-art-shapes { position: absolute; inset: 6% 4% 5% 32%; }
.ref-art-shapes i { position: absolute; border: 4px solid rgba(255,255,255,.84); border-radius: 50%; background: rgba(232,252,255,.16); box-shadow: inset 15px 15px 26px rgba(255,255,255,.36),0 15px 30px rgba(27,105,140,.15); }
.ref-art-shapes i:nth-child(1) { right: 8%; bottom: 3%; width: 58%; height: 75%; border-radius: 48% 52% 54% 46%; transform: rotate(11deg); }
.ref-art-shapes i:nth-child(2) { left: 6%; bottom: 5%; width: 31%; height: 51%; transform: rotate(-18deg); }
.ref-art-shapes i:nth-child(3) { left: 31%; bottom: 1%; width: 17%; aspect-ratio: 1; }
.ref-art-shapes i:nth-child(4) { top: 8%; left: 27%; width: 7%; aspect-ratio: 1; }

.ref-hero-wash { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(242,251,255,.97) 0%,rgba(238,249,255,.9) 25%,rgba(237,249,255,.52) 39%,transparent 58%); }
.ref-intro { position: relative; z-index: 2; width: 38%; padding: 45px 38px 70px 50px; }
.ref-intro > p:first-child { margin: 0; font-size: 1.35rem; font-weight: 700; }
.ref-intro h1 { margin: -3px 0 8px; font-size: clamp(2.2rem,3.7vw,4.15rem); line-height: .94; letter-spacing: -.055em; }
.ref-intro h2 { margin: 0 0 18px; font-size: clamp(1.25rem,1.8vw,2rem); line-height: 1.1; letter-spacing: -.03em; }
.ref-intro h2 em { color: transparent; background: linear-gradient(90deg,#0975e9,#1479dc 55%,#68ab22); background-clip: text; font-style: normal; }
.ref-summary { max-width: 365px; margin-bottom: 20px; color: #21496e; font-size: .86rem; font-weight: 520; line-height: 1.55; }
.ref-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.ref-actions a { display: flex; min-width: 152px; min-height: 40px; align-items: center; justify-content: space-between; gap: 18px; padding: 7px 9px 7px 16px; border: 1px solid rgba(255,255,255,.72); border-radius: 22px; color: #133f70; background: rgba(241,251,255,.58); box-shadow: 0 7px 15px rgba(46,100,146,.12),inset 0 2px 1px rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); font-size: .7rem; font-weight: 750; }
.ref-actions a:first-child {
  color: #fff;
  border-color: rgba(232,255,180,.96);
  background: radial-gradient(ellipse at 28% -25%,rgba(255,255,255,.8),transparent 42%),linear-gradient(180deg,rgba(188,236,62,.48),rgba(130,211,24,.53) 52%,rgba(90,172,11,.62));
  box-shadow: 0 9px 19px rgba(73,139,13,.3),inset 0 2px 2px rgba(255,255,255,.84),inset 0 -7px 13px rgba(46,118,0,.25);
  text-shadow: 0 1px 2px rgba(38,94,0,.28);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  backdrop-filter: blur(18px) saturate(190%);
}
.ref-actions b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.23); }

.ref-hero-quote { position: absolute; top: 94px; right: 25px; z-index: 3; width: 150px; margin: 0; padding: 22px 18px; border: 1px solid rgba(255,255,255,.82); border-radius: 22px; color: #23446c; background: rgba(240,251,255,.46); box-shadow: 0 10px 26px rgba(40,90,130,.14),inset 0 2px 1px rgba(255,255,255,.9); -webkit-backdrop-filter: blur(22px) saturate(155%); backdrop-filter: blur(22px) saturate(155%); }
.ref-hero-quote b { color: var(--lime); font: 700 2.7rem/.7 Georgia,serif; }
.ref-hero-quote p { margin: 13px 0 17px; font-size: .7rem; font-weight: 600; line-height: 1.65; }
.ref-hero-quote i { display: block; width: 28px; height: 2px; background: var(--lime); }

.ref-search { position: absolute; bottom: 17px; left: 20px; z-index: 4; display: grid; width: 345px; min-height: 42px; grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; padding: 5px 6px 5px 13px; border: 1px solid rgba(255,255,255,.82); border-radius: 14px; color: #6e89a9; background: rgba(240,251,255,.48); box-shadow: 0 8px 20px rgba(45,100,140,.13),inset 0 2px 1px rgba(255,255,255,.92); font-size: .64rem; -webkit-backdrop-filter: blur(20px) saturate(155%); backdrop-filter: blur(20px) saturate(155%); }
.ref-search > span:first-child { color: var(--blue); font-size: 1.2rem; }
.ref-search a { padding: 7px 15px; border: 1px solid rgba(235,255,189,.9); border-radius: 11px; color: #fff; background: radial-gradient(ellipse at 30% -28%,rgba(255,255,255,.78),transparent 45%),linear-gradient(180deg,rgba(184,232,58,.46),rgba(125,204,21,.52) 52%,rgba(90,170,11,.61)); box-shadow: inset 0 2px 2px rgba(255,255,255,.8),inset 0 -5px 9px rgba(48,116,0,.2),0 5px 11px rgba(67,133,9,.22); -webkit-backdrop-filter: blur(16px) saturate(190%); backdrop-filter: blur(16px) saturate(190%); font-weight: 700; text-shadow: 0 1px 2px rgba(42,96,0,.28); }
.ref-pages { position: absolute; right: 24px; bottom: 22px; z-index: 3; display: flex; gap: 13px; }
.ref-pages i,.ref-card-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 1px 3px rgba(33,85,125,.18); }
.ref-pages i.on,.ref-card-dots i.on { background: var(--lime); }

.ref-dashboard { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.ref-card { position: relative; min-width: 0; min-height: 210px; overflow: hidden; border-radius: 18px; padding: 13px; }
.ref-card header { position: relative; z-index: 2; margin-bottom: 11px; color: #2361a0; font-size: .59rem; font-weight: 800; }
.ref-card h3 { margin-bottom: 8px; font-size: .8rem; }
.ref-card p { color: #547090; font-size: .61rem; }
.ref-card a { color: #176ac5; font-size: .56rem; font-weight: 700; }

.ref-spotlight { grid-column: span 3; }
.ref-spotlight-body { display: grid; grid-template-columns: 48% 1fr; gap: 12px; }
.ref-card-image { position: relative; min-height: 137px; border-radius: 12px; }
.ref-card-image > span { right: 7px; bottom: 7px; left: 7px; }
.ref-spotlight-body > div:last-child { padding-top: 6px; }
.ref-spotlight-body h3 { color: #64a817; }
.ref-card-dots { display: flex; justify-content: center; gap: 8px; margin-top: 9px; }
.ref-card-dots i { width: 7px; height: 7px; background: #bdd0e0; }

.ref-focus-card { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 4px; }
.ref-focus-card header { grid-column: 1/-1; }
.ref-score { display: flex; width: 104px; height: 104px; flex-direction: column; align-items: center; justify-content: center; border: 10px solid #1680e7; border-right-color: #b5de39; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8),0 5px 12px rgba(37,111,188,.14); }
.ref-score strong { color: #1476dd; font-size: 1.85rem; line-height: 1; }
.ref-score span { color: #557495; font-size: .5rem; }
.ref-focus-copy { display: flex; flex-direction: column; justify-content: center; gap: 5px; font-size: .58rem; }
.ref-focus-copy small { color: #7189a6; font-size: .5rem; }
.ref-focus-copy span { color: #6e84a0; }
.ref-focus-copy span b { display: block; color: #65ad19; }
.ref-week { grid-column: 1/-1; display: flex; height: 30px; align-items: end; justify-content: space-around; }
.ref-week i { width: 7px; height: 45%; border-radius: 5px; background: linear-gradient(#24a0ed,#1768da); }
.ref-week i:nth-child(2),.ref-week i:nth-child(5){height:75%;background:linear-gradient(#b5dc29,#72b51d)}
.ref-week i:nth-child(3),.ref-week i:nth-child(7){height:95%}

.ref-energy { grid-column: span 3; }
.ref-chart { position: relative; height: 115px; margin: 5px 0 8px; overflow: hidden; border-bottom: 1px solid #bed1df; background: linear-gradient(rgba(77,126,170,.09) 1px,transparent 1px); background-size: 100% 28px; }
.ref-chart i { position: absolute; inset: 14px 0 0; background: linear-gradient(to top,rgba(141,207,28,.22),transparent),linear-gradient(135deg,transparent 0 14%,#75bd1d 14.5% 15%,transparent 15.5% 27%,#75bd1d 27.5% 28%,transparent 28.5% 39%,#75bd1d 39.5% 40%,transparent 40.5% 58%,#75bd1d 58.5% 59%,transparent 59.5% 75%,#75bd1d 75.5% 76%,transparent 76.5% 100%); clip-path: polygon(0 75%,14% 54%,27% 65%,40% 40%,58% 58%,76% 24%,100% 12%,100% 100%,0 100%); }
.ref-metrics { display: grid; grid-template-columns: repeat(3,1fr); }
.ref-metrics span { padding: 0 7px; border-right: 1px solid var(--line); color: #6f86a3; font-size: .52rem; }
.ref-metrics span:last-child { border: 0; }
.ref-metrics b { display: block; margin-top: 3px; color: #6dad16; font-size: .88rem; }

.ref-log { grid-column: span 2; }
.ref-log ul { margin: 0 0 8px; padding: 0; list-style: none; }
.ref-log li { display: grid; grid-template-columns: 40px 1fr; gap: 4px; padding: 6px 0; border-bottom: 1px solid var(--line); color: #4f6d91; font-size: .53rem; }
.ref-log time { color: #4777a8; }

.ref-mood { grid-column: span 2; }
.ref-mood > p { margin-bottom: 5px; color: #5da50d; font-weight: 700; }
.ref-mood > p i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.ref-mood-image { position: relative; height: 125px; border: 0; border-radius: 13px; background: radial-gradient(circle at 50% 55%,#fff 0 8%,#65d7ee 9% 26%,#2c78d9 27% 35%,transparent 36%),radial-gradient(ellipse at 50% 90%,rgba(54,131,182,.32),transparent 42%),linear-gradient(#e9faff,#cde9f3); }

.ref-journal { grid-column: span 3; min-height: 185px; }
.ref-journal-body { display: grid; grid-template-columns: 43% 1fr; gap: 12px; }
.ref-journal-image { position: relative; min-height: 125px; border-radius: 11px; }
.ref-journal-image > span { right: 6px; bottom: 6px; left: 6px; }
.ref-journal h3 { color: #62a818; }

.ref-activity { grid-column: span 3; min-height: 185px; }
.ref-activity ul { margin: 0 0 8px; padding: 0; list-style: none; }
.ref-activity li { display: grid; grid-template-columns: 90px 1fr auto; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .52rem; }
.ref-activity li span,.ref-activity time { color: #7890ab; }

.ref-tools { grid-column: span 4; min-height: 185px; }
.ref-tool-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; }
.ref-tool-grid span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #537190; font-size: .49rem; }
.ref-tool-grid b { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(99,150,193,.27); border-radius: 12px; color: #116fd6; background: rgba(255,255,255,.58); box-shadow: inset 0 1px #fff; font-size: 1rem; }
.ref-now { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.ref-now span { padding: 0 8px; border-right: 1px solid var(--line); font-size: .5rem; }
.ref-now span:last-child { border: 0; }
.ref-now small { display: block; margin-bottom: 3px; color: #7088a5; font-size: .44rem; }

.ref-subscribe { grid-column: span 2; min-height: 185px; }
.ref-subscribe > p { position: relative; z-index: 2; max-width: 175px; }
.ref-subscribe form { position: relative; z-index: 3; display: flex; gap: 5px; margin-top: 14px; }
.ref-subscribe input { min-width: 0; width: 100%; padding: 8px 9px; border: 1px solid rgba(94,145,190,.28); border-radius: 10px; outline: none; color: var(--ink); background: rgba(255,255,255,.7); font-size: .52rem; }
.ref-subscribe button { border: 1px solid rgba(235,255,188,.9); border-radius: 9px; color: #fff; background: radial-gradient(ellipse at 30% -25%,rgba(255,255,255,.76),transparent 44%),linear-gradient(180deg,rgba(183,231,58,.46),rgba(124,204,21,.52) 52%,rgba(89,169,10,.61)); box-shadow: inset 0 2px 2px rgba(255,255,255,.78),inset 0 -5px 9px rgba(48,116,0,.2),0 5px 11px rgba(67,133,9,.2); -webkit-backdrop-filter: blur(16px) saturate(190%); backdrop-filter: blur(16px) saturate(190%); font-size: .52rem; font-weight: 700; text-shadow: 0 1px 2px rgba(42,96,0,.28); cursor: pointer; }
.ref-subscribe-art { position: absolute; right: -8px; bottom: -12px; width: 105px; height: 125px; border: 0; border-radius: 60% 10% 0 40%; opacity: .62; }

.ref-footer { position: relative; display: grid; min-height: 78px; grid-template-columns: 250px 1fr 300px 36px; align-items: center; gap: 18px; margin-top: 10px; overflow: hidden; border: 1px solid rgba(187,237,255,.88); border-radius: 22px 22px 30px 30px; color: #fff; background: radial-gradient(ellipse at 22% -30%,rgba(255,255,255,.54),transparent 28%),radial-gradient(ellipse at 67% 140%,rgba(100,220,255,.35),transparent 30%),linear-gradient(160deg,rgba(12,112,220,.43),rgba(4,47,148,.54) 56%,rgba(0,134,205,.42)); box-shadow: 0 13px 29px rgba(8,60,145,.28),inset 0 2px rgba(255,255,255,.72),inset 0 -11px 22px rgba(0,25,112,.2); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); padding: 14px 25px; }
.ref-footer::after { position: absolute; right: 28%; bottom: -55px; width: 150px; height: 95px; border: 2px solid rgba(255,255,255,.36); border-radius: 50%; content: ""; transform: rotate(-12deg); }
.ref-footer > * { position: relative; z-index: 2; }
.ref-footer > span,.ref-footer p { margin: 0; font-size: .6rem; }
.ref-footer nav { display: flex; justify-content: center; gap: 28px; font-size: .59rem; }
.ref-up { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(0,29,119,.4); }

@media (max-width: 1250px) {
  .ref-shell { width: min(1180px,calc(100% - 14px)); }
  .ref-topbar { grid-template-columns: 230px minmax(0,1fr) 120px; }
  .ref-utilities { grid-template-columns: repeat(4,1fr); }
  .ref-focus { display: none; }
  .ref-layout { grid-template-columns: 200px minmax(0,1fr); }
  .ref-spotlight { grid-column: span 4; }
  .ref-focus-card { grid-column: span 3; }
  .ref-energy { grid-column: span 5; }
  .ref-log { grid-column: span 3; }
  .ref-mood { grid-column: span 3; }
  .ref-journal { grid-column: span 4; }
  .ref-activity { grid-column: span 5; }
  .ref-tools { grid-column: span 7; }
  .ref-subscribe { grid-column: span 5; }
  .ref-intro { width: 44%; padding-left: 38px; }
}

@media (max-width: 900px) {
  .ref-topbar { position: sticky; top: 5px; z-index: 50; min-height: 72px; grid-template-columns: 1fr auto; }
  .ref-utilities { display: none; }
  .ref-brand { border: 0; }
  .ref-layout { display: block; }
  .ref-sidebar { position: sticky; top: 84px; z-index: 45; display: block; margin: 8px 0; }
  .ref-navigation { display: grid; grid-template-columns: repeat(5,1fr); padding: 5px; border-radius: 17px; }
  .ref-navigation .ref-panel-head,.ref-navigation a:nth-of-type(6),.ref-navigation a:nth-of-type(7),.ref-navigation a:nth-of-type(8),.ref-system,.ref-quick { display: none; }
  .ref-navigation a { display: flex; min-height: 48px; flex-direction: column; justify-content: center; gap: 0; margin: 0; padding: 4px; }
  .ref-navigation a span,.ref-navigation a > b { display: none; }
  .ref-navigation a i { width: 23px; height: 23px; }
  .ref-navigation a strong { max-width: 90px; overflow: hidden; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
  .ref-hero { min-height: 830px; }
  .ref-hero-wash { background: linear-gradient(to bottom,rgba(242,251,255,.98) 0%,rgba(239,250,255,.95) 43%,rgba(238,250,255,.35) 60%,transparent 75%); }
  .ref-intro { width: 100%; padding: 45px 40px 20px; text-align: center; }
  .ref-summary { margin-inline: auto; }
  .ref-actions { justify-content: center; }
  .ref-art-shapes { inset: 48% 5% 7%; }
  .ref-hero-quote { display: none; }
  .ref-search { right: 15px; bottom: 15px; left: 15px; width: auto; }
  .ref-pages { bottom: 70px; }
  .ref-dashboard { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .ref-spotlight,.ref-focus-card,.ref-energy,.ref-log,.ref-mood,.ref-journal,.ref-activity,.ref-tools,.ref-subscribe { grid-column: span 3; }
  .ref-footer { grid-template-columns: 1fr 1fr 40px; }
  .ref-footer nav { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 13px; }
  .ref-shell { width: calc(100% - 8px); margin: 4px auto; }
  .ref-topbar { top: 4px; border-radius: 20px; }
  .ref-brand { padding: 10px 13px; }
  .ref-brand strong { font-size: 1rem; }
  .ref-brand small { font-size: .63rem; }
  .ref-logo { width: 44px; height: 44px; }
  .ref-user { padding-right: 12px; }
  .ref-user span { display: none; }
  .ref-user i { width: 36px; height: 36px; }
  .ref-sidebar { top: 80px; }
  .ref-navigation { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .ref-navigation a strong { max-width: 58px; }
  .ref-hero { min-height: 680px; border-radius: 22px; }
  .ref-intro { box-sizing: border-box; max-width: 100%; padding: 43px 22px 10px; }
  .ref-intro > p:first-child { font-size: 1.05rem; }
  .ref-intro h1 { font-size: 3.2rem; }
  .ref-intro h2 { font-size: 1.45rem; }
  .ref-summary { width: 100%; font-size: .82rem; overflow-wrap: anywhere; }
  .ref-actions a { width: 100%; }
  .ref-art-shapes { inset: 52% 1% 8%; }
  .ref-hero-art > span { right: 50%; bottom: 70px; transform: translateX(50%); }
  .ref-photo-hero.has-image { background-color: #e6f6fb; }
  .ref-photo-hero .ref-slot-photo { top: auto; right: auto; bottom: 48px; left: 50%; width: 118%; height: auto; max-width: none; object-fit: contain; transform: translateX(-52%); }
  .ref-pages { display: none; }
  .ref-dashboard { grid-template-columns: 1fr; }
  .ref-spotlight,.ref-focus-card,.ref-energy,.ref-log,.ref-mood,.ref-journal,.ref-activity,.ref-tools,.ref-subscribe { grid-column: 1; }
  .ref-card { min-height: 190px; }
  .ref-versions { right: 4px; bottom: 4px; left: 4px; justify-content: center; }
  .ref-versions a { flex: 1; padding-inline: 4px; text-align: center; }
  .ref-versions a b { display: none; }
  .ref-footer { grid-template-columns: 1fr 38px; padding: 13px 16px; }
  .ref-footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Essential portfolio layout */
.ref-topbar {
  grid-template-columns: minmax(0,1fr) auto;
}

.ref-brand { border-right: 0; }

.ref-header-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
}

.ref-header-links a {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  color: #174c82;
  background: rgba(242,252,255,.38);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.85),0 5px 12px rgba(24,87,138,.1);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  font-size: .74rem;
  font-weight: 700;
}

.ref-header-links .ref-header-contact {
  color: #fff;
  border-color: rgba(232,255,180,.9);
  background: linear-gradient(180deg,rgba(188,236,62,.5),rgba(91,172,11,.63));
  text-shadow: 0 1px 2px rgba(38,94,0,.28);
}

.ref-intro { width: 43%; }
.ref-intro h1 { margin: 1px 0 19px; font-size: clamp(2.5rem,4.1vw,4.5rem); line-height: .96; }
.ref-intro h1 em { color: transparent; background: linear-gradient(90deg,#0877e7,#1486d9 47%,#69ad24); background-clip: text; font-style: normal; }

.ref-profile-card {
  display: block;
  min-height: 300px;
  margin-top: 10px;
  padding: 0;
}

.ref-profile-sides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ref-profile-side { min-width: 0; padding: 30px 34px 25px; background: radial-gradient(ellipse at 35% 50%,rgba(248,254,255,.3),transparent 67%); }
.ref-profile-side:first-child { border-right: 1px solid rgba(255,255,255,.65); }
.ref-profile-side h3 { margin: 0 0 13px; font-size: clamp(1.65rem,2.7vw,2.6rem); line-height: 1; letter-spacing: -.045em; }
.ref-profile-builder h3 { color: #105eaa; }
.ref-profile-leader h3 { color: #55a313; }
.ref-profile-side p { min-height: 78px; margin-bottom: 18px; color: #153d5e; font-size: .86rem; font-weight: 500; line-height: 1.62; text-shadow: 0 1px 0 rgba(255,255,255,.9),0 0 14px rgba(241,252,255,.76); }
.ref-profile-side ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ref-profile-side li { padding: 7px 12px; border: 1px solid rgba(255,255,255,.82); border-radius: 16px; color: #164c7c; background: rgba(242,252,255,.6); box-shadow: inset 0 2px 1px rgba(255,255,255,.9); font-size: .72rem; font-weight: 750; }
.ref-profile-bridge { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 17px 34px; border-top: 1px solid rgba(255,255,255,.76); background: linear-gradient(90deg,rgba(239,251,255,.24),rgba(219,246,249,.12)); box-shadow: inset 0 1px rgba(255,255,255,.46); }
.ref-profile-bridge p { margin: 0; color: #153d5e; font-size: .8rem; font-weight: 500; text-shadow: 0 1px 0 rgba(255,255,255,.9),0 0 13px rgba(241,252,255,.78); }
.ref-profile-bridge strong { color: #174f82; }
.ref-profile-bridge span { color: #49728f; font-size: .62rem; font-weight: 700; }
.ref-profile-bridge a { color: #005eb9; font-size: .75rem; font-weight: 800; }

.ref-work-panel {
  margin-top: 10px;
  padding: 0;
}

.ref-work-heading {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 27px;
  border-bottom: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 -1px rgba(74,132,165,.09);
}

.ref-work-heading h2 { margin: 0; font-size: 1.7rem; letter-spacing: -.035em; }
.ref-work-heading p { max-width: 390px; margin: 0; color: #244b6b; font-size: .84rem; font-weight: 550; line-height: 1.5; text-shadow: 0 1px 0 rgba(255,255,255,.9),0 0 14px rgba(241,252,255,.8); }

.ref-work-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }

.ref-work-item { min-width: 0; min-height: 375px; padding: 13px; border-right: 1px solid rgba(255,255,255,.74); background: linear-gradient(0deg,rgba(239,252,255,.22),transparent 44%); }
.ref-work-item:last-child { border-right: 0; }
.ref-work-media { height: 230px; border: 1px solid rgba(255,255,255,.76); border-radius: 13px; box-shadow: inset 0 1px rgba(255,255,255,.8),0 10px 22px rgba(26,90,130,.12); }
.ref-product-preview { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 84% 12%,rgba(144,212,30,.25),transparent 28%),radial-gradient(circle at 8% 90%,rgba(8,126,229,.24),transparent 34%),linear-gradient(145deg,rgba(239,253,255,.98),rgba(138,220,235,.92) 58%,rgba(160,217,124,.82)); }
.ref-product-preview::before,.ref-product-preview::after { content: ""; position: absolute; pointer-events: none; }
.ref-product-preview::after { inset: 0; z-index: 4; border-radius: inherit; background: linear-gradient(135deg,rgba(255,255,255,.48),transparent 34%,transparent 68%,rgba(216,251,255,.18)); box-shadow: inset 0 2px 1px rgba(255,255,255,.85),inset 0 -8px 18px rgba(27,130,177,.09); }
.ref-product-window { position: absolute; z-index: 2; overflow: hidden; border: 2px solid rgba(235,252,255,.82); border-radius: 12px; background: rgba(10,31,49,.88); box-shadow: 0 15px 26px rgba(24,90,127,.24),inset 0 1px rgba(255,255,255,.36),0 0 0 1px rgba(69,166,207,.12); }
.ref-product-window img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ref-window-bar { display: flex; position: absolute; z-index: 3; top: 0; right: 0; left: 0; height: 22px; align-items: center; gap: 5px; padding: 0 8px; border-bottom: 1px solid rgba(213,247,255,.24); color: rgba(238,252,255,.78); background: rgba(9,53,76,.58); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); font-size: .42rem; }
.ref-window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #8ed420; box-shadow: 9px 0 #58d7e9,18px 0 #3288e9; }
.ref-window-bar i:nth-child(n+2) { display: none; }
.ref-window-bar b { margin-left: 17px; font-weight: 600; }

.ref-product-congiugno { background: radial-gradient(circle at 18% 22%,rgba(255,255,255,.48),transparent 28%),radial-gradient(circle at 84% 10%,rgba(140,207,26,.29),transparent 32%),linear-gradient(145deg,#edfaff 4%,#b4e7ec 61%,#8ccedc); }
.ref-product-congiugno::before { z-index: 0; width: 170px; height: 170px; right: -38px; bottom: -58px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.12),0 0 0 26px rgba(15,105,151,.12),inset 0 0 35px rgba(118,206,228,.23); }
.ref-product-device { position: absolute; z-index: 2; top: 25px; bottom: -58px; left: 50%; width: 44%; overflow: hidden; border: 4px solid rgba(16,66,73,.9); border-bottom: 0; border-radius: 28px 28px 0 0; background: #fbf4df; box-shadow: 0 17px 30px rgba(19,87,97,.28),inset 0 0 0 1px rgba(255,255,255,.8); transform: translateX(-50%); }
.ref-product-device::before { content: ""; position: absolute; z-index: 2; top: 7px; left: 50%; width: 34%; height: 10px; border-radius: 9px; background: #0a2d33; transform: translateX(-50%); }
.ref-product-device img { display: block; width: 100%; height: auto; margin-top: -1px; }
.ref-product-sonavia { background: radial-gradient(circle at 12% 8%,rgba(255,255,255,.44),transparent 28%),radial-gradient(circle at 86% 85%,rgba(132,205,27,.3),transparent 34%),linear-gradient(145deg,#dff7ff,#83d4e8 58%,#8ecb83); }
.ref-product-sonavia::before { z-index: 1; top: -37px; right: -25px; width: 145px; height: 145px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; box-shadow: 0 0 38px rgba(66,180,221,.2),inset 0 0 30px rgba(255,255,255,.12); }
.ref-product-sonavia .ref-product-window { inset: 18px 16px 15px; }
.ref-product-sonavia .ref-product-window img { object-position: 50% 14%; }
.ref-product-cairn { background: radial-gradient(circle at 14% 8%,rgba(255,255,255,.45),transparent 27%),radial-gradient(circle at 91% 11%,rgba(134,207,24,.26),transparent 35%),linear-gradient(150deg,#dff8ff,#74cde5 58%,#8ccf9b); }
.ref-product-cairn::before { z-index: 1; right: -20px; bottom: -50px; width: 190px; height: 120px; border: 1px solid rgba(235,253,255,.58); border-radius: 50%; box-shadow: 0 0 38px rgba(35,184,232,.2),inset 0 0 30px rgba(255,255,255,.12); transform: rotate(-15deg); }
.ref-product-cairn .ref-product-window { inset: 17px 14px 24px; }
.ref-product-cairn .ref-product-window img { object-position: center; }
.ref-work-copy { padding: 15px 8px 5px; }
.ref-work-copy h3 { margin: 0 0 7px; color: #176cb2; font-size: 1.08rem; }
.ref-work-item:nth-child(1) .ref-work-copy h3 { color: #176cb2; }
.ref-work-item:nth-child(2) .ref-work-copy h3 { color: #59a714; }
.ref-work-item:nth-child(3) .ref-work-copy h3 { color: #176cb2; }
.ref-work-copy p { min-height: 60px; margin-bottom: 12px; color: #153d5e; font-size: .82rem; font-weight: 500; line-height: 1.55; text-shadow: 0 1px 0 rgba(255,255,255,.92),0 0 14px rgba(241,252,255,.82); }
.ref-work-copy a { color: #005eb9; font-size: .76rem; font-weight: 800; }

.ref-contact-card {
  display: grid;
  min-height: 200px;
  grid-template-columns: minmax(0,1fr) minmax(280px,38%);
  align-items: center;
  gap: 38px;
  margin-top: 10px;
  padding: 28px 32px;
}

.ref-contact-card h2 { margin: 0 0 9px; font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1; letter-spacing: -.045em; }
.ref-contact-card h2 em { color: #68aa20; font-style: normal; }
.ref-contact-card p { max-width: 520px; margin: 0; color: #183f60; font-size: .84rem; font-weight: 500; line-height: 1.55; text-shadow: 0 1px 0 rgba(255,255,255,.92),0 0 15px rgba(241,252,255,.82); }
.ref-contact-links { display: grid; gap: 8px; }
.ref-contact-links > a { padding: 11px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; color: #104f88; background: rgba(242,252,255,.62); box-shadow: inset 0 2px 1px rgba(255,255,255,.9); font-size: .76rem; font-weight: 800; }
.ref-contact-links .ref-contact-primary { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; color: #fff; background: linear-gradient(145deg,rgba(25,135,224,.54),rgba(3,77,175,.6)); text-shadow: 0 1px 2px rgba(0,44,110,.28); }
.ref-contact-primary span { grid-column: 1; font-size: .6rem; opacity: .82; text-transform: uppercase; }
.ref-contact-primary strong { grid-column: 1; }
.ref-contact-primary b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1rem; }

.ref-footer { grid-template-columns: 1fr auto 38px; }
.ref-footer > a:not(.ref-up) { font-size: .72rem; font-weight: 750; }

@media (max-width: 900px) {
  .ref-navigation { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ref-work-item { min-height: 330px; }
  .ref-work-media { height: 180px; }
}

@media (max-width: 620px) {
  .ref-header-links a:first-child { display: none; }
  .ref-header-links { padding: 8px 10px; }
  .ref-header-links a { padding: 8px 10px; font-size: .64rem; }
  .ref-navigation { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ref-hero { min-height: 630px; }
  .ref-intro { width: 100%; }
  .ref-intro h1 { font-size: 2.55rem; }
  .ref-photo-hero .ref-slot-photo { bottom: 0; }
  .ref-work-heading { display: block; padding: 18px 20px; }
  .ref-work-heading p { margin-top: 8px; }
  .ref-profile-sides { grid-template-columns: 1fr; }
  .ref-profile-side { padding: 25px 22px; }
  .ref-profile-side:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.65); }
  .ref-profile-side p { min-height: 0; font-size: .84rem; }
  .ref-profile-bridge { grid-template-columns: 1fr; gap: 9px; padding: 18px 22px; }
  .ref-work-list { grid-template-columns: 1fr; }
  .ref-work-item { min-height: 390px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.62); }
  .ref-work-item:last-child { border-bottom: 0; }
  .ref-work-media { height: 235px; }
  .ref-contact-card { grid-template-columns: 1fr; gap: 22px; padding: 25px 22px; }
  .ref-footer { grid-template-columns: 1fr 38px; }
  .ref-footer > a:not(.ref-up) { display: none; }
}

@media (max-width: 420px) {
  .ref-intro h1 { font-size: clamp(2.05rem,8.4vw,2.3rem); }
  .ref-header-links { padding-left: 2px; }
  .ref-header-links a { padding-inline: 8px; white-space: nowrap; }
  .ref-brand { min-width: 0; }
  .ref-brand small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
