@import url("./lead-capture.css");

@font-face {
  font-family: "Noto Sans SC Portal";
  src: url("assets/type/noto-sans-sc-portal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --portal-ink: #101e26;
  --portal-muted: #4d6069;
  --portal-rule: #ccdad9;
  --portal-link: #075f67;
  --portal-focus: #087a84;
  --portal-accent: #74eee3;
  --portal-face: "Noto Sans SC Portal", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --portal-text: clamp(1rem, .92rem + .17vw, 1.125rem);
  --portal-action: .9375rem;
  --portal-meta: .8125rem;
  --portal-max: 1700px;
  --portal-pad: clamp(22px, 5.45vw, 98px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin:0;color:var(--portal-ink);background:#fff;font:400 1rem/1.7 var(--portal-face);-webkit-font-smoothing:antialiased; }
button,input,textarea,select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.ui-icon { display:inline-block; width:20px; height:20px; flex:none; vertical-align:middle; }
.ai-glyph { background:var(--glyph) center / var(--glyph-scale) no-repeat; }
:focus-visible { outline:2px solid var(--portal-focus); outline-offset:4px; }
.skip:not(:focus),.skip-link:not(:focus),.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.skip:focus,.skip-link:focus { position:fixed;z-index:20;left:12px;top:8px;background:white;color:var(--portal-ink);padding:10px 18px; }
.portal-wrap { width:min(100%,var(--portal-max)); margin-inline:auto; padding-inline:var(--portal-pad); }
.portal-mast { position:relative; z-index:5; background:#fff; border-bottom:1px solid #dce4e4; }
.portal-mast-inner { height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.portal-brand { display:inline-flex;align-items:center;min-height:44px; }
.portal-brand img,.portal-company img { display:block; width:114px; height:auto; }
.portal-nav,.portal-tools { display:flex; align-items:center; }
.portal-nav { gap:clamp(20px,2.8vw,48px); }
.portal-mast a,.portal-footer a,.portal-footer button { text-decoration:none; }
.portal-nav a { position:relative;display:flex;align-items:center;min-height:46px;font-size:var(--portal-action);font-weight:530;letter-spacing:.025em;white-space:nowrap; }
.portal-nav a::after { position:absolute;inset:auto 0 4px;content:"";height:2px;background:var(--portal-focus);transform:scaleX(0);transform-origin:left;transition:transform .18s; }
.portal-nav a:is(:hover,[aria-current]) { color:var(--portal-link); }
.portal-nav a:is(:hover,[aria-current])::after { transform:scaleX(1); }
.portal-tools { gap:12px; }
.portal-contact { display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:46px;padding:9px 18px;border:1px solid transparent;border-radius:3px;background:var(--portal-ink);color:#fff;font-size:var(--portal-action);font-weight:540;line-height:1.4;white-space:nowrap;transition:background .18s; }
.portal-contact .ui-icon { width:17px;height:17px; }
.portal-contact:hover { background:#1e4850; }
.portal-icon-action,.dialog-close { display:inline-grid; place-items:center; width:44px;height:44px; padding:0;color:inherit;border:0;border-radius:3px;background:transparent; }
.portal-icon-action:hover,.dialog-close:hover { background:#e9f2f2; }
#portal-menu { display:none; }
#portal-mobile-nav { position:absolute; inset:100% 0 auto; background:white; border-block:1px solid var(--portal-rule); padding:4px var(--portal-pad) 14px; }
#portal-mobile-nav a { display:block; min-height:48px; padding:12px 0; border-bottom:1px solid var(--portal-rule); }
#portal-mobile-nav a[aria-current] { color:var(--portal-link);font-weight:600; }
.portal-contact-band { background:#eff5f3;border-block-start:1px solid var(--portal-rule); }
.portal-contact-band .portal-wrap { display:grid;grid-template-columns:1fr 1.13fr;align-items:center;gap:8%;padding-block:clamp(46px,5.2vw,90px); }
.portal-contact-intro h2 { margin:0;font-size:clamp(2.1rem,3.6vw,3.75rem);font-weight:560;line-height:1.2;letter-spacing:-.035em; }
.portal-contact-intro p { margin:12px 0 22px;color:var(--portal-muted);font-size:var(--portal-text); }
.portal-contact-intro .portal-contact { gap:30px;padding-inline:20px;min-height:48px; }
.portal-contact-address { min-width:0;border-inline-start:1px solid #bed1cd;padding-inline-start:clamp(26px,4vw,76px); }
.portal-contact-address>span:first-child { display:block;color:var(--portal-muted);font-size:var(--portal-action);font-weight:500; }
.portal-email { display:flex;width:fit-content;max-width:100%;align-items:baseline;gap:.35em;margin-block:4px;color:var(--portal-ink);font-size:clamp(1.3rem,2.3vw,2.55rem);font-weight:490;line-height:1.5;letter-spacing:-.045em; }
.portal-email .ui-icon { align-self:center;width:.55em;height:.55em;min-width:15px;min-height:15px;color:var(--portal-link); }
.portal-email:hover span,.portal-footer-base a:hover { text-decoration:underline;text-underline-offset:.25em; }
.portal-copy { display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 5px 7px 0;border:0;background:none;color:var(--portal-link);font-size:14px;font-weight:550; }
.portal-copy:hover { text-decoration:underline;text-underline-offset:4px; }
.portal-copy .ui-icon { width:16px;height:16px; }
.portal-copy-status { margin-inline-start:8px;font-size:var(--portal-meta);color:var(--portal-link); }
.portal-footer-base { background:#0e2128;color:#e1eeec; }
.portal-footer-base .portal-wrap { display:flex;gap:clamp(16px,3.4vw,60px);align-items:center;padding-block:20px; }
.portal-footer-base nav { display:flex;align-items:center;gap:24px; }
.portal-footer-base a { display:inline-flex;align-items:center;min-height:44px;font-size:14px; }
.portal-footer-base small { margin-inline-start:auto;color:#c2d3d5;font-size:var(--portal-meta); }
.portal-company img { width:104px; }
.portal-to-top { gap:8px;white-space:nowrap; }
.portal-to-top .ui-icon { width:16px;height:16px; }
.portal-footer-base :focus-visible,.film-dialog :focus-visible,.illustration-dialog :focus-visible { outline-color:var(--portal-accent); }
body.modal-open { overflow:hidden; }
dialog { margin:auto; }
dialog .ui-icon { width:18px; height:18px; }
dialog .button { display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:11px 18px;min-height:48px;border:1px solid var(--portal-ink);border-radius:3px;text-decoration:none;font-size:var(--portal-action);font-weight:540;line-height:1.5; }
dialog .button.primary { color:white; background:var(--portal-ink); }
dialog .button.outline,dialog .button.white { background:#fff;color:var(--portal-ink); }
dialog .button.primary:hover { background:#214b52; }
dialog .button.outline:hover,dialog .button.white:hover { background:#edf5f3; }
.lead-form .form-row { display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); }
.lead-form .form-row.lead-phone-only { grid-template-columns:1fr; }
.lead-form label:not(.lead-checkbox) { display:flex;flex-direction:column;min-width:0; }
.lead-form :is(input:not([type="checkbox"]),textarea,select) { width:100%;min-width:0; }
.lead-clear,.lead-dialog .text-link { background:none; border:none; }
.lead-dialog .lead-close { border:1px solid var(--portal-rule);border-radius:3px;background:#fff; }
.lead-dialog .lead-close:hover { background:#edf5f3; }
.portal-search { width:min(640px,calc(100% - 24px)); max-height:80dvh;padding:clamp(18px,3vw,32px);border:1px solid var(--portal-rule); }
.portal-search::backdrop,.illustration-dialog::backdrop,.film-dialog::backdrop { background:#02121dc9; }
.portal-dialog-head,.film-dialog-top,.illustration-toolbar,.film-context { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.portal-dialog-head h2,.film-dialog-top h2,.illustration-toolbar h2 { font-size:clamp(1.3rem,1.7vw,1.65rem);font-weight:570;line-height:1.4;margin:0; }
.portal-search-field { display:flex;align-items:center;gap:10px;border-bottom:2px solid #167e85; }
.portal-search-field input { width:100%; padding:12px 0; border:0; background:white;color:var(--portal-ink); }
.portal-search-count { font-size:13px;color:#53656c;margin:16px 0 6px; }
.portal-results :is(a,button) { display:flex;align-items:baseline;gap:20px;width:100%;min-height:47px;padding:11px 3px;text-align:left;border:0;border-bottom:1px solid #dce5e6;text-decoration:none;background:white;color:var(--portal-ink); }
.portal-results :is(a,button):hover { background:#edf6f5; }
.portal-results small { flex:none;color:#43636a; }
.portal-results strong { font-size:1rem;font-weight:530; }
.film-dialog,.illustration-dialog { width:min(1040px,calc(100% - 32px));max-width:none;max-height:94dvh;padding:0;overflow:auto;background:#091b24;color:white;border:1px solid #3a5058; }
.film-dialog-top,.illustration-toolbar { padding:12px 20px; }
.film-dialog-top p,.illustration-toolbar p { margin:3px 0 0;color:#b7cdd2;font-size:12px; }
.film-dialog .dialog-close,.illustration-dialog .dialog-close { color:white;border:1px solid #57727a; }
.film-dialog .dialog-close:hover,.illustration-dialog .dialog-close:hover { background:#213c46; }
.film-stage { position:relative;background:#000;line-height:0; }
.film-stage video { display:block;width:100%;aspect-ratio:16/9;max-height:62dvh;object-fit:contain; }
.film-loading,.film-error { position:absolute;inset:0;display:grid;align-content:center;justify-items:center;padding:18px;text-align:center;line-height:1.6;background:#081920b3; }
.film-loading { pointer-events:none; }
.film-toolbar { display:flex;align-items:center;gap:18px;padding:12px 18px; }
.film-chapters { display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;flex:1; }
.film-chapters button,.film-quality select { min-height:44px;background:#122b34;color:#def3f3;border:1px solid #577278;border-radius:3px;padding:6px 12px;font-size:14px;white-space:nowrap; }
.film-chapters [aria-pressed="true"] { color:#8ef2eb;border-color:#67b6be; }
.film-quality { flex:none;display:flex;align-items:center;gap:8px;font-size:13px; }
.film-context,.illustration-actions { padding:12px 18px;color:#c6dce0;border-top:1px solid #344a51;font-size:13px; }
.film-context a,.illustration-actions a { color:#9af1ed;white-space:nowrap; }
.illustration-dialog figure { margin:0; }
.illustration-stage { background:#eef3f3; }
.illustration-stage img { display:block;width:100%;height:auto;max-height:68dvh;object-fit:contain; }
.portal-message { min-height:54vh;display:grid;align-content:center;gap:14px;padding-block:48px; }
.portal-message h1 { margin:0;font-size:clamp(30px,4vw,56px); }
.portal-message p { margin:0;max-width:40em;color:var(--portal-muted); }
.portal-message a { justify-self:start;font-weight:600;text-underline-offset:4px; }
@media(max-width:850px) {
  .portal-nav { display:none; } #portal-menu { display:grid; }
  .portal-mast-inner { height:66px;gap:8px; }.portal-tools { gap:5px; }
  .portal-brand img { width:98px; }.portal-tools .portal-contact {font-size:14px;gap:8px;min-height:44px;padding:8px 12px;}
}
@media(max-width:720px) {
  .portal-contact-band .portal-wrap { grid-template-columns:1fr;gap:26px;padding-block:38px 28px; }
  .portal-contact-intro p { margin-block:10px 18px; }
  .portal-contact-address { border-inline:0;border-top:1px solid #bed1cd;padding:21px 0 0; }
  .portal-email { font-size:clamp(1.35rem,6.3vw,2.2rem);min-height:44px;align-items:center;line-height:1.3; }
  .portal-footer-base .portal-wrap { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-block:15px 18px; }
  .portal-footer-base nav { gap:15px; }
  .portal-footer-base small { margin:0;font-size:12px; }
  .portal-to-top { justify-self:end; }
  .lead-form .form-row { grid-template-columns:1fr; }
  .film-dialog,.illustration-dialog { width:calc(100% - 14px); }.film-dialog-top,.illustration-toolbar { padding:10px 12px; }
  .film-toolbar { flex-wrap:wrap;padding:10px;gap:8px; }.film-chapters { flex-basis:100%; }.film-context { flex-wrap:wrap; }
}
@media(max-width:380px) {
  .portal-tools { gap:2px; }
  .portal-brand img { width:84px; }
  .portal-tools .portal-contact { padding-inline:10px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .portal-nav a::after,.portal-contact { transition:none; }
}
