/*
Theme Name: Rettix Studio
Theme URI: https://rettix.studio
Author: Rettix Ltd
Description: Bespoke cinematic WordPress theme for Rettix Studio — advertising, content and production.
Version: 1.4.3
Text Domain: rettix-studio
*/

:root{--ink:#08090b;--paper:#f2f0ea;--muted:#a6a6a6;--line:rgba(255,255,255,.17);--blue:#1e58ff;--softblue:#7ea3ff;--card:#111318;--radius:26px}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--ink)}body{margin:0;background:var(--ink);color:#fff;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}body.admin-bar .site-nav{top:32px}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}::selection{background:var(--blue);color:#fff}
.site-nav{position:fixed;top:0;left:0;right:0;z-index:80;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;border-bottom:1px solid transparent;transition:.35s ease}.site-nav.scrolled{background:rgba(8,9,11,.84);backdrop-filter:blur(18px);border-color:var(--line)}.brand{display:flex;align-items:center;gap:14px}.brand img{width:112px;display:block;filter:brightness(0) invert(1)}.brand small{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#c7c7c7}.nav-links{display:flex;align-items:center;gap:25px;font-size:13px;text-transform:uppercase;letter-spacing:.12em}.nav-links a{opacity:.75;transition:.2s}.nav-links a:hover,.nav-links .current-menu-item>a{opacity:1}.pill{border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:11px 16px;display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.03)}.dot{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 6px rgba(30,88,255,.16)}.menu-toggle{display:none;background:none;border:1px solid var(--line);color:#fff;border-radius:999px;padding:10px 13px}
.hero{position:relative;min-height:100svh;padding:120px 28px 28px;display:flex;align-items:flex-end;border-bottom:1px solid var(--line);overflow:hidden}.hero-grid{position:absolute;inset:0;background:linear-gradient(to right,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.05) 1px,transparent 1px);background-size:11vw 11vw;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 78%)}.orb{position:absolute;width:60vw;height:60vw;right:-11vw;top:-12vw;border-radius:50%;background:radial-gradient(circle at 40% 35%,rgba(126,163,255,.95),rgba(30,88,255,.45) 23%,rgba(31,40,75,.18) 49%,transparent 69%);filter:blur(6px);animation:orbfloat 9s ease-in-out infinite alternate}@keyframes orbfloat{to{transform:translate3d(-2vw,2vw,0) scale(1.06)}}.hero-inner{position:relative;z-index:2;width:100%}.kicker{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#b8b8b8}.kicker:before{content:"";width:44px;height:1px;background:var(--blue)}.hero h1{margin:0;max-width:1400px;font-size:clamp(62px,11.4vw,190px);line-height:.78;letter-spacing:-.075em;font-weight:800;text-transform:uppercase}.outline{color:transparent;-webkit-text-stroke:1.2px rgba(255,255,255,.72)}.hero-bottom{margin-top:48px;display:grid;grid-template-columns:1.3fr .7fr;gap:36px;align-items:end}.hero-copy{font-size:clamp(18px,2vw,28px);line-height:1.25;max-width:760px;color:#e5e5e5}.hero-meta{justify-self:end;max-width:390px;color:#a8a8a8;font-size:13px;line-height:1.6;text-transform:uppercase;letter-spacing:.08em}
.marquee{overflow:hidden;border-bottom:1px solid var(--line);background:var(--paper);color:var(--ink)}.marquee-track{display:flex;width:max-content;animation:marquee 26s linear infinite}.marquee span{padding:17px 22px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}.marquee b{color:var(--blue);margin:0 24px}@keyframes marquee{to{transform:translateX(-50%)}}
.section{padding:110px 28px;border-bottom:1px solid var(--line)}.section-head{display:grid;grid-template-columns:.35fr 1fr;gap:40px;margin-bottom:60px}.eyebrow{font-size:11px;letter-spacing:.2em;color:#8f8f8f;text-transform:uppercase}.section h2,.page-hero h1{font-size:clamp(48px,7vw,112px);line-height:.9;letter-spacing:-.055em;margin:0;text-transform:uppercase}.section-lead{font-size:clamp(18px,2.1vw,30px);line-height:1.25;max-width:900px;color:#c9c9c9;margin:24px 0 0}
.services{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.service{position:relative;min-height:360px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);padding:24px;display:flex;flex-direction:column;justify-content:space-between;transform:translateY(20px);opacity:0;transition:transform .7s ease,opacity .7s ease,border-color .25s}.service.show{transform:none;opacity:1}.service:hover{border-color:rgba(126,163,255,.65)}.service.big{grid-column:span 7;min-height:520px}.service.medium{grid-column:span 5;min-height:520px}.service.small{grid-column:span 4}.service .num{font-size:11px;letter-spacing:.18em;color:#858585}.service h3{margin:0;font-size:clamp(34px,4vw,64px);line-height:.9;letter-spacing:-.045em;text-transform:uppercase;max-width:90%}.service p{max-width:490px;color:#a9a9a9;line-height:1.55;font-size:14px}.service-bg{position:absolute;inset:0;opacity:.9;transition:transform .55s ease}.service:hover .service-bg{transform:scale(1.045)}.service>*:not(.service-bg){position:relative;z-index:2}.bg-video{background:radial-gradient(circle at 68% 28%,rgba(30,88,255,.95),transparent 20%),radial-gradient(circle at 80% 75%,rgba(126,163,255,.32),transparent 25%),linear-gradient(120deg,#111318 0%,#050607 58%,#171a24 100%)}.bg-social{background:linear-gradient(135deg,transparent 35%,rgba(30,88,255,.82) 35% 49%,transparent 49% 57%,rgba(255,255,255,.12) 57% 68%,transparent 68%),linear-gradient(145deg,#0e1119,#07080b)}.bg-photo{background:radial-gradient(circle at 30% 45%,rgba(255,255,255,.35),transparent 3%),radial-gradient(circle at 60% 25%,rgba(30,88,255,.55),transparent 16%),linear-gradient(160deg,#0d0f14,#171d29 52%,#070809)}.bg-campaign{background:repeating-linear-gradient(120deg,rgba(255,255,255,.05) 0 2px,transparent 2px 26px),radial-gradient(circle at 24% 34%,rgba(30,88,255,.85),transparent 17%),linear-gradient(140deg,#080a0e,#191d27)}.bg-ai{background:conic-gradient(from 210deg at 70% 50%,rgba(30,88,255,.8),transparent,rgba(126,163,255,.2),transparent),linear-gradient(145deg,#0c0d11,#020203)}
.work-section{background:var(--paper);color:var(--ink)}.work-section .section-lead{color:#3f3f3f}.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project{position:relative;aspect-ratio:16/10;border-radius:var(--radius);overflow:hidden;background:#d7d6d1;transform:translateY(22px);opacity:0;transition:.7s ease}.project.show{opacity:1;transform:none}.project img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.project:hover img{transform:scale(1.04)}.project-placeholder{position:absolute;inset:0;background:linear-gradient(135deg,#0d0f14,#1e58ff)}.project-info{position:absolute;left:0;right:0;bottom:0;padding:20px;display:flex;justify-content:space-between;gap:20px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff}.project-info h3{margin:0;font-size:22px;letter-spacing:-.03em}.project-info span{font-size:11px;text-transform:uppercase;letter-spacing:.15em;opacity:.7}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}.step{padding:28px 24px 34px;border-right:1px solid var(--line)}.step:last-child{border-right:0}.step .n{font-size:11px;letter-spacing:.16em;color:var(--softblue)}.step h3{font-size:29px;letter-spacing:-.04em;margin:58px 0 14px}.step p{color:#9d9d9d;line-height:1.55;font-size:14px}.statement{padding:120px 28px 135px;position:relative;overflow:hidden}.statement p{margin:0;max-width:1400px;font-size:clamp(50px,8.2vw,134px);line-height:.88;letter-spacing:-.065em;text-transform:uppercase}.statement em{font-style:normal;color:var(--blue)}
.cta{min-height:78vh;background:var(--blue);color:#fff;padding:38px 28px;display:flex;flex-direction:column;justify-content:space-between}.cta-top{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.16em;text-transform:uppercase}.cta h2{font-size:clamp(70px,13.4vw,215px);line-height:.76;letter-spacing:-.075em;margin:0;text-transform:uppercase}.cta-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.cta-bottom p{font-size:18px;max-width:520px;line-height:1.45;margin:0}.cta-button{width:190px;height:190px;border-radius:50%;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;text-transform:uppercase;letter-spacing:.12em;transition:.3s}.cta-button:hover{transform:rotate(-7deg) scale(1.04)}
.page-hero{padding:170px 28px 80px;border-bottom:1px solid var(--line)}.page-hero p{max-width:850px;font-size:clamp(18px,2vw,28px);line-height:1.35;color:#bdbdbd}.content-wrap{max-width:1200px;margin:0 auto;padding:80px 28px 120px}.content-wrap h2{font-size:clamp(34px,5vw,72px);line-height:.95;letter-spacing:-.04em;text-transform:uppercase}.content-wrap h3{font-size:clamp(24px,3vw,42px);letter-spacing:-.03em}.content-wrap p,.content-wrap li{font-size:18px;line-height:1.65;color:#c1c1c1}.content-wrap ul{padding-left:20px}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.work-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#0f1116}.work-card .thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#151822,#1e58ff)}.work-card .thumb img{width:100%;height:100%;object-fit:cover}.work-card .body{padding:18px}.work-card h3{margin:0 0 8px;font-size:24px}.work-card p{margin:0;color:#8e8e8e;font-size:14px}.service-points{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:45px 0}.service-point{border:1px solid var(--line);border-radius:18px;padding:22px;background:#0f1116}.service-point b{display:block;font-size:20px;margin-bottom:8px}.service-point span{color:#949494;line-height:1.5}
.contact-form{display:grid;gap:14px;max-width:760px}.contact-form input,.contact-form textarea{width:100%;background:#0f1116;border:1px solid var(--line);border-radius:14px;color:#fff;padding:16px;font:inherit}.contact-form textarea{min-height:180px;resize:vertical}.contact-form button{border:0;border-radius:999px;background:var(--blue);color:#fff;padding:15px 24px;cursor:pointer;font-weight:700}.form-note{font-size:13px;color:#8f8f8f}
footer{padding:28px;display:flex;justify-content:space-between;gap:24px;color:#8f8f8f;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.reveal{transform:translateY(25px);opacity:0;transition:.75s ease}.reveal.show{transform:none;opacity:1}


/* --- v1.1 responsive system --- */

/* Compact desktop / portrait monitor:
   keeps full desktop navigation, but reduces spacing and logo dominance. */
@media (max-width:1280px) and (min-width:701px){
  .site-nav{padding:16px 22px}
  .brand{gap:10px}
  .brand img{width:82px}
  .brand small{font-size:9px;line-height:1.15;max-width:62px}
  .nav-links{gap:14px;font-size:10.5px;letter-spacing:.105em}
  .pill{padding:9px 12px;gap:8px}
  .hero{padding-top:105px}
}

/* Portrait desktop/tablet layout.
   IMPORTANT: still uses the full navigation rather than mobile hamburger. */
@media (orientation:portrait) and (min-width:701px){
  .site-nav{padding:14px 18px}
  .brand img{width:78px}
  .brand small{font-size:8.5px;max-width:58px}
  .nav-links{gap:10px;font-size:9.8px;letter-spacing:.09em}
  .pill{padding:8px 10px}
  .hero-bottom,.section-head{grid-template-columns:1fr}
  .hero-meta{justify-self:start;max-width:620px}
  .hero h1{font-size:clamp(72px,10.5vw,130px)}
  .service.big,.service.medium{min-height:470px}
}

/* Real mobile only */
@media(max-width:700px){
  body.admin-bar .site-nav{top:46px}

  .site-nav{
    padding:18px 18px;
    align-items:flex-start;
    background:transparent;
    border:0;
  }
  .site-nav.scrolled{
    background:linear-gradient(to bottom,rgba(8,9,11,.88),rgba(8,9,11,.28),transparent);
    backdrop-filter:none;
    border:0;
  }

  .brand{align-items:flex-start;gap:0}
  .brand img{width:118px}
  .brand small{display:none}

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:84px;
    min-height:50px;
    background:rgba(8,9,11,.12);
    border:1px solid rgba(255,255,255,.28);
    color:#fff;
    border-radius:999px;
    padding:0 20px;
    font-size:18px;
    letter-spacing:0;
    text-transform:none;
    backdrop-filter:blur(10px);
    position:relative;
    z-index:102;
  }

  .nav-links{
    position:fixed;
    inset:0;
    z-index:101;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-end;
    gap:0;
    padding:120px 22px 34px;
    background:#08090b;
    transform:translateY(-105%);
    opacity:0;
    visibility:hidden;
    transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease,visibility .3s;
  }

  .nav-links.open{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
  }

  .nav-links a{
    width:100%;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.12);
    font-size:clamp(28px,9vw,42px);
    line-height:1;
    letter-spacing:-.035em;
    text-transform:uppercase;
    opacity:1;
  }

  .nav-links .pill{
    margin-top:24px;
    width:auto;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    padding:13px 18px;
    font-size:14px;
    letter-spacing:.08em;
  }

  .hero{
    min-height:100svh;
    padding:118px 22px 34px;
    align-items:flex-end;
  }

  /* Preserve the approved mobile composition */
  .hero-grid{background-size:25vw 25vw}
  .orb{
    width:78vw;height:78vw;
    right:-26vw;top:-12vw;
    opacity:.78;
  }
  .hero-inner{display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(100svh - 152px)}
  .kicker{margin-top:auto;margin-bottom:26px;font-size:10px;letter-spacing:.18em}
  .kicker:before{width:42px}
  .hero h1{
    font-size:clamp(63px,17.6vw,96px);
    line-height:.82;
    letter-spacing:-.068em;
  }
  .hero-bottom{
    grid-template-columns:1fr;
    gap:28px;
    margin-top:42px;
  }
  .hero-copy{
    font-size:clamp(18px,5.2vw,27px);
    line-height:1.28;
    max-width:94%;
  }
  .hero-meta{
    justify-self:start;
    max-width:100%;
    font-size:12px;
    line-height:1.55;
    letter-spacing:.065em;
    padding-bottom:6px;
  }

  .section,.statement,.cta,.page-hero{padding-left:18px;padding-right:18px}
  .section{padding-top:82px;padding-bottom:82px}
  .section-head{grid-template-columns:1fr;gap:24px;margin-bottom:42px}
  .section h2,.page-hero h1{font-size:clamp(48px,13vw,78px)}
  .section-lead{font-size:19px}
  .service.big,.service.medium,.service.small{grid-column:1/-1;min-height:390px}
  .projects{grid-template-columns:1fr;gap:10px}
  .process-grid,.work-grid{grid-template-columns:1fr}
  .step{border-right:0;border-bottom:1px solid var(--line)}
  .cta-bottom{align-items:flex-start;flex-direction:column}
  .cta-button{width:145px;height:145px}
  footer{padding:20px 18px;flex-direction:column}
}

/* Narrow phones: protect ATTENTION from clipping */
@media(max-width:390px){
  .hero h1{font-size:16.7vw}
  .hero .outline{letter-spacing:-.078em}
  .hero-copy{font-size:18px}
}

/* Very narrow phones */
@media(max-width:350px){
  .brand img{width:104px}
  .menu-toggle{min-width:76px;min-height:46px;font-size:16px}
  .hero{padding-left:16px;padding-right:16px}
  .hero h1{font-size:16.3vw}
}




/* --- v1.3 creative middle sections --- */

.creative-outcomes{
  position:relative;
  background:var(--paper);
  color:var(--ink);
  overflow:hidden;
}
.creative-outcomes:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right,rgba(8,9,11,.08) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(8,9,11,.05) 1px,transparent 1px);
  background-size:12.5vw 12.5vw;
  pointer-events:none;
}
.creative-outcomes .section-head{
  position:relative;
  z-index:2;
}
.creative-outcomes .eyebrow{color:#666}
.creative-outcomes .section-lead{color:#3f3f3f}

.outcomes-stage{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  min-height:940px;
  padding-top:20px;
}
.outcome-piece{
  position:relative;
  border:1px solid rgba(8,9,11,.13);
  overflow:hidden;
  min-height:380px;
  padding:28px;
  background:#eceae4;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition:transform .45s cubic-bezier(.2,.75,.2,1),border-color .35s ease;
}
.outcome-piece:hover{
  transform:translateY(-8px);
  border-color:rgba(30,88,255,.55);
}
.outcome-piece .ghost{
  position:absolute;
  right:-10px;
  top:-40px;
  font-size:clamp(140px,17vw,300px);
  line-height:1;
  font-weight:800;
  letter-spacing:-.08em;
  color:rgba(8,9,11,.06);
  user-select:none;
}
.outcome-piece .label{
  position:absolute;
  top:24px;
  left:28px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#777;
}
.outcome-piece h3{
  position:relative;
  z-index:2;
  margin:0;
  font-size:clamp(54px,7vw,118px);
  line-height:.78;
  letter-spacing:-.065em;
  text-transform:uppercase;
}
.outcome-piece p{
  position:relative;
  z-index:2;
  margin:20px 0 0;
  max-width:520px;
  font-size:15px;
  line-height:1.5;
  color:#444;
}
.outcome-piece.attention{
  grid-column:1 / span 7;
  min-height:520px;
  background:#0c0d10;
  color:#fff;
  border-color:rgba(255,255,255,.12);
}
.outcome-piece.attention p{color:#aaa}
.outcome-piece.attention .ghost{color:rgba(255,255,255,.05)}
.outcome-piece.attention .label{color:#777}

.outcome-piece.clarity{
  grid-column:8 / span 5;
  min-height:520px;
  background:var(--blue);
  color:#fff;
  border-color:transparent;
}
.outcome-piece.clarity p{color:rgba(255,255,255,.78)}
.outcome-piece.clarity .label{color:rgba(255,255,255,.6)}
.outcome-piece.clarity .ghost{color:rgba(255,255,255,.08)}

.outcome-piece.memory{
  grid-column:2 / span 5;
  min-height:390px;
}
.outcome-piece.action{
  grid-column:7 / span 6;
  min-height:390px;
  background:#dad8d1;
}
.outcome-piece.action:after{
  content:"";
  position:absolute;
  width:240px;height:240px;
  border-radius:50%;
  right:-70px;bottom:-70px;
  background:radial-gradient(circle,rgba(30,88,255,.6),rgba(30,88,255,.1) 46%,transparent 68%);
  filter:blur(3px);
}

/* Creative process sequence */
.process-creative{
  position:relative;
  overflow:hidden;
  padding-top:120px;
  padding-bottom:130px;
}
.process-creative .section-head{
  margin-bottom:70px;
}
.process-rail{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  min-height:540px;
}
.process-rail:before{
  content:"";
  position:absolute;
  left:-10%;
  top:50%;
  width:120%;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--blue),rgba(126,163,255,.25),transparent);
  transform:rotate(-6deg);
  transform-origin:center;
  opacity:.9;
  pointer-events:none;
}
.process-item{
  position:relative;
  padding:28px 26px 32px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
}
.process-item:last-child{border-right:0}
.process-item .big-no{
  position:absolute;
  right:-16px;
  top:8px;
  font-size:clamp(110px,11vw,205px);
  font-weight:800;
  line-height:.8;
  letter-spacing:-.08em;
  color:rgba(255,255,255,.035);
}
.process-item .micro{
  position:relative;
  z-index:2;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--softblue);
}
.process-item .process-copy{
  position:relative;
  z-index:2;
  margin-top:auto;
}
.process-item h3{
  margin:0 0 18px;
  font-size:clamp(42px,4.8vw,82px);
  line-height:.82;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.process-item p{
  margin:0;
  max-width:300px;
  color:#989898;
  font-size:14px;
  line-height:1.55;
}
.process-item:nth-child(2){transform:translateY(70px)}
.process-item:nth-child(3){transform:translateY(-28px)}
.process-item:nth-child(4){transform:translateY(44px)}
.process-item:hover h3{color:var(--softblue)}
.process-item h3{transition:color .25s ease}

/* mobile adaptations */
@media(max-width:900px){
  .outcomes-stage{
    min-height:0;
    grid-template-columns:1fr;
  }
  .outcome-piece.attention,
  .outcome-piece.clarity,
  .outcome-piece.memory,
  .outcome-piece.action{
    grid-column:auto;
    min-height:360px;
  }
  .outcome-piece h3{font-size:clamp(58px,12vw,88px)}
  .process-rail{
    grid-template-columns:1fr 1fr;
    min-height:0;
  }
  .process-item{
    min-height:400px;
    border-bottom:1px solid var(--line);
  }
  .process-item:nth-child(2),
  .process-item:nth-child(3),
  .process-item:nth-child(4){transform:none}
}
@media(max-width:700px){
  .outcome-piece{
    min-height:320px!important;
    padding:22px;
  }
  .outcome-piece .label{left:22px;top:20px}
  .outcome-piece h3{font-size:clamp(54px,15vw,78px)}
  .outcome-piece p{font-size:14px}
  .process-creative{padding-top:86px;padding-bottom:90px}
  .process-rail{grid-template-columns:1fr}
  .process-item{
    min-height:330px;
    border-right:0;
  }
  .process-rail:before{
    transform:rotate(-12deg);
    top:48%;
  }
}


/* =========================================================
   v1.4 — CREATIVE INNER PAGES
   ========================================================= */

.inner-creative{
  --page-accent:var(--blue);
  background:var(--ink);
  color:#fff;
}
.inner-hero{
  position:relative;
  min-height:82svh;
  padding:165px 28px 56px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.inner-hero-grid{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right,rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:12.5vw 12.5vw;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),rgba(0,0,0,.1));
  pointer-events:none;
}
.inner-hero-art{
  position:absolute;
  right:-9vw;
  top:-13vw;
  width:56vw;
  height:56vw;
  border-radius:50%;
  opacity:.9;
  filter:blur(4px);
  background:
    radial-gradient(circle at 42% 38%,rgba(126,163,255,.96),rgba(30,88,255,.43) 24%,rgba(30,88,255,.08) 51%,transparent 69%);
  pointer-events:none;
}
.inner-hero-art.lines{
  border-radius:0;
  width:50vw;
  height:65vw;
  right:-8vw;
  top:-14vw;
  filter:none;
  opacity:.6;
  background:
    repeating-linear-gradient(135deg,transparent 0 34px,rgba(30,88,255,.92) 34px 54px,transparent 54px 94px);
  transform:rotate(6deg);
}
.inner-hero-art.ring{
  border-radius:50%;
  width:52vw;
  height:52vw;
  right:-8vw;
  top:-12vw;
  filter:none;
  background:
    radial-gradient(circle,transparent 0 29%,rgba(30,88,255,.82) 30% 40%,rgba(126,163,255,.2) 41% 51%,transparent 52%);
}
.inner-hero-art.blocks{
  border-radius:0;
  width:48vw;
  height:58vw;
  right:-7vw;
  top:-9vw;
  filter:none;
  background:
    linear-gradient(135deg,transparent 0 25%,rgba(30,88,255,.95) 25% 46%,transparent 46% 56%,rgba(255,255,255,.08) 56% 71%,transparent 71%);
}
.inner-kicker{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:28px;
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#a5a5a5;
}
.inner-kicker:before{
  content:"";
  width:44px;
  height:1px;
  background:var(--page-accent);
}
.inner-hero h1{
  position:relative;
  z-index:2;
  margin:0;
  max-width:1450px;
  font-size:clamp(74px,11vw,182px);
  line-height:.76;
  letter-spacing:-.075em;
  text-transform:uppercase;
}
.inner-hero h1 .stroke{
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.65);
}
.inner-hero-bottom{
  position:relative;
  z-index:2;
  margin-top:46px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:end;
}
.inner-hero-lead{
  max-width:760px;
  font-size:clamp(20px,2.2vw,32px);
  line-height:1.24;
  color:#e0e0e0;
}
.inner-hero-meta{
  justify-self:end;
  max-width:430px;
  font-size:12px;
  line-height:1.6;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#8f8f8f;
}

/* Editorial message block */
.editorial-block{
  position:relative;
  padding:120px 28px 130px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.editorial-block .small-label{
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#777;
  margin-bottom:42px;
}
.editorial-block h2{
  margin:0;
  max-width:1450px;
  font-size:clamp(58px,8.7vw,144px);
  line-height:.82;
  letter-spacing:-.066em;
  text-transform:uppercase;
}
.editorial-block h2 em{
  font-style:normal;
  color:var(--page-accent);
}
.editorial-block p{
  max-width:760px;
  margin:46px 0 0 auto;
  font-size:clamp(18px,1.7vw,25px);
  line-height:1.42;
  color:#aaa;
}

/* Capabilities — not cards, editorial bands */
.capability-stack{
  border-bottom:1px solid var(--line);
}
.capability-row{
  position:relative;
  min-height:210px;
  display:grid;
  grid-template-columns:110px 1fr 1fr;
  align-items:center;
  gap:34px;
  padding:30px 28px;
  border-top:1px solid var(--line);
  overflow:hidden;
  transition:background .3s ease;
}
.capability-row:hover{
  background:#0d0f14;
}
.capability-row .cap-no{
  font-size:11px;
  letter-spacing:.18em;
  color:var(--page-accent);
}
.capability-row h3{
  margin:0;
  font-size:clamp(42px,5.5vw,88px);
  line-height:.82;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.capability-row p{
  max-width:540px;
  margin:0;
  font-size:15px;
  line-height:1.55;
  color:#969696;
}
.capability-row:after{
  content:"→";
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);
  font-size:42px;
  color:rgba(255,255,255,.08);
  transition:transform .3s,color .3s;
}
.capability-row:hover:after{
  transform:translate(8px,-50%);
  color:var(--page-accent);
}

/* Visual intermission */
.inner-intermission{
  min-height:54svh;
  padding:40px 28px;
  display:flex;
  align-items:flex-end;
  position:relative;
  overflow:hidden;
  background:var(--paper);
  color:var(--ink);
}
.inner-intermission:before{
  content:"";
  position:absolute;
  width:45vw;height:45vw;
  right:-10vw;top:-12vw;
  border-radius:50%;
  background:radial-gradient(circle,rgba(30,88,255,.68),rgba(30,88,255,.1) 44%,transparent 67%);
}
.inner-intermission p{
  position:relative;
  z-index:2;
  max-width:1300px;
  margin:0;
  font-size:clamp(52px,8vw,132px);
  line-height:.84;
  letter-spacing:-.065em;
  text-transform:uppercase;
}
.inner-intermission strong{
  color:var(--blue);
  font-weight:inherit;
}

/* Deliverables ticker */
.deliverables{
  overflow:hidden;
  background:#fff;
  color:var(--ink);
  border-bottom:1px solid rgba(8,9,11,.14);
}
.deliverables-track{
  display:flex;
  width:max-content;
  animation:marquee 24s linear infinite;
}
.deliverables-track span{
  white-space:nowrap;
  padding:18px 24px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.deliverables-track b{color:var(--blue);margin:0 24px}

/* Shared inner CTA */
.inner-cta{
  min-height:62svh;
  padding:48px 28px;
  background:var(--blue);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.inner-cta .top{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.inner-cta h2{
  margin:0;
  font-size:clamp(70px,12vw,188px);
  line-height:.76;
  letter-spacing:-.07em;
  text-transform:uppercase;
}
.inner-cta .bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
}
.inner-cta .bottom p{
  margin:0;
  max-width:560px;
  font-size:18px;
  line-height:1.45;
}
.inner-cta .round-link{
  width:160px;height:160px;
  border-radius:50%;
  background:#fff;color:var(--ink);
  display:flex;align-items:center;justify-content:center;text-align:center;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.12em;
  transition:.3s;
}
.inner-cta .round-link:hover{transform:rotate(-7deg) scale(1.04)}

/* About */
.about-intro{
  padding:120px 28px;
  display:grid;
  grid-template-columns:.45fr 1fr;
  gap:50px;
  border-bottom:1px solid var(--line);
}
.about-intro .label{
  font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#777;
}
.about-intro p{
  margin:0;
  max-width:1100px;
  font-size:clamp(34px,5vw,76px);
  line-height:1;
  letter-spacing:-.045em;
}
.about-intro p strong{color:var(--blue);font-weight:inherit}
.about-values{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--line);
}
.about-value{
  min-height:420px;
  padding:28px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.about-value:last-child{border-right:0}
.about-value span{
  color:var(--softblue);
  font-size:11px;
  letter-spacing:.18em;
}
.about-value h3{
  margin:0;
  font-size:clamp(46px,5vw,78px);
  line-height:.84;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.about-value p{color:#929292;line-height:1.55;max-width:360px}

/* Contact */
.contact-creative{
  min-height:100svh;
  display:grid;
  grid-template-columns:1fr 1fr;
  padding-top:96px;
}
.contact-panel{
  padding:80px 42px 60px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:var(--blue);
}
.contact-panel h1{
  margin:0;
  font-size:clamp(70px,8vw,140px);
  line-height:.78;
  letter-spacing:-.07em;
  text-transform:uppercase;
}
.contact-panel p{
  max-width:560px;
  font-size:20px;
  line-height:1.4;
}
.contact-form-wrap{
  padding:80px 42px 60px;
  display:flex;
  align-items:center;
}
.contact-form-wrap .contact-form{width:100%;max-width:none}
.contact-form-wrap .contact-form input,
.contact-form-wrap .contact-form textarea{
  border-radius:0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.2);
  background:transparent;
  padding:18px 0;
  font-size:18px;
}
.contact-form-wrap .contact-form button{
  margin-top:20px;
  align-self:flex-start;
  padding:16px 26px;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
}
.contact-form-wrap .form-note{margin-top:10px}

/* Responsive */
@media(max-width:900px){
  .inner-hero-bottom{grid-template-columns:1fr}
  .inner-hero-meta{justify-self:start}
  .capability-row{grid-template-columns:80px 1fr}
  .capability-row p{grid-column:2}
  .about-intro{grid-template-columns:1fr}
  .about-values{grid-template-columns:1fr}
  .about-value{border-right:0;border-bottom:1px solid var(--line)}
  .contact-creative{grid-template-columns:1fr}
  .contact-panel,.contact-form-wrap{min-height:70svh}
}
@media(max-width:700px){
  .inner-hero{
    min-height:90svh;
    padding:135px 18px 34px;
  }
  .inner-hero h1{font-size:clamp(60px,18vw,92px)}
  .inner-hero-art{width:90vw;height:90vw;right:-40vw;top:-10vw}
  .inner-hero-art.lines,.inner-hero-art.ring,.inner-hero-art.blocks{
    width:90vw;height:100vw;right:-38vw;top:-8vw;
  }
  .inner-hero-lead{font-size:21px}
  .inner-hero-meta{font-size:11px}
  .editorial-block{padding:85px 18px 95px}
  .editorial-block h2{font-size:clamp(55px,15vw,84px)}
  .editorial-block p{margin-top:34px;font-size:18px}
  .capability-row{
    min-height:260px;
    grid-template-columns:1fr;
    gap:18px;
    padding:26px 18px;
  }
  .capability-row .cap-no,
  .capability-row p{grid-column:auto}
  .capability-row h3{font-size:clamp(48px,14vw,72px)}
  .inner-intermission{min-height:48svh;padding:30px 18px}
  .inner-intermission p{font-size:clamp(48px,14vw,78px)}
  .inner-cta{padding:34px 18px}
  .inner-cta .bottom{flex-direction:column;align-items:flex-start}
  .inner-cta .round-link{width:140px;height:140px}
  .about-intro{padding:85px 18px}
  .about-values{grid-template-columns:1fr}
  .about-value{min-height:330px;padding:24px 18px}
  .contact-panel,.contact-form-wrap{padding:80px 18px 46px}
  .contact-panel h1{font-size:clamp(68px,19vw,96px)}
}


/* =========================================================
   v1.4.2 — MOBILE NAVIGATION: MAKE IT UNMISTAKABLY A MENU
   ========================================================= */

@media(max-width:700px){

  .nav-links{
    counter-reset:rettix-menu;
    justify-content:flex-start;
    padding:150px 22px 30px;
    background:
      radial-gradient(circle at 82% 12%,rgba(30,88,255,.26),transparent 25%),
      #08090b;
  }

  /* large editorial MENU marker */
  .nav-links:before{
    content:"MENU";
    position:absolute;
    left:20px;
    top:86px;
    font-size:clamp(52px,18vw,86px);
    line-height:.8;
    letter-spacing:-.07em;
    font-weight:800;
    color:transparent;
    -webkit-text-stroke:1px rgba(255,255,255,.22);
    pointer-events:none;
  }

  /* blue rule beneath the MENU identifier */
  .nav-links:after{
    content:"RETTIX STUDIO / NAVIGATION";
    position:absolute;
    left:22px;
    right:22px;
    top:132px;
    padding-top:12px;
    border-top:2px solid var(--blue);
    font-size:9px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:#818181;
    pointer-events:none;
  }

  .nav-links > a:not(.pill){
    counter-increment:rettix-menu;
    position:relative;
    display:grid;
    grid-template-columns:48px 1fr 24px;
    align-items:center;
    gap:10px;
    padding:15px 0 14px;
    border-bottom:1px solid rgba(255,255,255,.14);
    font-size:clamp(27px,8vw,39px);
    line-height:.92;
    letter-spacing:-.045em;
  }

  .nav-links > a:not(.pill):before{
    content:"0" counter(rettix-menu);
    font-size:9px;
    line-height:1;
    letter-spacing:.18em;
    color:var(--softblue);
  }

  .nav-links > a:not(.pill):after{
    content:"↗";
    justify-self:end;
    font-size:16px;
    color:rgba(255,255,255,.28);
    transition:transform .25s ease,color .25s ease;
  }

  .nav-links > a:not(.pill):hover:after,
  .nav-links > a:not(.pill):focus:after{
    color:var(--softblue);
    transform:translate(3px,-3px);
  }

  .nav-links > a:not(.pill):hover,
  .nav-links > a:not(.pill):focus{
    color:#fff;
    border-bottom-color:rgba(126,163,255,.55);
  }

  /* make project CTA visually separate from navigation rows */
  .nav-links .pill{
    margin-top:auto;
    width:100%;
    min-height:76px;
    border:0;
    border-radius:0;
    padding:18px 20px;
    background:var(--blue);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:16px;
    letter-spacing:.12em;
  }

  .nav-links .pill:after{
    content:"↗";
    font-size:22px;
  }

  .nav-links .pill .dot{
    background:#fff;
    box-shadow:0 0 0 6px rgba(255,255,255,.13);
  }

  .menu-toggle{
    background:rgba(8,9,11,.68);
    border-color:rgba(255,255,255,.34);
  }

  .nav-links.open + *{
    pointer-events:none;
  }
}

@media(max-width:390px){
  .nav-links{
    padding-left:18px;
    padding-right:18px;
  }
  .nav-links:before{left:18px}
  .nav-links:after{left:18px;right:18px}
  .nav-links > a:not(.pill){
    grid-template-columns:42px 1fr 20px;
    font-size:clamp(25px,7.5vw,34px);
  }
}


/* =========================================================
   v1.4.3 — FINAL MOBILE MENU POLISH
   ========================================================= */

@media(max-width:700px){

  /* WordPress outputs menu items as LI elements.
     Reset them so they do not look like normal page bullets. */
  .nav-links > li.menu-item{
    counter-increment:rettix-menu;
    list-style:none;
    margin:0;
    padding:0;
    width:100%;
  }

  .nav-links > li.menu-item::marker{
    content:"";
  }

  .nav-links > li.menu-item > a{
    position:relative;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 24px;
    align-items:center;
    gap:10px;
    width:100%;
    padding:18px 0 17px;
    border-bottom:1px solid rgba(255,255,255,.14);
    font-size:clamp(27px,8vw,39px);
    line-height:.92;
    letter-spacing:-.045em;
    text-transform:uppercase;
    opacity:1;
  }

  .nav-links > li.menu-item > a:before{
    content:"0" counter(rettix-menu);
    font-size:9px;
    line-height:1;
    letter-spacing:.18em;
    color:var(--softblue);
  }

  .nav-links > li.menu-item > a:after{
    content:"↗";
    justify-self:end;
    font-size:16px;
    color:rgba(255,255,255,.28);
    transition:transform .25s ease,color .25s ease;
  }

  .nav-links > li.menu-item > a:hover:after,
  .nav-links > li.menu-item > a:focus:after{
    color:var(--softblue);
    transform:translate(3px,-3px);
  }

  .nav-links > li.menu-item > a:hover,
  .nav-links > li.menu-item > a:focus{
    color:#fff;
    border-bottom-color:rgba(126,163,255,.55);
  }

  /* Neutralise the older direct-A mobile rules now that WP LI markup is handled. */
  .nav-links > a:not(.pill){
    display:none;
  }

  /* CTA no longer sits at the extreme bottom of tall phones. */
  .nav-links .pill{
    margin-top:clamp(54px,9vh,88px);
    width:100%;
    min-height:76px;
    flex-shrink:0;
  }
}

@media(max-width:390px){
  .nav-links > li.menu-item > a{
    grid-template-columns:42px minmax(0,1fr) 20px;
    padding-top:16px;
    padding-bottom:15px;
    font-size:clamp(25px,7.5vw,34px);
  }

  .nav-links .pill{
    margin-top:48px;
  }
}
