:root { color-scheme: dark; --bg:#0c1422; --surface:#131f30; --surface-alt:#101b2b; --text:#edf2f8; --muted:#a9b8cc; --line:#2c3b50; --accent:#fb923c; --accent-text:#151c28; --header:#0c1422f5; }
@media(prefers-color-scheme:light) { :root:not([data-theme="dark"]) { color-scheme:light; --bg:#f8fafc; --surface:#fff; --surface-alt:#edf2f7; --text:#162238; --muted:#465873; --line:#cbd5e1; --accent:#b74608; --accent-text:#fff; --header:#f8fafcf5; } }
:root[data-theme="light"] { color-scheme:light; --bg:#f8fafc; --surface:#fff; --surface-alt:#edf2f7; --text:#162238; --muted:#465873; --line:#cbd5e1; --accent:#b74608; --accent-text:#fff; --header:#f8fafcf5; }
* { box-sizing:border-box; } html { scroll-padding-top:155px; }
body { margin:0; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:var(--bg); color:var(--text); line-height:1.7; }
button,input,textarea { font:inherit; } a { color:inherit; text-decoration-thickness:1px; text-underline-offset:4px; } button,a { touch-action:manipulation; } button { cursor:pointer; }
:focus-visible { outline:3px solid var(--accent); outline-offset:5px; } [hidden] { display:none!important; } img { display:block; max-width:100%; height:auto; }
p { margin:0 0 1.25rem; color:var(--muted); } h1,h2,h3 { line-height:1.2; letter-spacing:-.035em; margin:0 0 1.3rem; text-wrap:balance; }
h1 { font-size:clamp(2.5rem,5.4vw,4.75rem); } h2 { font-size:clamp(1.9rem,3.3vw,2.8rem); } h3 { font-size:1.2rem; letter-spacing:-.015em; }
.container { width:min(1160px,calc(100% - 64px)); margin-inline:auto; } .section { padding-block:96px; }
.eyebrow { color:var(--accent); text-transform:uppercase; font-size:.73rem; font-weight:750; letter-spacing:.14em; margin-bottom:1.4rem; }
.section-heading { max-width:770px; margin-bottom:40px; } .section-heading h2 { margin-bottom:14px; } .section--tinted { background:var(--surface-alt); border-block:1px solid var(--line); }
.header { position:sticky; top:0; z-index:20; background:var(--header); backdrop-filter:blur(16px); border-bottom:1px solid var(--line); }
.header__inner { width:min(1280px,calc(100% - 64px)); margin:auto; display:flex; align-items:center; gap:32px; min-height:90px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:0; } .brand__mark { font-size:1.8rem; font-weight:800; letter-spacing:-.08em; } .brand__mark span { color:var(--accent); }
.brand__name { font-size:.87rem; font-weight:650; line-height:1.5; } .brand__name > span { display:block; font-size:.7rem; font-weight:400; color:var(--muted); }
.header__nav { order:1; margin-left:auto; display:flex; gap:25px; font-size:.83rem; } .header__nav a { text-decoration:none; color:var(--muted); padding-block:12px; white-space:nowrap; } .header__nav a:hover { color:var(--accent); }
.header__tools { order:2; display:flex; align-items:center; gap:12px; } .languages { display:flex; padding:3px; border:1px solid var(--line); border-radius:8px; }
.language-link { display:grid; place-items:center; min-width:38px; min-height:36px; font-size:.73rem; font-weight:700; text-decoration:none; color:var(--muted); border-radius:5px; } .language-link.active { color:var(--accent-text); background:var(--accent); }
.icon-button { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:8px; font-size:1.3rem; }
.skip-link { position:fixed; top:8px; left:8px; z-index:100; transform:translateY(-150%); padding:10px 18px; background:var(--accent); color:var(--accent-text); } .skip-link:focus { transform:translateY(0); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.hero { display:grid; grid-template-columns:1.35fr 1fr; align-items:center; gap:70px; padding-block:105px 95px; } .hero h1 { max-width:700px; } .hero__intro { max-width:640px; font-size:1.08rem; }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin:30px 0; } .btn { display:inline-flex; align-items:center; justify-content:center; gap:20px; padding:12px 22px; min-height:48px; border-radius:7px; font-size:.88rem; font-weight:650; border:1px solid transparent; text-decoration:none; }
.btn-primary { background:var(--accent); color:var(--accent-text); } .btn-secondary { background:transparent; color:var(--text); border-color:var(--line); } .btn:hover { filter:brightness(1.1); } .btn-secondary:hover { border-color:var(--accent); }
.hero__facts { display:flex; flex-wrap:wrap; gap:10px 22px; font-size:.75rem; color:var(--muted); } .hero__facts span:first-child { color:var(--text); font-weight:600; }
.architecture { border:1px solid var(--line); border-radius:14px; padding:24px; background:linear-gradient(150deg,var(--surface),var(--bg)); box-shadow:0 20px 60px #00000012; transform:rotate(-2deg); }
.architecture__top,.architecture__bottom { display:flex; justify-content:space-between; gap:12px; color:var(--muted); font-size:.65rem; } .architecture__top { padding-bottom:22px; border-bottom:1px solid var(--line); } .architecture__top span:first-child { color:var(--accent); }
.architecture__layer { display:flex; align-items:center; gap:14px; margin:15px 0; padding:18px 12px; background:var(--surface); border:1px solid var(--line); border-radius:7px; font-size:.85rem; } .architecture__layer > span:last-child { margin-left:auto; color:var(--accent); } .architecture__layer .number { font-size:.67rem; color:var(--muted); font-family:ui-monospace,monospace; } .architecture__bottom { padding-top:10px; }
.domain-strip { border-block:1px solid var(--line); } .domain-strip .container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; padding-block:20px; color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.16em; }
.projects__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; } .project-card { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface); display:flex; flex-direction:column; }
.project-card__preview { display:block; aspect-ratio:16/10; background:var(--surface-alt); border-bottom:1px solid var(--line); overflow:hidden; } .project-card__preview img { width:100%; height:100%; object-fit:cover; object-position:top; transition:transform .2s; } .project-card__preview:hover img { transform:scale(1.025); }
.project-card__body { padding:24px; flex:1; display:flex; flex-direction:column; } .project-card__body .eyebrow { font-size:.62rem; margin-bottom:12px; } .project-card h3 { font-size:1.13rem; } .project-card h3 a { text-decoration:none; } .project-card__body p:not(.eyebrow) { font-size:.86rem; }
.text-link { color:var(--accent); text-decoration:none; font-size:.85rem; font-weight:650; } .text-link:hover { text-decoration:underline; } .project-card .text-link { margin-top:auto; }
.project-card__graphic { height:100%; padding:26px; display:flex; flex-direction:column; justify-content:center; background:radial-gradient(ellipse at top right,#fb923c15,transparent 70%); } .project-card__graphic > span { color:var(--accent); font-family:ui-monospace,monospace; font-size:.8rem; margin-bottom:14px; } .project-card__graphic strong { font-size:1.5rem; letter-spacing:-.035em; } .project-card__graphic small { color:var(--muted); margin-top:10px; font-size:.7rem; }
.about__grid { display:grid; grid-template-columns:1.2fr 1fr; gap:65px; } .about__grid p { font-size:.95rem; } .skills-panel { padding:30px; border-radius:10px; border:1px solid var(--line); background:var(--surface); } .skills-panel h3:not(:first-child) { margin-top:32px; }
.skills-list { list-style:none; margin:0; padding:0; } .skills-list li { padding-block:12px; border-bottom:1px solid var(--line); font-size:.86rem; } .skills-list strong { display:block; font-size:.7rem; color:var(--accent); margin-bottom:4px; } .skills-list span { color:var(--muted); }
.check-list { list-style:none; padding:0; margin:0; color:var(--muted); font-size:.85rem; } .check-list li { padding-left:20px; position:relative; margin-bottom:10px; } .check-list li::before { content:'·'; color:var(--accent); position:absolute; left:1px; font-weight:900; }
details { border-top:1px solid var(--line); padding-block:20px; } summary { cursor:pointer; font-weight:650; } details p { margin-top:20px; }
.timeline { max-width:860px; margin-left:10px; border-left:1px solid var(--line); } .timeline__item { position:relative; padding:0 0 32px 34px; } .timeline__item:last-child { padding-bottom:0; } .timeline__item h3 { font-size:1.02rem; margin-bottom:12px; } .timeline__item p { font-size:.9rem; } .timeline__dot { width:9px; height:9px; background:var(--accent); border-radius:50%; position:absolute; left:-5px; top:5px; outline:6px solid var(--bg); }
.contact-panel { border:1px solid var(--line); border-radius:14px; background:var(--surface); padding:60px; } .contact-panel h2 { max-width:700px; } .contact-email { color:var(--text); font-size:clamp(1rem,2.5vw,1.65rem); overflow-wrap:anywhere; } .contact-panel .contact-hint,#copy-status { font-size:.8rem; }
.footer { border-top:1px solid var(--line); padding-block:28px; font-size:.72rem; } .footer .container { display:flex; justify-content:space-between; gap:15px; flex-wrap:wrap; } .footer p { margin:0; } .footer a { text-decoration:none; color:var(--muted); }
.project-hero { padding-block:50px 60px; } .project-hero > .eyebrow { margin-top:44px; } .project-hero h1 { max-width:900px; font-size:clamp(2.3rem,4.8vw,4.2rem); }
.tags { display:flex; flex-wrap:wrap; list-style:none; gap:8px; padding:0; margin-top:28px; } .tags li { font-size:.75rem; padding:6px 12px; border:1px solid var(--line); background:var(--surface); border-radius:5px; }
.project-overview { display:grid; grid-template-columns:1.25fr 1fr; gap:65px; padding-block:40px; border-top:1px solid var(--line); } .project-overview h2 { font-size:1.4rem; } .project-overview h2:not(:first-child) { margin-top:35px; } .scope-panel { padding:28px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; align-items:start; } .gallery__item { margin:0; border:1px solid var(--line); background:var(--surface); border-radius:10px; overflow:hidden; } .gallery__item img { width:100%; } .gallery__item figcaption { padding:18px 22px; color:var(--muted); font-size:.82rem; }
.project-end { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-block:30px 80px; }
@media(max-width:1100px) { .header__inner { flex-wrap:wrap; gap:0 24px; padding-block:14px; } .header__tools { margin-left:auto; order:0; } .header__nav { flex-basis:100%; margin:8px 0 0; justify-content:center; gap:28px; } .hero { gap:35px; } .projects__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) { .container,.header__inner { width:calc(100% - 40px); } .hero { grid-template-columns:1fr; padding-block:65px; gap:45px; } .hero h1 { max-width:550px; } .architecture { transform:none; max-width:520px; width:100%; } .section { padding-block:64px; } .about__grid,.project-overview { grid-template-columns:1fr; gap:30px; } .gallery { grid-template-columns:1fr; } .contact-panel { padding:32px 24px; } .header__nav { gap:18px; font-size:.75rem; justify-content:flex-start; overflow-x:auto; } .brand__name { font-size:.75rem; } .brand__mark { font-size:1.5rem; } .brand { gap:9px; } .header__tools { gap:6px; } .language-link { min-width:32px; } .icon-button { width:36px; } .domain-strip .container { font-size:.62rem; letter-spacing:.1em; gap:12px; } }
@media(max-width:480px) { .projects__grid { grid-template-columns:1fr; } .brand__name { max-width:160px; } .header__inner { gap:0 8px; } .hero .eyebrow { font-size:.65rem; } .skills-panel { padding:24px; } .project-card__preview { aspect-ratio:16/9; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; } }
@media(max-width:360px) { .brand__name { max-width:120px; font-size:.67rem; } .brand__name > span { font-size:.6rem; } .header__nav { flex-wrap:wrap; justify-content:center; gap:2px 18px; overflow:visible; } .header__nav a { padding-block:6px; } }
