/* College for Arts and Technology · Graduate Portfolio Lounge */
/* Shared styles for the redesign mockups */
:root {
    --ink: #111112;
    --ink-2: #1b1b1e;
    --paper: #f6f4f1;
    --white: #fff;
    --red: #ff1949;
    --red-dark: #d90f3a;
    --muted: #6d6d73;
    --line: #e4e1dc;
    --radius: 18px;
    --header-h: 76px;
    --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.55 Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17,17,18,.92); backdrop-filter: blur(12px); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-header .logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 14px; font-size: 14px; font-weight: 500; border-radius: 999px; color: rgba(255,255,255,.8); transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
.nav .cta { margin-left: 8px; color: #fff; background: var(--red); }
.nav .cta:hover { background: var(--red-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-weight: 600; font-size: 15px; border-radius: 999px; border: 1.5px solid transparent; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Chips */
.chip { display: inline-flex; align-items: center; padding: 6px 14px; font-size: 13px; font-weight: 500; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; transition: background .15s; }
.chip:hover { background: var(--red); }
.chip.light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.chip.light:hover { background: var(--ink); color: #fff; }

/* Avatars */
.avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #d9d6d0; }
.avatar-stack { display: flex; }
.avatar-stack img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; border: 3px solid var(--ink); margin-left: -12px; background: #d9d6d0; }
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack .more { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; font-size: 12px; font-weight: 600; border-radius: 50%; border: 3px solid var(--ink); background: var(--red); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer img { height: 40px; width: auto; }
.site-footer a:hover { color: #fff; }

@media (max-width: 760px) {
    .nav a:not(.cta) { display: none; }
    :root { --header-h: 64px; }
}
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---- .page-home ---- */
.page-home .hero { position: relative; color: #fff; overflow: hidden; background:
    linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.76) 58%, rgba(10,10,12,.6) 100%),
    url('/uploads/CAT-window-3.jpg') center / cover no-repeat, var(--ink); }
.page-home .hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,25,73,.28), transparent 65%); }
.page-home .hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 84px 0 72px; }
.page-home .hero h1 { margin: 14px 0 20px; font-size: clamp(44px, 5.6vw, 84px); font-weight: 900; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.page-home .hero h1 em { font-style: normal; color: var(--red); }
.page-home .hero p.lede { max-width: 520px; margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.72); }
.page-home .search { position: relative; max-width: 560px; }
.page-home .search input { width: 100%; padding: 18px 24px 18px 56px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 0; border-radius: 999px; outline: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.page-home .search input:focus { box-shadow: 0 0 0 3px var(--red), 0 10px 30px rgba(0,0,0,.35); }
.page-home .search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.page-home .results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 10px); display: none; padding: 8px; color: var(--ink); background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.page-home .results.open { display: block; }
.page-home .results a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; }
.page-home .results a:hover,
.page-home .results a.hl { background: var(--paper); }
.page-home .results img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.page-home .results strong { display: block; font-size: 15px; line-height: 1.2; }
.page-home .results span { font-size: 13px; color: var(--muted); }
.page-home .results .empty { padding: 16px; color: var(--muted); font-size: 14px; }
.page-home .quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; font-size: 13px; color: rgba(255,255,255,.55); }
.page-home .stats { display: flex; gap: 40px; margin-top: 44px; }
.page-home .stats b { display: block; font-size: 34px; font-weight: 900; line-height: 1; }
.page-home .stats span { font-size: 13px; color: rgba(255,255,255,.6); }
.page-home .mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.page-home .mosaic a { display: block; overflow: hidden; border-radius: 22px; aspect-ratio: 1; background: #2a2a2e; transition: transform .25s; }
.page-home .mosaic a:nth-child(3n+2) { transform: translateY(26px); }
.page-home .mosaic a:hover { transform: scale(1.04); }
.page-home .mosaic a:nth-child(3n+2):hover { transform: translateY(26px) scale(1.04); }
.page-home .mosaic img { width: 100%; height: 100%; object-fit: cover; }
.page-home .section { padding: 88px 0 24px; }
.page-home .section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.page-home .section-head h2 { margin: 6px 0 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; line-height: 1; letter-spacing: -.015em; text-transform: uppercase; }
.page-home .section-head p { max-width: 420px; margin: 0; color: var(--muted); }
.page-home .programs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-home .program { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 32px; color: #fff; border-radius: 28px; overflow: hidden; background: var(--ink); isolation: isolate; }
.page-home .program .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s ease; }
.page-home .program::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,12,.92) 8%, rgba(10,10,12,.55) 45%, rgba(10,10,12,.1) 100%); }
.page-home .program:hover .bg { transform: scale(1.05); }
.page-home .program h3 { margin: 0 0 6px; font-size: clamp(30px, 3vw, 42px); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.page-home .program .meta { margin-bottom: 18px; color: rgba(255,255,255,.75); }
.page-home .program .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.page-home .program .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-home .program .arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); transition: transform .2s; }
.page-home .program:hover .arrow { transform: translateX(4px); }
.page-home .program .recent { font-size: 13px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 12px; }
.page-home .rail { display: flex; gap: 18px; overflow-x: auto; padding: 4px 24px 20px; margin: 0 -24px; scroll-snap-type: x proximity; scrollbar-width: none; }
.page-home .rail::-webkit-scrollbar { display: none; }
.page-home .person { flex: 0 0 188px; padding: 18px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.page-home .person:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.page-home .person .avatar { margin-bottom: 14px; }
.page-home .person strong { display: block; font-size: 15px; line-height: 1.25; }
.page-home .person span { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.page-home .rail-nav { display: flex; gap: 8px; }
.page-home .rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 18px; }
.page-home .rail-nav button:hover { background: var(--ink); color: #fff; }
.page-home .hire { margin: 72px 0 0; padding: 72px 0; color: #fff; background: var(--red); }
.page-home .hire .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.page-home .hire h2 { margin: 0 0 12px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: -.015em; }
.page-home .hire p { margin: 0; max-width: 520px; color: rgba(255,255,255,.9); font-size: 18px; }
.page-home .hire .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.page-home .hire .btn-white { background: #fff; color: var(--ink); }
.page-home .hire .btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.page-home .hire .btn-line:hover { background: #fff; color: var(--red); }
@media (max-width: 900px) {
.page-home .hero .wrap,
.page-home .hire .wrap { grid-template-columns: 1fr; }
.page-home .hero .wrap { padding: 56px 0; }
.page-home .mosaic { grid-template-columns: repeat(3, 1fr); }
.page-home .programs { grid-template-columns: 1fr; }
.page-home .program { min-height: 420px; }
.page-home .section-head { flex-direction: column; align-items: start; }
.page-home .hire .actions { justify-content: flex-start; }
}

/* ---- .page-program ---- */
.page-program .banner { position: relative; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; }
.page-program .banner .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 35%; transform: scale(1.04); }
.page-program .banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.7) 45%, rgba(10,10,12,.25) 100%); }
.page-program .banner .wrap { padding: 56px 0 64px; }
.page-program .crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; font-size: 14px; color: rgba(255,255,255,.65); }
.page-program .crumbs a:hover { color: #fff; text-decoration: underline; }
.page-program .crumbs span[aria-hidden] { opacity: .5; }
.page-program .banner h1 { margin: 12px 0 14px; max-width: 760px; font-size: clamp(38px, 5.2vw, 76px); font-weight: 900; line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.page-program .banner p.lede { max-width: 560px; margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.78); }
.page-program .banner .row { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.page-program .banner .stat b { display: block; font-size: 30px; font-weight: 900; line-height: 1; }
.page-program .banner .stat span { font-size: 13px; color: rgba(255,255,255,.65); }
.page-program .switch { display: flex; gap: 8px; margin-left: auto; }
.page-program .switch a { padding: 10px 18px; font-size: 14px; font-weight: 600; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.page-program .switch a:hover { background: rgba(255,255,255,.15); }
.page-program .switch a[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }
.page-program .filters { position: sticky; top: var(--header-h); z-index: 40; background: rgba(246,244,241,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.page-program .filters .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding: 14px 0; }
.page-program .years { display: flex; flex-wrap: wrap; gap: 8px; }
.page-program .years button { padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: all .15s; }
.page-program .years button:hover { border-color: var(--ink); }
.page-program .years button[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.page-program .years button small { margin-left: 6px; font-size: 12px; font-weight: 500; opacity: .6; }
.page-program .filter-tools { display: flex; gap: 12px; align-items: center; margin-left: auto; flex: 1 1 320px; justify-content: flex-end; }
.page-program .find { position: relative; flex: 1 1 220px; max-width: 320px; }
.page-program .find input { width: 100%; padding: 11px 16px 11px 42px; font: inherit; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: 999px; outline: none; }
.page-program .find input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,18,.08); }
.page-program .find svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.page-program .results-head { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 8px; }
.page-program .results-head h2 { margin: 0; font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.page-program .results-head span { color: var(--muted); font-size: 14px; }
.page-program .group { margin-top: 36px; }
.page-program .group h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.page-program .group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.page-program .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.page-program .card { position: relative; display: block; padding: 14px 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.page-program .card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.1); border-color: transparent; }
.page-program .card .photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #e3e0da; }
.page-program .card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.page-program .card:hover .photo img { transform: scale(1.06); }
.page-program .card .photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 900; color: #b9b5ad; }
.page-program .card .view { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px; text-align: center; font-size: 13px; font-weight: 600; color: #fff; background: var(--red); border-radius: 10px; opacity: 0; transform: translateY(8px); transition: all .2s; }
.page-program .card:hover .view { opacity: 1; transform: none; }
.page-program .card strong { display: block; margin-top: 14px; font-size: 17px; line-height: 1.25; }
.page-program .card .tags { display: flex; gap: 6px; margin-top: 8px; }
.page-program .card .tags span { padding: 3px 10px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--paper); border-radius: 999px; }
.page-program .card .tags .reel { color: var(--red); background: #ffe8ed; }
.page-program .empty { display: none; padding: 72px 0; text-align: center; color: var(--muted); }
.page-program .empty.show { display: block; }
.page-program .empty b { display: block; margin-bottom: 6px; font-size: 20px; color: var(--ink); }
.page-program .empty button { margin-top: 18px; }
.page-program .other { margin: 96px 0 0; }
.page-program .other a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; min-height: 200px; color: #fff; border-radius: 28px; overflow: hidden; isolation: isolate; }
.page-program .other a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover; transition: transform .6s; }
.page-program .other a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,12,.9), rgba(10,10,12,.4)); }
.page-program .other a:hover::before { transform: scale(1.05); }
.page-program .other .eyebrow { color: rgba(255,255,255,.75); }
.page-program .other h3 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1; }
.page-program .other .arrow { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--red); }
.page-program .hire { margin: 80px 0 0; padding: 56px 0; color: #fff; background: var(--red); }
.page-program .hire .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.page-program .hire h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1; }
.page-program .hire p { margin: 0; color: rgba(255,255,255,.9); }
.page-program .hire .btn-white { background: #fff; color: var(--ink); }
@media (max-width: 760px) {
.page-program .switch { margin-left: 0; }
.page-program .filter-tools { margin-left: 0; justify-content: flex-start; }
.page-program .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.page-program .card { padding: 10px 10px 14px; }
.page-program .card strong { font-size: 15px; }
.page-program .filters { position: static; }
.page-program .other a { padding: 28px; }
}

/* ---- .page-student ---- */
.page-student .crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 28px 0 0; font-size: 14px; color: var(--muted); }
.page-student .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-student .crumbs span[aria-hidden] { opacity: .5; }
.page-student .profile { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; padding: 48px 0 72px; }
.page-student .portrait { position: relative; }
.page-student .portrait img,
.page-student .portrait .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 36px; background: #e3e0da; box-shadow: 0 24px 60px rgba(0,0,0,.14); }
.page-student .portrait .ph { display: grid; place-items: center; font-size: 88px; font-weight: 900; color: #b9b5ad; }
.page-student .portrait::after { content: ""; position: absolute; z-index: -1; inset: 24px -20px -20px 24px; border-radius: 36px; background: var(--red); opacity: .9; }
.page-student .profile h1 { margin: 14px 0 14px; font-size: clamp(40px, 5vw, 72px); font-weight: 900; line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.page-student .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.page-student .meta a { padding: 7px 16px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.page-student .meta a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-student .bio p { max-width: 620px; margin: 0 0 14px; font-size: 18px; line-height: 1.6; color: #34343a; }
.page-student .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.page-student .social { display: flex; gap: 8px; margin-left: 6px; }
.page-student .social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: all .15s; }
.page-student .social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-student .jump { display: flex; gap: 22px; margin-top: 34px; font-size: 14px; font-weight: 600; }
.page-student .jump a { color: var(--muted); border-bottom: 2px solid transparent; padding-bottom: 4px; }
.page-student .jump a:hover { color: var(--ink); border-color: var(--red); }
.page-student .reel { padding: 80px 0; color: #fff; background: var(--ink); }
.page-student .sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.page-student .sec-head h2 { margin: 6px 0 0; font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: -.015em; }
.page-student .video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.page-student .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-student .gallery-sec { padding: 88px 0 24px; }
.page-student .gallery { columns: 3 320px; column-gap: 20px; }
.page-student .gallery button { display: block; width: 100%; margin: 0 0 20px; padding: 0; overflow: hidden; background: #e3e0da; border: 0; border-radius: 20px; break-inside: avoid; position: relative; }
.page-student .gallery img { width: 100%; height: auto; transition: transform .5s; }
.page-student .gallery button:hover img { transform: scale(1.04); }
.page-student .gallery button::after { content: "Expand"; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(17,17,18,.75); border-radius: 999px; opacity: 0; transition: opacity .2s; }
.page-student .gallery button:hover::after { opacity: 1; }
.page-student .lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(8,8,10,.94); }
.page-student .lb.open { display: flex; }
.page-student .lb img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.page-student .lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; font-size: 26px; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; }
.page-student .lb button:hover { background: var(--red); }
.page-student .lb .x { top: 24px; right: 24px; }
.page-student .lb .p { left: 24px; top: 50%; }
.page-student .lb .n { right: 24px; top: 50%; }
.page-student .lb .count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,.7); }
.page-student .more { padding: 88px 0 0; }
.page-student .pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.page-student .pn a { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; }
.page-student .pn a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.1); border-color: transparent; }
.page-student .pn a.next { flex-direction: row-reverse; text-align: right; }
.page-student .pn img,
.page-student .pn .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #e3e0da; flex: none; }
.page-student .pn small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.page-student .pn strong { font-size: 18px; }
.page-student .pn .arrow { margin-left: auto; font-size: 22px; }
.page-student .pn a.next .arrow { margin: 0 auto 0 0; }
.page-student .mates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.page-student .mate { padding: 12px 12px 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; }
.page-student .mate:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.1); border-color: transparent; }
.page-student .mate img,
.page-student .mate .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #e3e0da; }
.page-student .mate strong { display: block; margin-top: 10px; font-size: 14px; line-height: 1.25; }
.page-student .hire { margin: 88px 0 0; padding: 64px 0; color: #fff; background: var(--red); }
.page-student .hire .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.page-student .hire h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1; }
.page-student .hire p { margin: 0; color: rgba(255,255,255,.92); max-width: 520px; }
.page-student .hire .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.page-student .hire .btn-white { background: #fff; color: var(--ink); }
.page-student .hire .btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.page-student .hire .btn-line:hover { background: #fff; color: var(--red); }
@media (max-width: 900px) {
.page-student .profile { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
.page-student .portrait { max-width: 320px; }
.page-student .pn { grid-template-columns: 1fr; }
.page-student .lb { padding: 16px; }
.page-student .lb .p,
.page-student .lb .n { top: auto; bottom: 16px; }
}


/* ---- Shared additions ---- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; color: #fff; background: var(--red); border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ph { display: grid; place-items: center; font-weight: 900; color: #b9b5ad; }
[hidden] { display: none !important; }
.notfound { padding: 120px 0 140px; }
.notfound h1 { margin: 12px 0 14px; font-size: clamp(34px, 5vw, 64px); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: -.015em; }
.notfound p { margin: 0 0 28px; color: var(--muted); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
