* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0a0a0b; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }
::selection { background: #d9ff43; color: #0a0a0b; }
:focus-visible { outline: 3px solid #d9ff43; outline-offset: 3px; }

.marketing-site { min-height: 100vh; background: #0a0a0b; color: #fff; overflow: hidden; }
.site-shell { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.site-header nav { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-brand { display: inline-flex; align-items: center; width: 142px; height: 50px; }
.site-brand img { display: block; width: 100%; height: auto; }
.site-nav-links { display: flex; align-items: center; gap: 28px; font-size: .88rem; color: #c9c9ca; }
.site-nav-links > a:not(.pill-button):hover { color: #fff; }
.pill-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 999px; padding: 0 22px; background: #d9ff43; color: #0a0a0b; font-weight: 800; transition: transform .2s, background .2s; }
.pill-button:hover { transform: translateY(-2px); background: #e4ff76; }
.pill-button.ghost { background: transparent; border-color: #444; color: #fff; }
.pill-button.ghost:hover { border-color: #fff; background: #151516; }
.pill-button.dark { background: #0a0a0b; color: #fff; }
.pill-button.dark:hover { background: #242426; }

.hero-section { min-height: calc(100svh - 82px); padding: 76px 0 58px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(310px,.75fr); gap: 64px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #bdbdbf; font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: #d9ff43; }
.hero-copy-block h1, .portfolio-intro h1 { max-width: 820px; font-size: clamp(4rem,8.4vw,8.5rem); line-height: .84; letter-spacing: -.075em; text-transform: uppercase; margin: 34px 0 36px; font-weight: 900; }
.hero-copy-block h1 span, .portfolio-intro h1 span { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.hero-copy-block > p { max-width: 680px; color: #c5c5c7; font-size: clamp(1.08rem,1.6vw,1.35rem); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stack { position: relative; height: 510px; perspective: 1200px; }
.stack-card { position: absolute; width: 73%; height: 62%; right: 8%; padding: 28px; border-radius: 26px; border: 1px solid rgba(255,255,255,.28); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 28px 70px rgba(0,0,0,.32); transition: transform .45s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.stack-card::after { content: ""; position: absolute; inset: auto -30% -45% 10%; height: 72%; border-radius: 50%; background: rgba(255,255,255,.18); }
.stack-card > * { position: relative; z-index: 1; }
.stack-card span { font-size: .76rem; letter-spacing: .12em; font-weight: 800; }
.stack-card strong { font-size: clamp(2.5rem,4.7vw,4.8rem); line-height: .85; letter-spacing: -.06em; text-transform: uppercase; }
.stack-card small { font-size: .84rem; font-weight: 800; }
.stack-blue { top: 1%; right: 25%; background: #6f7cff; transform: rotate(-10deg); }
.stack-orange { top: 12%; right: 2%; background: #ff6647; transform: rotate(8deg); }
.stack-white { top: 24%; right: 26%; background: #fff; color: #0a0a0b; transform: rotate(-5deg); }
.stack-lime { top: 36%; right: 8%; background: #d9ff43; color: #0a0a0b; transform: rotate(2deg); }
.hero-stack:hover .stack-blue { transform: rotate(-12deg) translate(-12px,-8px); }
.hero-stack:hover .stack-orange { transform: rotate(10deg) translate(16px,-3px); }
.hero-stack:hover .stack-white { transform: rotate(-7deg) translate(-8px,5px); }
.hero-stack:hover .stack-lime { transform: rotate(0) translate(10px,8px); }

.ticker { border-block: 1px solid rgba(255,255,255,.14); overflow: hidden; padding: 17px 0; background: #101012; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-items { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.ticker-items i { width: 8px; height: 8px; border-radius: 50%; background: #d9ff43; }
@keyframes ticker { to { transform: translateX(-50%); } }

.site-section { padding-block: 120px; }
.section-head { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; align-items: end; margin-bottom: 58px; }
.section-head > span { color: #969699; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.section-head h2, .cta-box h2 { margin: 0; max-width: 900px; font-size: clamp(2.8rem,5.4vw,5.6rem); line-height: .98; letter-spacing: -.06em; }
.text-link { display: inline-block; margin-top: 22px; color: #d9ff43; font-weight: 800; }
.text-link:hover { text-decoration: underline; }

.portfolio-grid { display: grid; gap: 22px; }
.home-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-bottom: 120px; }
.portfolio-card { min-width: 0; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.portfolio-thumb { aspect-ratio: 16/10; border-radius: 24px; overflow: hidden; background: #18181a; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.035); }
.portfolio-placeholder { height: 100%; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden; }
.portfolio-placeholder::after { content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -12%; top: -20%; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.portfolio-placeholder span { font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.portfolio-placeholder strong { align-self: flex-end; font-size: clamp(4rem,9vw,9rem); line-height: .78; letter-spacing: -.08em; opacity: .9; }
.palette-blue { background: radial-gradient(circle at 72% 35%,rgba(111,124,255,.8),transparent 35%),linear-gradient(145deg,#171719,#272b52); }
.palette-lime { background: radial-gradient(circle at 62% 34%,rgba(217,255,67,.55),transparent 32%),linear-gradient(145deg,#171719,#26321f); }
.palette-orange { background: radial-gradient(circle at 70% 30%,rgba(255,102,71,.72),transparent 35%),linear-gradient(145deg,#171719,#45221b); }
.palette-gold { background: radial-gradient(circle at 72% 28%,rgba(255,189,74,.72),transparent 34%),linear-gradient(145deg,#171719,#40321c); }
.portfolio-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; color: #a9a9ab; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-card h3 { margin: 12px 0 10px; font-size: clamp(2rem,3.5vw,3.7rem); line-height: 1; letter-spacing: -.055em; }
.portfolio-card p { max-width: 640px; color: #bdbdbf; margin: 0; }
.view-project { display: inline-block; margin-top: 20px; color: #d9ff43; font-size: .88rem; font-weight: 800; }

.services-section { background: #f5f3ee; color: #0a0a0b; }
.services-section .section-head > span { color: #666; }
.service-list { border-top: 1px solid #bbb9b3; }
.service-row { display: grid; grid-template-columns: 76px .8fr 1.2fr 40px; gap: 28px; padding: 38px 0; border-bottom: 1px solid #bbb9b3; align-items: start; transition: padding .25s; }
.service-row:hover { padding-left: 12px; }
.service-row > span { color: #75736e; font-size: .78rem; }
.service-row h3 { margin: 0; font-size: clamp(1.8rem,3vw,3.25rem); line-height: 1; letter-spacing: -.055em; }
.service-row p { margin: 0; color: #55534f; max-width: 570px; }
.service-row b { font-size: 1.7rem; line-height: 1; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.14); }
.process-step { min-height: 245px; padding: 34px 30px 10px 0; border-right: 1px solid rgba(255,255,255,.14); }
.process-step + .process-step { padding-left: 30px; }
.process-step:last-child { border-right: 0; }
.process-step > span { color: #d9ff43; font-size: .78rem; letter-spacing: .12em; font-weight: 800; }
.process-step h3 { margin: 50px 0 10px; font-size: 1.55rem; }
.process-step p { margin: 0; color: #a7a7a9; }
.cta-section { padding-block: 40px 120px; }
.cta-box { padding: clamp(42px,7vw,92px); border-radius: 34px; background: #d9ff43; color: #0a0a0b; display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: end; position: relative; overflow: hidden; }
.cta-box::after { content: "B"; position: absolute; right: -2%; top: -50%; font-size: 34rem; font-weight: 900; line-height: 1; opacity: .06; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { margin: 0 0 24px; font-size: 1.05rem; }
.site-footer { padding: 40px 0 32px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #8e8e91; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-row img { width: 116px; opacity: .7; }

.portfolio-intro { padding: 100px 0 72px; border-bottom: 1px solid rgba(255,255,255,.14); }
.portfolio-intro h1 { margin-bottom: 48px; }
.portfolio-intro-copy { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: end; }
.portfolio-intro-copy p { margin: 0; max-width: 700px; color: #bdbdbf; font-size: 1.16rem; }
.portfolio-intro-copy > span { justify-self: end; color: #d9ff43; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 36px 0 52px; }
.portfolio-filters button { min-height: 42px; padding: 0 17px; border: 1px solid #3e3e40; border-radius: 999px; background: transparent; color: #c8c8ca; cursor: pointer; }
.portfolio-filters button:hover, .portfolio-filters button.active { background: #d9ff43; border-color: #d9ff43; color: #0a0a0b; }
.empty-portfolio { padding: 80px 20px 120px; text-align: center; color: #aaa; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Admin */
.admin-page { min-height: 100vh; background: #f5f3ee; color: #0a0a0b; }
.admin-topbar { height: 76px; background: #0a0a0b; color: #fff; padding: 0 max(24px,calc((100vw - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-brand { width: 126px; display: block; }
.admin-account { display: flex; align-items: center; gap: 18px; font-size: .84rem; }
.admin-account > span { color: #bdbdbf; }
.admin-account a { color: #d9ff43; font-weight: 800; }
.admin-shell { width: min(calc(100% - 40px),1200px); margin-inline: auto; padding: 64px 0 100px; }
.admin-title-row { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 38px; }
.admin-kicker { color: #77756f; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.admin-title-row h1 { margin: 7px 0 4px; font-size: clamp(3rem,7vw,5.8rem); line-height: .9; letter-spacing: -.065em; }
.admin-title-row p { margin: 16px 0 0; color: #686660; }
.admin-primary-button { background: #d9ff43 !important; color: #0a0a0b !important; border-radius: 999px !important; font-weight: 800 !important; min-height: 42px; }
.admin-primary-button:hover { background: #c8ef32 !important; }
.admin-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
.admin-stats article { padding: 22px; background: #fff; border: 1px solid #ddd9d0; border-radius: 18px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.admin-stats span { color: #6b6964; font-size: .84rem; }
.admin-stats strong { font-size: 2.2rem; line-height: 1; letter-spacing: -.05em; }
.admin-list { background: #fff; border: 1px solid #ddd9d0; border-radius: 22px; overflow: hidden; }
.admin-list-head, .admin-item { display: grid; grid-template-columns: minmax(0,1fr) 140px 80px 100px; gap: 20px; align-items: center; }
.admin-list-head { padding: 15px 22px; background: #ece9e2; color: #73716b; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.admin-item { padding: 18px 22px; border-top: 1px solid #e6e3dc; }
.admin-project-cell { min-width: 0; display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 18px; align-items: center; }
.admin-thumb { width: 116px; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: linear-gradient(145deg,#19191b,#31335c); display: grid; place-items: center; color: #d9ff43; font-size: 1.5rem; font-weight: 900; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-project-cell > div:last-child { min-width: 0; }
.admin-project-cell span { color: #77756f; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-project-cell h2 { margin: 3px 0 4px; font-size: 1.15rem; }
.admin-project-cell p { margin: 0; max-width: 660px; color: #77756f; font-size: .82rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.status-badge { justify-self: start; display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.status-badge.published { background: #e4f7ba; color: #36530a; }
.status-badge.draft { background: #e6e4df; color: #686660; }
.sort-number { color: #77756f; font-variant-numeric: tabular-nums; }
.admin-actions { display: flex; gap: 7px; }
.admin-actions button { background: #fff; border-color: #d4d1c9; }
.admin-empty { padding: 80px 24px; text-align: center; }
.admin-empty svg { width: 42px; height: 42px; color: #aaa69d; margin: 0 auto 20px; }
.admin-empty h2 { margin: 0 0 6px; }
.admin-empty p { margin: 0 0 24px; color: #77756f; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field > span, .publish-field strong { font-size: .82rem; font-weight: 800; }
.form-field small { color: #77756f; font-weight: 400; }
.form-field input, .form-field textarea, .form-field button { background: #fff; border-color: #cac7bf; }
.form-wide { grid-column: 1/-1; }
.publish-field { padding: 16px; border: 1px solid #d7d4cc; border-radius: 14px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.publish-field > div { display: flex; flex-direction: column; gap: 2px; }
.publish-field > div > span { color: #77756f; font-size: .78rem; }
.publish-field button[data-state="checked"] { background: #0a0a0b; }
.access-denied { min-height: 100vh; padding: 40px 20px; display: grid; place-content: center; text-align: center; background: #0a0a0b; color: #fff; }
.access-denied img { width: 150px; margin: 0 auto 50px; }
.access-denied > span { color: #d9ff43; font-size: .78rem; letter-spacing: .15em; }
.access-denied h1 { margin: 12px 0; font-size: clamp(2.5rem,7vw,5rem); letter-spacing: -.06em; }
.access-denied p { color: #aaa; }
.access-denied a { margin-top: 20px; color: #d9ff43; font-weight: 800; }

@media (max-width: 900px) {
  .reveal, .reveal.visible { opacity: 1 !important; transform: none !important; }
  .hero-section { grid-template-columns: 1fr; gap: 18px; padding-top: 58px; }
  .hero-stack { height: 400px; }
  .stack-card { width: 54%; height: 65%; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .service-row { grid-template-columns: 52px 1fr 40px; }
  .service-row p { grid-column: 2/4; }
  .cta-box { grid-template-columns: 1fr; }
  .admin-list-head { display: none; }
  .admin-item { grid-template-columns: 1fr auto; }
  .admin-project-cell { grid-column: 1/-1; }
  .sort-number { display: none; }
  .admin-actions { justify-self: end; }
}

@media (max-width: 640px) {
  .marketing-site { overflow-x: hidden; overflow-y: visible; }
  .reveal, .reveal.visible { opacity: 1 !important; transform: none !important; }
  .site-shell, .admin-shell { width: min(calc(100% - 28px),1200px); }
  .site-header nav { height: 70px; }
  .site-brand { width: 120px; }
  .site-nav-links > a:not(.pill-button) { display: none; }
  .site-nav-links .pill-button { min-height: 40px; padding: 0 15px; font-size: .8rem; }
  .hero-section { min-height: auto; padding: 48px 0 36px; display: flex; flex-direction: column; }
  .hero-copy-block { display: block; width: 100%; opacity: 1; visibility: visible; }
  .hero-copy-block h1, .portfolio-intro h1 { font-size: clamp(3.15rem,17vw,4.7rem); line-height: 1; letter-spacing: -.025em; margin: 26px 0; }
  .hero-copy-block h1 span, .portfolio-intro h1 span { color: #fff; letter-spacing: 0; -webkit-text-stroke: 0; }
  .hero-actions .pill-button { width: 100%; }
  .hero-stack { width: 100%; height: 320px; flex: 0 0 320px; }
  .stack-card { width: 64%; height: 63%; padding: 20px; border-radius: 20px; }
  .site-section { padding-block: 82px; }
  .section-head { margin-bottom: 38px; }
  .home-grid, .archive-grid { grid-template-columns: 1fr; }
  .archive-grid { padding-bottom: 82px; }
  .portfolio-thumb { border-radius: 18px; }
  .portfolio-placeholder { padding: 20px; }
  .service-row { grid-template-columns: 40px 1fr 28px; gap: 14px; padding: 28px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: auto; padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .process-step h3 { margin: 28px 0 8px; }
  .cta-section { padding-bottom: 82px; }
  .cta-box { padding: 38px 26px; border-radius: 24px; }
  .cta-box .pill-button { width: 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 9px; }
  .portfolio-intro { padding: 64px 0 48px; }
  .portfolio-intro-copy { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-intro-copy > span { justify-self: start; }
  .portfolio-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 36px; scrollbar-width: none; }
  .portfolio-filters button { white-space: nowrap; }
  .admin-topbar { padding: 0 14px; }
  .admin-account > span { display: none; }
  .admin-shell { padding-top: 44px; }
  .admin-title-row { align-items: flex-start; flex-direction: column; gap: 24px; }
  .admin-title-row .admin-primary-button { width: 100%; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-stats article { padding: 18px; }
  .admin-item { padding: 16px; }
  .admin-project-cell { grid-template-columns: 82px minmax(0,1fr); gap: 12px; }
  .admin-thumb { width: 82px; }
  .admin-project-cell p { display: none; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
}

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

/* cPanel admin & installer */
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: #d9ff43; color: #0a0a0b; }
.button.primary:hover { background: #c8ef32; }
.button.secondary { background: #fff; color: #0a0a0b; border-color: #cfcbc2; }
.text-button { appearance: none; border: 0; padding: 0; background: none; color: #d9ff43; cursor: pointer; font-weight: 800; }
.setup-body { min-height: 100vh; background: #0a0a0b; color: #fff; padding: 44px 18px; }
.setup-shell, .login-shell { width: min(100%, 780px); margin: 0 auto; }
.login-shell { width: min(100%, 520px); }
.setup-logo { display: block; width: 158px; margin: 0 auto 34px; }
.setup-card { background: #f5f3ee; color: #0a0a0b; border-radius: 26px; padding: clamp(28px,6vw,54px); box-shadow: 0 26px 80px rgba(0,0,0,.3); }
.setup-card h1 { margin: 8px 0 10px; font-size: clamp(2.3rem,7vw,4.6rem); line-height: .95; letter-spacing: -.06em; }
.setup-card > p { margin: 0 0 30px; color: #66645f; }
.setup-kicker { color: #66645f; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.setup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.login-form { display: grid; gap: 18px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 46px; border: 1px solid #cac7bf; border-radius: 10px; background: #fff; color: #0a0a0b; padding: 10px 13px; }
.form-field textarea { resize: vertical; }
.form-field input[type="file"] { padding: 9px; }
.form-field select { appearance: auto; }
.form-divider { grid-column: 1/-1; width: 100%; margin: 8px 0 2px; border: 0; border-top: 1px solid #d4d0c8; }
.flash { margin: 0 0 24px; padding: 13px 16px; border-radius: 12px; font-weight: 700; }
.flash.error { background: #ffe2dd; color: #8d1b10; border: 1px solid #f0b9af; }
.flash.success { background: #e6f8c4; color: #2e4d08; border: 1px solid #b9da79; }
.back-link { display: inline-block; margin-top: 26px; color: #625f59; font-weight: 700; }
.admin-account form, .admin-actions form { margin: 0; }
.admin-form-panel { background: #fff; border: 1px solid #ddd9d0; border-radius: 22px; padding: clamp(22px,4vw,42px); }
.panel-heading { padding-bottom: 24px; border-bottom: 1px solid #e4e0d8; }
.panel-heading span { color: #77756f; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.panel-heading h2 { margin: 5px 0 0; font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.045em; }
.current-thumbnail { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid #d7d3ca; border-radius: 14px; }
.current-thumbnail img { width: 150px; aspect-ratio: 16/10; object-fit: cover; border-radius: 9px; }
.current-thumbnail span { color: #66645f; font-size: .82rem; font-weight: 700; }
.publish-field > span { display: flex; flex-direction: column; gap: 3px; }
.publish-field small { color: #77756f; font-weight: 400; }
.toggle-checkbox { width: 22px; height: 22px; accent-color: #0a0a0b; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.icon-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid #d4d1c9; border-radius: 8px; background: #fff; color: #0a0a0b; cursor: pointer; font-size: .76rem; font-weight: 800; }
.icon-button.danger { color: #a52318; }
.admin-actions { min-width: 0; flex-wrap: wrap; }
.admin-brand img { display: block; }
.portfolio-card[hidden], #portfolio-empty[hidden] { display: none !important; }
code { padding: 2px 6px; border-radius: 6px; background: #dedbd4; font-size: .9em; }

@media (max-width: 640px) {
  .setup-body { padding: 28px 14px; }
  .setup-form { grid-template-columns: 1fr; }
  .setup-form .form-wide, .setup-form .form-divider { grid-column: auto; }
  .setup-card { border-radius: 20px; }
  .admin-actions { justify-content: flex-end; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
}