/* Three roomy glass modules, keeping their original line sculptures and routes. */
#profile-stage { view-transition-name: profile-stage; }
#profile-home[hidden], .interest-page[hidden] { display: none !important; }
.interest-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.interest-module {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  min-width: 0;
  align-items: center;
  gap: 30px;
  padding: 30px 34px 30px 26px;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  overflow: hidden;
  color: var(--ink);
  background: radial-gradient(ellipse at 24% 0%, rgb(255 255 255 / 55%), transparent 65%), var(--glass-fill);
  box-shadow: inset 0 1px 1px var(--glass-highlight), inset 0 -1px 1px var(--glass-tint), 0 8px 30px var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .5s ease;
}
.interest-module::before { content: ''; position: absolute; inset: 1px; border-radius: inherit; background: radial-gradient(ellipse at 6% 30%, var(--accent-soft), transparent 52%); z-index: -1; pointer-events: none; }
.interest-module:focus-within { box-shadow: inset 0 1px 2px var(--glass-highlight), 0 12px 36px var(--glass-shadow); }
.interest-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; min-height: 150px; padding: 10px 0; border-radius: 18px; color: var(--ink); text-decoration: none; }
.interest-card:hover { text-decoration: none; color: var(--ink); }
.interest-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.interest-arrow { display: inline-block; margin-left: 3px; font-family: var(--sans); font-size: .85em; font-weight: 400; color: var(--muted); transition: transform .4s ease, color .4s ease; }
.interest-card:hover .interest-arrow { transform: translate(2px, -2px); color: var(--accent); }
.interest-card svg, .interest-art svg { width: 110px; height: auto; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.interest-card svg { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.interest-card:hover svg { transform: scale(1.04) rotate(-3deg); }
.interest-card .sculpture-soft, .interest-art .sculpture-soft { opacity: .35; }
.interest-card .sculpture-fill, .interest-art .sculpture-fill { fill: var(--accent-soft); }
.interest-card h3 { margin: 0; text-align: center; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.35; }
.interest-copy { min-width: 0; }
.interest-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.interest-copy strong { color: var(--ink); font-weight: 600; }
.interest-copy .interest-book { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; border-radius: 4px; padding: 2px 5px; background: var(--accent-soft); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.interest-book:hover { color: var(--accent); }
.interest-book:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.interest-page { position: relative; min-height: min(780px, calc(100svh - 150px)); padding: 80px 0; text-align: center; }
.interest-back { position: absolute; top: 30px; left: 0; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--glass-border); border-radius: 999px; background: var(--glass-fill); box-shadow: inset 0 1px 0 var(--glass-highlight); font-size: 14px; }
.interest-art { width: min(260px, 42vw); margin: 35px auto 22px; }
.interest-art svg { width: 100%; }
.interest-page h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 48px); line-height: 1.2; font-weight: 600; color: var(--ink); margin: 0 0 16px; outline: none; }
.interest-page p { font-size: 17px; color: var(--muted); }
.profile-shell .site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 13px; }
.footer-meta button { color: var(--muted); font: inherit; padding: 6px 0; }
.design-credit { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.7; }
.design-credit a { color: inherit; white-space: nowrap; }
.design-credit a:hover { color: var(--accent); }
::view-transition-old(profile-stage) { animation: interest-out .18s ease both; }
::view-transition-new(profile-stage) { animation: interest-in .42s cubic-bezier(.16,1,.3,1) both; }
::view-transition { pointer-events: none; }
@keyframes interest-out { to { opacity: 0; filter: blur(4px); transform: translateY(-8px); } }
@keyframes interest-in { from { opacity: 0; filter: blur(5px); transform: translateY(18px); } }
@media (max-width: 600px) {
  .interest-grid { gap: 18px; }
  .interest-module { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; border-radius: 24px; }
  .interest-card { min-height: 0; padding: 0; flex-direction: row; justify-content: flex-start; gap: 16px; }
  .interest-card svg { width: 62px; }
  .interest-card h3 { font-size: 20px; text-align: left; }
  .interest-copy p { font-size: 16px; line-height: 1.8; }
  .interest-page { padding-top: 100px; min-height: calc(100svh - 150px); }
  .footer-meta { width: 100%; justify-content: flex-start; }
  .footer-meta button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .interest-module, .interest-card svg, .interest-arrow { transition: none; }
  ::view-transition-old(profile-stage), ::view-transition-new(profile-stage) { animation: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .interest-module, .interest-back { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (forced-colors: active) { .interest-module, .interest-back { border: 1px solid CanvasText; background: Canvas; } }

.footer-updated { white-space: nowrap; }
