/* Vick Studio editorial system. Same palette and visual language at every size. */
:root {
  --bg:#101116; --panel:#1b1d26; --line:#373a48;
  --text:#f8f7fa; --muted:#c4c6d0; --soft:#acafbc;
  --surface-gradient:radial-gradient(ellipse at 0% 0%,#29223e 0%,transparent 65%),radial-gradient(ellipse at 100% 100%,#142c37 0%,transparent 62%),#15171e;
}
.site-header,.site-footer {background:#111219; z-index:40;}
.site-header::before,.site-footer::before {content:"";position:absolute;inset-inline:0;height:2px;pointer-events:none;background:linear-gradient(90deg,#49d4ef,#8c76ec);}
.site-header::before {top:0;opacity:.8;}
.site-footer::before {top:0;right:auto;width:calc(var(--scene-progress,1)*100%);transition:width .3s ease;}
.main-nav {font-size:clamp(14px,.83rem,18px);gap:clamp(15px,1.65vw,32px);}
.main-nav a:not(.nav-contact) {position:relative;}
.main-nav a:not(.nav-contact)[aria-current="page"]::after {content:"";position:absolute;bottom:5px;left:0;right:0;height:2px;background:var(--gradient);}
.main-nav .nav-contact {background:#21222e;border-color:#66617b;padding:.65em 1em;}
.main-nav .nav-contact:hover {border-color:var(--cyan);}
.scene-arrow {border-radius:6px;}
.scene-arrow:hover:not(:disabled) {background:#252735;}
.scene-status {font-weight:650;}
.scene-dot[aria-current="location"]::before {background:var(--gradient);box-shadow:0 0 10px #9b8cff55;}
.footer-brand,.footer-contact {font-size:clamp(12px,.78rem,16px);}
.button {border-radius:6px;}
.button.primary {box-shadow:0 6px 25px #7d77ed25;}
.button.secondary {background:#191b26;}
.section-heading,.hero-copy,.about-copy,.contact-grid>div:first-child,.contact-intro,.case-context {background:var(--surface-gradient);}
/* Deliberate editorial geometry, not fabricated portfolio images. */
.hero-copy,.about-copy,.manifesto>.shell,.contact-intro,.contact-grid>div:first-child {position:relative;isolation:isolate;overflow:hidden;}
.hero-copy::before,.about-copy::before,.manifesto>.shell::before,.contact-intro::before,.contact-grid>div:first-child::before {content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:url('/img/decoracion/trama.svg') no-repeat 105% 85% / min(75%,520px);opacity:.12;}
.hero-copy::after,.about-copy::after {content:"";position:absolute;left:var(--pad);right:var(--pad);bottom:clamp(12px,3cqh,28px);height:1px;background:linear-gradient(90deg,#49d4ef88,#b19aff44,transparent);pointer-events:none;}
.hero h1 {max-width:12ch;}
.hero-image {background:#282628;}
.hero-image>img {object-position:50% 20%;}
.portrait-label {position:relative;background:linear-gradient(105deg,#211e30,#191b24);border-top:2px solid #8d81ee;}
.portrait-label strong {letter-spacing:-.03em;}
.hero-visual figcaption {border-top:1px solid #383847;}
.section-heading {position:relative;border-bottom:1px solid var(--line);}
.section-heading::after {content:"";position:absolute;bottom:0;left:var(--pad);width:80px;height:2px;background:var(--gradient);}
.project-grid {gap:clamp(6px,.6cqw,12px);background:#101116;}
.project-card {border:1px solid #3e4150;}
.project-card>a {overflow:hidden;}
.project-card:nth-child(1) {--project-accent:#71c9ef;}
.project-card:nth-child(2) {--project-accent:#ffbd8e;}
.project-card:nth-child(3) {--project-accent:#a4e190;}
.project-caption {position:relative;background:linear-gradient(135deg,#262837,#1c1e28);border-top:2px solid var(--project-accent);}
.project-type {color:var(--project-accent);}
.project-index {border:1px solid #ffffff35;}
.project-card a:hover .project-caption {background:#2b3040;}
.project-bottom {background:#14161d;}
.services-layout,.process-grid {gap:clamp(4px,.5cqw,10px);background:#101116;}
.service {background:linear-gradient(125deg,#25243a,#1c1e27 75%);border:1px solid #3b3e4c;}
.service:nth-child(2) {background:linear-gradient(125deg,#1b303b,#1c1e27 75%);}
.service-icon {color:var(--cyan);}
.social-showcase {background:linear-gradient(135deg,#242636,#1b1d25);}
.social-grid a {border:1px solid #3b3d47;}
.about-portrait {border-right:1px solid #4e4657;background:radial-gradient(ellipse at center,#3f3838,#1b1b21);}
.about-copy {gap:clamp(14px,2.4cqh,28px);}
.about-copy h1,.about-copy h2 {max-width:16ch;}
.credentials {display:grid;gap:3px;padding:12px 16px;border-left:3px solid var(--cyan);background:#202331;border-radius:0 4px 4px 0;font-size:.9rem;line-height:1.4;}
.credentials strong {font-size:1rem;color:var(--text);}
.credentials span {color:var(--muted);}
.process-grid li {overflow:hidden;border:1px solid #444354;grid-template-columns:minmax(3.3em,.32fr) minmax(0,1fr);background:linear-gradient(135deg,#2d2944,#1b1d26 72%);}
.process-grid li:nth-child(2n) {background:linear-gradient(135deg,#203946,#1b1d26 72%);}
.step-number {align-self:center;letter-spacing:-.06em;}
.process-grid h3 {display:flex;align-items:center;gap:.55em;}
.process-grid .step-icon {flex:none;width:1.1em;height:1.1em;color:var(--cyan);}
.manifesto {background:var(--surface-gradient);}
.manifesto>.shell {grid-template-rows:auto minmax(0,1fr) auto;}
.manifesto>.shell::before {background-position:right center;background-size:min(56%,850px);opacity:.22;}
.manifesto blockquote {max-width:22ch;font-size:clamp(2.5rem,min(6.2cqw,10cqh),6.8rem);text-wrap:balance;}
.contact-links {background:linear-gradient(145deg,#24283a,#191e28);}
.contact-links a {border-color:#525466;background:#1d202b;}
.contact-links a:hover {background:#2a3040;}
.contact-grid>div:first-child {background:var(--surface-gradient);}
.contact-form {background:linear-gradient(135deg,#252738,#1c1e27);}
.contact-form :is(input,textarea,select) {border-radius:6px;background:#13151d;}
/* Portrait compositions use the same tokens and actual stage dimensions. */
@container stage (aspect-ratio < 1/1) {
 .hero-copy::after,.about-copy::after {display:none;}
 .hero-copy::before,.about-copy::before {background-size:70%;opacity:.1;}
 .hero h1 {max-width:20ch;}
 .hero-copy {justify-content:center;}
 .hero-image>img {object-fit:contain;}
 .project-grid {gap:5px;}
 .project-card>a {grid-template-columns:52% minmax(0,1fr);}
 .project-caption {border-top:0;border-left:2px solid var(--project-accent);}
 .project-type {font-size:.73rem;}
 .about-portrait {border-right:0;border-bottom:1px solid #4e4657;}
 .about-copy {gap:9px;}
 .about-copy h1,.about-copy h2 {max-width:none;}
 .credentials {padding:8px 12px;font-size:.85rem;}
 .credentials strong {font-size:.92rem;}
 .process-grid li {grid-template-columns:2.85em minmax(0,1fr);gap:5px 14px;padding-block:clamp(9px,1.5cqh,18px);}
 .step-number {font-size:2.3rem;}
 .manifesto>.shell {grid-template-rows:auto minmax(0,1fr) auto;align-items:center;padding:clamp(16px,3cqh,34px) var(--pad);gap:12px;}
 .manifesto>.shell::before {background-size:95%;background-position:center;opacity:.15;}
 .manifesto blockquote {font-size:clamp(2rem,8.1cqw,5.2rem);max-width:20ch;text-wrap:balance;}
 .contact-grid {grid-template-rows:minmax(min-content,1fr) minmax(min-content,.9fr);}
 .contact-grid>div:first-child {padding-block:clamp(16px,3cqh,34px);gap:10px;}
 .contact-grid h2 {font-size:clamp(2.4rem,8.6cqw,5rem);}
 .contact-links {padding-block:clamp(12px,2cqh,22px);gap:10px;}
 .contact-links a {padding:clamp(12px,2.4cqh,22px);}
}
@container stage (max-width:480px) {
 .hero h1 {font-size:clamp(1.95rem,8.1cqw,2.9rem);}
 .hero .button {font-size:.79rem;min-height:44px;}
 .project-type {font-size:.66rem;}
 .project-caption h3 {font-size:1.17rem;}
 .process-grid li {grid-template-columns:2.6em minmax(0,1fr);column-gap:10px;}
 .process-grid h3 {font-size:1.16rem;}
 .step-number {font-size:2.15rem;}
 .contact-links .contact-logo {display:none;}
 .about-copy>p:not(.eyebrow) {font-size:.94rem;}
}
@container stage (max-width:480px) and (max-height:630px) {
 .manifesto blockquote {font-size:clamp(1.9rem,7.7cqw,2.7rem);}
 .manifesto-brand {width:clamp(158px,48cqw,240px);}
 .hero-copy {gap:8px;}
 .hero {grid-template-rows:auto minmax(125px,1fr);}
 .portrait-label {padding:9px var(--pad);}
 .portrait-label strong {font-size:1.35rem;}
 .portrait-label small {font-size:.8rem;}
 .about-copy {gap:7px;}
 .process-grid li {padding-block:8px;}
}
@media(max-width:700px) {
 .app-shell {--header-h:64px;--footer-h:58px;}
 .brand {width:clamp(135px,44vw,170px);}
 .menu-toggle {border-color:#4d4e60;background:#1d202a;min-height:44px;font-size:.92rem;}
 .js .main-nav {background:#171923;}
 .js .main-nav a {font-size:1rem;min-height:46px;}
 .footer-inner {grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);}
 .footer-inner>.footer-brand,.footer-inner>.footer-contact:last-child {font-size:.72rem;}
 .scene-arrow {width:44px;height:44px;}
 .scene-status {min-width:64px;}
}
@media(max-width:345px) {
 .footer-inner {padding-inline:8px;gap:3px;}
 .footer-inner>.footer-brand,.footer-inner>.footer-contact:last-child {font-size:.65rem;}
 .scene-arrow {width:38px;}
}
@media(prefers-reduced-motion:no-preference) {
 .scene.enter-down {animation:enter-down .28s cubic-bezier(.22,.8,.26,1) both;}
 .scene.enter-up {animation:enter-up .28s cubic-bezier(.22,.8,.26,1) both;}
}
/* Brand-led aurora: consistent on wide and portrait canvases. */
:root {
 --surface-gradient:radial-gradient(ellipse at 16% 8%,#7835eb38 0%,transparent 58%),radial-gradient(ellipse at 98% 90%,#00a8d62c 0%,transparent 58%),radial-gradient(ellipse at 80% 14%,#415cca18 0%,transparent 50%),#14151c;
 --gradient:linear-gradient(110deg,#49d4ef 0%,#8795ff 53%,#b19aff 100%);
}
h1,h2,h3 {font-weight:800;letter-spacing:-.045em;}
.ui-icon {display:inline-block;width:1.25em;height:1.25em;vertical-align:middle;flex:none;}
.scene-arrow .ui-icon {width:25px;height:25px;}
.round-arrow .ui-icon {width:1.4em;height:1.4em;}
.button .ui-icon {width:1.15em;height:1.15em;}
.service-icon {padding:9px;border:1px solid #8179b660;background:linear-gradient(145deg,#4c3c7738,#193c4a38);border-radius:12px;max-height:4.2em;}
.process-grid .step-icon {width:1.35em;height:1.35em;padding:.15em;border:1px solid #6b78965c;border-radius:5px;}
.process-grid li {background:radial-gradient(ellipse at 0% 0%,#7835eb28,transparent 70%),#1b1d26;}
.process-grid li:nth-child(2n) {background:radial-gradient(ellipse at 0% 0%,#00a8d62b,transparent 70%),#1b1d26;}
.hero-copy::before,.about-copy::before,.manifesto>.shell::before,.contact-intro::before,.contact-grid>div:first-child::before {opacity:.27;}
.hero-copy::before {background-position:112% 91%;background-size:min(90%,640px);}
.manifesto>.shell::before {opacity:.29;}
@media(min-width:1101px) and (orientation:landscape) {.brand {width:clamp(200px,15.4vw,290px);}}
@media(max-width:700px) {.brand {width:clamp(146px,48vw,188px);} .menu-toggle .ui-icon {width:22px;height:22px;}}
@container stage (aspect-ratio < 1/1) {
 .hero-copy::before,.about-copy::before {background-size:84%;opacity:.24;}
 .manifesto>.shell::before {opacity:.24;}
}
@container stage (max-width:480px) {
 .service-icon {padding:5px;border-radius:8px;}
 .process-grid .step-icon {width:1.2em;height:1.2em;}
}
.menu-glyph path {transition:transform .2s ease,opacity .2s ease;transform-box:view-box;transform-origin:24px 24px;}
.menu-toggle[aria-expanded="true"] .menu-line-a {transform:translateY(9px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] .menu-line-b {opacity:0;}
.menu-toggle[aria-expanded="true"] .menu-line-c {transform:translateY(-9px) rotate(-45deg);}
@media(prefers-reduced-motion:reduce) {.menu-glyph path {transition:none;}}
