/* JSU work profile. Stands on its own: none of the main site's styles or scripts. */
:root {
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='44' rx='15' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6' ry='8'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='51' cy='26' rx='6' ry='8'/%3E%3C/svg%3E");
  --navy: #002147;
  --blue: #0b3a7e;
  --sky: #2f6fd6;
  --silver: #c8ced6;
  --ink: #0e1b2c;
  --soft: #4a5a70;
  --paper: #f5f7fb;
  --card: #ffffff;
  --line: rgba(0, 33, 71, 0.12);
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
a { color: var(--blue); }
.wrap { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
h1, h2, h3 { font-family: var(--head); letter-spacing: 0.02em; line-height: 1.15; margin: 0 0 12px; color: var(--navy); }
h2 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; }
h3 { font-size: 21px; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--soft); max-width: 760px; margin: 0 0 22px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }


.topbar { position: sticky; top: 0; z-index: 10; background: rgba(0, 33, 71, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; }
.brand { color: #fff; font-family: var(--head); letter-spacing: 0.06em; text-transform: uppercase; font-size: 17px; }
.brand b { background: #fff; color: var(--navy); padding: 2px 8px; border-radius: 6px; margin-right: 6px; }
.topbar nav { display: flex; gap: 4px; }
.topbar nav a { color: #dfe6f1; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.topbar nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Hero */
.hero { position: relative; z-index: 1; color: #fff; background: radial-gradient(120% 90% at 80% 0%, #0b3a7e 0%, #002147 55%, #00132b 100%); padding: clamp(48px, 9vw, 110px) 0 clamp(70px, 10vw, 120px); overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 60px; background: var(--paper); clip-path: polygon(0 60%, 12% 20%, 22% 70%, 35% 10%, 48% 65%, 60% 15%, 72% 70%, 85% 20%, 100% 55%, 100% 100%, 0 100%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.badge { position: relative; width: clamp(150px, 22vw, 220px); aspect-ratio: 1; }
.badge-ring { width: 100%; height: 100%; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)); }
.badge-stripes { animation: prowl 14s ease-in-out infinite alternate; transform-origin: center; }
@keyframes prowl { to { transform: translateX(-10px) rotate(-4deg); } }
.badge-mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: clamp(54px, 8vw, 80px); color: #fff; letter-spacing: 0.04em; text-shadow: 0 4px 18px rgba(0,0,0,0.4); }
.kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; color: var(--silver); margin: 0 0 10px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6.5vw, 72px); text-transform: uppercase; margin: 0; }
.role { font-family: var(--head); font-size: clamp(20px, 2.6vw, 28px); color: #9cc0ff; margin: 6px 0 0; letter-spacing: 0.04em; }
.school { margin: 2px 0 0; font-size: 18px; color: #dfe6f1; }
.motto { margin: 16px 0 0; font-style: italic; color: var(--silver); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Claw marks slashing across the hero corner */
.claw { position: absolute; right: clamp(-40px, 2vw, 40px); top: 18%; width: clamp(140px, 22vw, 260px); height: clamp(160px, 26vw, 300px); transform: rotate(18deg); opacity: 0.12; pointer-events: none; }
.claw i { position: absolute; top: 0; width: 14px; height: 100%; border-radius: 50%; background: linear-gradient(#fff, rgba(255,255,255,0)); animation: slash 1.1s cubic-bezier(.2,.8,.2,1) both; }
.claw i:nth-child(1) { left: 10%; animation-delay: 0.3s; }
.claw i:nth-child(2) { left: 42%; animation-delay: 0.38s; height: 110%; }
.claw i:nth-child(3) { left: 74%; animation-delay: 0.46s; }
@keyframes slash { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: 0.02em; background: var(--navy); color: #fff; border: 2px solid var(--navy); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; min-height: 46px; text-align: center; }
.btn:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgba(0, 33, 71, 0.25); }
.hero .btn { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn:hover { background: var(--silver); border-color: var(--silver); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.btn.big { padding: 16px 28px; font-size: 17px; }

/* Sections */
.section { position: relative; z-index: 1; padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); background-image: repeating-linear-gradient(115deg, rgba(0,33,71,0.025) 0 14px, transparent 14px 60px); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; color: var(--sky); margin: 0 0 8px; }
.paw { width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='44' rx='15' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6' ry='8'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='51' cy='26' rx='6' ry='8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='44' rx='15' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6' ry='8'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='51' cy='26' rx='6' ry='8'/%3E%3C/svg%3E") center / contain no-repeat; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 33, 71, 0.07); padding: clamp(20px, 3vw, 30px); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--navy), var(--sky)); }
.feature { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.feature .lead { margin-bottom: 14px; color: var(--ink); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li a, .chips.plain li { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #eef3fb; color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--line); }
.chips li a:hover { background: var(--navy); color: #fff; }

.intro { margin-bottom: 30px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 6px; transition: transform 0.25s, box-shadow 0.25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 33, 71, 0.14); }
.tile p { color: var(--soft); margin: 0 0 16px; flex: 1; }
.tile .btn { align-self: flex-start; }
.tile-icon { font-size: 30px; }

.kb { margin-top: 22px; }
.links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.links a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, background 0.2s; height: 100%; }
.links a:hover { border-color: var(--sky); background: #f3f7fe; }
.links b { color: var(--navy); }
.links span { color: var(--soft); font-size: 14px; }
.note { margin: 16px 0 0; font-size: 15px; color: var(--soft); }

.what { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-top: 40px; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--soft); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 5px #9cc0ff; }

.booking.scheduler { --bk-accent: #ffffff; --bk-accent-ink: #002147; --bk-accent2: #9cc0ff; --bk-head: var(--head); --bk-card: linear-gradient(160deg, #0b3a7e, #002147 60%, #00132b); color: #fff; }
.booking.scheduler h2 { color: #fff; text-transform: none; }
.sched-fallback { text-align: center; margin: 8px 0 4px; font-size: 15px; color: var(--soft); }

.footer { position: relative; background: var(--navy); color: #dfe6f1; padding: 44px 0 70px; overflow: hidden; }
.footer a { color: #fff; }
.footer p { margin: 0 0 4px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
.f-title { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; color: #fff; font-size: 17px; }
.paws { position: absolute; inset: auto 0 0 0; height: 60px; opacity: 0.12; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cg fill='%23fff'%3E%3Cg transform='translate(10 30) rotate(70) scale(.35)'%3E%3Cellipse cx='32' cy='44' rx='15' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6' ry='8'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='51' cy='26' rx='6' ry='8'/%3E%3C/g%3E%3Cg transform='translate(70 8) rotate(80) scale(.35)'%3E%3Cellipse cx='32' cy='44' rx='15' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6' ry='8'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8'/%3E%3Cellipse cx='51' cy='26' rx='6' ry='8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / 120px 60px; }

/* Paw prints left by the pointer */
.pawprint { position: fixed; z-index: 50; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; background: var(--sky); opacity: 0.45; animation: fade 1.4s ease-out forwards; -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
@keyframes fade { to { opacity: 0; transform: rotate(var(--r, 0deg)) scale(0.6); } }

/* Reveal on scroll */
.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.7s, transform 0.7s; }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid3, .links { grid-template-columns: 1fr 1fr; }
  .what { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-actions { justify-content: center; }
  .feature { grid-template-columns: 1fr; }
  .feature .btn { width: 100%; }
  .grid3, .links { grid-template-columns: 1fr; }
  .topbar nav a { padding: 8px 8px; font-size: 14px; }
  .brand { font-size: 14px; }
}
@media (max-width: 380px) { .brand span, .brand { letter-spacing: 0.02em; } .topbar nav a:nth-child(1) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}

/* 3D stage: the tiger orb */
.stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; touch-action: pan-y; }
#tiger3d { width: 100%; height: 100%; display: block; cursor: grab; outline: none; }
#tiger3d:active { cursor: grabbing; }
.stage-hint { position: absolute; bottom: -6%; left: 0; right: 0; text-align: center; margin: 0; font-size: 13px; color: var(--silver); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.claw.again i { animation: none; }
.no3d .stage { display: none; }
.no3d .hero-in { grid-template-columns: 1fr; }

/* Cards tilt toward the pointer */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.tile, .feature { transition: transform 0.25s ease-out, box-shadow 0.25s; }
.tile:hover { transform: none; }
.shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(47, 111, 214, 0.14), transparent 55%); opacity: 0; transition: opacity 0.3s; }
[data-tilt]:hover .shine { opacity: 1; }
@media (max-width: 680px) { .hero-in { grid-template-columns: 1fr; } .stage { max-width: 320px; order: -1; } }

/* The tiger's speech bubble */
.tiger-say { position: absolute; top: 2%; left: 50%; transform: translate(-50%, 8px) scale(0.92); width: min(300px, 88%); margin: 0; padding: 12px 16px; border-radius: 18px; background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.4; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.3s, transform 0.3s; cursor: pointer; z-index: 2; min-height: 1.4em; }
.tiger-say::after { content: ''; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: #fff; }
.tiger-say.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.stage.roar #tiger3d { animation: shake 0.35s linear; }
@keyframes shake { 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, -1px); } }
#tiger3d { cursor: default; }
@media (max-width: 680px) { .stage { margin: 64px 0 34px; } .tiger-say { font-size: 14px; top: -58px; } .stage-hint { bottom: -34px; font-size: 11px; letter-spacing: 0.06em; } }

/* In-page viewer for outside links */
.viewing { overflow: hidden; }
.viewer[hidden] { display: none; }
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(0px, 3vw, 36px); }
.viewer-back { position: absolute; inset: 0; background: rgba(0, 19, 43, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; }
.viewer-win { position: relative; width: min(1200px, 100%); height: min(92vh, 100%); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); transform: perspective(1200px) rotateX(8deg) translateY(40px) scale(0.94); opacity: 0; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.3s; }
.viewer.open .viewer-back { opacity: 1; }
.viewer.open .viewer-win { transform: none; opacity: 1; }
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--navy); color: #fff; }
.viewer-dots { display: flex; gap: 6px; }
.viewer-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.viewer-dots i:first-child { background: #9cc0ff; }
.viewer-title { font-family: var(--head); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-url { color: var(--silver); font-size: 13px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-out { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; white-space: nowrap; }
.viewer-out:hover { background: rgba(255,255,255,0.12); }
.viewer-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 16px; cursor: pointer; flex: none; }
.viewer-body { position: relative; flex: 1; background: var(--paper); }
.viewer-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.viewer-load { position: absolute; inset: 0; display: none; place-items: center; color: var(--sky); }
.viewer-body.loading .viewer-load { display: grid; }
.viewer-load .paw { width: 46px; height: 46px; animation: pad 0.9s ease-in-out infinite alternate; }
@keyframes pad { from { transform: translateY(6px) rotate(-10deg); opacity: 0.4; } to { transform: translateY(-6px) rotate(10deg); opacity: 1; } }
.viewer-card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; gap: 6px; }
.viewer-card .paw.big { width: 56px; height: 56px; color: var(--sky); margin-bottom: 8px; }
.viewer-card p { color: var(--soft); max-width: 420px; margin: 0 0 16px; }
@media (max-width: 680px) {
  .viewer { padding: 0; }
  .viewer-win { height: 100%; border-radius: 0; }
  .viewer-url, .viewer-dots { display: none; }
  .viewer-out { font-size: 13px; padding: 6px 10px; }
}

/* Portrait */
.portrait { position: relative; width: clamp(110px, 13vw, 150px); aspect-ratio: 1; margin: 0 0 22px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, #fff, var(--silver) 50%, #8a949c); box-shadow: 0 16px 40px rgba(0,0,0,0.45); animation: pop 0.8s cubic-bezier(.2,.9,.3,1.3) both; }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.portrait-paw { position: absolute; right: -2px; bottom: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--sky); border: 3px solid #fff; display: grid; place-items: center; color: #fff; }
.portrait-paw .paw { width: 20px; height: 20px; }
@keyframes pop { from { transform: scale(0.6) rotate(-8deg); opacity: 0; } }
@media (max-width: 680px) { .portrait { margin-inline: auto; } }

/* Digital business card section */
.card-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.card-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.card-facts li { display: flex; gap: 14px; align-items: baseline; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.card-facts b { width: 64px; flex: none; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky); font-size: 14px; }
.card-facts a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.card-facts span { color: var(--navy); font-weight: 600; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost-dark:hover { background: var(--navy); color: #fff; }
.card-embed { border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #0b3a7e 0%, #002147 60%, #00132b 100%); box-shadow: 0 20px 50px rgba(0, 33, 71, 0.25); aspect-ratio: 1.45; }
.card-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .card-wrap { grid-template-columns: 1fr; } .card-embed { aspect-ratio: 1.1; } }
