@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #17212a;
  --paper: #f2f6f7;
  --muted: #707c81;
  --line: #dae3e6;
  --cyan: #57d7f5;
  --green: #236d87;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #28bce5; outline-offset: 4px; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: absolute; z-index: 2; top: 0; right: 0; left: 0; color: #f4f3ed; }
.header-inner, .main-nav, .brand { display: flex; align-items: center; }
.header-inner { min-height: 78px; justify-content: space-between; border-bottom: 1px solid #ffffff20; }
.brand { gap: 10px; color: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #ffffff62; border-radius: 50%; font-size: 1rem; letter-spacing: -.08em; }
.brand-mark span { color: var(--cyan); }
.brand-light { margin-left: 4px; color: #a8a99f; font-weight: 500; }
.main-nav { gap: 32px; font-size: .83rem; }
.main-nav a { color: #d0d0c9; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: var(--cyan); }
.main-nav .nav-contact { padding: 8px 13px; border: 1px solid #ffffff42; border-radius: 3px; color: #fff; }
.nav-contact span { margin-left: 6px; color: var(--cyan); }
.main-nav .language-toggle { min-width: 39px; padding: 6px 8px; border: 1px solid #57d7f588; border-radius: 3px; background: #57d7f510; color: var(--cyan); cursor: pointer; font: 500 .7rem var(--mono); transition: background .2s ease, color .2s ease; }
.main-nav .language-toggle:hover { background: var(--cyan); color: #10212a; }
.main-nav .language-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* Os quatro idiomas ficam num grupo so: o nav da 32px entre itens, mas as opcoes
   entre si precisam de um vao proprio, senao o grupo inteiro parece um so botao. */
.language-switch { display: inline-flex; gap: 5px; }
.main-nav .language-toggle[aria-pressed="true"] { border-color: var(--cyan); background: var(--cyan); color: #10212a; }
.hero { position: relative; overflow: hidden; min-height: 645px; padding: 146px 0 0; background: #111820; color: #f4f3ed; }
.hero::after { position: absolute; inset: 0; background: radial-gradient(ellipse at 72% 43%, #38c9ef20, transparent 40%); content: ""; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 55%, #000); opacity: .5; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 38px; min-height: 405px; }
.eyebrow { margin: 0; color: var(--cyan); font: 500 .7rem/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px #57d7f588; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(3.5rem, 7.3vw, 6rem); font-weight: 600; letter-spacing: -.075em; line-height: .98; }
.hero h1 span { color: var(--cyan); }
.hero-description { max-width: 420px; margin-bottom: 29px; color: #b7b8ad; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 14px; padding: 10px 16px; border: 1px solid transparent; border-radius: 3px; font-size: .83rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: #10212a; }
.button-primary:hover { background: #86e8fa; }
.text-link { color: #d6d6ce; font-size: .82rem; text-decoration: none; }
.text-link span { margin-left: 5px; color: var(--cyan); }
.hero-art { position: relative; display: grid; min-height: 380px; place-items: center; }
.art-orbit { position: absolute; width: 310px; height: 310px; border: 1px solid #57d7f526; border-radius: 50%; }
.orbit-two { width: 390px; height: 390px; border-color: #ffffff12; }
.art-card { position: relative; z-index: 1; width: min(100%, 350px); padding: 19px 20px 14px; border: 1px solid #ffffff2c; border-radius: 4px; background: #1a1c17ed; box-shadow: 0 24px 80px #0008; transform: rotate(2deg); }
.art-card-label, .art-card-footer { display: flex; justify-content: space-between; color: #909188; font: .65rem var(--mono); letter-spacing: .06em; }
.art-card-label span { color: #f18472; }
.art-terminal { padding: 29px 0 30px; font: .75rem/2.2 var(--mono); }
.art-terminal p { margin: 0; color: #dadbd0; }
.art-terminal p > span:first-child { margin-right: 14px; color: #73766b; }
.terminal-ok { color: var(--cyan); }
.art-terminal .terminal-result { padding-top: 7px; color: var(--cyan); }
.terminal-arrow { margin-right: 7px; }
.cursor { display: inline-block; width: 6px; height: 12px; margin-left: 5px; background: var(--cyan); vertical-align: -2px; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.art-card-footer { padding-top: 12px; border-top: 1px solid #ffffff20; font-size: .57rem; }
.art-sticker { position: absolute; z-index: 1; right: -3px; bottom: 31px; display: grid; width: 102px; height: 102px; align-content: center; justify-items: center; border: 1px solid #111820; border-radius: 50%; background: var(--cyan); color: var(--ink); font-size: .7rem; line-height: 1.4; text-align: center; transform: rotate(10deg); }
.art-sticker strong { font-size: .75rem; }
.art-spark { position: absolute; color: var(--cyan); }
.spark-one { top: 31px; right: 55px; font-size: 2rem; }
.spark-two { bottom: 67px; left: 17px; font-size: 1.8rem; }
.art-coordinate { position: absolute; top: 12px; left: -5px; color: #77796d; font: .57rem var(--mono); }
.hero-bottom { position: relative; z-index: 1; display: flex; min-height: 65px; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff22; color: #888a80; font: .6rem var(--mono); letter-spacing: .08em; }
.hero-bottom a { color: #c3c4ba; text-decoration: none; }
.hero-bottom a span { margin-left: 8px; color: var(--cyan); }
.section-pad { padding: 105px 0; }
.projects { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 37px; }
.eyebrow-dark { color: #247c98; }
h2 { margin: 10px 0 0; font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.1; }
.heading-period { color: #229ac0; }
.section-intro { max-width: 345px; margin: 0 0 5px; color: var(--muted); font-size: .9rem; }
.project-grid { display: flex; flex-wrap: wrap; gap: 0; }
.project-card[hidden]{display:none!important}
.setlist-art{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px 48px;background:radial-gradient(circle at 72% 30%,#804826 0,transparent 30%),linear-gradient(135deg,#111820,#27363e 58%,#1d2029);color:#fff;text-decoration:none;text-align:center}.setlist-art::before{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 20px,#f4b84e18 21px 23px,transparent 24px 38px);content:""}.setlist-art-kicker,.setlist-art strong,.setlist-art small{position:relative;z-index:1}.setlist-art-kicker{font:.7rem var(--mono);letter-spacing:.12em;color:#f4b84e}.setlist-art strong{font-size:clamp(2.7rem,5vw,4.2rem);letter-spacing:-.08em;line-height:1.1;white-space:nowrap}.setlist-art strong span{color:#f4b84e}.setlist-art small{font:.78rem/1.3 var(--mono);color:#d0d7d7}
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fbfdfd; }
.project-image { position: relative; display: block; overflow: hidden; height: 250px; background: #252a20; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-stardew .project-image img { object-position: center 49%; }
.project-stardew .project-image-tag { top: 15px; bottom: auto; }
.project-fnaf .project-image { height: 250px; aspect-ratio: auto; background: #10151e; }
.project-fnaf .project-image img { object-fit: cover; object-position: 52% center; }
.project-fnaf .project-image::after, .project-fnaf .project-image-tag, .project-fnaf .image-arrow { display: revert; }
.project-image:hover img { transform: scale(1.04); }
.project-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #1118); content: ""; }
.project-image-tag { position: absolute; z-index: 1; bottom: 15px; left: 17px; padding: 5px 8px; background: #111820db; color: #f4f3ed; font: .58rem var(--mono); letter-spacing: .07em; }
.image-arrow { position: absolute; z-index: 1; top: 14px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ffffff8c; border-radius: 50%; background: #1118204a; color: white; }
.project-content { padding: 21px 21px 18px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #85867d; font: .58rem var(--mono); letter-spacing: .04em; }
.project-status { display: inline-flex; align-items: center; gap: 6px; }
.project-status .status-indicator { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; }
.status-progress .status-indicator { background: #d49c38; }
.status-active .status-indicator { background: #71944a; }
.project-content h3 { margin: 17px 0 9px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.05em; }
.project-content h3 span { color: #74756c; font-size: 1rem; font-weight: 400; }
.project-content > p { min-height: 74px; margin-bottom: 17px; color: #717269; font-size: .83rem; line-height: 1.7; }
.project-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { padding: 4px 7px; border: 1px solid #e3e3d9; border-radius: 2px; color: #696b60; font: .58rem var(--mono); }
.project-link { color: #3d5129; font-size: .77rem; font-weight: 700; text-decoration: none; }
.project-link span { margin-left: 4px; }
.next-project { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 17px 20px; border: 1px dashed #c7c9bb; border-radius: 4px; color: #76786f; font-size: .78rem; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.next-project:hover { border-color: #879c59; background: #ffffff80; }
.next-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #d7d9cd; border-radius: 50%; color: #677b46; font-size: 1.1rem; }
.next-project strong { color: var(--ink); font-weight: 700; }
.next-arrow { margin-left: auto; color: #677b46; }
.about { background: #e8f0f2; }
.about-layout { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 90px; }
.about-visual { position: relative; display: grid; min-height: 370px; place-items: center; }
.about-circle { position: absolute; width: 270px; height: 270px; border-radius: 50%; }
.circle-back { border: 1px solid #75835c66; transform: translate(23px, -15px); }
.circle-front { overflow: hidden; display: flex; align-items: center; justify-content: center; border: 4px solid #f2f6f7; background: #20b8e3; box-shadow: 0 0 0 1px #50cce7; }
.profile-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-orbit-label { position: absolute; top: 20px; left: 0; color: #7c826f; font: .59rem var(--mono); letter-spacing: .04em; transform: rotate(-9deg); }
.about-cross { position: absolute; right: 23px; bottom: 17px; color: #2486a4; font-size: 2rem; }
.about-copy h2 { margin: 14px 0 19px; }
.about-copy > p:not(.eyebrow) { color: #73746b; font-size: .87rem; }
.about-copy .about-lead { color: #3e4038 !important; font-size: 1.03rem !important; font-weight: 600; }
.about-interests { display: flex; flex-wrap: wrap; align-items: start; gap: 12px 24px; margin-top: 25px; padding-top: 17px; border-top: 1px solid #d0d1c5; }
.about-interests > span { color: #77796f; font: .6rem var(--mono); letter-spacing: .06em; }
.about-interests div { display: flex; flex-wrap: wrap; gap: 7px; }
.about-interests b { padding: 4px 8px; border: 1px solid #cdd0c2; border-radius: 2px; color: #515448; font-size: .65rem; font-weight: 500; }
.connect { background: #171813; color: #f4f3ed; }
.connect-inner { max-width: 720px; }
.connect h2 { margin-top: 16px; font-size: clamp(2.25rem, 5.4vw, 4.2rem); }
.connect h2 > span { color: var(--cyan); }
.connect-copy { margin: 17px 0 31px; color: #a9aaa0; font-size: .9rem; }
.social-links { border-top: 1px solid #ffffff2a; }
.social-links a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 2px; border-bottom: 1px solid #ffffff2a; color: #bdbeb5; font-size: .8rem; text-decoration: none; transition: color .2s ease, padding .2s ease; }
.social-links a:hover { padding-inline: 7px; color: var(--cyan); }
.social-links a > span:first-child { color: #f4f3ed; font-weight: 600; }
.social-links b { margin-left: 8px; color: var(--cyan); font-weight: 400; }
.site-footer { background: #111820; color: #87929b; }
.footer-inner { display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 20px; font: .55rem var(--mono); letter-spacing: .05em; }
.footer-brand { color: #f4f3ed; font-family: var(--sans); font-size: .68rem; }
.footer-brand .brand-mark { width: 29px; height: 29px; }
.footer-views { display: flex; align-items: center; }
.footer-views img { display: block; }
.footer-inner > a:last-child { color: #bfc0b6; text-decoration: none; }
.footer-feedback { color: var(--cyan); text-decoration: none; }
.footer-feedback:hover { text-decoration: underline; }
.feedback-invite { margin: 26px 0 0; color: #9b9c93; font-size: .82rem; }
.feedback-invite a { color: var(--cyan); font-weight: 600; text-underline-offset: 4px; }

.auth-demo { max-width: 500px; justify-self: end; width: 100%; padding: 27px; border: 1px solid #e1e7e9; border-radius: 13px; background: #fff; box-shadow: 0 18px 42px #15232b14; }
.auth-demo-heading { margin-bottom: 20px; text-align: center; }
.auth-demo-icon { display: grid; width: 38px; height: 38px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: #3d82f6; color: #fff; font-size: 1.1rem; }
.auth-demo-heading strong { display: block; font-size: 1.1rem; }
.auth-demo-heading span { color: #737b83; font-size: .76rem; }
.auth-demo-field { margin-top: 13px; }
.auth-demo-field > span { display: block; margin-bottom: 5px; color: #35414a; font-size: .68rem; font-weight: 600; }
.auth-demo-input { display: flex; min-height: 40px; align-items: center; justify-content: space-between; padding: 0 11px; border: 1px solid #e0e5e9; border-radius: 6px; background: #f8fafb; color: #52606a; font-size: .76rem; }
.auth-demo-input.is-placeholder { background: #eaf1fd; }
.auth-demo-input small { color: #89949e; font-size: .65rem; }
.auth-demo-error { margin: 15px 0 0; color: #d74747; font-size: .72rem; }
.auth-demo-explanation { margin: 8px 0 0; color: #697780; font-size: .68rem; line-height: 1.55; }
.auth-demo-button { display: block; margin-top: 18px; padding: 10px; border-radius: 6px; background: #3d82f6; color: #fff; font-size: .76rem; font-weight: 700; text-align: center; }

/* OoT DSi project card */
.project-oot .project-image { height: auto; aspect-ratio: 2062 / 763; background: #0b1510; text-decoration: none; }
.project-oot .project-image::after, .project-oot .image-arrow { display: none; }
.project-oot .project-image-tag { top: 15px; bottom: auto; background: #0c1a13d9; color: #f1ead9; }
.project-oot .project-status .status-indicator { background: #d3b26a; }

@media (max-width: 800px) {
  .hero { min-height: auto; padding-top: 125px; }
  .hero-inner { grid-template-columns: 1fr .8fr; gap: 15px; }
  .hero h1 { font-size: clamp(3.1rem, 8vw, 4.7rem); }
  .art-orbit { width: 230px; height: 230px; }
  .orbit-two { width: 285px; height: 285px; }
  .art-card { padding-inline: 15px; }
  .about-layout { gap: 45px; }
  .project-image { height: 205px; }
  .project-content { padding: 17px; }
  /* Entre 621 e 800px os quatro idiomas nao cabem numa linha: sem isto o flex aperta
     os links e quebra o texto dentro do rotulo. Descer a linha inteira e mais limpo. */
  .main-nav { flex-wrap: wrap; row-gap: 8px; }
  .main-nav a { white-space: nowrap; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 20px; }
  .container { width: min(100% - 36px, 460px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 7px; padding: 10px 0; }
  .brand { gap: 7px; font-size: .66rem; }
  .brand-mark { width: 30px; height: 30px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 6px; font-size: .7rem; }
  /* Quatro idiomas no nav: em 320px a linha nao cabe e o flex comecava a
     achatar os rotulos. Melhor a linha inteira descer do que o texto quebrar. */
  .main-nav { flex-wrap: wrap; row-gap: 10px; justify-content: flex-start; }
  .main-nav a { white-space: nowrap; }
  .main-nav .nav-contact { padding: 5px 8px; }
  .main-nav .language-toggle { min-width: 28px; padding: 6px 4px; }
  .language-switch { gap: 3px; }
  .hero { padding-top: 115px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero h1 { font-size: clamp(3.35rem, 13vw, 5rem); }
  .hero-description { max-width: 350px; font-size: .95rem; }
  .hero-art { min-height: 300px; margin-top: 14px; }
  .art-card { width: min(85%, 340px); }
  .art-orbit { width: 240px; height: 240px; }
  .orbit-two { width: 300px; height: 300px; }
  .art-sticker { right: 1px; bottom: 22px; width: 85px; height: 85px; }
  .art-coordinate { top: 1px; left: 3px; }
  .hero-bottom { min-height: 57px; font-size: .51rem; }
  .section-pad { padding: 73px 0; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-intro { margin-top: 13px; }
  .project-grid { gap: 0; }
  .project-image { height: clamp(195px, 58vw, 270px); }
  .project-content > p { min-height: 0; }
  .next-project { padding: 14px 12px; font-size: .72rem; }
  .about-layout { grid-template-columns: 1fr; gap: 33px; }
  .about-visual { min-height: 285px; }
  .about-circle { width: 220px; height: 220px; }
  .about-caption { bottom: 29px; }
  .about-orbit-label { top: 4px; left: 7px; }
  .about-cross { right: 22px; bottom: 2px; }
  .connect h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .auth-demo { justify-self: stretch; padding: 22px; }
  .footer-inner { min-height: 85px; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; padding-block: 16px; }
  .footer-inner > span { order: 1; width: 100%; font-size: .5rem; }
  .footer-brand { order: 0; }
  .footer-inner > a:last-child { order: 0; }
}

@media (max-width: 370px) {
  .container { width: calc(100% - 28px); }
  .brand { font-size: .59rem; }
  .hero-actions { flex-wrap: wrap; gap: 15px; }
  .project-meta { font-size: .51rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* TechStore: portfolio project cover */
.project-techstore .project-image { background: #0c1424; }
.techstore-art { display:flex; position:relative; flex-direction:column; align-items:center; justify-content:center; gap:10px; width:100%; min-height:260px; height:100%; overflow:hidden; background:radial-gradient(circle at 65% 25%,#ea580c55,transparent 46%),linear-gradient(135deg,#101827,#182940 70%,#0c1424); color:#fff; }
.techstore-art::before,.techstore-art::after { content:""; position:absolute; width:180px; height:180px; border:1px solid #ff822a44; border-radius:34px; transform:rotate(35deg); }
.techstore-art::before { top:-100px; right:-58px; }
.techstore-art::after { bottom:-128px; left:-55px; width:240px; height:240px; }
.techstore-art-icon { display:grid; place-items:center; width:70px; height:70px; border-radius:20px; background:linear-gradient(145deg,#fb923c,#ea580c); font-size:2.2rem; box-shadow:0 18px 42px #ea580c55; }
.techstore-art-name { font-size:clamp(2.3rem,4vw,3.6rem); font-weight:800; line-height:1; letter-spacing:-.07em; }
.techstore-art-name span { color:#fb923c; }
.techstore-art-caption { color:#ffcfaa; font:600 .72rem var(--mono); letter-spacing:.25em; }
@media(max-width:600px) { .techstore-art { min-height:210px; } }


/* Project category navigation */
.project-filter-bar[hidden],.project-grid .project-card[hidden]{display:none!important}
.project-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-8px 0 27px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.project-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.project-filter{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:9px 13px;border:1px solid var(--line);border-radius:5px;background:#fbfdfd;color:var(--ink);font:600 .83rem/1.3 var(--sans);cursor:pointer;transition:background .18s,color .18s,border-color .18s;white-space:nowrap}
.project-filter svg{flex:none;color:var(--green)}
.project-filter:hover{border-color:var(--green);background:#e7f4f7}
.project-filter[aria-pressed="true"]{background:#17212a;border-color:#17212a;color:#f8fbfc}
.project-filter[aria-pressed="true"] svg{color:var(--cyan)}
.filter-count{font:500 .68rem/1.3 var(--mono);min-width:20px;text-align:center;padding:3px 5px;border-radius:3px;background:#e4edef;color:#51626b}
.project-filter[aria-pressed="true"] .filter-count{background:#31424b;color:var(--cyan)}
.project-filter:focus-visible{outline:3px solid #28bce5;outline-offset:3px}
.project-filter-summary{flex:none;margin:0;color:var(--muted);font:500 .75rem/1.5 var(--mono)}
@media(max-width:760px){.project-filter-bar{flex-direction:column;align-items:flex-start;gap:12px;margin:0 0 20px;padding-bottom:14px}.project-filters{width:100%;gap:7px}.project-filter{flex:1 1 calc(50% - 7px);justify-content:flex-start;padding:10px;min-width:0}.filter-count{margin-left:auto}}
@media(max-width:350px){.project-filter{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.project-filter{transition:none}}

/* Sponsored partner section before the biography */
.sponsor{background:#101d28;color:#f2f7fa}
.sponsor-heading{display:flex;align-items:center;gap:18px;margin-bottom:22px}
.sponsor-heading .eyebrow{color:#90cde0;margin:0}
.sponsor-accent{height:1px;background:linear-gradient(90deg,#66d9f7,transparent);flex:1}
.sponsor-card{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,64px);align-items:center;padding:clamp(26px,5vw,58px);border:1px solid #6dcde43d;border-radius:14px;background:radial-gradient(circle at 0 0,#267a9650,transparent 55%),#172c39;box-shadow:0 20px 48px #030d1625}
.sponsor-brand{display:flex;align-items:center;gap:18px;min-width:0}
.sponsor-mark{display:grid;place-items:center;flex:none;width:72px;height:72px;border:2px solid #6dd5eb;border-radius:16px;font:800 2.7rem var(--sans);color:#c9f3fa;background:#0c2737}
.sponsor-kicker{margin:0 0 8px;color:#87cfe0;font:600 .64rem var(--mono);letter-spacing:.15em}
.sponsor-brand h2{margin:0;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.055em;color:#fff;overflow-wrap:anywhere}
.sponsor-brand-subtitle{margin:10px 0 0;color:#a8c1ca;line-height:1.6;font-size:.9rem}
.sponsor-offer{border-left:1px solid #8bcee64d;padding-left:clamp(24px,4vw,48px)}
.sponsor-offer h3{margin:0 0 13px;color:#fff;font-size:clamp(1.25rem,2.2vw,1.75rem);line-height:1.3;letter-spacing:-.025em}
.sponsor-offer>p{line-height:1.65;color:#c5d7de;font-size:.92rem}
.sponsor-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:12px;padding:12px 22px;border-radius:5px;background:#8fe8f6;color:#0d2531!important;text-decoration:none;font:700 .85rem var(--sans);transition:transform .2s,background .2s}
.sponsor-cta:hover{background:#c7f5fc;transform:translateY(-2px)}
.sponsor-cta:focus-visible{outline:3px solid #fff;outline-offset:4px}
.sponsor-offer .sponsor-disclaimer{font-size:.7rem;color:#91abb8;margin:14px 0 0}
@media(max-width:760px){.sponsor-card{grid-template-columns:1fr}.sponsor-offer{border-left:0;border-top:1px solid #8bcee64d;padding-left:0;padding-top:24px}.sponsor-mark{width:58px;height:58px;font-size:2.1rem}.sponsor-cta{width:100%}}
@media(prefers-reduced-motion:reduce){.sponsor-cta{transition:none}.sponsor-cta:hover{transform:none}}

/* Ademicon brand artwork inside sponsor card */
.sponsor-logo{display:block;flex:none;width:112px;height:96px;object-fit:contain;border-radius:9px;background:#cf3026;box-shadow:0 8px 25px #030d162e}
@media(max-width:600px){.sponsor-logo{width:90px;height:80px}.sponsor-brand{gap:13px}}

/* Light Ademicon sponsorship card on the portfolio (2026-11-30) */
.sponsor{background:#f5f8f9;color:#17212a}
.sponsor-heading .eyebrow{color:#9b3632}
.sponsor-accent{background:linear-gradient(90deg,#bd4540,transparent)}
.sponsor-card{background:#fff;border-color:#dee6e8;box-shadow:0 14px 42px #19283014}
.sponsor-kicker{color:#a43b35}
.sponsor-brand h2{color:#17212a}
.sponsor-brand .heading-period{color:#bb3d34}
.sponsor-brand-subtitle{color:#53636d}
.sponsor-offer{border-left-color:#dae4e8}
.sponsor-offer h3{color:#202e36}
.sponsor-offer>p{color:#52626d}
.sponsor-cta{background:#ad2720;color:#fff!important}
.sponsor-cta:hover{background:#852017}
.sponsor-offer .sponsor-disclaimer{color:#647780}
@media(max-width:760px){.sponsor-offer{border-top-color:#dae4e8}}
