:root {
  --navy: #07182f;
  --navy-soft: #102b4d;
  --ink: #101a2d;
  --muted: #657083;
  --orange: #ff7733;
  --orange-light: #ff9b59;
  --line: #dfe4eb;
  --soft: #f3f6fa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { height: 80px; background: rgba(255,255,255,.97); position: relative; z-index: 10; border-bottom: 1px solid #edf0f4; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; line-height: 1.2; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; color: white; font-size: 25px; background: transparent; box-shadow: 0 8px 20px rgba(255,119,51,.25); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 5px; color: #718096; font-size: 10.5px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.main-nav a { padding: 10px 11px; border-radius: 10px; white-space: nowrap; transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a.active { background: #f3f5f8; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; font-weight: 800; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: calc(100% + 12px); right: 0; width: 210px; display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 16px 40px rgba(7,24,47,.15); }
.mobile-menu nav a { padding: 9px 10px; border-radius: 8px; font-size: 12px; font-weight: 750; }
.mobile-menu nav a:hover { background: var(--soft); }

.hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 92% 2%, #174c70 0, transparent 34%), radial-gradient(circle at 22% 100%, #292039 0, transparent 31%), linear-gradient(120deg, #06162d, #0a2848); }
.hero-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000 0, transparent 85%); }
.hero-inner { position: relative; min-height: 670px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding-block: 76px; }
.hero-copy { max-width: 610px; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 900; }
.eyebrow.light { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; color: #eef6ff; letter-spacing: 0; text-transform: none; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.05); }
.eyebrow.light span { width: 8px; height: 8px; border-radius: 50%; background: #25d189; box-shadow: 0 0 0 5px rgba(37,209,137,.13); }
.hero h1 { margin: 24px 0 20px; font-size: clamp(48px, 5.3vw, 72px); line-height: 1.04; letter-spacing: -.065em; font-weight: 900; }
.hero h1 em { display: block; color: var(--orange-light); font-style: normal; }
.hero-copy > p { color: #c6d0dd; max-width: 600px; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border-radius: 12px; font-weight: 900; font-size: 13px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 12px 28px rgba(255,119,51,.24); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.button-dark { color: white; background: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-row span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #dce4ed; font-size: 10.5px; font-weight: 800; background: rgba(255,255,255,.05); }
.hero-media { min-height: 430px; position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 32px 70px rgba(0,0,0,.3); }
.hero-media > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.photo-chip { position: absolute; top: 18px; right: 18px; z-index: 1; color: var(--ink); background: white; padding: 10px 14px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.photo-stats { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 19px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(5,18,39,.9); backdrop-filter: blur(12px); }
.photo-stats strong, .photo-stats small { display: block; }
.photo-stats strong { font-size: 17px; }
.photo-stats small { margin-top: 4px; color: #b9c5d3; font-size: 10.5px; }

.schedule-section { border-bottom: 1px solid var(--line); }
.schedule-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 16px; align-items: center; padding-block: 58px; }
.schedule-grid h2, .section h2, .news-teaser h2 { margin: 8px 0 8px; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
.schedule-grid p { margin: 0; max-width: 430px; color: var(--muted); font-size: 13px; }
.schedule-card { min-height: 144px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #f8f9fb; }
.schedule-card.warm { border-color: #f1d7bd; background: #fff5ea; }
.schedule-card small { color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.schedule-card strong { display: block; margin: 8px 0 2px; font-size: 18px; }
.schedule-card span { color: var(--muted); font-size: 10px; }

.section { padding-block: 92px; }
.section-soft { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: end; margin-bottom: 36px; }
.section-heading p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 14px 35px rgba(18,34,55,.04); }
.feature-card > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--orange); background: #fff0e7; font-size: 11px; font-weight: 900; }
.feature-card h3 { margin: 22px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }

.news-teaser { padding-block: 78px; }
.news-teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 44px 48px; border-radius: 28px; background: linear-gradient(115deg, #ff7330, #ff9c59); color: white; box-shadow: 0 25px 50px rgba(255,119,51,.2); }
.news-teaser .eyebrow { color: white; opacity: .8; }
.news-teaser h2 { margin-bottom: 10px; }
.news-teaser p { margin: 0; max-width: 720px; opacity: .9; }
.site-footer { padding: 62px 0 24px; color: #aeb9c8; background: #06162c; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .65fr 1fr; gap: 80px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid > div:first-child { gap: 20px; }
.footer-grid p { max-width: 430px; margin: 0; font-size: 12px; }
.footer-grid h3 { margin: 0 0 6px; color: white; font-size: 14px; }
.footer-grid a, .footer-grid span { font-size: 12px; }
.footer-grid a:hover { color: white; }
.footer-brand { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.footer-bottom a { color: #dbe3ed; font-weight: 800; }
.footer-bottom a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }

.projects-preview { background: white; }
.project-preview-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; align-items: stretch; }
.preview-project { min-height: 310px; position: relative; overflow: hidden; border-radius: 24px; background: var(--navy); }
.preview-project.large { min-height: 430px; }
.preview-project img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.preview-project::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(3,13,29,.9)); }
.preview-project span { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: white; }
.preview-project small, .preview-project strong { display: block; }
.preview-project small { margin-bottom: 5px; color: #ffd1b5; font-size: 10px; font-weight: 900; }
.preview-project strong { font-size: 18px; }
.preview-project:hover img { transform: scale(1.035); }
.text-link { color: var(--ink); font-size: 13px; font-weight: 900; }
.text-link:hover { color: var(--orange); }
.latest-news { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; }
.latest-news > span { min-height: 350px; position: relative; }
.latest-news img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.latest-news > div { padding: 32px 48px 32px 0; }
.latest-news.text-only-card { display: block; }
.latest-news.text-only-card > div { max-width: 760px; padding: 48px; }
.latest-news small { color: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.latest-news h3 { margin: 10px 0; font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.latest-news p { margin: 0 0 24px; color: var(--muted); }
.empty-public { padding: 40px; border: 1px dashed #cfd6df; border-radius: 18px; color: var(--muted); text-align: center; }

.page-hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 80% 0%, #174c70 0, transparent 35%), linear-gradient(120deg, #06162d, #0a2848); }
.page-hero-inner { position: relative; max-width: 920px; padding-block: 88px 94px; }
.page-hero h1 { margin: 20px 0 16px; font-size: clamp(46px, 7vw, 78px); line-height: 1.02; letter-spacing: -.065em; }
.page-hero p { max-width: 720px; margin: 0; color: #c8d2df; font-size: 18px; line-height: 1.7; }
.lesson-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.lesson-layout h2 { margin: 10px 0; font-size: 40px; line-height: 1.15; letter-spacing: -.05em; }
.lesson-layout > div > p { color: var(--muted); }
.lesson-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lesson-list li { display: grid; grid-template-columns: 58px 1fr; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
.lesson-list span { color: var(--orange); font-size: 11px; font-weight: 900; }
.lesson-list strong { font-size: 16px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.process-grid article > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--orange); background: #fff0e7; font-size: 11px; font-weight: 900; }
.process-grid h3 { margin: 24px 0 8px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.project-list { display: grid; gap: 90px; }
.project-list article { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.project-list article.reverse .project-image { order: 2; }
.project-image { min-height: 430px; position: relative; overflow: hidden; border-radius: 28px; background: var(--soft); }
.project-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.project-list h2 { margin: 10px 0 14px; font-size: 42px; line-height: 1.12; letter-spacing: -.05em; }
.project-list p { color: var(--muted); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.project-meta span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-full { display: block; min-height: 320px; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-grid figure.wide .gallery-full { min-height: 430px; }
.gallery-grid img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-grid figcaption { display: flex; flex-direction: column; padding: 18px 20px 20px; }
.gallery-grid figcaption small { color: var(--orange); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.gallery-grid figcaption strong { margin-top: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-grid.single-item-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; }
.news-image { min-height: 310px; position: relative; display: grid; place-items: center; overflow: hidden; color: white; background: var(--navy); font-size: 50px; font-weight: 900; }
.news-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-image img { transform: scale(1.025); }
.news-card > div { padding: 28px 30px 32px; }
.news-card small { color: var(--orange); font-size: 10px; font-weight: 900; }
.news-card h2 { margin: 10px 0; font-size: 26px; line-height: 1.25; letter-spacing: -.035em; }
.news-card p { color: var(--muted); font-size: 14px; }
.article-page { padding: 72px 0 100px; }
.article-shell { max-width: 880px; }
.back-link { display: inline-block; margin-bottom: 50px; color: var(--muted); font-size: 12px; font-weight: 800; }
.article-shell h1 { margin: 14px 0 16px; font-size: clamp(44px, 7vw, 76px); line-height: 1.06; letter-spacing: -.06em; }
.article-lead { margin: 0 0 18px; color: var(--muted); font-size: 20px; line-height: 1.6; }
.article-shell time { color: var(--orange); font-size: 11px; font-weight: 900; }
.article-image { min-height: 500px; position: relative; display: block; overflow: hidden; margin: 42px 0; border-radius: 26px; }
.article-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.article-shell article { max-width: 720px; margin-inline: auto; }
.article-shell article p { font-size: 17px; line-height: 1.85; }
.article-shell article a { color: #e85e1a; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.full-image-label { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 7px 10px; border-radius: 8px; color: white; background: rgba(7,24,47,.84); font-size: 9px; font-weight: 900; backdrop-filter: blur(7px); }
.photo-lightbox { width: min(94vw, 1500px); max-width: none; padding: 0; border: 0; border-radius: 18px; overflow: hidden; color: white; background: #07182f; box-shadow: 0 30px 100px rgba(0,0,0,.48); }
.photo-lightbox::backdrop { background: rgba(2,8,18,.84); backdrop-filter: blur(5px); }
.photo-lightbox img { width: 100%; max-height: 86vh; object-fit: contain; background: #020812; }
.photo-lightbox p { margin: 0; padding: 13px 18px 16px; font-size: 12px; font-weight: 800; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: white; background: rgba(7,24,47,.82); cursor: pointer; font-size: 24px; line-height: 1; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tool-grid a { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: white; transition: transform .2s, box-shadow .2s; }
.tool-grid a:hover { transform: translateY(-3px); box-shadow: 0 16px 45px rgba(7,24,47,.08); }
.tool-grid a > span { color: var(--orange); font-size: 11px; font-weight: 900; }
.tool-grid h2 { margin: 24px 0 8px; }
.tool-grid p { color: var(--muted); }
.tool-grid strong { display: block; margin-top: 24px; font-size: 12px; }
.student-resources { background: white; }
.resource-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 64px; padding: 22px 26px; border: 1px solid #f1d7bd; border-radius: 17px; background: #fff7ed; }
.resource-note strong { color: var(--orange); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.resource-note p { margin: 0; color: #657083; font-size: 13px; }
.resource-group + .resource-group { margin-top: 72px; padding-top: 70px; border-top: 1px solid var(--line); }
.resource-heading { max-width: 760px; margin-bottom: 28px; }
.resource-heading h2 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.14; letter-spacing: -.045em; }
.resource-heading p { margin: 0; color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { min-height: 245px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; transition: transform .2s, border-color .2s, box-shadow .2s; }
.resource-card:hover { transform: translateY(-3px); border-color: #f3b58e; box-shadow: 0 18px 45px rgba(7,24,47,.08); }
.resource-label { align-self: flex-start; padding: 5px 9px; border-radius: 999px; color: var(--orange); background: #fff0e7; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.resource-card h3 { margin: 20px 0 8px; font-size: 21px; line-height: 1.25; }
.resource-card p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.resource-card strong { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; font-size: 10px; }
.resource-card strong span { color: var(--orange); }
.student-accordion-list { display: grid; gap: 14px; }
.student-accordion { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; transition: border-color .2s, box-shadow .2s; }
.student-accordion:hover, .student-accordion[open] { border-color: #f3b58e; box-shadow: 0 16px 44px rgba(7,24,47,.07); }
.student-accordion summary { min-height: 110px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 40px; gap: 18px; align-items: center; padding: 20px 26px; cursor: pointer; list-style: none; }
.student-accordion summary::-webkit-details-marker { display: none; }
.accordion-number { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 15px; color: var(--orange); background: #fff0e7; font-size: 11px; font-weight: 900; }
.accordion-title strong, .accordion-title small { display: block; }
.accordion-title strong { color: var(--navy); font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.accordion-title small { margin-top: 6px; color: var(--muted); font-size: 11px; }
.accordion-count { justify-self: end; padding: 7px 11px; border-radius: 999px; color: #7b431e; background: #fff0e7; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.accordion-toggle { grid-column: 4; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--soft); font-size: 22px; line-height: 1; transition: color .2s, background .2s, transform .2s; }
.student-accordion[open] .accordion-toggle { color: white; background: var(--orange); transform: rotate(45deg); }
.accordion-body { padding: 30px; border-top: 1px solid var(--line); background: #fafbfc; }
.accordion-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.accordion-intro > div { max-width: 760px; }
.accordion-intro h2 { margin: 7px 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.accordion-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.accordion-intro .button { flex: 0 0 auto; }
.resource-subsection + .resource-subsection { margin-top: 46px; padding-top: 40px; border-top: 1px solid var(--line); }
.resource-subsection-heading { max-width: 790px; margin-bottom: 24px; }
.resource-subsection-heading h2 { margin: 12px 0 8px; color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.resource-subsection-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.video-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video-link-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, border-color .2s, box-shadow .2s; }
.video-link-card:hover { transform: translateY(-3px); border-color: #f3b58e; box-shadow: 0 15px 38px rgba(7,24,47,.1); }
.video-link-image { aspect-ratio: 16 / 9; display: block; position: relative; overflow: hidden; background: var(--navy); }
.video-link-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s; }
.video-link-card:hover .video-link-image img { transform: scale(1.025); }
.video-link-image > span { position: absolute; inset: 50% auto auto 50%; width: 46px; height: 46px; display: grid; place-items: center; padding-left: 3px; border-radius: 50%; color: white; background: rgba(232,94,26,.94); box-shadow: 0 8px 24px rgba(7,24,47,.25); transform: translate(-50%, -50%); font-size: 15px; }
.video-link-card > strong, .video-link-card > small { display: block; }
.video-link-card > strong { min-height: 78px; padding: 18px 19px 9px; color: var(--navy); font-size: 14px; line-height: 1.42; }
.video-link-card > small { padding: 0 19px 19px; color: var(--orange); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.channel-link { display: inline-block; margin-top: 24px; color: var(--orange); font-size: 11px; font-weight: 900; }
.channel-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.svg-tool-section { background: white; }
.svg-privacy-note { margin-bottom: 28px; }
.vectorizer { display: grid; grid-template-columns: 380px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 22px 65px rgba(7,24,47,.08); }
.vectorizer-sidebar { padding: 30px; border-right: 1px solid var(--line); background: #f8fafc; }
.vectorizer-step { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; margin-bottom: 15px; }
.vectorizer-step > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--orange); background: #fff0e7; font-size: 9px; font-weight: 900; }
.vectorizer-step strong, .vectorizer-step small { display: block; }
.vectorizer-step strong { color: var(--navy); font-size: 13px; }
.vectorizer-step small { margin-top: 1px; color: var(--muted); font-size: 9px; }
.image-dropzone { min-height: 185px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; margin-bottom: 28px; padding: 24px; border: 2px dashed #cfd7e2; border-radius: 18px; background: white; cursor: pointer; text-align: center; transition: border-color .2s, background .2s, transform .2s; }
.image-dropzone:hover, .image-dropzone.is-dragging { border-color: var(--orange); background: #fff8f3; transform: translateY(-2px); }
.image-dropzone.has-file { border-style: solid; border-color: #f3b58e; background: #fff8f3; }
.image-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.dropzone-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 3px; border-radius: 14px; color: white; background: var(--orange); font-size: 25px; font-weight: 500; box-shadow: 0 10px 25px rgba(255,119,51,.25); }
.image-dropzone strong { max-width: 270px; color: var(--navy); font-size: 12px; overflow-wrap: anywhere; }
.image-dropzone small { max-width: 270px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.auto-vectorizer { margin-bottom: 14px; padding: 16px; border: 1px solid #f1d7bd; border-radius: 15px; background: #fff8f0; }
.auto-vectorizer-heading > strong, .auto-vectorizer-heading > small { display: block; }
.auto-vectorizer-heading > strong { margin-top: 9px; color: var(--navy); font-size: 12px; }
.auto-vectorizer-heading > small { margin-top: 3px; color: #786b63; font-size: 8.5px; line-height: 1.5; }
.vectorizer-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 13px; }
.vectorizer-presets button { min-height: 34px; padding: 0 8px; border: 1px solid #e4d3c7; border-radius: 8px; color: #63564e; background: white; cursor: pointer; font: inherit; font-size: 8.5px; font-weight: 900; transition: color .2s, border-color .2s, background .2s; }
.vectorizer-presets button:hover { border-color: var(--orange); }
.vectorizer-presets button.is-active { border-color: var(--orange); color: white; background: var(--orange); }
.advanced-settings { margin-bottom: 3px; border: 1px solid #dfe4eb; border-radius: 13px; background: white; }
.advanced-settings summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; color: #455269; cursor: pointer; list-style: none; font-size: 9.5px; font-weight: 900; }
.advanced-settings summary::-webkit-details-marker { display: none; }
.advanced-settings summary span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--orange); background: #fff0e7; font-size: 16px; transition: transform .2s; }
.advanced-settings[open] summary span { transform: rotate(45deg); }
.advanced-settings .vectorizer-controls { padding: 4px 14px 15px; border-top: 1px solid #edf0f4; }
.vectorizer-controls { display: grid; gap: 17px; }
.vectorizer-field { display: grid; gap: 7px; }
.vectorizer-field > span:first-child { display: flex; justify-content: space-between; gap: 10px; color: #36445a; font-size: 10px; font-weight: 900; }
.vectorizer-field output { color: var(--orange); font-variant-numeric: tabular-nums; }
.vectorizer-field small { color: #7b8798; font-size: 8px; line-height: 1.45; }
.vectorizer-field input[type="range"] { width: 100%; height: 5px; margin: 5px 0; accent-color: var(--orange); cursor: pointer; }
.vectorizer-field select, .vectorizer-field input[type="number"], .vectorizer-field input[type="text"] { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d7dde5; border-radius: 9px; color: var(--ink); background: white; font: inherit; font-size: 10px; font-weight: 750; }
.vectorizer-field-row { display: grid; grid-template-columns: 1.35fr .8fr; gap: 10px; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 38px !important; }
.input-suffix b { position: absolute; top: 50%; right: 10px; color: #7b8798; font-size: 9px; transform: translateY(-50%); }
.vectorizer-check { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; padding: 13px; border: 1px solid #dfe4eb; border-radius: 11px; background: white; cursor: pointer; }
.vectorizer-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--orange); }
.vectorizer-check strong, .vectorizer-check small { display: block; }
.vectorizer-check strong { color: #36445a; font-size: 10px; }
.vectorizer-check small { margin-top: 2px; color: #7b8798; font-size: 8px; }
.vectorizer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.vectorizer-actions .button { min-height: 44px; padding: 0 10px; border: 0; cursor: pointer; font-size: 10px; }
.vectorizer-actions .button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.vectorizer-status { min-height: 38px; margin: 13px 0 0; padding: 10px 11px; border-radius: 9px; color: #657083; background: #edf1f5; font-size: 8.5px; line-height: 1.5; }
.vectorizer-status.success { color: #126348; background: #e8f6f0; }
.vectorizer-status.error { color: #9d3030; background: #fbeaea; }
.vectorizer-preview { min-width: 0; padding: 32px; }
.preview-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.preview-heading h2 { margin: 6px 0 0; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.preview-badge { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; color: #536075; background: var(--soft); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.preview-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.preview-grid article header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.preview-grid article header strong { color: #354157; font-size: 10px; }
.preview-grid article header small { color: var(--orange); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.preview-stage { min-height: 410px; display: grid; place-items: center; position: relative; overflow: hidden; padding: 18px; background: #f1f3f6; }
.preview-stage.checkerboard { background-color: white; background-image: linear-gradient(45deg, #eef1f4 25%, transparent 25%), linear-gradient(-45deg, #eef1f4 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eef1f4 75%), linear-gradient(-45deg, transparent 75%, #eef1f4 75%); background-position: 0 0, 0 8px, 8px -8px, -8px 0; background-size: 16px 16px; }
.preview-stage canvas, .preview-stage img { max-width: 100%; max-height: 370px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(7,24,47,.12)); }
.preview-stage p { max-width: 230px; margin: 0; color: #8792a2; font-size: 10px; text-align: center; }
.slicer-tip { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; margin-top: 15px; padding: 15px; border: 1px solid #f1d7bd; border-radius: 13px; background: #fff8f0; }
.slicer-tip > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--orange); font-size: 12px; font-weight: 900; }
.slicer-tip p { margin: 0; color: #6d625b; font-size: 9.5px; line-height: 1.55; }
.slicer-tip strong { color: #533d31; }
.height-preset { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 18px; padding: 14px; border: 1px solid #d9e2ed; border-radius: 13px; background: white; }
.height-preset > span { min-width: 0; }
.height-preset small, .height-preset strong { display: block; }
.height-preset small { color: #7b8798; font-size: 8px; line-height: 1.35; }
.height-preset strong { margin-top: 2px; color: var(--navy); font-size: 14px; }
.height-preset > b { color: var(--orange); font-size: 17px; }
.height-preset > em { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid #edf0f4; color: #657083; font-size: 8px; font-style: normal; font-weight: 800; text-align: center; }
.svg-how-grid .feature-card { box-shadow: none; }
.puzzle-tool-section { background: white; }
.puzzle-builder { display: grid; grid-template-columns: 380px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 22px 65px rgba(7,24,47,.08); }
.puzzle-sidebar { padding: 30px; border-right: 1px solid var(--line); background: #f8fafc; }
.puzzle-dropzone { min-height: 160px; }
.puzzle-controls { display: grid; gap: 16px; }
.puzzle-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; margin-top: 22px; }
.puzzle-actions .button { min-height: 44px; padding: 0 10px; border: 0; cursor: pointer; font-size: 10px; }
.puzzle-preview-panel { min-width: 0; padding: 32px; }
.puzzle-preview-stage { min-height: 500px; display: grid; place-items: center; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background-color: white; background-image: linear-gradient(45deg, #f0f2f5 25%, transparent 25%), linear-gradient(-45deg, #f0f2f5 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f2f5 75%), linear-gradient(-45deg, transparent 75%, #f0f2f5 75%); background-position: 0 0, 0 10px, 10px -10px, -10px 0; background-size: 20px 20px; }
.puzzle-preview-stage svg { width: 100%; max-height: 520px; display: block; filter: drop-shadow(0 18px 25px rgba(7,24,47,.14)); }
.puzzle-output-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.puzzle-output-info article { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; }
.puzzle-output-info span { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; color: var(--orange); background: #fff0e7; font-size: 8px; font-weight: 900; }
.puzzle-output-info strong, .puzzle-output-info small { display: block; }
.puzzle-output-info strong { color: #354157; font-size: 9px; line-height: 1.35; }
.puzzle-output-info small { margin-top: 4px; color: #7b8798; font-size: 7.5px; line-height: 1.45; }
.product-tool-section { background: white; }
.product-builder { display: grid; grid-template-columns: 380px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 22px 65px rgba(7,24,47,.08); }
.product-sidebar { padding: 30px; border-right: 1px solid var(--line); background: #f8fafc; }
.product-controls { display: grid; gap: 16px; }
.product-personalize-step { margin-top: 28px; }
.product-dropzone { min-height: 145px; margin-bottom: 0; }
.product-download { width: 100%; margin-top: 22px; border: 0; cursor: pointer; }
.product-preview-panel { min-width: 0; padding: 32px; }
.product-preview-stage { min-height: 500px; display: grid; place-items: center; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background-color: white; background-image: linear-gradient(45deg, #f0f2f5 25%, transparent 25%), linear-gradient(-45deg, #f0f2f5 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f2f5 75%), linear-gradient(-45deg, transparent 75%, #f0f2f5 75%); background-position: 0 0, 0 10px, 10px -10px, -10px 0; background-size: 20px 20px; }
.product-preview-stage svg { width: 100%; max-width: 700px; max-height: 520px; display: block; filter: drop-shadow(0 18px 25px rgba(7,24,47,.14)); }
.bookmark-preview-stage svg { max-width: 360px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 14px 40px rgba(7,24,47,.05); }
.video-frame { aspect-ratio: 16 / 9; background: var(--navy); }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-copy { padding: 24px 26px 27px; }
.video-copy small { color: var(--orange); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.video-copy h3 { margin: 7px 0 8px; font-size: 20px; line-height: 1.28; }
.video-copy p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.video-copy a { font-size: 10px; font-weight: 900; }
.video-copy a:hover { color: var(--orange); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card, .contact-note { padding: 38px; border: 1px solid var(--line); border-radius: 24px; }
.contact-card { display: flex; gap: 24px; }
.contact-card.featured { background: var(--soft); }
.contact-icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--orange); font-weight: 900; }
.contact-card small { color: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.contact-card h2 { margin: 6px 0 10px; font-size: 22px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-card address { display: grid; gap: 3px; color: var(--muted); font-size: 13px; font-style: normal; }
.contact-link { display: inline-block; margin-top: 18px; }
.contact-note { grid-column: 1 / -1; color: white; background: var(--navy); }
.contact-note h2 { margin: 8px 0; font-size: 32px; }
.contact-note p { margin: 0; color: #c8d2df; }
.author-content-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.author-content-grid h2 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.05em; }
.author-copy > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.author-schools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.author-schools span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: white; font-size: 11px; font-weight: 900; }
.reference-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: white; transition: transform .2s, border-color .2s, box-shadow .2s; }
.reference-card:hover { transform: translateY(-3px); border-color: #f3b58e; box-shadow: 0 18px 45px rgba(7,24,47,.08); }
.reference-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 30px; border-right: 1px solid var(--line); }
.reference-meta strong { color: var(--orange); font-size: 16px; }
.reference-meta time { padding: 7px 10px; border-radius: 999px; color: var(--navy); background: var(--soft); font-size: 10px; font-weight: 900; }
.reference-card small { color: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.reference-card h3 { margin: 9px 0 10px; font-size: 28px; line-height: 1.2; letter-spacing: -.04em; }
.reference-card p { max-width: 760px; margin: 0 0 22px; color: var(--muted); line-height: 1.7; }
.reference-card div > span { font-size: 11px; font-weight: 900; }

/* Administration */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); color: #152238; background: #f3f6f9; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 18px 20px; color: #cbd5e1; background: #07182f; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 27px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-logo { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--orange), var(--orange-light)); font-size: 22px; box-shadow: 0 8px 24px rgba(255,119,51,.25); }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand strong { color: white; font-size: 14px; }
.admin-brand small { margin-top: 2px; color: #8492a5; font-size: 9px; }
.admin-sidebar nav { display: grid; gap: 5px; margin-top: 28px; }
.admin-sidebar nav button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 10px; color: #aab6c7; background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; text-align: left; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { color: white; background: rgba(255,255,255,.09); }
.admin-sidebar nav button > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--orange-light); background: rgba(255,119,51,.12); font-size: 10px; font-weight: 900; }
.admin-user { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; margin-top: auto; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.1); }
.user-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #f5ad77; font-weight: 900; }
.admin-user strong, .admin-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user strong { color: white; font-size: 10px; }
.admin-user small { max-width: 125px; color: #8190a3; font-size: 8px; }
.admin-user > a { grid-column: 2; color: #aeb9c8; font-size: 9px; font-weight: 800; }
.admin-main { min-width: 0; }
.admin-topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid #e0e5eb; background: rgba(255,255,255,.93); }
.admin-topbar p, .admin-topbar h1 { margin: 0; }
.admin-topbar p { color: #8a95a4; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.admin-topbar h1 { font-size: 22px; letter-spacing: -.035em; }
.view-site { padding: 9px 13px; border: 1px solid #d9dfe6; border-radius: 9px; color: #4c5a6e; background: white; font-size: 10px; font-weight: 800; }
.admin-content { display: grid; gap: 20px; padding: 30px 38px 60px; }
.admin-notice { position: fixed; z-index: 30; top: 105px; right: 26px; max-width: 360px; padding: 13px 18px; border-radius: 10px; color: white; font-size: 11px; font-weight: 800; box-shadow: 0 14px 40px rgba(7,24,47,.22); }
.admin-notice.success { background: #14805e; }
.admin-notice.error { background: #b63434; }
.welcome-panel { min-height: 220px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 38px 44px; border-radius: 22px; color: white; background: radial-gradient(circle at 90% 10%, #1c5575 0, transparent 35%), linear-gradient(120deg, #07182f, #102f50); }
.welcome-panel h2 { margin: 6px 0 10px; font-size: 34px; letter-spacing: -.045em; }
.welcome-panel p:not(.admin-kicker) { max-width: 560px; margin: 0; color: #c4cfdb; font-size: 13px; }
.welcome-cube { font-size: 130px; line-height: 1; opacity: .13; transform: rotate(12deg); }
.admin-kicker { margin: 0; color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid button { display: grid; grid-template-columns: 42px 1fr; align-items: center; padding: 22px; border: 1px solid #e0e5eb; border-radius: 16px; background: white; cursor: pointer; text-align: left; }
.stat-grid button > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; margin-right: 14px; border-radius: 12px; color: var(--orange); background: #fff0e7; font-size: 11px; font-weight: 900; }
.stat-grid strong { font-size: 25px; line-height: 1; }
.stat-grid small { margin-top: 4px; color: #8b96a5; font-size: 9px; }
.admin-card { padding: 27px; border: 1px solid #e0e5eb; border-radius: 18px; background: white; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.card-heading h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.035em; }
.card-heading > span { color: #8a95a4; font-size: 9px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-grid button { padding: 20px; border: 1px solid #e3e7ec; border-radius: 13px; background: #fafbfc; cursor: pointer; text-align: left; }
.quick-grid button:hover { border-color: #f4b58d; background: #fff8f3; }
.quick-grid strong, .quick-grid span { display: block; }
.quick-grid strong { margin-bottom: 5px; font-size: 12px; }
.quick-grid span { color: #7c8898; font-size: 9px; line-height: 1.5; }
.editor-actions { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid #e0e5eb; border-radius: 14px; background: white; }
.sticky-actions { position: sticky; z-index: 6; top: 104px; box-shadow: 0 10px 28px rgba(7,24,47,.06); }
.editor-actions p { margin: 0; color: #7a8797; font-size: 10px; }
.admin-primary { min-height: 42px; padding: 0 17px; border: 0; border-radius: 10px; color: white; background: var(--orange); cursor: pointer; font: inherit; font-size: 10px; font-weight: 900; box-shadow: 0 8px 18px rgba(255,119,51,.18); }
.admin-primary:disabled { opacity: .55; cursor: wait; }
.content-section { margin: 0; padding: 22px 0 0; border: 0; border-top: 1px solid #edf0f3; }
.content-section + .content-section { margin-top: 26px; }
.content-section legend { padding: 0 12px 0 0; color: #627084; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.field-grid label.wide { grid-column: 1 / -1; }
.field-grid label, .news-form label, .upload-form > label:not(.file-drop) { display: grid; gap: 7px; color: #506078; font-size: 10px; font-weight: 800; }
.field-grid input, .field-grid textarea, .field-grid select, .news-form input, .news-form textarea, .news-form select, .upload-form input[type="text"], .upload-form input:not([type]), .upload-form > label:not(.file-drop) input { width: 100%; padding: 11px 12px; border: 1px solid #dce2e8; border-radius: 9px; outline: none; color: #1a283e; background: #fff; font: inherit; font-size: 11px; font-weight: 500; }
.field-grid textarea, .news-form textarea { resize: vertical; line-height: 1.6; }
.field-grid input:focus, .field-grid textarea:focus, .news-form input:focus, .news-form textarea:focus, .news-form select:focus, .upload-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,119,51,.1); }
.field-grid select { margin-top: 5px; }
.field-preview { width: 220px; min-height: 120px; position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--soft); }
.field-preview img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.two-column-admin { grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: start; }
.news-form, .upload-form { display: grid; gap: 16px; }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.news-form .admin-primary { justify-self: start; }
.text-button, .admin-news-list button, .media-grid button { padding: 0; border: 0; color: #5b687a; background: none; cursor: pointer; font: inherit; font-size: 9px; font-weight: 800; }
.admin-news-list { display: grid; gap: 14px; }
.admin-news-list article { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #edf0f3; }
.admin-news-list article:last-child { border-bottom: 0; }
.news-thumb { min-height: 92px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 10px; color: white; background: var(--navy); font-weight: 900; }
.news-thumb img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.status { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.status.published { color: #15765b; background: #e7f7f0; }
.status.draft { color: #7c6745; background: #f5efe5; }
.admin-news-list h3 { margin: 6px 0 2px; font-size: 12px; line-height: 1.35; }
.admin-news-list p { margin: 0 0 8px; color: #8a96a6; font-size: 8px; }
.admin-news-list article div div { display: flex; gap: 12px; }
.danger { color: #b53c3c !important; }
.upload-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 32px; }
.upload-card .card-heading { display: block; margin: 0; }
.upload-card .card-heading > span { display: block; margin-top: 10px; }
.file-drop { min-height: 150px; display: grid; place-items: center; align-content: center; padding: 20px; border: 1.5px dashed #ccd4dd; border-radius: 14px; color: #627084; background: #fafbfc; cursor: pointer; text-align: center; }
.file-drop:hover { border-color: var(--orange); background: #fff8f3; }
.file-drop input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.file-drop strong, .file-drop small { display: block; }
.file-drop strong { font-size: 11px; }
.file-drop small { color: #939dab; font-size: 8px; }
.upload-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 7px; border-radius: 50%; color: white; background: var(--orange); font-size: 19px; }
.check-field { display: flex !important; grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px !important; }
.check-field input { width: auto !important; }
.upload-form .admin-primary { justify-self: start; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.media-grid article { overflow: hidden; border: 1px solid #e1e6eb; border-radius: 13px; }
.media-preview { min-height: 150px; position: relative; display: block; background: var(--soft); }
.media-preview img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.media-grid article > div { display: grid; gap: 4px; padding: 12px; }
.media-grid strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.media-grid small { display: -webkit-box; overflow: hidden; color: #7f8b9a; font-size: 8px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.media-grid article > div > span { color: #9aa3af; font-size: 7px; }
.media-grid button { justify-self: start; margin-top: 5px; }
.empty-state { padding: 44px; color: #718095; background: #f8fafb; border-radius: 13px; text-align: center; }
.empty-state strong { color: #445169; font-size: 12px; }
.empty-state p { margin: 4px 0 0; font-size: 9px; }
.access-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--soft); }
.access-card { width: min(520px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 25px 70px rgba(7,24,47,.1); text-align: center; }
.access-card .admin-logo { margin: 0 auto 20px; }
.access-card h1 { margin: 8px 0 14px; font-size: 30px; line-height: 1.2; }
.access-card > p:not(.admin-kicker) { color: var(--muted); font-size: 13px; }
.access-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.access-actions a { padding: 10px 14px; border-radius: 9px; color: white; background: var(--ink); font-size: 10px; font-weight: 800; }
.access-actions a:last-child { color: var(--ink); background: var(--soft); }

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .schedule-grid > div:first-child { grid-column: 1 / -1; }
  .project-preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-project.large { grid-column: 1 / -1; min-height: 390px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .video-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vectorizer { grid-template-columns: 340px minmax(0, 1fr); }
  .puzzle-builder { grid-template-columns: 340px minmax(0, 1fr); }
  .product-builder { grid-template-columns: 340px minmax(0, 1fr); }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-stage { min-height: 330px; }
  .two-column-admin { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1180px); }
  .site-header { height: auto; min-height: 72px; padding-block: 10px; }
  .brand small { display: none; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-block: 58px; }
  .hero h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero-media { min-height: 360px; }
  .schedule-grid, .section-heading, .feature-grid, .project-preview-grid, .latest-news, .lesson-layout, .project-list article, .news-grid, .tool-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .author-content-grid, .reference-card { grid-template-columns: 1fr; }
  .reference-meta { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .news-grid.single-item-grid { grid-template-columns: 1fr; }
  .resource-grid, .video-grid { grid-template-columns: 1fr; }
  .student-accordion summary { grid-template-columns: 44px minmax(0, 1fr) 36px; gap: 13px; padding: 18px; }
  .accordion-number { width: 44px; height: 44px; border-radius: 12px; }
  .accordion-title strong { font-size: 19px; }
  .accordion-title small { font-size: 10px; line-height: 1.4; }
  .accordion-count { display: none; }
  .accordion-toggle { grid-column: 3; width: 36px; height: 36px; }
  .accordion-body { padding: 22px 18px; }
  .accordion-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
  .video-link-grid { grid-template-columns: 1fr; }
  .vectorizer { grid-template-columns: 1fr; }
  .puzzle-builder { grid-template-columns: 1fr; }
  .product-builder { grid-template-columns: 1fr; }
  .vectorizer-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .puzzle-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .vectorizer-preview { padding: 25px 20px; }
  .puzzle-preview-panel { padding: 25px 20px; }
  .product-preview-panel { padding: 25px 20px; }
  .product-preview-stage { min-height: 390px; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-stage { min-height: 280px; }
  .puzzle-preview-stage { min-height: 390px; }
  .resource-note { grid-template-columns: 1fr; gap: 5px; }
  .schedule-grid > div:first-child { grid-column: auto; }
  .section { padding-block: 68px; }
  .section-heading { gap: 10px; }
  .preview-project.large { grid-column: auto; min-height: 330px; }
  .preview-project { min-height: 300px; }
  .latest-news > span { min-height: 280px; }
  .latest-news > div { padding: 26px; }
  .latest-news.text-only-card > div { padding: 26px; }
  .page-hero-inner { padding-block: 66px 72px; }
  .page-hero p { font-size: 16px; }
  .lesson-layout { gap: 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .project-list { gap: 60px; }
  .project-list article { gap: 26px; }
  .project-list article.reverse .project-image { order: initial; }
  .project-image { min-height: 330px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure.wide { grid-column: auto; }
  .gallery-full, .gallery-grid figure.wide .gallery-full { min-height: 320px; }
  .article-image { min-height: 320px; }
  .contact-note { grid-column: auto; }
  .news-teaser { padding-block: 50px; }
  .news-teaser-inner { padding: 32px 26px; align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 34px; }
  .footer-bottom { gap: 20px; }

  .admin-shell { display: block; }
  .admin-sidebar { position: sticky; z-index: 20; height: auto; min-height: 68px; top: 0; flex-direction: row; align-items: center; gap: 10px; padding: 10px 15px; }
  .admin-brand { padding: 0; border: 0; }
  .admin-brand > span:last-child { display: none; }
  .admin-sidebar nav { flex: 1; display: flex; justify-content: center; gap: 4px; margin: 0; }
  .admin-sidebar nav button { width: auto; padding: 7px; font-size: 0; }
  .admin-sidebar nav button > span { width: 32px; height: 32px; }
  .admin-user { display: none; }
  .admin-topbar { height: 72px; padding: 0 16px; }
  .admin-content { padding: 20px 15px 45px; }
  .welcome-panel { min-height: 200px; padding: 28px; }
  .welcome-cube { display: none; }
  .welcome-panel h2 { font-size: 29px; }
  .stat-grid, .quick-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid label.wide { grid-column: auto; }
  .upload-card { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-actions { top: 84px; }
}

@media (max-width: 460px) {
  .brand strong { font-size: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .mobile-menu summary { font-size: 0; }
  .mobile-menu summary::after { content: '☰'; font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 330px; }
  .student-accordion summary { grid-template-columns: 38px minmax(0, 1fr) 34px; gap: 10px; padding: 15px 13px; }
  .accordion-number { width: 38px; height: 38px; font-size: 9px; }
  .accordion-title strong { font-size: 17px; }
  .accordion-title small { font-size: 9px; }
  .accordion-toggle { width: 34px; height: 34px; font-size: 19px; }
  .accordion-body { padding: 18px 13px; }
  .resource-card { min-height: 220px; padding: 22px; }
  .vectorizer-sidebar { padding: 22px 16px; }
  .puzzle-sidebar { padding: 22px 16px; }
  .product-sidebar { padding: 22px 16px; }
  .vectorizer-field-row, .vectorizer-actions, .preview-grid { grid-template-columns: 1fr; }
  .puzzle-actions, .puzzle-output-info { grid-template-columns: 1fr; }
  .preview-heading { align-items: flex-start; flex-direction: column; }
  .preview-stage { min-height: 300px; }
  .puzzle-preview-stage { min-height: 320px; padding: 12px; }
  .product-preview-stage { min-height: 320px; padding: 12px; }
  .photo-stats { grid-template-columns: 1fr; gap: 8px; }
  .photo-stats div:last-child { display: none; }
  .inline-fields { grid-template-columns: 1fr; }
  .admin-card { padding: 20px; }
  .media-grid { grid-template-columns: 1fr; }
  .editor-actions { align-items: stretch; flex-direction: column; }
  .admin-news-list article { grid-template-columns: 72px 1fr; }
  .news-thumb { min-height: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
