/* Salih Canti — Personal portfolio. No tracking, no frontend dependencies. */
:root {
  color-scheme: dark;
  --page: #081117;
  --page-2: #0d171d;
  --surface: #101d24;
  --surface-deep: #0c171d;
  --surface-raised: #17262d;
  --card: #101d24;
  --text: #f1f5f4;
  --muted: #a2b2b5;
  --muted-2: #788f96;
  --accent: #a3f3cd;
  --accent-ink: #062118;
  --accent-alt: #8eb5ef;
  --border: rgba(190, 219, 223, .13);
  --border-strong: rgba(190, 219, 223, .23);
  --hover: rgba(163, 243, 205, .075);
  --header-bg: rgba(8, 17, 23, .88);
  --shadow: 0 40px 110px rgba(0, 0, 0, .3);
  --grid-line: rgba(190, 219, 223, .045);
  --radius: 20px;
  --max: 1200px;
}
html[data-theme="light"] {
  color-scheme: light;
  --page: #f4f7f8;
  --page-2: #ebf1f2;
  --surface: #fff;
  --surface-deep: #f7fafb;
  --surface-raised: #e8f1f2;
  --card: #fff;
  --text: #14252b;
  --muted: #4e6269;
  --muted-2: #6d8186;
  --accent: #157b61;
  --accent-ink: #fff;
  --accent-alt: #2e65a6;
  --border: rgba(23, 65, 71, .14);
  --border-strong: rgba(23, 65, 71, .26);
  --hover: rgba(21, 123, 97, .06);
  --header-bg: rgba(244, 247, 248, .91);
  --shadow: 0 38px 100px rgba(33, 67, 72, .09);
  --grid-line: rgba(28, 80, 86, .06);
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--page); color: var(--text); font: 400 16px/1.6 "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif; -webkit-font-smoothing: antialiased; transition: background-color .28s ease, color .28s ease; }
button,input,a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button,a { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); }
[hidden] { display: none !important; }
::selection { color: #082017; background: #a3f3cd; }
.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.section-pad { padding-block: 122px; }
.skip-link { z-index: 1000; position: fixed; top: 8px; left: 12px; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.page-orb { pointer-events: none; position: absolute; z-index: 0; filter: blur(10px); border-radius: 50%; }
.page-orb--one { right: 0; top: 200px; width: 650px; height: 650px; background: radial-gradient(circle, rgba(60, 158, 129, .075), transparent 65%); }
.page-orb--two { left: -400px; top: 800px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(60, 103, 166, .045), transparent 68%); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(22px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; height: 87px; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; border: 1px solid var(--border-strong); display: flex; justify-content: center; align-items: center; border-radius: 12px; font-size: 16px; font-weight: 800; letter-spacing: -.08em; color: var(--accent); position: relative; }
.brand-mark i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); position: absolute; right: -3px; top: -3px; }
.brand-name { display: flex; flex-direction: column; gap: 0; line-height: 1.35; }
.brand-name strong { font-size: 15px; letter-spacing: .015em; font-weight: 710; }
.brand-name small { color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; font-size: 9px; font-weight: 650; }
.desktop-nav { display: flex; gap: 32px; align-items: center; margin-inline: auto; }
.desktop-nav a { color: var(--muted); transition: color .2s; font-size: 13px; font-weight: 550; }
.desktop-nav a:hover,.desktop-nav a.is-active { color: var(--accent); }
.header-actions { display: flex; gap: 16px; align-items: center; }
.theme-toggle { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--hover); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .moon-icon { display: none; }
html[data-theme="light"] .theme-toggle .sun-icon { display: none; }
html[data-theme="light"] .theme-toggle .moon-icon { display: block; }
.header-cta { background: var(--accent); padding: 11px 17px; border-radius: 8px; color: var(--accent-ink); font-size: 13px; line-height: 1.25; font-weight: 750; display: flex; gap: 19px; align-items: center; transition: transform .2s, filter .2s; }
.header-cta:hover { transform: translateY(-2px); filter: brightness(1.07); }
.header-cta span { font-size: 16px; }
.menu-button { display: none; }
.mobile-nav { display: none; }
.hero { min-height: 720px; padding-top: 110px; padding-bottom: 28px; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .5; background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px); background-size: 75px 75px; mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 60%, transparent 100%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 54px; position: relative; z-index: 2; }
.eyebrow { display: flex; gap: 12px; align-items: center; color: var(--accent); letter-spacing: .2em; font-size: 10px; font-weight: 780; white-space: nowrap; }
.eyebrow-line { height: 1px; width: 25px; background: var(--accent); }
.eyebrow-divider { color: var(--muted-2); }
.hero-overline { font-size: 18px; color: var(--muted); margin: 38px 0 7px; letter-spacing: -.02em; }
.hero-overline span { color: var(--text); font-weight: 650; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { letter-spacing: -.055em; line-height: 1.16; }
h1 { font-size: clamp(46px, 4.8vw, 73px); line-height: 1.13; font-weight: 750; margin-bottom: 25px; letter-spacing: -.066em; white-space: nowrap; }
.type-gradient { background: linear-gradient(92deg, var(--accent) 0%, #80bbd9 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .type-gradient { background-image: linear-gradient(100deg, #126c56, #1a6594); }
.hero-lead { color: var(--muted); font-size: 17px; line-height: 1.84; max-width: 550px; margin-bottom: 31px; }
.hero-lead strong { color: var(--text); font-weight: 590; }
.hero-buttons { display: flex; gap: 11px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 19px; border-radius: 8px; font-size: 13px; font-weight: 750; line-height: 1.3; min-height: 49px; transition: transform .2s, filter .2s, background-color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 16px; }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { filter: brightness(1.1); }
.button-secondary { background: rgba(173, 198, 205, .035); color: var(--text); border: 1px solid var(--border-strong); }
.button-secondary:hover { background: var(--hover); border-color: var(--accent); }
.hero-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.hero-stack span { font-size: 11px; letter-spacing: .025em; border: 1px solid var(--border); padding: 6px 10px; border-radius: 5px; color: var(--muted); background: var(--surface-deep); }
.hero-location { margin-top: 36px; color: var(--muted-2); font-size: 11px; letter-spacing: .02em; }
.location-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; margin: 0 8px 1px 0; box-shadow: 0 0 0 4px rgba(163, 243, 205, .08); }
.hero-location-divider { margin-inline: 9px; }
.hero-visual { position: relative; padding: 29px 0 41px; }
.visual-halo { border-radius: 50%; width: 440px; height: 440px; position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(89, 194, 154, .19), rgba(59, 93, 137, .09) 40%, transparent 70%); filter: blur(14px); z-index: -1; }
.visual-card { position: relative; z-index: 1; border: 1px solid rgba(170, 233, 221, .23); background: linear-gradient(135deg, #121f28 0%, #091319 68%); border-radius: 15px; box-shadow: 0 30px 100px rgba(0, 0, 0, .37), 0 0 80px rgba(136, 241, 195, .075); overflow: hidden; transform: rotate(-1.2deg); }
.visual-topline { height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-inline: 17px; border-bottom: 1px solid rgba(188, 220, 222, .12); background: rgba(255, 255, 255, .025); color: #7f969d; font: 10px/1.2 Consolas, "SFMono-Regular", monospace; letter-spacing: .02em; }
.window-controls { display: flex; gap: 5px; }
.window-controls i { width: 6px; height: 6px; border-radius: 50%; background: #4b6168; }
.window-controls i:first-child { background: #b67e75; }
.window-controls i:nth-child(2) { background: #bdab72; }
.window-controls i:last-child { background: #72b89e; }
.topline-action { font-size: 16px; }
.visual-body { padding: 26px 27px 19px; }
.visual-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 25px; }
.overline-small { font: 9px/1.6 Consolas, monospace; color: #92aaac; letter-spacing: .18em; }
.visual-heading h2 { margin: 8px 0 0; font-size: 22px; letter-spacing: -.05em; color: #f0f5f3; white-space: nowrap; }
.heading-dot { color: #a3f3cd; }
.flow-status { color: #9ac4aa; font: 10px Consolas, monospace; white-space: nowrap; }
.status-pulse { display: inline-block; margin-right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #a3f3cd; box-shadow: 0 0 0 4px rgba(163, 243, 205, .08); animation: blink 2s infinite; }
.architecture-card { display: flex; align-items: center; position: relative; gap: 13px; border: 1px solid rgba(174, 221, 220, .16); border-radius: 10px; background: #14232b; padding: 15px; }
.architecture-card--front { background: linear-gradient(105deg, rgba(55, 120, 113, .25), #15262c 90%); border-color: rgba(132, 232, 192, .32); }
.architecture-symbol { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; font-family: Consolas, monospace; font-size: 18px; font-weight: 800; border-radius: 9px; }
.architecture-symbol--front { background: #254e43; color: #b9f8d7; }
.architecture-symbol--back { background: #283f52; color: #a4cbee; }
.architecture-symbol--data { background: #3c384f; color: #b9b0f8; }
.architecture-symbol svg { width: 26px; }
.architecture-text { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.architecture-text small { color: #80a4a6; font: 9px/1.7 Consolas, monospace; letter-spacing: .07em; }
.architecture-text strong { color: #eef8f7; font-size: 13px; letter-spacing: -.01em; }
.architecture-text span { color: #8caaae; font-size: 10px; margin-top: 2px; }
.architecture-index { font: 11px Consolas, monospace; color: #617d85; align-self: flex-start; }
.architecture-links { height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #75979a; }
.arch-line { display: inline-block; height: 25px; width: 1px; background: linear-gradient(to bottom, rgba(144, 216, 193, .1), rgba(144, 216, 193, .7), rgba(144, 216, 193, .1)); position: relative; }
.arch-caption { font: 9px Consolas, monospace; color: #82a4a6; }
.arch-line--left::after { content: ''; position: absolute; bottom: 1px; left: -2px; width: 5px; height: 5px; border-right: 1px solid #9bdfc2; border-bottom: 1px solid #9bdfc2; transform: rotate(45deg); }
.visual-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #80999d; font: 9px Consolas, monospace; letter-spacing: .03em; border-top: 1px solid rgba(169, 206, 210, .1); padding-top: 17px; margin-top: 23px; }
.foot-dot { background: #a3f3cd; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; }
.floating-tag { position: absolute; z-index: 2; padding: 11px 14px; background: #18292b; border: 1px solid rgba(163, 243, 205, .28); box-shadow: 0 15px 35px rgba(0, 0, 0, .15); color: #c6dfda; font-size: 10px; letter-spacing: .02em; border-radius: 6px; white-space: nowrap; }
.floating-tag span { color: #a3f3cd; margin-right: 9px; }
.floating-tag--top { right: -27px; top: -5px; transform: rotate(3deg); }
.floating-tag--bottom { left: -27px; bottom: 12px; transform: rotate(2deg); }
.hero-bottom { display: flex; align-items: center; gap: 15px; color: var(--muted-2); font: 10px Consolas, monospace; letter-spacing: .12em; margin-top: 35px; }
.scroll-line { width: 74px; height: 1px; background: var(--border-strong); }
.discipline-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-deep); }
.discipline-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.discipline-label { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .15em; flex-shrink: 0; }
.discipline-items { display: flex; gap: 33px; align-items: center; flex-wrap: wrap; }
.discipline-items > span { font-size: 13px; white-space: nowrap; font-weight: 580; }
.discipline-items i { color: var(--muted-2); margin-right: 5px; font: normal 10px Consolas, monospace; }
.section-index { color: var(--accent); font-size: 11px; letter-spacing: .13em; font-weight: 730; margin-bottom: 20px; }
.section-heading h2,.education-layout h2 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.2; font-weight: 720; margin-bottom: 0; letter-spacing: -.055em; }
.section-heading h2 span,.education-layout h2 span { color: var(--accent); }
.heading-two-col { display: grid; grid-template-columns: 1.08fr .92fr; gap: 100px; align-items: end; }
.section-intro { color: var(--text); font-size: 18px; line-height: 1.7; font-weight: 500; margin-bottom: 14px; }
.section-body { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 0; }
.about-section { position: relative; }
.values-grid { margin-top: 63px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.value-card { border: 1px solid var(--border); border-radius: 13px; background: var(--surface); padding: 25px 27px 30px; transition: border-color .25s, transform .25s, background-color .25s; min-height: 273px; }
.value-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.value-number { font: 11px Consolas, monospace; color: var(--muted-2); display: flex; justify-content: space-between; }
.value-number span { font-size: 18px; }
.value-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 30px 0 20px; color: var(--accent); }
.value-icon svg { width: 40px; height: 40px; }
.value-card h3 { font-size: 20px; letter-spacing: -.03em; font-weight: 680; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.expertise-section { background: var(--page-2); border-block: 1px solid var(--border); }
.expertise-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.expertise-heading > div { max-width: 640px; }
.expertise-heading .section-intro { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 360px; margin: 0; }
.expertise-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.expertise-card { padding: 34px 33px 29px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color .25s, transform .25s; min-height: 340px; }
.expertise-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.expertise-card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 28px; }
.expertise-symbol { display: flex; align-items: center; justify-content: center; min-width: 57px; height: 57px; border-radius: 10px; background: var(--hover); color: var(--accent); font-family: Consolas, monospace; font-size: 21px; font-weight: 700; }
.expertise-code { color: var(--muted-2); font: 11px Consolas, monospace; }
.expertise-card h3 { font-size: 23px; margin-bottom: 12px; font-weight: 680; }
.expertise-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 25px; max-width: 450px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group span { font-size: 11px; font-weight: 600; background: var(--surface-deep); border: 1px solid var(--border); border-radius: 5px; padding: 7px 10px; color: var(--muted); }
.exp-heading { align-items: end; }
.exp-heading .section-intro { font-size: 16px; color: var(--muted); margin: 0; }
.timeline { margin-top: 66px; }
.timeline-item { display: grid; grid-template-columns: 245px 1fr; gap: 25px; position: relative; }
.timeline-item:not(:last-child) .timeline-date::before { position: absolute; content: ''; height: calc(100% - 14px); left: 8px; top: 19px; width: 1px; background: var(--border-strong); }
.timeline-date { padding-left: 31px; padding-top: 34px; position: relative; color: var(--muted-2); font: 12px Consolas, monospace; white-space: nowrap; }
.timeline-dot { position: absolute; z-index: 1; top: 37px; left: 3px; height: 11px; width: 11px; border-radius: 50%; background: var(--page); border: 2px solid var(--muted-2); }
.timeline-item--featured .timeline-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--hover); }
.timeline-main { padding: 31px 0 40px; border-bottom: 1px solid var(--border); }
.timeline-item--featured .timeline-main { background: linear-gradient(105deg, var(--hover), transparent 63%); border: 1px solid var(--border-strong); border-radius: 12px; padding: 29px 30px; margin-bottom: 28px; }
.timeline-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.item-kicker { color: var(--accent); font-size: 10px; font-weight: 740; letter-spacing: .11em; }
.timeline-main h3 { font-size: 28px; margin: 5px 0; font-weight: 690; }
.timeline-role { font-size: 14px; color: var(--muted); margin: 0; }
.timeline-label { font: 9px Consolas, monospace; background: var(--accent); color: var(--accent-ink); padding: 6px 9px; border-radius: 4px; white-space: nowrap; letter-spacing: .02em; }
.timeline-desc { font-size: 14px; line-height: 1.82; margin: 19px 0 16px; color: var(--muted); max-width: 780px; }
.timeline-bullets { padding-left: 18px; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.88; }
.timeline-bullets li { padding-left: 4px; }
.timeline-bullets li::marker { color: var(--accent); }
.timeline-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 17px; }
.timeline-tags span { font-size: 10px; border: 1px solid var(--border); color: var(--muted-2); border-radius: 4px; padding: 5px 8px; }
.timeline-footer { margin-top: 22px; padding-left: 271px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.text-button { cursor: pointer; background: transparent; color: var(--accent); border: 0; padding: 8px 0; font-size: 13px; font-weight: 670; }
.text-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-button span { margin-left: 8px; }
.timeline-footer p { margin: 0; max-width: 330px; font-size: 11px; color: var(--muted-2); line-height: 1.5; text-align: right; }
.projects-section { background: var(--page-2); border-block: 1px solid var(--border); }
.projects-heading .section-intro { font-size: 16px; color: var(--muted); margin: 0; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 62px; }
.project-card { min-width: 0; overflow: hidden; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); transition: border-color .25s, transform .25s; }
.project-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.project-card--main { grid-column: span 2; display: grid; grid-template-columns: 1.03fr .97fr; }
.project-art { position: relative; height: 250px; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--border); }
.project-art--neaforge { height: 340px; border-right: 1px solid var(--border); border-bottom: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 22%, rgba(151, 248, 197, .2), transparent 50%), linear-gradient(132deg, #0c2029, #102d32 60%, #11212b); }
.project-art--uwb { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, rgba(89, 166, 196, .2), transparent 55%), linear-gradient(140deg, #0b2430, #102027); }
.project-art--video { display: grid; place-items: center; background: radial-gradient(ellipse at 68% 25%, rgba(94, 127, 198, .2), transparent 65%), linear-gradient(135deg, #121a2d, #0b1c27); }
.project-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(218, 248, 250, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(218, 248, 250, .045) 1px, transparent 1px); background-size: 30px 30px; }
.art-index { position: absolute; bottom: 16px; left: 22px; color: #9db5bc; font: 9px Consolas, monospace; letter-spacing: .13em; }
.project-ui { background: #10232e; width: 80%; max-width: 475px; min-height: 255px; border: 1px solid rgba(165, 222, 224, .22); border-radius: 11px; box-shadow: 0 25px 70px rgba(0, 0, 0, .38); transform: rotate(-4deg) translate(14px, -2px); overflow: hidden; }
.project-ui-top { display: flex; height: 37px; padding: 0 15px; align-items: center; justify-content: space-between; background: #0c1822; color: #a8c2c4; font: 10px Consolas, monospace; border-bottom: 1px solid rgba(161, 217, 212, .1); }
.ui-logo { letter-spacing: -.03em; font-weight: 700; }
.ui-logo > span:first-child { color: #a3f3cd; font-size: 17px; }
.ui-logo .muted { color: #6e858e; }
.ui-indicators { color: #677c85; letter-spacing: 4px; }
.project-ui-body { display: grid; grid-template-columns: 52px 1fr; min-height: 218px; }
.project-ui-sidebar { border-right: 1px solid rgba(166, 211, 213, .12); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 25px; }
.project-ui-sidebar i { width: 14px; height: 7px; background: #4b7077; border-radius: 3px; }
.project-ui-sidebar i:first-child { background: #a3f3cd; }
.project-ui-content { padding: 22px 22px 14px; }
.project-ui-content > span { color: #9eb1b8; font: 9px Consolas, monospace; letter-spacing: .16em; }
.ui-bars { height: 110px; display: flex; align-items: flex-end; gap: 13px; border-bottom: 1px solid #47646b; padding-bottom: 10px; }
.ui-bars i { flex: 1; max-width: 33px; background: linear-gradient(#8de4bb, #326c7a); border-radius: 3px 3px 0 0; opacity: .86; }
.ui-bars i:nth-child(1) { height: 32%; }.ui-bars i:nth-child(2) { height: 61%; }.ui-bars i:nth-child(3) { height: 44%; }.ui-bars i:nth-child(4) { height: 80%; }.ui-bars i:nth-child(5) { height: 66%; }.ui-bars i:nth-child(6) { height: 94%; }.ui-bars i:nth-child(7) { height: 75%; }
.ui-minicards { display: flex; gap: 9px; margin-top: 11px; }.ui-minicards b { height: 25px; flex: 1; background: #1c3a44; border: 1px solid #31555b; border-radius: 4px; }
.project-content { padding: 30px 31px; display: flex; flex-direction: column; }
.project-card--main .project-content { padding: 38px 39px; justify-content: center; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 710; color: var(--accent); letter-spacing: .12em; }
.project-meta > span:last-child { font-size: 20px; font-weight: 400; color: var(--muted-2); }
.project-content h3 { margin: 16px 0 11px; font-size: 28px; font-weight: 700; }
.project-card--main .project-content h3 { font-size: 36px; }
.project-content p { color: var(--muted); font-size: 14px; line-height: 1.83; margin-bottom: 25px; }
.project-bottom { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: end; }
.project-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.project-pills span { color: var(--muted-2); font-size: 10px; border: 1px solid var(--border); padding: 6px 8px; border-radius: 4px; }
.project-bottom > a { color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.project-bottom > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.uwb-grid { width: 100%; max-width: 460px; height: 210px; position: relative; }
.uwb-node { position: absolute; z-index: 2; top: 31px; width: 16px; height: 16px; background: #8ddfc9; border: 4px solid #163843; border-radius: 50%; box-shadow: 0 0 0 6px rgba(136, 216, 203, .14); }
.node-a { left: calc(19.56% - 8px); }.node-b { left: calc(80.43% - 8px); }
.uwb-device { position: absolute; z-index: 2; left: calc(50% - 14px); top: 138px; width: 28px; height: 28px; border: 1px solid #a9f1dd; transform: rotate(45deg); border-radius: 5px; background: #1d565b; box-shadow: 0 0 0 6px rgba(132, 242, 195, .08); }
.uwb-device i { position: absolute; width: 8px; height: 8px; left: 9px; top: 9px; border-radius: 50%; background: #c6fbe9; }
.uwb-svg { position: absolute; inset: 0; width: 100%; height: 100%; color: #80cfe0; }
.uwb-tag { position: absolute; z-index: 3; color: #b1dadd; font: 9px Consolas, monospace; letter-spacing: .05em; }
.tag-a { top: 5px; left: 13%; }.tag-b { top: 5px; right: 12%; }.tag-center { top: 173px; left: 50%; transform: translateX(-50%); color: #a4f3d3; white-space: nowrap; }
.video-panel { width: min(80%, 400px); height: 187px; background: rgba(9, 24, 37, .89); border: 1px solid rgba(161, 200, 235, .28); border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .23); overflow: hidden; transform: rotate(2deg); }
.video-header { height: 30px; border-bottom: 1px solid rgba(150, 187, 216, .18); display: flex; padding: 0 12px; justify-content: space-between; align-items: center; color: #acc5d4; font: 9px Consolas, monospace; letter-spacing: .06em; }
.video-header i { display: inline-block; width: 5px; height: 5px; background: #a5efca; border-radius: 50%; }
.video-main { height: 121px; display: flex; justify-content: center; align-items: center; position: relative; background-image: radial-gradient(ellipse at 45% 50%, rgba(80, 137, 170, .25), transparent 60%), repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(255, 255, 255, .018) 6px); }
.tracking-rect { width: 100px; height: 75px; position: relative; display: grid; place-items: center; }
.tracking-corner { position: absolute; width: 13px; height: 13px; border-color: #9af2cc; border-style: solid; }
.corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }.corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }.corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }.corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.tracking-rect > span { font: 7px Consolas, monospace; color: #c1dede; white-space: nowrap; }
.video-wave { display: flex; position: absolute; align-items: center; gap: 6px; height: 50px; right: 19px; bottom: 14px; }
.video-wave i { width: 2px; border-radius: 2px; background: #739bbc; height: 15px; }
.video-wave i:nth-child(2n) { height: 25px; }.video-wave i:nth-child(3n) { height: 40px; }.video-wave i:nth-child(4n) { height: 18px; }
.video-footer { display: flex; justify-content: space-between; padding: 7px 12px; color: #84a1b6; font: 9px Consolas, monospace; }
.project-note { color: var(--muted-2); font-size: 11px; line-height: 1.6; margin-top: 18px; }
.education-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.education-cards { display: flex; flex-direction: column; gap: 15px; }
.education-item { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; display: flex; gap: 18px; align-items: center; padding: 24px 26px; }
.education-icon { display: grid; flex: 0 0 47px; place-items: center; background: var(--hover); color: var(--accent); border-radius: 9px; height: 47px; font-size: 27px; }
.education-kicker { font-size: 10px; font-weight: 700; letter-spacing: .11em; color: var(--accent); margin-bottom: 7px; }
.education-item h3 { font-size: 18px; margin-bottom: 5px; letter-spacing: -.035em; font-weight: 690; }
.education-item p:last-child { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.contact-section { padding-top: 10px; padding-bottom: 90px; }
.contact-panel { border: 1px solid rgba(134, 227, 190, .24); border-radius: 17px; background: radial-gradient(ellipse at 85% 25%, rgba(62, 135, 116, .13), transparent 43%), linear-gradient(130deg, #10282a, #0d1c24 70%); padding: 57px 61px 27px; position: relative; overflow: hidden; isolation: isolate; }
.contact-decoration { position: absolute; z-index: -1; right: -35px; top: -135px; width: 490px; height: 490px; opacity: .23; }
.contact-decoration span { border: 1px solid #87dcb8; border-radius: 50%; position: absolute; inset: 15px; }.contact-decoration span:nth-child(2) { inset: 85px; }.contact-decoration span:nth-child(3) { inset: 155px; }
.contact-panel .section-index { color: #a3f3cd; }
.contact-content { display: grid; grid-template-columns: 1fr auto; gap: 65px; align-items: end; }
.contact-content h2 { color: #f2f9f6; max-width: 690px; font-size: clamp(36px, 4.2vw, 53px); margin: 0 0 18px; line-height: 1.2; }
.contact-content h2 em { font-style: normal; color: #a3f3cd; }
.contact-content p { color: #a8c2c1; font-size: 14px; line-height: 1.8; max-width: 470px; margin: 0; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; }
.button-contact { background: #a3f3cd; color: #0a211a; font-size: 14px; padding: 17px 23px; width: 100%; justify-content: space-between; gap: 36px; }
.button-contact:hover { background: #c0f8df; }
.contact-copy { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; border: 0; color: #b9d2cc; background: transparent; padding: 6px 0; cursor: pointer; font-size: 12px; width: 100%; }
.contact-copy:hover { color: #a3f3cd; }
.contact-footer { display: flex; gap: 12px; justify-content: space-between; margin-top: 65px; padding-top: 18px; border-top: 1px solid rgba(169, 216, 209, .16); font: 10px Consolas, monospace; color: #91afac; letter-spacing: .07em; }
.contact-footer span span { color: #a3f3cd; }
.site-footer { padding-block: 27px; border-top: 1px solid var(--border); }
.footer-inner,.footer-left,.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-inner { justify-content: space-between; }
.footer-brand { font-size: 22px; font-weight: 820; letter-spacing: -.1em; }.footer-brand span { color: var(--accent); }
.footer-left > span { font-size: 11px; color: var(--muted-2); }
.footer-links { gap: 24px; }
.footer-links a { color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--accent); }
.toast { position: fixed; z-index: 100; bottom: 28px; left: 50%; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--accent); color: var(--accent-ink); padding: 11px 17px; border-radius: 8px; font-size: 13px; font-weight: 650; box-shadow: var(--shadow); transition: opacity .2s, transform .2s; }
.toast--visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js-motion .reveal:not(.is-visible) { opacity: 0; transform: translateY(15px); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
/* Legal / informational pages */
.legal-main { min-height: calc(100vh - 180px); padding-block: 92px 130px; }
.legal-panel { max-width: 790px; margin: 0 auto; background: var(--surface); padding: 52px; border-radius: 13px; border: 1px solid var(--border); }
.legal-panel h1 { font-size: clamp(36px, 5vw, 54px); white-space: normal; margin-bottom: 23px; }
.legal-panel h2 { font-size: 22px; margin: 34px 0 10px; }
.legal-panel p,.legal-panel li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.legal-panel a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-warning { border: 1px solid rgba(242, 191, 117, .44); background: rgba(242, 191, 117, .08); padding: 17px; border-radius: 8px; color: var(--text) !important; }
.legal-detail { background: var(--hover); border: 1px dashed var(--border-strong); padding: 17px 22px; border-radius: 8px; }
@media (max-width: 1180px) {
  .container { width: min(var(--max), calc(100% - 64px)); }
  .desktop-nav { gap: 20px; }
  .hero-layout { gap: 27px; }
  h1 { font-size: clamp(41px, 4.9vw, 63px); }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .visual-body { padding: 21px 20px 16px; }
  .floating-tag--top { right: -12px; }.floating-tag--bottom { left: -12px; }
  .discipline-items { gap: 17px; }
  .discipline-items > span { font-size: 12px; }
  .heading-two-col { gap: 54px; }
  .timeline-item { grid-template-columns: 210px 1fr; }
  .timeline-footer { padding-left: 236px; }
}
@media (max-width: 960px) {
  .hero { padding-top: 88px; }
  .hero-layout { grid-template-columns: 1fr; gap: 49px; }
  .hero-copy { max-width: 720px; }
  h1 { font-size: clamp(51px, 6.9vw, 74px); }
  .hero-visual { width: min(100%, 560px); margin: auto; }
  .hero-bottom { margin-top: 20px; }
  .discipline-inner { flex-direction: column; align-items: flex-start; padding-block: 20px; gap: 14px; }
  .discipline-items { row-gap: 7px; }
  .section-pad { padding-block: 95px; }
  .contact-section { padding-top: 20px; }
  .education-layout { gap: 35px; }
  .timeline-item { grid-template-columns: 175px 1fr; gap: 15px; }
  .timeline-footer { padding-left: 190px; }
}
@media (max-width: 840px) {
  .header-inner { height: 75px; }
  .desktop-nav { display: none; }
  .menu-button { border: 1px solid var(--border); border-radius: 8px; background: transparent; width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
  .menu-button span { display: block; width: 19px; height: 1.7px; background: var(--text); transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(6.7px) rotate(45deg); }.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-6.7px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; padding: 8px 32px 24px; border-top: 1px solid var(--border); background: var(--page); }
  .mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; }
  .mobile-nav a:hover { color: var(--accent); }
  .heading-two-col,.education-layout { grid-template-columns: 1fr; gap: 25px; }
  .expertise-heading { flex-direction: column; align-items: flex-start; }
  .expertise-heading .section-intro { max-width: 570px; }
  .values-grid { gap: 12px; }
  .value-card { padding: 20px; }
  .value-card h3 { font-size: 18px; }
  .contact-content { grid-template-columns: 1fr; gap: 25px; }
  .contact-actions { max-width: 280px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 660px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
  .section-pad { padding-block: 76px; }
  .hero { padding-top: 66px; padding-bottom: 23px; }
  .header-inner { gap: 8px; }
  .header-cta { display: none; }
  .header-actions { gap: 9px; }
  .brand { gap: 9px; }
  .brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
  .hero-overline { margin-top: 25px; font-size: 16px; }
  .eyebrow { letter-spacing: .08em; font-size: 8px; gap: 8px; }
  .eyebrow-line { width: 15px; }
  h1 { font-size: clamp(37px, 9.2vw, 60px); white-space: normal; }
  .hero-lead { font-size: 15px; line-height: 1.8; }
  .hero-buttons { align-items: stretch; }
  .hero-buttons .button { flex: 1 0 190px; gap: 10px; }
  .hero-location { margin-top: 27px; }
  .hero-location-divider { margin: 0 5px; }
  .hero-visual { padding: 10px 0 32px; }
  .visual-halo { width: 100%; height: auto; aspect-ratio: 1; }
  .page-orb--two { display: none; }
  .visual-card { transform: none; }
  .floating-tag { font-size: 8px; }
  .floating-tag--top { right: -8px; top: -12px; }.floating-tag--bottom { left: -7px; bottom: 16px; }
  .visual-heading h2 { font-size: 19px; }.flow-status { font-size: 8px; }
  .hero-bottom { margin-top: 11px; }
  .discipline-label { font-size: 9px; }
  .discipline-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 16px; width: 100%; }
  .discipline-items > span { white-space: normal; font-size: 11px; }
  .section-index { margin-bottom: 16px; font-size: 10px; }
  .section-heading h2,.education-layout h2 { font-size: clamp(34px, 8vw, 47px); }
  .section-intro { font-size: 16px; }
  .values-grid { grid-template-columns: 1fr; margin-top: 35px; }
  .value-card { min-height: 0; padding: 20px 23px 23px; }
  .value-icon { margin: 16px 0 12px; }
  .expertise-grid { grid-template-columns: 1fr; margin-top: 35px; gap: 13px; }
  .expertise-card { min-height: 0; padding: 27px 24px 28px; }
  .expertise-card-top { margin-bottom: 21px; }.expertise-card h3 { font-size: 22px; }
  .timeline { margin-top: 30px; }
  .timeline-item { display: block; padding-left: 23px; border-left: 1px solid var(--border-strong); margin-left: 5px; }
  .timeline-item:not(:last-child) .timeline-date::before { display: none; }
  .timeline-date { padding: 0; font-size: 11px; }
  .timeline-dot { left: -29px; top: 5px; }
  .timeline-main { padding: 15px 0 32px; }
  .timeline-item--featured .timeline-main { margin: 15px 0 24px; padding: 22px 19px; }
  .timeline-main h3 { font-size: 25px; }
  .timeline-label { font-size: 8px; white-space: normal; text-align: center; }
  .timeline-desc { font-size: 13px; }.timeline-bullets { font-size: 12px; }
  .timeline-footer { padding-left: 28px; flex-direction: column; align-items: flex-start; gap: 8px; }.timeline-footer p { text-align: left; }
  .projects-grid { grid-template-columns: 1fr; margin-top: 34px; gap: 15px; }
  .project-card--main { grid-column: auto; grid-template-columns: 1fr; }
  .project-art--neaforge { height: 280px; border-right: 0; border-bottom: 1px solid var(--border); }
  .project-art { height: 235px; }
  .project-card--main .project-content,.project-content { padding: 26px 24px; }
  .project-content h3,.project-card--main .project-content h3 { font-size: 28px; }
  .project-ui { width: 76%; min-height: 215px; }
  .project-ui-body { min-height: 178px; }.ui-bars { height: 85px; }
  .education-cards { gap: 12px; }
  .contact-section { padding-top: 0; padding-bottom: 68px; }
  .contact-panel { padding: 33px 25px 21px; }
  .contact-content h2 { font-size: 38px; }
  .contact-footer { gap: 16px; flex-wrap: wrap; margin-top: 38px; font-size: 9px; }
  .footer-links { gap: 14px; flex-wrap: wrap; }.footer-left { flex-wrap: wrap; gap: 12px; }
  .legal-main { padding-block: 38px 85px; }.legal-panel { padding: 29px 24px; }
}
@media (max-width: 385px) {
  .header-actions { gap: 7px; }
  .brand-name strong { font-size: 14px; }
  .brand-name small { font-size: 8px; }
  .hero-stack { gap: 6px; }.hero-stack span { font-size: 10px; }
  .visual-body { padding: 18px 13px 14px; }.architecture-card { padding: 10px; gap: 8px; }.architecture-symbol { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
  .architecture-text strong { font-size: 11px; }.architecture-text span { font-size: 9px; }.architecture-text small { font-size: 8px; }
  .visual-heading h2 { font-size: 17px; }.flow-status { font-size: 7px; }
  .contact-content h2 { font-size: 33px; }
  .education-item { padding: 19px 16px; gap: 11px; }.education-item h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Legal pages — dedicated typography and clear information architecture. */
.legal-page { min-height: 100vh; }
.legal-main--upgraded { position: relative; min-height: calc(100vh - 180px); padding-top: 50px; padding-bottom: 130px; }
.legal-breadcrumb { display: flex; align-items: center; gap: 13px; color: var(--muted-2); font-size: 12px; margin-bottom: 70px; }
.legal-breadcrumb a { color: var(--muted); transition: color .2s; }
.legal-breadcrumb a:hover { color: var(--accent); }
.legal-breadcrumb span[aria-current] { color: var(--text); }
.legal-lead { max-width: 850px; margin-bottom: 66px; }
.legal-lead h1 { font-size: clamp(48px, 7vw, 94px); line-height: 1.05; letter-spacing: -.066em; margin: 18px 0 25px; overflow-wrap: anywhere; }
.legal-lead h1 span { color: var(--accent); }
.legal-lead > p:last-child { margin: 0; max-width: 700px; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.8; }
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5.2vw, 88px); align-items: start; }
.legal-aside { position: sticky; top: 115px; display: grid; gap: 24px; }
.legal-toc { border: 1px solid var(--border); padding: 26px 22px 20px; border-radius: 14px; background: var(--surface); display: grid; gap: 2px; }
.legal-toc-label { margin: 0 10px 18px; font: 600 10px/1.4 Consolas, 'Courier New', monospace; letter-spacing: .15em; color: var(--muted-2); }
.legal-toc a { display: flex; gap: 12px; align-items: center; padding: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); border-radius: 7px; transition: color .2s, background .2s; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--accent); background: var(--hover); }
.legal-toc a span { color: var(--accent); opacity: .75; font: 11px Consolas,'Courier New',monospace; }
.legal-aside-note { display: flex; align-items: flex-start; gap: 13px; padding: 20px 21px; border: 1px solid var(--border); background: var(--hover); border-radius: 11px; }
.legal-aside-note .status-pulse { margin-top: 5px; flex: 0 0 auto; }
.legal-aside-note > div { display: grid; gap: 6px; }
.legal-aside-note strong { font-size: 11px; color: var(--text); }
.legal-aside-note div span { color: var(--muted-2); font-size: 11px; line-height: 1.6; }
.legal-article { min-width: 0; }
.legal-section { padding: 0 0 52px; margin-bottom: 52px; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.legal-section-num { display: inline-block; font: 600 10px/1.4 Consolas, 'Courier New',monospace; color: var(--accent); letter-spacing: .13em; margin-bottom: 15px; }
.legal-section h2 { font-size: clamp(24px, 3vw, 33px); line-height: 1.25; letter-spacing: -.035em; margin: 0 0 22px; }
.legal-section p,.legal-section li { color: var(--muted); font-size: 14px; line-height: 1.92; margin: 0 0 19px; overflow-wrap: anywhere; }
.legal-section ul { padding-left: 21px; margin: 0 0 19px; }
.legal-section li { padding-left: 3px; margin-bottom: 7px; }
.legal-section strong { color: var(--text); font-weight: 650; }
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.legal-section a:hover { text-decoration-thickness: 2px; }
.legal-section code { font-size: 12px; background: var(--hover); padding: 3px 6px; border-radius: 4px; color: var(--text); }
.legal-info-card { border: 1px solid var(--border-strong); background: var(--surface); padding: 28px; border-radius: 13px; margin: 26px 0; }
.legal-info-head { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.legal-info-icon { flex: 0 0 auto; width: 50px; height: 50px; border: 1px solid var(--border-strong); background: var(--hover); border-radius: 11px; color: var(--accent); display: grid; place-items: center; font-weight: 800; letter-spacing: -.04em; }
.legal-info-head > div { display: grid; gap: 6px; }
.legal-info-head strong { font-size: 16px; letter-spacing: -.02em; }
.legal-info-head small { font-size: 11px; color: var(--muted); }
.legal-info-card address { color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.95; }
.legal-info-card p { margin: 18px 0 0; }
.legal-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 25px 0; }
.legal-contact-card { position: relative; display: grid; align-content: start; gap: 13px; padding: 21px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 11px; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.legal-contact-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.legal-contact-card > span:first-child { color: var(--muted-2); font: 10px Consolas,'Courier New',monospace; letter-spacing: .11em; }
.legal-contact-card strong { color: var(--text); font-size: clamp(11px,1.1vw,14px); overflow-wrap: anywhere; }
.legal-contact-arrow { position: absolute; right: 16px; top: 13px; color: var(--accent); }
.legal-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 25px 0 26px; }
.legal-feature-grid > div { padding: 23px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }
.legal-feature-sign { color: var(--accent); font-size: 21px; line-height: 1; }
.legal-feature-grid strong { font-size: 13px; }
.legal-feature-grid small { color: var(--muted); font-size: 12px; line-height: 1.75; }
.legal-emphasis { margin: 24px 0 26px; border-left: 3px solid var(--accent); background: var(--hover); padding: 20px 22px 8px; border-radius: 0 9px 9px 0; }
.legal-emphasis strong { font-size: 14px; }
.legal-emphasis p { margin-top: 10px; }
.legal-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 3px; }
.legal-end > span { color: var(--muted-2); font: 10px Consolas,'Courier New',monospace; letter-spacing: .12em; }
.legal-end a { font-size: 13px; font-weight: 650; color: var(--accent); }
@media(max-width: 1060px) { .legal-layout { grid-template-columns: 230px minmax(0,1fr); gap: 33px; } .legal-toc { padding: 20px 14px; } }
@media(max-width: 800px) { .legal-main--upgraded { padding-top: 30px; padding-bottom: 85px; } .legal-breadcrumb { margin-bottom: 40px; } .legal-lead { margin-bottom: 38px; } .legal-layout { display: block; } .legal-aside { position: static; margin-bottom: 45px; } .legal-toc { display: none; } .legal-aside-note { max-width: 390px; } .legal-section { padding-bottom: 37px; margin-bottom: 38px; } }
@media(max-width: 540px) { .legal-main--upgraded { padding-top: 23px; } .legal-lead h1 { font-size: clamp(43px,11vw,60px); } .legal-contact-grid,.legal-feature-grid { grid-template-columns: 1fr; } .legal-info-card { padding: 22px; } .legal-section p,.legal-section li { font-size: 13px; } .legal-aside-note { padding: 16px 18px; } }

.legal-lead h1 span.legal-title-break { color: inherit; }
@media(max-width: 540px) { .legal-lead h1 .legal-title-break { display: block; } }
