/* Student and parent portal access, matching the existing studio identity. */
.portal-access-bar { background: #efece6; border-bottom: 1px solid #e5dfd5; }
.portal-access-inner { max-width: 1140px; margin: 0 auto; padding: .55rem 1.5rem; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1.15rem; font-size: .8rem; line-height: 1.5; }
.portal-access-context { color: #4b5563; }
.portal-access-link { color: #1f2421; font-weight: 700; text-decoration: none; }
.portal-access-help { color: #80621f; text-underline-offset: 3px; }
.portal-access-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.portal-access-bar a:focus-visible, .portal-page a:focus-visible, .portal-page button:focus-visible { outline: 3px solid #80621f; outline-offset: 3px; }
.portal-page section[id] { scroll-margin-top: 100px; }
.portal-hero { padding: 4.5rem 0 5rem; }
.portal-hero-grid { display: grid; grid-template-columns: 1.3fr .8fr; align-items: center; gap: 5rem; }
.portal-hero .hero-title { font-size: clamp(2.75rem, 4.5vw, 3.8rem); }
.portal-hero .hero-title em { color: #80621f; font-weight: inherit; }
.portal-hero .hero-actions { flex-wrap: wrap; }
.portal-external-note { margin-top: 1rem; font-size: .85rem; color: var(--color-text-muted); }
.portal-welcome-card { padding: 2.5rem; border: 1px solid var(--color-border); border-top: 4px solid var(--color-accent); border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); }
.portal-welcome-card img { width: 100%; max-width: 240px; display: block; margin: 0 auto 2rem; }
.portal-welcome-card h2 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: .8rem; }
.portal-welcome-card p { color: var(--color-text-muted); font-size: .95rem; line-height: 1.7; }
.portal-reset { background: #efece6; }
.portal-section-heading { max-width: 700px; margin-bottom: 2.5rem; }
.portal-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; counter-reset: portal-step; }
.portal-step { counter-increment: portal-step; border-top: 1px solid #d6cbb6; padding-top: 1.5rem; }
.portal-step::before { content: '0' counter(portal-step); display: block; color: #80621f; font-weight: 700; font-size: .8rem; letter-spacing: 1px; margin-bottom: .75rem; }
.portal-step h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .8rem; }
.portal-step p { font-size: .95rem; color: var(--color-text-muted); line-height: 1.7; }
.portal-page .text-link { text-decoration: underline; text-underline-offset: 3px; }
.portal-reset-help { border-top: 1px solid #d6cbb6; margin-top: 2.5rem; padding-top: 1.5rem; color: var(--color-text-muted); font-size: .95rem; }
.portal-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portal-feature { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.75rem; }
.portal-feature h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: .7rem; }
.portal-feature p { color: var(--color-text-muted); font-size: .95rem; line-height: 1.65; }
.portal-feature-note { color: var(--color-text-muted); font-size: .85rem; margin-top: 1.4rem; }
.portal-support { padding: 3rem 0; background: #fff; border-top: 1px solid var(--color-border); }
.portal-support-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.portal-support h2 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: .5rem; }
.portal-support p { color: var(--color-text-muted); max-width: 650px; }
.portal-support .btn { flex-shrink: 0; }
@media (max-width: 1000px) { .portal-hero-grid { gap: 2.5rem; } .portal-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .portal-access-inner { justify-content: center; padding: .65rem 1rem; gap: .35rem 1rem; } .portal-access-context { width: 100%; text-align: center; font-size: .75rem; } .portal-hero { padding: 3rem 0; } .portal-hero-grid { grid-template-columns: 1fr; } .portal-hero .hero-title { font-size: 2.8rem; } .portal-hero .hero-lead { font-size: 1.05rem; } .portal-welcome-card { padding: 2rem; } .portal-steps, .portal-feature-grid { grid-template-columns: 1fr; } .portal-page .section { padding: 3rem 0; } .portal-page .section-title { font-size: 2rem; } .portal-support-inner { flex-direction: column; align-items: flex-start; } .portal-page .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; } }
@media (prefers-reduced-motion: reduce) { .portal-page { scroll-behavior: auto; } }
@media (min-width: 901px) and (max-width: 1100px) { .portal-page .nav-links { gap: 1.1rem; } .portal-page .brand-text { max-width: 190px; } }
