:root {
  --bg: #07070b;
  --bg-2: #0d0d14;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .16);
  --text: #f4f4f7;
  --muted: #9a9aab;
  --dim: #6b6b7b;
  --a1: #8b5cf6;   /* violet */
  --a2: #22d3ee;   /* cyan */
  --a3: #f472b6;   /* pink */
  --grad: linear-gradient(110deg, var(--a1), var(--a2) 50%, var(--a3));
  --radius: 22px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--a1); color: #fff; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: float 22s var(--ease) infinite alternate; }
.orb-1 { width: 520px; height: 520px; background: var(--a1); top: -160px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: var(--a2); top: 30%; right: -160px; opacity: .25; animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; background: var(--a3); bottom: -160px; left: 30%; opacity: .2; animation-delay: -12s; }
@keyframes float { to { transform: translate3d(80px, 60px, 0) scale(1.15); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.noise { position: absolute; inset: -50%; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1100px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 16px; border-radius: 999px;
  background: rgba(12, 12, 18, .6); border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(12, 12, 18, .85); border-color: var(--border-2); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); font-size: 13px; font-weight: 700; color: #fff; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(2px); }
.btn svg { transition: transform .25s var(--ease); }
.btn-primary { background: var(--text); color: var(--bg); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
.btn-primary:hover { box-shadow: 0 10px 40px -8px rgba(139, 92, 246, .7); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Layout ---------- */
main { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 110px 0 20px; scroll-margin-top: 60px; }
.section-head { display: grid; gap: 10px; margin-bottom: 44px; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(36px, 6vw, 64px); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 60px; }
.status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(44px, 8.4vw, 104px); line-height: .98; }
.hero h1 em { color: #d7d1ff; }
.lead { max-width: 580px; margin: 28px 0 0; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 72px 0 0; max-width: 640px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stats div { padding: 20px 22px; background: var(--bg-2); display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: var(--dim); }
.stats dd { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -.04em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: 22px; font-weight: 500; color: var(--dim); white-space: nowrap; letter-spacing: -.02em; }
.marquee span::after { content: "✦"; margin-left: 48px; color: var(--a1); font-size: 14px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 8px 16px; border-radius: 999px; font-size: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Projects ---------- */
#work { width: min(1320px, calc(100vw - 32px)); margin-inline: calc((min(1100px, 100vw - 32px) - min(1320px, 100vw - 32px)) / 2); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (min-width: 1500px) { .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.project {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, opacity .35s, filter .35s;
}
.project::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(139, 92, 246, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.project:hover { border-color: var(--border-2); transform: translateY(-4px); }
.project:hover::before { opacity: 1; }
.project.is-hidden { display: none; }
.shot { position: relative; display: block; width: 100%; padding: 28px 0 0; cursor: zoom-in; border: 0; background: linear-gradient(160deg, #15151f, #0b0b11); border-bottom: 1px solid var(--border); overflow: hidden; }
.browser { position: absolute; top: 10px; left: 12px; display: flex; gap: 5px; }
.browser i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a36; }
.browser i:nth-child(1) { background: #ff5f57; } .browser i:nth-child(2) { background: #febc2e; } .browser i:nth-child(3) { background: #28c840; }
/* height:auto overrides the HTML height attribute so the full screenshot always shows, never cropped/zoomed */
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; transition: transform .8s var(--ease); }
.project:hover .shot img { transform: scale(1.02); }
.shot-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); border: 1px solid var(--border-2); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.project:hover .shot-count, .shot:focus-visible .shot-count { opacity: 1; transform: none; }

.project-body { padding: 18px 20px 22px; display: grid; gap: 9px; }
.meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.project h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.project p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.project .tags li { font-size: 11px; padding: 3px 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.tags li { padding: 4px 10px; border-radius: 8px; font-family: var(--mono); font-size: 12px; color: #cfcfe0; background: var(--surface-2); border: 1px solid var(--border); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; align-content: start; gap: 10px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.card.span-2 { grid-column: span 2; background: radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, .18), transparent 55%), var(--surface); }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.card-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); margin-bottom: 8px; }
.card-ico svg { width: 22px; height: 22px; stroke: #c4b5fd; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.timeline li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--border); transition: padding .3s var(--ease); }
.timeline li:hover { padding-left: 12px; }
.when { font-family: var(--mono); font-size: 13px; color: var(--dim); padding-top: 4px; }
.timeline h3 { font-size: 22px; }
.timeline h3 span { color: var(--muted); font-weight: 400; }
.timeline p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }

/* ---------- Contact ---------- */
.contact { padding-bottom: 80px; }
.contact-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: clamp(28px, 5vw, 56px); border-radius: 32px; border: 1px solid var(--border-2);
  background: radial-gradient(80% 120% at 0% 0%, rgba(139, 92, 246, .22), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgba(34, 211, 238, .12), transparent 60%), var(--bg-2); }
.contact-intro { display: grid; align-content: start; gap: 18px; }
.contact-intro h2 { font-size: clamp(34px, 5vw, 56px); }
.contact-intro > p { margin: 0; color: var(--muted); max-width: 440px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.email-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-2); font-size: 15px; max-width: 100%; transition: border-color .2s; }
.email-pill span { overflow: hidden; text-overflow: ellipsis; }
.email-pill small { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.email-pill:hover { border-color: var(--a2); }

.contact-form { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 10px; border-radius: 14px; font: inherit; color: var(--text);
  background: rgba(0, 0, 0, .3); border: 1px solid var(--border-2); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--dim); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--a1); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; color: var(--muted); letter-spacing: .03em; }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 14px; border-top: 1px solid var(--border); }
.footer p { margin: 0; }
.to-top:hover { color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.lightbox::backdrop { background: rgba(4, 4, 8, .86); backdrop-filter: blur(10px); }
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; border: 1px solid var(--border-2); background: var(--bg-2); }
.lightbox figcaption { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); background: rgba(20, 20, 28, .8); font-size: 22px; line-height: 1; z-index: 2; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--surface-2); }
.lb-close { top: -58px; right: 0; font-size: 16px; }
.lb-nav { top: calc(50% - 40px); }
.lb-prev { left: -64px; } .lb-next { right: -64px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.6px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.nav-end { display: flex; align-items: center; gap: 8px; }

@media (max-width: 1000px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; gap: 32px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-nav { top: auto; bottom: -62px; }
  .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); }
  .lb-close { top: -54px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav { top: 10px; padding: 8px 8px 8px 12px; flex-wrap: wrap; border-radius: 24px; }
  .menu-btn { display: grid; }
  .brand-mark { width: 30px; height: 30px; }
  .nav > nav { order: 3; width: 100%; display: none; }
  .nav.open > nav { display: block; }
  .nav-links { flex-direction: column; gap: 2px; padding: 8px 0 4px; }
  .nav-links a { padding: 12px 14px; border-radius: 14px; font-size: 16px; }
  .hero { min-height: auto; padding: 120px 0 48px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); line-height: 1.02; }
  .lead { margin-top: 20px; font-size: 16px; }
  .cta { margin-top: 28px; }
  .cta .btn { flex: 1 1 auto; padding: 13px 18px; }
  .stats { margin-top: 44px; }
  .stats div { padding: 14px 12px; }
  .stats dt { font-size: 11px; line-height: 1.3; }
  .stats dd { font-size: 26px; }
  .marquee { padding: 16px 0; }
  .marquee span { font-size: 17px; }
  .section { padding-top: 72px; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(32px, 9vw, 44px); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px; }
  .card.span-2 { grid-column: auto; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .timeline li:hover { padding-left: 0; }
  .timeline h3 { font-size: 19px; }
  .br-desktop { display: none; }
  .contact-card { padding: 24px 18px; border-radius: 24px; }
  .contact-intro h2 { font-size: clamp(30px, 8.5vw, 40px); }
  .contact-actions > * { width: 100%; justify-content: center; }
  .orb { filter: blur(70px); }
  .shot-count { opacity: 1; transform: none; font-size: 11px; padding: 4px 10px; right: 10px; bottom: 10px; }
  .footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 600px) {
  .projects { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- More work ---------- */
.more { margin-top: 56px; padding: 32px; border-radius: var(--radius); border: 1px dashed var(--border-2); background: var(--surface); }
.more h3 { font-size: 22px; margin-bottom: 20px; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.more-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--border); }
.more-list b { font-weight: 500; }
.more-list span { font-family: var(--mono); font-size: 12px; color: var(--dim); }
@media (max-width: 900px) { .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-list { grid-template-columns: 1fr; } .more { padding: 24px 20px; } }

/* ---------- Socials (top bar) ---------- */
svg .fill, svg path.fill { fill: currentColor; stroke: none; }
.socials { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); background: var(--surface); border: 1px solid var(--border); transition: color .2s, background .2s, border-color .2s, transform .25s var(--ease); }
.social svg { width: 17px; height: 17px; }
.social:hover { color: var(--text); background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.social.wa { color: #25d366; }
.social.wa:hover { background: rgba(37, 211, 102, .14); border-color: rgba(37, 211, 102, .5); color: #25d366; }
.btn-wa { background: #25d366; color: #fff; font-weight: 600; }
.btn-wa:hover { box-shadow: 0 10px 34px -8px rgba(37, 211, 102, .7); }
.btn-wa svg { width: 19px; height: 19px; }
@media (max-width: 720px) {
  .social { width: 36px; height: 36px; }
  .socials { gap: 4px; }
  .brand-name { font-size: 15px; }
}
@media (max-width: 340px) { .brand-name { display: none; } }
[hidden] { display: none !important; }
.brand-mark { width: auto; min-width: 32px; padding: 0 7px; font-size: 12px; letter-spacing: .02em; }
@media (max-width: 720px) { .brand { gap: 8px; } .brand-name { font-size: 14px; } }
@media (max-width: 370px) { .brand-name { display: none; } }
.brand { min-width: 0; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-end { flex: none; }
@media (max-width: 720px) {
  .nav { gap: 8px; padding: 7px 7px 7px 10px; }
  .brand { gap: 7px; flex: 1 1 auto; }
  .brand-mark { height: 30px; min-width: 30px; padding: 0 6px; font-size: 11px; border-radius: 9px; }
  .brand-name { font-size: 13.5px; letter-spacing: -.02em; }
  .nav-end { gap: 5px; }
  .social, .menu-btn { width: 34px; height: 34px; }
}
