:root{
  --bg:#0d0d0d;
  --bg-2:#111111;
  --paper:#f7f5f0;
  --white:#ffffff;
  --text:#f5f5f5;
  --dark:#111111;
  --muted:#b7b7b7;
  --muted-dark:#666666;
  --orange:#ff6b00;
  --orange-2:#ff8b2a;
  --line:rgba(255,255,255,.14);
  --line-dark:rgba(17,17,17,.12);
  --radius:28px;
  --shadow:0 28px 90px rgba(0,0,0,.38);
  --container:min(100% - 42px,1180px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
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.55;overflow-x:hidden}
body::selection{background:var(--orange);color:#111}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}
.container{width:var(--container);margin-inline:auto}.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}.skip-link{position:fixed;left:16px;top:16px;z-index:999;padding:10px 14px;background:#fff;color:#111;border-radius:999px;transform:translateY(-130%);transition:.2s}.skip-link:focus{transform:none}.cursor{position:fixed;z-index:9999;pointer-events:none;width:18px;height:18px;border:1px solid var(--orange);border-radius:999px;transform:translate(-50%,-50%);mix-blend-mode:difference;opacity:0;transition:opacity .2s ease,width .2s ease,height .2s ease}.cursor.is-visible{opacity:1}.cursor.is-active{width:42px;height:42px}.site-header{position:fixed;top:0;left:0;right:0;z-index:100;padding-top:14px;transition:all .25s ease}.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border:1px solid transparent;border-radius:999px;transition:all .25s ease}.site-header.is-scrolled .header-inner{background:rgba(13,13,13,.72);backdrop-filter:blur(20px);border-color:rgba(255,255,255,.1);box-shadow:0 20px 60px rgba(0,0,0,.22)}.brand{display:inline-flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.04em}.brand img{width:48px;height:48px;object-fit:contain}.brand span{font-size:18px}.site-nav{display:flex;align-items:center;gap:6px}.site-nav a{position:relative;padding:10px 14px;border-radius:999px;color:rgba(255,255,255,.76);font-size:14px;font-weight:800;transition:.22s ease}.site-nav a:hover,.site-nav a:focus-visible{color:#fff;background:rgba(255,255,255,.09)}.nav-toggle{display:none;border:0;background:transparent;padding:8px;cursor:pointer}.nav-toggle span:not(.sr-only){display:block;width:25px;height:2px;background:#fff;margin:5px 0;border-radius:999px}.hero{position:relative;min-height:100svh;display:grid;align-items:center;overflow:hidden;background:radial-gradient(circle at 72% 22%, rgba(255,107,0,.2), transparent 32%),linear-gradient(135deg,#050505 0%,#111 62%,#17110d 100%)}.hero-noise{position:absolute;inset:0;opacity:.23;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E")}.hero-orb{position:absolute;border-radius:50%;filter:blur(10px);opacity:.55;animation:float 9s ease-in-out infinite}.hero-orb-a{width:470px;height:470px;right:-170px;top:18%;background:radial-gradient(circle,rgba(255,107,0,.42),transparent 70%)}.hero-orb-b{width:320px;height:320px;left:-160px;bottom:8%;background:radial-gradient(circle,rgba(255,255,255,.12),transparent 70%);animation-delay:-3s}@keyframes float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-20px,24px,0)}}.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);gap:70px;align-items:center;padding:140px 0 92px}.eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;color:var(--orange-2);font-size:12px;line-height:1;text-transform:uppercase;letter-spacing:.22em;font-weight:950}.eyebrow::before{content:"";width:34px;height:2px;background:currentColor;border-radius:999px}.eyebrow.dark{color:var(--orange)}.hero h1{max-width:920px;margin:0;font-size:clamp(58px,9vw,126px);line-height:.88;letter-spacing:-.085em;font-weight:950}.hero-lead{max-width:690px;margin:28px 0 0;color:rgba(255,255,255,.76);font-size:clamp(19px,2vw,26px);font-weight:500}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:38px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 22px;border-radius:999px;border:1px solid transparent;font-weight:950;letter-spacing:-.02em;cursor:pointer;transition:transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease}.btn:hover{transform:translateY(-3px)}.btn-primary{background:var(--orange);color:#111}.btn-primary:hover{background:#fff}.btn-outline{border-color:rgba(255,255,255,.32);color:#fff;background:rgba(255,255,255,.03)}.btn-outline:hover{border-color:var(--orange);background:rgba(255,107,0,.12)}.btn-dark{background:#111;color:#fff}.btn-dark:hover{background:#fff;color:#111}.hero-showcase{position:relative;min-height:540px}.showcase-card{position:absolute;inset:52px 0 0 0;border:1px solid rgba(255,255,255,.14);border-radius:36px;background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.045));backdrop-filter:blur(22px);box-shadow:var(--shadow);overflow:hidden}.showcase-top{display:flex;gap:8px;padding:20px;border-bottom:1px solid rgba(255,255,255,.11)}.showcase-top span{width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.34)}.showcase-content{padding:34px}.showcase-content p{color:var(--orange-2);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.18em;margin:0 0 14px}.showcase-content h2{margin:0 0 34px;font-size:clamp(34px,4vw,55px);line-height:.98;letter-spacing:-.06em}.stack-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stack-list span{padding:14px 15px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(0,0,0,.18);color:rgba(255,255,255,.78);font-weight:800}.metric-card{position:absolute;z-index:2;width:180px;border-radius:26px;padding:20px;background:#fff;color:#111;box-shadow:0 20px 70px rgba(0,0,0,.35)}.metric-card strong{display:block;font-size:42px;line-height:1;letter-spacing:-.06em}.metric-card span{display:block;margin-top:8px;color:#555;font-size:14px;font-weight:800}.metric-a{right:-18px;top:8px}.metric-b{left:-24px;bottom:62px;background:var(--orange)}.scroll-indicator{position:absolute;z-index:3;left:50%;bottom:26px;transform:translateX(-50%);display:grid;place-items:center;gap:8px;color:rgba(255,255,255,.58);font-size:11px;text-transform:uppercase;letter-spacing:.22em}.scroll-indicator span{display:block;width:26px;height:42px;border:1px solid rgba(255,255,255,.32);border-radius:999px;position:relative}.scroll-indicator span::after{content:"";position:absolute;left:50%;top:9px;width:4px;height:4px;border-radius:50%;background:var(--orange);transform:translateX(-50%);animation:scrollDot 1.35s ease-in-out infinite}@keyframes scrollDot{0%{opacity:0;transform:translate(-50%,0)}35%{opacity:1}100%{opacity:0;transform:translate(-50%,17px)}}.section{padding:116px 0}.services,.about,.portfolio{background:var(--paper);color:#111}.section-heading{max-width:820px;margin:0 auto 56px;text-align:center}.section-heading h2,.pwa-copy h2,.about h2,.contact-section h2{margin:0;font-size:clamp(38px,5vw,72px);line-height:.96;letter-spacing:-.07em}.section-heading p:not(.eyebrow){max-width:690px;margin:18px auto 0;color:var(--muted-dark);font-size:18px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{min-height:330px;position:relative;padding:28px;border:1px solid var(--line-dark);border-radius:var(--radius);background:#fff;box-shadow:0 18px 50px rgba(17,17,17,.06);overflow:hidden;transition:transform .25s ease,border-color .25s ease,background .25s ease,color .25s ease}.service-card::after{content:"";position:absolute;right:-60px;bottom:-70px;width:180px;height:180px;border-radius:50%;background:var(--orange);opacity:.08;transition:.25s ease}.service-card:hover{transform:translateY(-8px);border-color:rgba(255,107,0,.55);background:#111;color:#fff}.service-card:hover::after{opacity:.28;transform:scale(1.15)}.service-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#111;color:var(--orange);font-weight:950;margin-bottom:86px;transition:.25s ease}.service-card:hover .service-icon{background:var(--orange);color:#111}.service-card h3{margin:0 0 12px;font-size:24px;line-height:1.05;letter-spacing:-.05em}.service-card p{margin:0;color:#666}.service-card:hover p{color:rgba(255,255,255,.72)}.pwa-section{position:relative;background:#0f0f0f;color:#fff;overflow:hidden}.pwa-section::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 20%,rgba(255,107,0,.22),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.04),transparent);pointer-events:none}.pwa-grid{position:relative;display:grid;grid-template-columns:.95fr 1.05fr;gap:70px;align-items:center}.pwa-copy p:not(.eyebrow){font-size:20px;color:rgba(255,255,255,.72);margin:26px 0 0}.text-link{display:inline-flex;margin-top:28px;color:var(--orange-2);font-weight:950}.pwa-features{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mini-feature{min-height:205px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);backdrop-filter:blur(16px);border-radius:28px;padding:26px}.mini-feature strong{display:block;font-size:25px;letter-spacing:-.05em;margin-bottom:42px}.mini-feature span{color:rgba(255,255,255,.68)}.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:72px;align-items:start}.about-copy p{margin:0;color:#4e4e4e;font-size:22px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}.stats div{border:1px solid var(--line-dark);border-radius:24px;background:#fff;padding:22px}.stats strong{display:block;font-size:42px;line-height:1;letter-spacing:-.06em}.stats span{display:block;margin-top:8px;color:#666;font-weight:800}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.project-card{position:relative;min-height:330px;border-radius:30px;padding:24px;border:1px solid var(--line-dark);overflow:hidden;transition:.25s ease}.project-card-dark{background:#111;color:#fff;border-color:#111}.project-card::after{content:"";position:absolute;inset:auto -80px -90px auto;width:210px;height:210px;background:radial-gradient(circle,var(--orange),transparent 70%);opacity:.3}.project-card:hover{transform:translateY(-8px)}.project-logo{width:100%;height:112px;object-fit:contain;border-radius:22px;margin-bottom:26px;background:rgba(255,255,255,.04)}.project-card span{display:inline-flex;color:var(--orange-2);font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:950;margin-bottom:12px}.project-card h3{margin:0 0 10px;font-size:25px;line-height:1.08;letter-spacing:-.05em}.project-card p{margin:0;color:rgba(255,255,255,.67)}.portfolio-subheading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:72px 0 24px}.portfolio-subheading h3{margin:0;font-size:clamp(30px,3vw,46px);line-height:1;letter-spacing:-.06em}.web-card{position:relative;min-height:365px;display:block;border-radius:30px;overflow:hidden;background:#111;box-shadow:0 20px 60px rgba(17,17,17,.12);border:1px solid var(--line-dark);transition:.25s ease}.web-card:hover{transform:translateY(-8px)}.web-preview{width:100%;height:365px;object-fit:cover;opacity:.82;transition:.4s ease}.web-card:hover .web-preview{transform:scale(1.05);opacity:.58}.web-logo{position:absolute;z-index:2;top:18px;left:18px;width:190px;height:82px;object-fit:contain;border-radius:18px;box-shadow:0 12px 35px rgba(0,0,0,.18)}.web-card div{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;border-radius:20px;padding:18px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);color:#111}.web-card strong{display:block;font-size:20px;line-height:1.1;letter-spacing:-.04em}.web-card span{display:block;margin-top:4px;color:#666;font-weight:700}.quote-section{background:var(--orange);color:#111;padding:92px 0}.quote-inner{max-width:980px;text-align:center}.quote-inner blockquote{margin:0;font-size:clamp(30px,5vw,64px);line-height:1;letter-spacing:-.07em;font-weight:950}.quote-inner cite{display:block;margin-top:18px;font-style:normal;font-weight:900;opacity:.7}.quote-inner .btn{margin-top:34px}.contact-section{background:#0d0d0d;color:#fff}.contact-section .section-heading p:not(.eyebrow){color:rgba(255,255,255,.64)}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:72px}.team-card{position:relative;min-height:520px;border-radius:34px;overflow:hidden;background:#191919;box-shadow:var(--shadow)}.team-card img{width:100%;height:520px;object-fit:cover;filter:saturate(.18) contrast(1.08)}.team-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.9))}.team-info{position:absolute;z-index:2;left:24px;right:24px;bottom:24px}.team-info h3{margin:0;font-size:30px;line-height:1;letter-spacing:-.06em}.team-info p{margin:8px 0 12px;color:rgba(255,255,255,.65)}.team-info a{display:inline-flex;color:var(--orange-2);font-weight:950}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;align-items:stretch}.contact-details,.contact-form{border:1px solid rgba(255,255,255,.12);border-radius:34px;background:rgba(255,255,255,.06);padding:30px}.contact-details img{width:74px;height:74px;object-fit:contain;margin-bottom:28px}.contact-details h3{margin:0;font-size:34px;letter-spacing:-.06em}.contact-details p{color:rgba(255,255,255,.64);margin:12px 0 20px}.email-link{display:inline-flex;color:var(--orange-2);font-weight:950;margin-bottom:30px}.quick-links{display:flex;flex-wrap:wrap;gap:10px}.quick-links a{padding:9px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:rgba(255,255,255,.74);font-weight:800}.quick-links a:hover{border-color:var(--orange);color:#fff}.contact-form{display:grid;gap:14px}.contact-form label{display:grid;gap:8px;color:rgba(255,255,255,.76);font-weight:900}.contact-form input,.contact-form textarea{width:100%;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.22);color:#fff;border-radius:17px;padding:14px 16px;outline:0}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(255,107,0,.12)}.contact-form textarea{resize:vertical}.form-hint{margin:0;color:rgba(255,255,255,.45);font-size:13px}.site-footer{background:#050505;color:#fff;border-top:1px solid rgba(255,255,255,.08);padding:28px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:22px}.footer-inner p{margin:0;color:rgba(255,255,255,.6)}.footer-inner a{color:var(--orange-2);font-weight:900}.reveal{opacity:0;transform:translateY(28px);transition:opacity .72s ease,transform .72s ease}.reveal.is-visible{opacity:1;transform:none}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.hero-orb,.scroll-indicator span::after{animation:none}.btn,.service-card,.project-card,.web-card,.web-preview{transition:none}.cursor{display:none}}
@media (max-width:1060px){.hero-grid,.pwa-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.hero-showcase{min-height:460px;order:-1}.showcase-card{inset:20px 0 0}.service-grid,.project-grid,.team-grid{grid-template-columns:repeat(2,1fr)}.latest-projects .project-card:first-child{grid-column:span 2}.team-grid .team-card:first-child{grid-column:span 2}.site-nav{position:fixed;left:20px;right:20px;top:94px;display:none;flex-direction:column;align-items:stretch;background:rgba(15,15,15,.96);border:1px solid rgba(255,255,255,.12);border-radius:26px;padding:12px;backdrop-filter:blur(20px)}.site-nav.is-open{display:flex}.site-nav a{padding:14px}.nav-toggle{display:block}}
@media (max-width:720px){:root{--container:min(100% - 28px,1180px);--radius:22px}.site-header{padding-top:10px}.header-inner{height:64px}.brand img{width:42px;height:42px}.brand span{font-size:16px}.hero-grid{padding:118px 0 90px;gap:28px}.hero h1{font-size:clamp(50px,16vw,72px)}.hero-lead{font-size:18px}.hero-showcase{display:none}.scroll-indicator{display:none}.section{padding:76px 0}.section-heading{text-align:left;margin-bottom:34px}.section-heading h2,.pwa-copy h2,.about h2,.contact-section h2{font-size:clamp(38px,12vw,52px)}.service-grid,.project-grid,.web-projects,.team-grid,.pwa-features,.stats{grid-template-columns:1fr}.latest-projects .project-card:first-child,.team-grid .team-card:first-child{grid-column:auto}.service-card{min-height:260px}.service-icon{margin-bottom:54px}.about-copy p{font-size:19px}.portfolio-subheading{display:block}.portfolio-subheading .text-link{margin-top:14px}.team-card,.team-card img{height:auto;min-height:430px}.team-card img{height:430px}.footer-inner{flex-direction:column;text-align:center}.cursor{display:none}}


/* v3 interactions and extended portfolio */
.scroll-progress{position:fixed;left:0;top:0;z-index:1000;height:3px;width:0;background:linear-gradient(90deg,var(--orange),#fff);box-shadow:0 0 22px rgba(255,107,0,.45);transition:width .08s linear}.back-to-top{position:fixed;z-index:140;right:22px;bottom:22px;width:52px;height:52px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(17,17,17,.72);color:#fff;backdrop-filter:blur(18px);font-size:22px;font-weight:950;cursor:pointer;opacity:0;transform:translateY(16px) scale(.96);pointer-events:none;transition:.22s ease}.back-to-top.is-visible{opacity:1;transform:none;pointer-events:auto}.back-to-top:hover{background:var(--orange);color:#111;transform:translateY(-3px)}.site-nav a.is-active{color:#111;background:var(--orange)}.site-nav .nav-cta{color:#111;background:#fff;margin-left:6px}.site-nav .nav-cta:hover{background:var(--orange);color:#111}.btn-ghost{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.12)}.btn-ghost:hover{background:#fff;color:#111}.dark-outline{color:#111;border-color:rgba(17,17,17,.22);background:#fff}.dark-outline:hover{background:#111;color:#fff;border-color:#111}.card-action{position:relative;z-index:2;display:inline-flex;margin-top:22px;color:var(--orange-2);font-weight:950}.portfolio-subheading p{margin:12px 0 0;color:#666;max-width:720px}.portfolio-toolbar{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}.filter-btn{border:1px solid var(--line-dark);background:#fff;color:#111;padding:10px 14px;border-radius:999px;font-weight:900;cursor:pointer;transition:.22s ease}.filter-btn:hover,.filter-btn.is-active{background:#111;color:#fff;border-color:#111}.portfolio-controls{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 28px}.portfolio-all{overflow:hidden;transition:max-height .55s ease,opacity .35s ease}.portfolio-all.is-collapsed{max-height:0;opacity:0}.portfolio-all:not(.is-collapsed){max-height:22000px;opacity:1}.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.portfolio-item{border:1px solid var(--line-dark);border-radius:30px;overflow:hidden;background:#fff;color:#111;box-shadow:0 18px 60px rgba(17,17,17,.08);transition:.25s ease}.portfolio-item:hover{transform:translateY(-7px)}.portfolio-item.is-hidden{display:none}.portfolio-media{position:relative;display:block;height:235px;background:#111;overflow:hidden}.portfolio-screenshot{width:100%;height:100%;object-fit:cover;transition:.45s ease}.portfolio-overlay{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.62);color:#fff;font-weight:950;opacity:0;transition:.25s ease}.portfolio-media:hover .portfolio-screenshot{transform:scale(1.06)}.portfolio-media:hover .portfolio-overlay{opacity:1}.portfolio-content{padding:22px}.portfolio-content img{width:100%;height:62px;object-fit:contain;border-radius:14px;background:#111;margin-bottom:16px}.portfolio-content span{display:inline-flex;color:var(--orange);font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:950;margin-bottom:8px}.portfolio-content h3{margin:0 0 8px;font-size:24px;line-height:1.05;letter-spacing:-.05em}.portfolio-content p{margin:0;color:#666}.portfolio-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.portfolio-actions a{padding:9px 12px;border-radius:999px;background:#111;color:#fff;font-size:13px;font-weight:900}.portfolio-actions a:first-child{background:var(--orange);color:#111}.team-grid{grid-template-columns:repeat(4,1fr)}.team-card{min-height:500px}.team-card img{height:500px}.site-footer .footer-inner{flex-wrap:wrap}.site-footer .footer-inner a{margin-left:10px}@media (max-width:1060px){.portfolio-grid{grid-template-columns:repeat(2,1fr)}.team-grid{grid-template-columns:repeat(2,1fr)}.team-grid .team-card:first-child{grid-column:auto}.site-nav .nav-cta{margin-left:0}}@media (max-width:720px){.portfolio-grid{grid-template-columns:1fr}.portfolio-media{height:230px}.portfolio-toolbar{justify-content:flex-start}.portfolio-controls{display:grid}.team-grid{grid-template-columns:1fr}.team-card,.team-card img{height:auto;min-height:430px}.team-card img{height:430px}.back-to-top{right:14px;bottom:14px;width:48px;height:48px}.site-nav a.is-active{background:rgba(255,107,0,.2);color:#fff}}


/* v4 portfolio enhancements */
.portfolio-search{display:inline-flex;align-items:center;min-width:min(320px,100%)}
.portfolio-search input{width:100%;border:1px solid var(--line-dark);border-radius:999px;padding:11px 16px;background:#fff;color:#111;font-weight:800;outline:none;transition:.2s ease}
.portfolio-search input:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(255,107,0,.12)}
.project-count{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#111;color:#fff;font-size:13px;font-weight:900}
.portfolio-content>img{background:#fff;border:1px solid rgba(17,17,17,.08);padding:10px;object-fit:contain}
.portfolio-domain{margin-top:12px;color:#777;font-size:13px;font-weight:800;word-break:break-word}
.portfolio-empty{display:none;margin:20px 0;padding:22px;border-radius:20px;background:#fff3e8;color:#111;font-weight:900}
.portfolio-empty.is-visible{display:block}
@media (max-width:720px){.portfolio-toolbar{display:grid;grid-template-columns:1fr 1fr}.portfolio-search{grid-column:1 / -1}.project-count{justify-content:center}.filter-btn{width:100%}}


/* v5 refinements */
.site-nav a.home-btn{
  width:44px;
  height:44px;
  padding:0;
  border-radius:12px;
  display:grid;
  place-items:center;
  flex:0 0 44px;
  font-size:0;
  line-height:1;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}
.site-nav a.home-btn::before{
  content:"⌂";
  font-size:19px;
  font-weight:950;
  line-height:1;
}
.site-nav a.home-btn:hover,
.site-nav a.home-btn.is-active{
  background:var(--orange);
  color:#111;
  border-color:var(--orange);
}
.team-info p{
  text-transform:none;
}
.team-card img[alt="Filipe Moreira"]{
  object-position:center top;
}
.portfolio-item[data-project-domain] .portfolio-content img{
  max-width:180px;
  margin-left:auto;
  margin-right:auto;
}
.portfolio-live-note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  color:#777;
  font-size:12px;
  font-weight:800;
}
@media (max-width:720px){
  .site-nav a.home-btn{
    width:100%;
    flex:auto;
    height:44px;
    border-radius:14px;
    font-size:14px;
    display:flex;
    justify-content:center;
  }
  .site-nav a.home-btn::before{content:"Home";font-size:14px;}
}


/* v6 text/UX refinements */
.site-nav a.home-btn{
  width:44px !important;
  height:44px !important;
  min-width:44px;
  padding:0 !important;
  border-radius:10px !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 44px;
  font-size:0 !important;
  line-height:1;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}
.site-nav a.home-btn::before{
  content:"⌂";
  font-size:20px;
  font-weight:950;
  line-height:1;
}
.site-nav a.home-btn:hover,
.site-nav a.home-btn.is-active{
  background:var(--orange);
  color:#111;
  border-color:var(--orange);
}
.team-info p{ text-transform:none; }
.team-card img[alt="Filipe Moreira"]{
  object-position:center top;
}
@media (max-width:720px){
  .site-nav a.home-btn{
    width:100% !important;
    flex:auto;
    height:44px !important;
    border-radius:14px !important;
    font-size:14px !important;
    display:flex !important;
    justify-content:center;
  }
  .site-nav a.home-btn::before{content:"Home";font-size:14px;}
}


/* v8 fixes: square home button, cache-busted team portraits */
.site-nav .home-btn{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:0 !important;
  aspect-ratio:1 / 1;
  font-size:18px;
  line-height:1;
}
.team-card img{
  object-fit:cover;
  object-position:center;
}
.team-card img[alt="Filipe Moreira"]{
  object-position:center 22%;
}
.team-card img[alt="Vitor Monteiro"]{
  object-position:center 18%;
}

/* v9 refinements */
.hero{
  min-height:100vh !important;
  height:100vh;
}
.hero-grid{
  min-height:100vh;
  padding-top:118px !important;
  padding-bottom:74px !important;
}
.site-nav a.is-active{
  background:var(--orange) !important;
  color:#111 !important;
  border-color:var(--orange) !important;
}
.site-nav a.home-btn{
  width:auto !important;
  min-width:58px !important;
  height:44px !important;
  padding:0 14px !important;
  border-radius:10px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1 !important;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}
.site-nav a.home-btn::before,
.site-nav a.home-btn::after{
  content:none !important;
}
.phone-note{
  margin:8px 0 0;
  color:rgba(255,255,255,.58);
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
@media (max-width:980px){
  .hero{height:auto;min-height:100vh !important;}
  .hero-grid{min-height:100vh;padding-top:130px !important;padding-bottom:96px !important;}
}
@media (max-width:720px){
  .site-nav a.home-btn{
    width:100% !important;
    min-width:0 !important;
    height:44px !important;
    border-radius:14px !important;
    font-size:14px !important;
  }
}


/* v11 — Ajustes PWA e contactos */
.pwa-features{
  align-self:start;
}
.mini-feature{
  min-height:0 !important;
  height:auto !important;
  padding:26px !important;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:34px;
}
.mini-feature strong{
  margin-bottom:0 !important;
}
.mini-feature span{
  max-width:28ch;
  line-height:1.45;
}
.contact-details .email-link{
  display:block;
  width:max-content;
  max-width:100%;
  margin-bottom:12px !important;
  line-height:1.2;
}
.contact-details .phone-link{
  margin-top:4px;
  margin-bottom:18px !important;
  font-size:20px;
  letter-spacing:.01em;
}
.contact-details .phone-note{
  margin:0 0 28px !important;
  color:rgba(255,255,255,.58);
  font-size:13px;
  line-height:1.4;
  font-weight:800;
}
@media (max-width:1060px){
  .pwa-grid{grid-template-columns:1fr;gap:34px;}
  .pwa-features{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .pwa-features{grid-template-columns:1fr;}
  .mini-feature{gap:22px;}
  .contact-details .email-link{width:100%;word-break:break-word;}
}

/* v12: logos largos em cartões de projeto */
.project-logo-wide {
  max-width: 280px;
  width: min(78%, 280px);
  height: auto;
  object-fit: contain;
}
.portfolio-content > img[src*="logo-persantiago"] {
  max-width: 220px;
  width: min(70%, 220px);
  height: auto;
  object-fit: contain;
}

/* v13 — Ajustes finais de identidade, hero, menu e portefólio */
:root{
  --orange:#f2b41b;
  --orange-2:#ffd34f;
}
.site-header .brand{
  gap:0;
  min-width:auto;
}
.site-header .brand span{
  display:none !important;
}
.site-header .brand img,
.site-header .brand-logo-horizontal{
  width:150px !important;
  height:auto !important;
  max-height:58px;
  object-fit:contain;
}
.site-header.is-scrolled .header-inner{
  background:rgba(9,9,9,.78);
}
.site-nav a,
.site-nav a.home-btn,
.site-nav a.home-btn.is-active,
.site-nav a.home-btn:hover{
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  aspect-ratio:auto !important;
  padding:10px 14px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
  border:1px solid transparent !important;
}
.site-nav a.home-btn::before,
.site-nav a.home-btn::after{
  content:none !important;
}
.site-nav a.is-active{
  background:var(--orange) !important;
  color:#111 !important;
  border-color:var(--orange) !important;
}
.site-nav .nav-cta{
  background:#fff !important;
  color:#111 !important;
  border-color:transparent !important;
  margin-left:8px;
}
.site-nav .nav-cta:hover{
  background:var(--orange) !important;
  color:#111 !important;
}
.hero{
  min-height:100vh !important;
  height:auto !important;
  background:radial-gradient(circle at 72% 22%, rgba(242,180,27,.22), transparent 32%),linear-gradient(135deg,#050505 0%,#111 62%,#17120b 100%);
}
.hero-grid{
  min-height:100vh !important;
  padding-top:132px !important;
  padding-bottom:72px !important;
  gap:54px !important;
}
.hero h1{
  font-size:clamp(56px,7.1vw,104px) !important;
  line-height:.92 !important;
  letter-spacing:-.075em !important;
  max-width:780px;
}
.hero-lead{
  max-width:640px;
  font-size:clamp(18px,1.65vw,24px) !important;
}
.eyebrow{
  color:var(--orange-2);
}
.btn-primary,
.metric-b,
.back-to-top:hover,
.site-nav a.is-active{
  background:var(--orange) !important;
}
.btn-primary:hover{
  background:#fff !important;
}
.showcase-content p,
.text-link,
.card-action,
.email-link,
.site-footer a{
  color:var(--orange-2) !important;
}
.service-card:hover,
.contact-form input:focus,
.contact-form textarea:focus,
.portfolio-search input:focus{
  border-color:rgba(242,180,27,.58) !important;
}
.contact-logo-horizontal{
  width:170px !important;
  height:auto !important;
  object-fit:contain !important;
  margin-bottom:28px !important;
}
.project-card .project-logo,
.portfolio-content > img{
  background:rgba(255,255,255,.96);
}
@media (max-width:1060px){
  .site-nav a,
  .site-nav a.home-btn{
    width:100% !important;
    justify-content:flex-start !important;
    padding:14px !important;
    border-radius:16px !important;
  }
  .site-nav .nav-cta{margin-left:0;}
  .hero-grid{padding-top:128px !important;}
  .hero h1{font-size:clamp(52px,12vw,82px) !important;}
}
@media (max-width:720px){
  .site-header .brand img,
  .site-header .brand-logo-horizontal{
    width:120px !important;
    max-height:46px;
  }
  .header-inner{height:66px;}
  .hero-grid{padding-top:118px !important;padding-bottom:70px !important;}
  .hero h1{font-size:clamp(44px,13vw,66px) !important;}
  .hero-lead{font-size:18px !important;}
}

/* v14 menu, hero spacing and brand refinements */
:root{
  --orange:#f2b41b;
  --orange-2:#ffd15a;
}
.skip-link{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.site-header{
  padding-top:16px !important;
}
.header-inner{
  height:86px !important;
  padding:0 22px !important;
}
.site-header .brand,
.site-header .brand:focus,
.site-header .brand:hover{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.site-header .brand img,
.site-header .brand-logo-horizontal{
  width:146px !important;
  height:auto !important;
  max-height:70px !important;
  object-fit:contain !important;
}
.site-nav a,
.site-nav a.home-btn{
  background:transparent !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
  color:rgba(255,255,255,.76) !important;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.home-btn:hover,
.site-nav a.home-btn:focus-visible{
  background:rgba(242,180,27,.16) !important;
  border-color:rgba(242,180,27,.34) !important;
  color:#fff !important;
}
.site-nav a.is-active,
.site-nav a.home-btn.is-active{
  background:var(--orange) !important;
  border-color:var(--orange) !important;
  color:#111 !important;
}
.site-nav .nav-cta{
  background:#fff !important;
  color:#111 !important;
  border-color:transparent !important;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible{
  background:var(--orange) !important;
  color:#111 !important;
  border-color:var(--orange) !important;
}
.hero-grid{
  padding-top:178px !important;
  padding-bottom:74px !important;
}
.hero .eyebrow{
  font-size:10px !important;
  letter-spacing:.28em !important;
  margin-bottom:34px !important;
}
.hero .eyebrow::before{
  width:42px !important;
}
.hero h1{
  font-size:clamp(48px,6.35vw,92px) !important;
  line-height:.93 !important;
  max-width:720px !important;
}
.hero-lead{
  margin-top:26px !important;
  font-size:clamp(17px,1.5vw,22px) !important;
}
.btn-primary,
.metric-b,
.back-to-top:hover{
  background:var(--orange) !important;
}
@media (max-width:1060px){
  .header-inner{height:78px !important;}
  .site-header .brand img,
  .site-header .brand-logo-horizontal{width:128px !important;max-height:60px !important;}
  .hero-grid{padding-top:150px !important;}
  .hero h1{font-size:clamp(46px,10vw,76px) !important;}
}
@media (max-width:720px){
  .header-inner{height:68px !important;padding:0 14px !important;}
  .site-header .brand img,
  .site-header .brand-logo-horizontal{width:104px !important;max-height:50px !important;}
  .hero-grid{padding-top:128px !important;}
  .hero .eyebrow{font-size:9px !important;letter-spacing:.22em !important;margin-bottom:24px !important;}
  .hero h1{font-size:clamp(40px,12vw,62px) !important;}
}

/* v15 — formulário por servidor, contactos e ajustes hero */
.hero .eyebrow{
  font-size:22px !important;
  letter-spacing:.18em !important;
  line-height:1.15 !important;
}
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.contact-details .quick-links{display:none !important;}
.contact-form .btn{cursor:pointer;}
@media (max-width:720px){
  .hero .eyebrow{font-size:14px !important;letter-spacing:.14em !important;}
}

/* v16 — Persantiago uniforme, formulário profissional e proteção anti-spam */
.project-card .project-logo,
.project-card .project-logo-wide{
  width:100% !important;
  height:112px !important;
  max-width:none !important;
  object-fit:contain !important;
  border-radius:22px !important;
  margin-bottom:26px !important;
  background:rgba(255,255,255,.96) !important;
  padding:18px !important;
}
.portfolio-content > img[src*="logo-persantiago"]{
  width:100% !important;
  max-width:none !important;
  height:62px !important;
  object-fit:contain !important;
  border-radius:14px !important;
  background:#fff !important;
  padding:8px !important;
}
.human-check span{
  display:block;
  margin-top:2px;
  color:rgba(255,255,255,.46);
  font-size:13px;
  font-weight:800;
}
.contact-form .btn{
  appearance:none;
}

/* v17 — contacto útil, formulário com telefone e rodapé limpo */
.contact-grid-v17{
  grid-template-columns:.92fr 1.08fr !important;
  align-items:stretch !important;
}
.contact-details-v17{
  display:flex !important;
  flex-direction:column !important;
  gap:20px !important;
  min-height:auto !important;
}
.contact-details-v17 .contact-logo-horizontal{
  width:210px !important;
  max-width:68% !important;
  margin-bottom:16px !important;
}
.contact-details-v17 h3{
  margin-top:12px !important;
}
.contact-details-v17 .contact-direct{
  display:grid;
  gap:6px;
  margin:4px 0 2px;
}
.contact-details-v17 .email-link{
  margin:0 !important;
  font-size:clamp(18px,1.5vw,25px);
  line-height:1.15;
}
.contact-details-v17 .phone-link{
  font-size:clamp(24px,2vw,34px);
}
.contact-benefits{
  margin-top:6px;
  padding:22px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
}
.contact-benefits h4{
  margin:0 0 14px;
  color:var(--orange-2);
  font-size:18px;
  letter-spacing:-.03em;
}
.contact-benefits ul{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.contact-benefits li{
  color:rgba(255,255,255,.68);
  line-height:1.45;
}
.contact-benefits strong{
  color:#111;
  background:var(--orange);
  display:inline-grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:999px;
  margin-right:8px;
  font-size:13px;
}
.contact-mini-services{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:auto;
}
.contact-mini-services span{
  display:inline-flex;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  color:rgba(255,255,255,.74);
  font-weight:900;
  background:rgba(0,0,0,.14);
}
.site-footer .footer-inner{
  justify-content:center !important;
  text-align:center !important;
}
.site-footer .footer-inner a{
  display:none !important;
}
@media (max-width:1060px){
  .contact-grid-v17{grid-template-columns:1fr !important;}
  .contact-details-v17 .contact-logo-horizontal{width:180px !important;}
}
@media (max-width:720px){
  .contact-benefits{padding:18px;border-radius:20px;}
  .contact-mini-services span{font-size:13px;}
}

/* v18 — ajustes finais de lançamento */
.skip-link{display:none !important;}
.about-extra{margin-top:18px !important;}
.quote-section blockquote{max-width:980px;margin-left:auto;margin-right:auto;}
.site-nav a[href="#inicio"]{background:transparent !important;color:rgba(255,255,255,.76) !important;border-color:transparent !important;}
.site-nav a[href="#inicio"]:hover,
.site-nav a[href="#inicio"].is-active{background:var(--orange) !important;color:#111 !important;border-color:var(--orange) !important;}
.site-nav .nav-cta{background:#fff !important;color:#111 !important;}
.site-nav .nav-cta:hover,.site-nav .nav-cta.is-active{background:var(--orange) !important;color:#111 !important;}
.portfolio-actions a[href="#contactos"],.card-action[href="#contactos"]{cursor:pointer;}
.pwa-copy p{max-width:780px;}
@media(max-width:720px){.quote-section blockquote{font-size:clamp(34px,11vw,52px) !important;}}

/* v20 — menu: todos os itens com a mesma proporção */
.site-nav a,
.site-nav a[href="#inicio"],
.site-nav a.home-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  width:auto !important;
  min-height:48px !important;
  padding:0 22px !important;
  border-radius:18px !important;
  border:1px solid transparent !important;
  font-size:14px !important;
  line-height:1 !important;
}
.site-nav a[href="#inicio"]{
  background:transparent !important;
  color:rgba(255,255,255,.76) !important;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a[href="#inicio"]:hover,
.site-nav a[href="#inicio"].is-active{
  background:var(--orange) !important;
  color:#111 !important;
  border-color:var(--orange) !important;
}
.site-nav .nav-cta{
  min-height:52px !important;
  border-radius:999px !important;
  padding:0 24px !important;
  background:#fff !important;
  color:#111 !important;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active{
  background:var(--orange) !important;
  color:#111 !important;
}
@media (max-width:720px){
  .site-nav a,
  .site-nav a[href="#inicio"],
  .site-nav a.home-btn{
    width:100% !important;
    border-radius:16px !important;
    padding:0 18px !important;
  }
}


/* v24 — menu estável e menos arredondado */
.site-nav{gap:10px !important;}
.site-nav a,
.site-nav a.home-btn,
.site-nav a[href="#inicio"]{
  box-sizing:border-box !important;
  min-width:108px !important;
  height:50px !important;
  padding:0 24px !important;
  border-radius:16px !important;
  border:1px solid transparent !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:-.02em !important;
  transform:none !important;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease !important;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a.home-btn:hover,
.site-nav a.home-btn:focus-visible,
.site-nav a.home-btn.is-active,
.site-nav a[href="#inicio"]:hover,
.site-nav a[href="#inicio"].is-active{
  background:var(--orange) !important;
  color:#111 !important;
  border-color:var(--orange) !important;
  border-radius:16px !important;
  transform:none !important;
}
.site-nav .nav-cta{
  min-width:150px !important;
  height:56px !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#111 !important;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active{background:var(--orange) !important;color:#111 !important;}
@media (max-width:1060px){
  .site-nav a,.site-nav a.home-btn,.site-nav a[href="#inicio"]{width:100% !important;min-width:0 !important;justify-content:flex-start !important;border-radius:16px !important;padding:0 18px !important;}
  .site-nav .nav-cta{width:100% !important;min-width:0 !important;border-radius:16px !important;}
}

/* K4W — detalhes dos projetos via portal */
.project-card,
.portfolio-item {
  position: relative;
}

.project-more-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: #f6b516;
  color: #0f0f0f;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.portfolio-item .project-more-btn {
  right: 20px;
  bottom: 20px;
}

.project-more-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: #ffd24a;
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.is-open {
  display: block;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, .72);
  backdrop-filter: blur(12px);
}

.project-modal-panel {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 42px);
  margin: 21px auto;
  overflow: auto;
  border-radius: 32px;
  background: #f7f4ed;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.project-modal-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 2;
  margin: 18px 18px -58px 0;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.project-modal-hero {
  min-height: 280px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-modal-hero img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.project-modal-body {
  padding: clamp(28px, 5vw, 56px);
}

.project-modal-logo-wrap {
  min-height: 20px;
  margin-bottom: 18px;
}

.project-modal-logo {
  max-width: 240px;
  max-height: 110px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.project-modal-eyebrow {
  margin: 0 0 10px;
  color: #d59600;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-modal-body h2 {
  margin: 0;
  color: #101010;
  font-size: clamp(34px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.05em;
}

.project-modal-domain {
  margin: 16px 0 0;
  color: #5c6573;
  font-size: 18px;
  font-weight: 800;
}

.project-modal-description {
  margin: 24px 0 0;
  max-width: 780px;
  color: #263244;
  font-size: 19px;
  line-height: 1.7;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.project-modal-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  background: #111;
}

.project-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.project-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .project-more-btn {
    width: 38px;
    height: 38px;
    right: 14px;
    bottom: 14px;
    font-size: 25px;
  }

  .project-modal-panel {
    width: calc(100vw - 18px);
    margin: 9px auto;
    border-radius: 24px;
  }

  .project-modal-hero {
    min-height: 200px;
  }

  .project-modal-actions {
    flex-direction: column;
  }

  .project-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* K4W — refinamento do botão + e modal de projetos */
.project-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-family: Arial, sans-serif;
  font-size: 30px !important;
  line-height: 1 !important;
  transform-origin: center;
}

.project-more-btn:hover {
  transform: translateY(-3px) scale(1.06);
}

.project-more-btn:focus-visible {
  outline: 3px solid rgba(246, 181, 22, .35);
  outline-offset: 4px;
}

.project-modal-backdrop {
  background:
    radial-gradient(circle at 20% 10%, rgba(246, 181, 22, .22), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .10), transparent 30%),
    rgba(5, 8, 15, .78);
  backdrop-filter: blur(16px);
}

.project-modal-panel {
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100vh - 38px);
  border-radius: 34px;
  overflow: hidden;
  background: #f7f4ed;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 34px 110px rgba(0,0,0,.55);
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  float: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,15,15,.88);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.project-modal-close:hover {
  background: #f6b516;
  color: #111;
}

.project-modal-content {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(360px, .92fr);
  min-height: 620px;
}

.project-modal-hero {
  min-height: unset;
  height: auto;
  background:
    linear-gradient(145deg, rgba(0,0,0,.18), rgba(0,0,0,.78)),
    #111;
  align-items: stretch;
  justify-content: stretch;
}

.project-modal-hero img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 620px;
  object-fit: cover;
  opacity: .94;
}

.project-modal-body {
  position: relative;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 181, 22, .16), transparent 26%),
    #f7f4ed;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-modal-logo-wrap {
  margin-bottom: 24px;
}

.project-modal-logo {
  max-width: 230px;
  max-height: 96px;
  border-radius: 20px;
  padding: 16px 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .10);
}

.project-modal-eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .18em;
  color: #d89b00;
}

.project-modal-body h2 {
  max-width: 620px;
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: .94;
  letter-spacing: -.06em;
}

.project-modal-domain {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
  color: #4b5563;
  font-size: 15px;
  font-weight: 900;
}

.project-modal-description {
  margin-top: 28px;
  color: #263244;
  font-size: 18px;
  line-height: 1.75;
}

.project-modal-gallery {
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-modal-gallery img {
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .12);
}

.project-modal-actions {
  margin-top: 38px;
  gap: 12px;
}

.project-modal-actions .btn {
  min-height: 50px;
}

.project-modal-actions .btn-outline {
  background: #fff;
}

@media (max-width: 920px) {
  .project-modal-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-modal-hero img {
    min-height: 280px;
    max-height: 420px;
  }

  .project-modal-body {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .project-more-btn {
    font-size: 27px !important;
  }

  .project-modal-panel {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    border-radius: 26px;
  }

  .project-modal-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .project-modal-body {
    padding: 28px 22px 34px;
  }

  .project-modal-logo {
    max-width: 190px;
  }

  .project-modal-description {
    font-size: 16px;
  }

  .project-modal-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
