/* Rubifox cinematic edition — consolidated, art-directed layout */
:root{--black:#100f10;--cream:#f2eae3;--copper:#e48b5b;--muted:#c9bdb7;--gutter:clamp(25px,5.7vw,94px);--serif:'DM Serif Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;background:var(--black);color:var(--cream);font-family:var(--sans);-webkit-font-smoothing:antialiased}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%;display:block}::selection{background:var(--copper);color:#17100e}:focus-visible{outline:2px solid #ffb88d;outline-offset:4px}.skip{position:absolute;top:-80px;left:16px;padding:12px;background:#fff;color:#000;z-index:99}.skip:focus{top:12px}
.site-header{position:absolute;top:0;left:0;right:0;z-index:20;height:77px;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:inline-flex;align-items:center;gap:9px;font-size:25px;font-weight:700;letter-spacing:-1.4px;white-space:nowrap}.brand img{width:43px;height:43px;object-fit:contain}.brand-dot{color:var(--copper)}.site-header nav{display:flex;gap:clamp(22px,4vw,65px)}.site-header nav a{font-size:12px;font-weight:500;transition:color .2s}.site-header nav a:hover,.text-link:hover{color:var(--copper)}.header-cta{border:1px solid #b9744b;border-radius:25px;padding:10px 22px;font-size:12px}.header-cta span{padding-left:12px}.menu-toggle{display:none}
.hero{height:clamp(630px,55vw,820px);position:relative;overflow:hidden;isolation:isolate;background:#120f10}.hero-image{position:absolute;inset:0;z-index:-2}.hero-image picture,.hero-image img{width:100%;height:100%;display:block}.hero-image img{object-fit:cover;object-position:center 52%}.hero-atmosphere{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(13,12,13,.66) 0%,rgba(16,13,13,.4) 29%,transparent 56%),linear-gradient(0deg,rgba(12,10,10,.16),transparent 24%)}.hero-copy{position:relative;padding:clamp(155px,15vw,225px) var(--gutter) 80px;max-width:730px}.eyebrow,.section-number,.hero-bottom{font-size:10px;letter-spacing:.25em;font-weight:500}.eyebrow{display:flex;align-items:center;gap:16px;color:#dfc6b8}.eyebrow span{display:inline-block;width:43px;height:1px;background:#b98162}.hero h1{font-family:var(--serif);font-size:clamp(57px,6vw,98px);line-height:.98;letter-spacing:-.035em;font-weight:400;margin:23px 0 24px;text-wrap:balance}.hero h1 em,.studio h2 em{color:#e8a27e;font-weight:400}.hero-description{max-width:390px;font-size:15px;line-height:1.65;color:#e4d8d0}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:40px;padding:13px 22px;font-size:12px;font-weight:600;transition:transform .25s}.button:hover{transform:translateY(-2px)}.button-copper{background:linear-gradient(160deg,#f49b66,#bd6036);box-shadow:0 8px 28px #9f4e2928;color:#fff}.text-link{font-size:12px;font-weight:500;display:inline-flex;align-items:center;gap:18px}.hero-bottom{position:absolute;bottom:32px;left:var(--gutter);right:var(--gutter);display:flex;justify-content:space-between;align-items:center;color:#d6b8a7;font-size:9px}
.work-intro{height:0}.app-section{position:relative;display:grid;grid-template-columns:48% 52%;height:clamp(390px,29vw,500px);overflow:hidden;isolation:isolate;border-top:1px solid #ffffff13}.app-section::before{content:'';position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}.app-section::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,11,13,.79) 0%,rgba(16,12,15,.5) 37%,transparent 74%)}.app-twidddle::before{background-image:url('assets/twidddle-atmosphere.jpg')}.app-subx::before{background-image:url('assets/subx-atmosphere.jpg')}.app-prism::before{background-image:url('assets/prism-atmosphere.jpg')}.app-copy{padding:35px 20px 35px calc(var(--gutter) + 35px);position:relative;z-index:3;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.section-number{color:#e2b6a1;margin:0 0 24px}.app-identity{display:flex;align-items:center;gap:18px;font-size:clamp(25px,2.65vw,38px);font-weight:700;letter-spacing:-.05em}.app-identity img{width:64px;height:64px;border-radius:15px;box-shadow:0 10px 30px #0005}.app-copy h2{font:italic 400 clamp(23px,2.15vw,34px)/1.14 var(--serif);color:#efb48e;letter-spacing:-.015em;margin:7px 0 11px;max-width:430px}.app-copy>p:not(.section-number){font-size:13px;line-height:1.48;color:#eee0d9;max-width:350px;margin:0}.features{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 20px}.features span{font-size:10px;padding:6px 10px;border:1px solid #ffffff8c;border-radius:20px;color:#f0e9e5;white-space:nowrap}.app-link{display:flex;align-items:center;gap:10px;border:1px solid #ddd0c6;border-radius:28px;padding:7px 14px;font-size:8px;line-height:1.02;min-width:180px;transition:background .2s}.app-link:hover{background:#ffffff16}.app-link strong{font-size:17px;font-weight:600;letter-spacing:-.04em}.app-link>span:last-child{font-size:18px;margin-left:auto}.apple-mark{font-size:22px}.app-visual{position:relative;min-width:0;overflow:hidden}.device{position:absolute;width:clamp(195px,21vw,320px);aspect-ratio:942/2048;border-radius:clamp(29px,3vw,47px);background:#070707;padding:6px;border:3px solid #666269;box-shadow:0 18px 28px #0008,0 45px 100px #0008;overflow:hidden;transform-origin:center;transition:transform .5s}.device::after{content:'';position:absolute;top:11px;left:50%;transform:translateX(-50%);width:28%;height:13px;background:#050505;border-radius:20px;pointer-events:none}.device img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.device-primary{z-index:2;left:14%;top:3%;transform:rotate(8deg)}.device-secondary{z-index:1;left:53%;top:15%;transform:rotate(-6deg) scale(.92)}.app-subx .device-primary{transform:rotate(5deg)}.app-prism .device-primary{transform:rotate(6deg)}
.studio{padding:65px var(--gutter) 75px;background:radial-gradient(ellipse at 50% 80%,#30211d,#171415 65%);border-top:1px solid #ffffff22}.studio-layout{display:grid;grid-template-columns:1fr .85fr;gap:clamp(35px,9vw,150px);align-items:center}.studio h2{font:400 clamp(43px,4.2vw,70px)/1.04 var(--serif);letter-spacing:-.035em;margin:0}.studio-layout>div{border-left:1px solid #a46d51;padding-left:55px}.studio-layout>div p{font-size:14px;line-height:1.75;color:#e0d4ce;max-width:410px}.studio .text-link{margin-top:14px;color:#e8a27e;border-bottom:1px solid #b87b5b;padding-bottom:9px}footer{background:#171314;padding:22px var(--gutter) 30px}.footer-main{display:none}.footer-bottom{border-top:1px solid #ffffff2a;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#c7b7af;font-size:11px}.footer-bottom .brand{font-size:21px;color:#fff}.footer-bottom .brand img{width:36px;height:36px}
@media(max-width:900px){.hero{height:720px}.hero h1{font-size:clamp(56px,8vw,76px)}.app-copy{padding-left:var(--gutter)}.app-section{grid-template-columns:52% 48%;height:450px}.device-primary{left:0}.device-secondary{left:45%}.studio-layout>div{padding-left:26px}}
@media(max-width:650px){:root{--gutter:24px}.site-header{height:79px}.brand{font-size:22px}.brand img{width:38px;height:38px}.site-header nav{display:none;position:absolute;top:78px;left:0;right:0;padding:25px var(--gutter);background:#171315;flex-direction:column;gap:22px}.menu-open .site-header nav{display:flex}.site-header nav a{font-size:18px}.header-cta{display:none}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;background:transparent;border:1px solid #bc7d5c;border-radius:50%;width:42px;height:42px;padding:11px}.menu-toggle span{width:100%;height:1px;background:white}.hero{height:735px;min-height:0}.hero-image img{object-position:59% center}.hero-atmosphere{background:linear-gradient(90deg,#100e10d9 0%,#100e1080 45%,transparent 100%),linear-gradient(0deg,#120f11d9,transparent 25%)}.hero-copy{padding:175px var(--gutter) 70px}.eyebrow{font-size:9px}.hero h1{font-size:clamp(50px,12vw,72px);max-width:380px;line-height:1.04;margin:25px 0}.hero-description{max-width:270px;font-size:13px;line-height:1.55}.hero-actions{gap:16px;flex-wrap:wrap}.button{font-size:11px;padding:12px 15px}.hero-bottom{bottom:25px}.app-section{display:block;height:540px}.app-section::before{background-position:60% center}.app-section::after{background:linear-gradient(90deg,#161014d9,transparent 95%),linear-gradient(0deg,transparent 55%,#120f1266)}.app-copy{padding:28px var(--gutter);position:relative;z-index:3;min-height:265px;justify-content:flex-start}.section-number{font-size:9px;margin:0 0 15px}.app-identity{font-size:25px;gap:12px}.app-identity img{width:48px;height:48px;border-radius:12px}.app-copy h2{font-size:clamp(26px,7vw,33px);max-width:280px;margin:8px 0}.app-copy>p:not(.section-number){font-size:12px;max-width:260px;line-height:1.45}.features{display:none}.app-link{margin-top:15px;border:0;border-radius:0;border-bottom:1px solid #dba98e;padding:5px 0;min-width:0;font-size:11px;gap:8px}.app-link strong{font-size:12px}.app-link .apple-mark{display:none}.app-link>span:last-child{font-size:15px}.app-visual{position:absolute;inset:0;pointer-events:none}.device{width:clamp(150px,44vw,220px);border-radius:28px;padding:4px;border-width:2px}.device::after{top:8px;height:9px}.device-primary{left:56%;top:38%;transform:rotate(10deg)}.device-secondary{left:85%;top:46%;transform:rotate(-6deg) scale(.92)}.app-subx .device-primary{transform:rotate(8deg)}.studio{padding:48px var(--gutter)}.studio-layout{display:block}.studio h2{font-size:clamp(40px,10vw,58px)}.studio-layout>div{margin-top:25px;padding-left:18px}.studio-layout>div p{font-size:13px}.footer-bottom{flex-wrap:wrap}.footer-bottom .brand{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* MARK: - V2.1 Cinematic iPhone hardware and perspective */
.app-visual { perspective: 1400px; perspective-origin: 48% 40%; isolation: isolate; }
.device {
  box-sizing: border-box;
  overflow: visible;
  padding: 7px;
  border: 2px solid #79757a;
  border-radius: clamp(30px,3vw,48px);
  background: linear-gradient(120deg,#a9a4a6 0%,#2b2a2e 8%,#09090b 18%,#141316 82%,#747078 96%,#252328 100%);
  box-shadow: 2px 2px 0 #c0b8b3 inset, -2px -2px 0 #3a373b inset,
    8px 5px 0 -3px #343138, 14px 9px 12px -7px #050505,
    0 26px 44px #0009, 0 65px 105px #0009;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 650ms cubic-bezier(.2,.7,.2,1);
}
.device::before {
  content: ''; position: absolute; z-index: 5; pointer-events: none;
  inset: 3px; border: 2px solid #070608; border-radius: inherit;
  box-shadow: inset 2px 0 3px #ffffff25, inset -2px 0 3px #000a;
}
.device::after {
  z-index: 6; top: 17px; height: 16px; width: 30%;
  background: #030305; border: 1px solid #1d1b20;
  box-shadow: inset 0 1px 2px #24232a, 0 1px 2px #0008;
}
.device img { display: block; border-radius: clamp(23px,2.5vw,39px); object-fit: cover; }
.device-primary { transform: rotateZ(8deg) rotateY(-13deg) rotateX(3deg); }
.device-secondary { transform: rotateZ(-6deg) rotateY(-18deg) rotateX(3deg) scale(.92); }
.app-subx .device-primary { transform: rotateZ(5deg) rotateY(-13deg) rotateX(3deg); }
.app-prism .device-primary { transform: rotateZ(6deg) rotateY(-13deg) rotateX(3deg); }
.device .hardware-button { position: absolute; z-index: -1; width: 4px; height: 36px; top: 25%; left: -5px; border-radius: 3px 0 0 3px; background: linear-gradient(90deg,#38353b,#a29b9f); box-shadow: -1px 1px 2px #0009; }
.device .hardware-button::after { content: ''; position: absolute; top: 47px; left: 0; width: 4px; height: 52px; border-radius: inherit; background: inherit; }
@media (max-width: 900px) and (min-width: 651px) {
  .device-primary { transform: rotateZ(8deg) rotateY(-13deg) rotateX(3deg); }
  .device-secondary { transform: rotateZ(-6deg) rotateY(-18deg) scale(.92); }
}
@media (max-width: 650px) {
  .app-visual { perspective: 950px; perspective-origin: 75% 55%; }
  .device { padding: 5px; border-width: 2px; border-radius: 30px; }
  .device img { border-radius: 24px; }
  .device::after { top: 11px; height: 11px; }
  .device-primary { transform: rotateZ(10deg) rotateY(-13deg) rotateX(3deg); }
  .device-secondary { transform: rotateZ(-6deg) rotateY(-18deg) scale(.92); }
  .app-subx .device-primary { transform: rotateZ(8deg) rotateY(-13deg) rotateX(3deg); }
  .app-prism .device-primary { transform: rotateZ(9deg) rotateY(-13deg) rotateX(3deg); }
  .device .hardware-button { width: 3px; left: -4px; height: 26px; }
  .device .hardware-button::after { width: 3px; height: 37px; top: 34px; }
}
@media (prefers-reduced-motion: reduce) { .device { transition: none; } }

/* Twidddle: approved layered device composition */
.app-twidddle .app-visual { overflow: hidden; }
.app-twidddle .device-composite {
  position: absolute;
  display: block;
  width: min(118%, 810px);
  max-width: none;
  height: auto;
  left: -4%;
  top: -8%;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.30));
}
@media (max-width: 900px) {
  .app-twidddle .device-composite { width: 145%; left: -13%; top: 0; }
}
@media (max-width: 650px) {
  .app-twidddle .device-composite { width: 110%; left: 27%; top: 36%; }
}

/* V2.3 — Exact-screen device composites */
.app-subx .device-composite,.app-prism .device-composite {
 position:absolute;display:block;width:min(118%,810px);max-width:none;
 height:auto;left:-4%;top:-8%;
 filter:drop-shadow(0 24px 30px rgba(0,0,0,.3));
}
@media(max-width:900px){
 .app-subx .device-composite,.app-prism .device-composite{width:145%;left:-13%;top:0}
}
@media(max-width:650px){
 .app-subx .device-composite,.app-prism .device-composite{width:110%;left:27%;top:36%}
}

/* V2.4: art-directed device scenes, with real HTML content above them. */
.app-section .app-visual { overflow:visible; position:static; perspective:none; }
.app-section .cinematic-devices {
 position:absolute; z-index:1; right:0; top:0;
 height:100%; width:65%; max-width:none;
 object-fit:cover; object-position:54% 45%;
 pointer-events:none; user-select:none;
}
.app-section .app-copy { z-index:4; }
@media(max-width:900px) {
 .app-section .cinematic-devices {width:66%;object-position:48% center}
}
@media(max-width:650px) {
 .app-section .cinematic-devices {
   width:108%;height:57%;top:auto;bottom:0;right:-29%;
   object-fit:cover;object-position:48% 18%;
 }
 .app-section .app-copy {z-index:4}
}

/* V2.5 — reference-matched editorial proportions and device framing */
@media (min-width: 901px) {
 :root { --gutter: clamp(44px,6.2vw,96px); }
 .site-header { height:72px; }
 .site-header nav { position:absolute;left:50%;transform:translateX(-50%);gap:55px; }
 .hero { height:clamp(570px,45vw,690px); }
 .hero-copy { padding-top:clamp(125px,11vw,170px);max-width:640px; }
 .hero h1 {font-size:clamp(60px,5.35vw,83px);margin:18px 0 21px;}
 .hero-description {font-size:14px;max-width:365px;}
 .hero-image img {object-position:center 49%;}
 .app-section {height:clamp(365px,27.2vw,440px);grid-template-columns:46% 54%;}
 .app-copy {padding-left:calc(var(--gutter) + 5px);padding-top:18px;padding-bottom:18px;}
 .section-number {margin-bottom:13px;}
 .app-identity {gap:16px;font-size:clamp(29px,2.8vw,38px);}
 .app-identity img {width:60px;height:60px;}
 .app-copy h2 {font-size:clamp(22px,2vw,31px);margin:4px 0 9px;}
 .app-copy>p:not(.section-number) {font-size:12px;max-width:360px;}
 .features {margin:13px 0 16px;}
 .features span {font-size:9px;padding:5px 9px;}
 .app-section .cinematic-devices {width:58%;height:100%;right:0;top:0;object-fit:contain;object-position:right center;}
 .studio {padding:42px var(--gutter) 48px;}
 .studio h2 {font-size:clamp(40px,3.8vw,58px);}
 .studio-layout>div p {font-size:13px;}
}
@media (min-width:651px) and (max-width:900px) {
 .hero {height:620px;}
 .app-section .cinematic-devices {width:65%;height:100%;object-fit:contain;object-position:right center;}
}
@media (max-width:650px) {
 .app-section {height:570px;}
 .app-section .cinematic-devices {width:115%;height:61%;top:auto;bottom:0;right:-27%;object-fit:contain;object-position:right bottom;}
 .app-section .app-copy {min-height:250px;}
}

/* V2.6 — restore V2.4 hero scale only; retain all V2.5 refinements. */
@media (min-width: 901px) {
  .hero { height: clamp(630px, 55vw, 820px); }
  .hero-copy { padding-top: clamp(155px, 15vw, 225px); max-width: 730px; }
  .hero h1 { font-size: clamp(57px, 6vw, 98px); margin: 23px 0 24px; }
  .hero-description { max-width: 390px; font-size: 15px; }
  .hero-image img { object-position: center 52%; }
}
@media (min-width: 651px) and (max-width: 900px) {
  .hero { height: 720px; }
}

/* V2.8: Match the SubX device scale without altering the artwork or layout. */
.app-twidddle .cinematic-devices {
  width:58%; height:100%; right:0; top:0;
  object-fit:contain; object-position:right center;
}
@media (min-width:651px) and (max-width:900px) {
  .app-twidddle .cinematic-devices {width:65%;}
}
@media (max-width:650px) {
  .app-twidddle .cinematic-devices {
    width:115%; height:61%; top:auto; bottom:0; right:-27%;
    object-fit:contain; object-position:right bottom;
  }
}

/* V3.2 — feather Twidddle artwork into the existing atmospheric background.
   This removes the rectangular cut line without changing scale or positioning. */
.app-twidddle .cinematic-devices { -webkit-mask-image:linear-gradient(to right,transparent 0%,black 12%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 12%,black 100%); }

/* V3.3 — fully framed Twidddle device composition; no masking over the bezel. */
.app-twidddle .cinematic-devices {
  width:52.1%; height:100%; right:0; top:0;
  object-fit:fill; object-position:right center;
  -webkit-mask-image:none; mask-image:none;
}
@media (min-width:651px) and (max-width:900px) {
  .app-twidddle .cinematic-devices {width:58%;}
}
@media (max-width:650px) {
  .app-twidddle .cinematic-devices {
    width:100%;height:55%;top:auto;bottom:0;right:-12%;
    object-fit:contain;object-position:right bottom;
  }
}

/* V3.4 — Twidddle devices continue below the panel edge, as on SubX/Prism.
   Keep the top alignment and horizontal scale from V3.3; crop only at the
   section boundary rather than exposing the phones' bottom bezels. */
@media (min-width:651px) {
  .app-twidddle .cinematic-devices {
    transform:scaleY(1.23);
    transform-origin:top right;
  }
}

/* V3.6 — mobile-only polish. Desktop composition remains unchanged. */
@media (max-width: 650px) {
  /* Give the editorial copy enough space without pushing the art too low. */
  .app-section { height: 535px; }
  .app-section .app-copy {
    min-height: 0;
    padding-top: 25px;
    padding-bottom: 8px;
  }
  .app-copy h2 { margin-top: 7px; margin-bottom: 7px; }
  .app-copy > p:not(.section-number) { line-height: 1.45; }
  /* Restore the desktop-style outlined App Store call-to-action. */
  .app-link {
    display: inline-flex;
    align-items: center;
    min-width: 174px;
    min-height: 43px;
    gap: 9px;
    margin-top: 13px;
    padding: 7px 12px;
    border: 1px solid #ddd0c6;
    border-radius: 28px;
    background: rgba(18, 14, 17, .16);
    font-size: 9px;
    line-height: 1.05;
    text-decoration: none;
  }
  .app-link .apple-mark { display: inline; font-size: 18px; }
  .app-link strong { font-size: 15px; }
  .app-link > span:last-child { margin-left: auto; font-size: 17px; }
  /* Keep the devices large, but show more of the secondary handset. */
  .app-section .cinematic-devices {
    width: 110%;
    height: 58%;
    right: -17%;
    bottom: 0;
    top: auto;
    object-fit: contain;
    object-position: right bottom;
  }
  .app-twidddle .cinematic-devices {
    width: 100%;
    height: 57%;
    right: -6%;
    bottom: 0;
    top: auto;
    object-fit: contain;
    object-position: right bottom;
  }
  .studio h2 { font-size: clamp(34px, 8.2vw, 45px); line-height: 1.08; }
  .studio-layout > div { margin-top: 22px; }
  .site-header nav { box-shadow: 0 18px 35px #0006; }
  .site-header nav a { min-height: 40px; display: flex; align-items: center; }
  .menu-toggle { cursor: pointer; touch-action: manipulation; }
}

/* V3.7 — Twidddle mobile artwork scale and placement only.
   Match the visual prominence of SubX and Prism; crop at the panel bottom. */
@media (max-width: 650px) {
  .app-twidddle .cinematic-devices {
    width: 128%;
    height: 69%;
    right: -21%;
    bottom: -2%;
    top: auto;
    object-fit: contain;
    object-position: right bottom;
  }
}

/* V3.8 — mobile Twidddle spacing refinement.
   Preserve SubX/Prism and the desktop layouts. */
@media (max-width: 650px) {
  .app-twidddle .cinematic-devices {
    right: -25%; /* move artwork 4% of panel width toward the right */
    bottom: -5%; /* lower the artwork to clear the download button */
  }
  .app-twidddle .app-link {
    margin-top: 18px;
    position: relative;
    z-index: 4;
  }
}

/* V3.9 — mobile-only App Store CTA clearance for all three apps.
   Increase the panel's art stage without scaling down the device images.
   The artwork remains bottom-aligned and intentionally clipped by each panel. */
@media (max-width: 650px) {
  .app-section { height: 595px; }
  .app-section .app-copy { position: relative; z-index: 4; }
  .app-section .app-link { position: relative; z-index: 5; }
  .app-section .cinematic-devices {
    height: 310px;
    top: auto;
    bottom: 0;
  }
  .app-twidddle .cinematic-devices {
    height: 369px;
    top: auto;
    bottom: -5%;
    right: -25%;
  }
}

/* V4.0: mobile navigation visibility and stacking only */
@media (max-width:650px) {
  .site-header { z-index:1000; }
  .site-header nav { z-index:1001; box-shadow:0 24px 48px rgba(0,0,0,.45); }
  body.menu-open .site-header nav { display:flex; }
  .menu-toggle { position:relative; z-index:1002; cursor:pointer; touch-action:manipulation; }
}

/* Rubifox Mobile Navigation — Hamburger to X */

@media (max-width: 650px) {
  .site-header .menu-toggle {
    position: relative;
    z-index: 100;
  }

  .site-header .menu-toggle span {
    display: block;
    flex: none;
    position: absolute;
    left: 10px;
    top: 20px;
    width: 20px;
    height: 1.5px;
    margin: 0;
    background: #fff;
    transform-origin: center;
    transition: transform 250ms ease;
  }

  .site-header .menu-toggle span:first-child {
    transform: translateY(-4px) rotate(0deg);
  }

  .site-header .menu-toggle span:last-child {
    transform: translateY(4px) rotate(0deg);
  }

  body.menu-open .site-header .menu-toggle span:first-child {
    transform: translateY(0) rotate(45deg);
  }

  body.menu-open .site-header .menu-toggle span:last-child {
    transform: translateY(0) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .menu-toggle span {
    transition: none;
  }
}


