/*
Theme Name: Northbound Digital Studio
Theme URI: https://northboundsolutions.ca/
Author: Northbound Digital
Description: Custom responsive studio homepage featuring Northbound Digital's real apps and product identity.
Version: 13.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: northbound-digital
*/
/* Northbound studio v2: faithfully proportioned desktop hero and app devices */
:root{--bg:#0c0d0f;--ink:#fffaf4;--muted:#d2ced0;--gold:#f0c47c;--border:rgba(255,255,255,.19);--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}button{font:inherit} .wrap{width:min(1190px,calc(100% - 100px));margin:0 auto}
.site-header{position:absolute;top:0;left:0;right:0;z-index:30}.admin-bar .site-header{top:32px}.header-inner{height:79px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-size:21px;font-weight:800;letter-spacing:.025em;line-height:1.02;white-space:nowrap}.brand small{display:block;letter-spacing:.26em;color:var(--gold);font-size:13px;font-weight:500;margin-top:5px}.main-nav{display:flex;gap:36px;align-items:center;font-size:13px}.main-nav a:hover,.footer-links a:hover{color:var(--gold)}.nav-toggle{display:none;background:#111;color:#fff;border:1px solid var(--border);padding:10px 12px;border-radius:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:17px;border-radius:99px;padding:14px 24px;font-size:13px;font-weight:700;white-space:nowrap;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button-gold{background:linear-gradient(125deg,#ffe2ac,#ebbb6b);border:1px solid #f9d295;color:#18130b}.button-outline{border:1px solid var(--gold);background:rgba(0,0,0,.3);color:#fff}.button-outline:hover{background:#30281e}.eyebrow{color:var(--gold);font-size:11px;letter-spacing:.24em;font-weight:700;text-transform:uppercase}.gold{color:var(--gold)}
.hero{height:660px;position:relative;isolation:isolate;background:#151719;overflow:hidden}.hero:before{content:'';position:absolute;z-index:-2;inset:0;background-image:linear-gradient(90deg,rgba(5,8,11,.93),rgba(5,8,11,.72) 39%,rgba(5,8,11,.33) 77%,rgba(5,8,11,.36)),linear-gradient(0deg,#0b0d0f 0%,transparent 35%),var(--mountain-image);background-size:cover;background-position:center 45%;filter:brightness(.72) saturate(.36)}.hero:after{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 85% 18%,rgba(201,124,63,.23),transparent 58%);pointer-events:none}.hero-grid{height:100%;display:grid;grid-template-columns:48% 52%;gap:0;position:relative;align-items:center;padding-top:74px}.hero-copy{position:relative;z-index:8;align-self:center;padding-bottom:20px}.hero h1{font-size:clamp(45px,4.6vw,67px);letter-spacing:-.052em;line-height:1.07;margin:22px 0 21px;font-weight:750;white-space:nowrap}.hero-lead{max-width:460px;color:#eee8e4;line-height:1.55;font-size:16px;margin:0}.cta-row{display:flex;gap:12px;margin-top:27px}.hero-phones{height:100%;width:100%;position:relative;pointer-events:none}.device{position:absolute;width:258px;padding:8px;border-radius:42px;background:linear-gradient(132deg,#747474 0%,#151515 12%,#030303 50%,#4f4e4b 100%);border:2px solid #7f8080;box-shadow:0 29px 36px rgba(0,0,0,.6),inset 0 0 0 1px black;aspect-ratio:1000/2050;transform-origin:center bottom}.device:before{content:'';position:absolute;z-index:5;top:13px;left:50%;transform:translateX(-50%);width:36%;height:22px;border-radius:20px;background:#080808}.device img{width:100%;height:100%;aspect-ratio:1000/2048;object-fit:fill;border-radius:32px}.hero .device-a{top:45px;left:32px;transform:rotate(-7deg)}.hero .device-b{top:72px;right:-3px;transform:rotate(6deg)}
.hero-services{display:flex;gap:0;max-width:500px;margin-top:38px}.hero-service{flex:1;text-align:center;padding:0 10px;border-right:1px solid rgba(255,255,255,.15)}.hero-service:first-child{padding-left:0}.hero-service:last-child{border:0}.hero-service svg{width:31px;height:31px;display:block;margin:0 auto 10px;stroke:var(--gold);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.hero-service span{font-size:11px;line-height:1.4;display:block;color:#fff}
.section{padding:54px 0}.products{background:radial-gradient(ellipse at 55% 0%,#151618,#0c0d0f 70%)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:20px}.section h2{font-family:var(--serif);font-size:clamp(37px,3.8vw,49px);font-weight:400;letter-spacing:-.035em;line-height:1.12;margin:10px 0 0}.section-link{font-size:13px;white-space:nowrap;padding-bottom:5px;border-bottom:1px solid var(--gold)}.products-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.product-card{height:300px;position:relative;overflow:hidden;isolation:isolate;border:1px solid var(--border);border-radius:14px;background:radial-gradient(circle at 90% 0%,#463526 0%,#202022 38%,#121315 75%)}.product-card:nth-child(2){background:radial-gradient(circle at 80% 0%,#33243c 0%,#1b1920 43%,#121315 82%)}.product-text{position:relative;z-index:5;width:56%;padding:29px 0 26px 28px}.app-icon{width:68px;height:68px;object-fit:cover;border-radius:17px;box-shadow:0 8px 18px #0009}.product-card h3{font-size:22px;letter-spacing:-.035em;margin:16px 0 8px}.product-card p{font-size:14px;line-height:1.5;color:#e2dbd9;margin:0 0 20px;max-width:190px}.product-card .button{padding:10px 20px;font-size:12px}.product-card .device{width:188px;top:15px;right:19px;transform:rotate(5deg);z-index:2;box-shadow:0 13px 28px #0009}.product-card:nth-child(2) .device{right:8px;transform:rotate(6deg)}.product-card .device:before{top:11px;height:16px}.product-card .device img{border-radius:25px}.product-card .device{border-radius:32px;padding:6px}
.services{padding:35px 0 55px}.services-intro{display:grid;grid-template-columns:1fr .87fr;gap:75px;align-items:center}.services-intro h2{max-width:520px}.services-intro p{padding-left:35px;border-left:1px solid var(--border);color:#d3cdd0;font-size:15px;line-height:1.62}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:36px}.service{padding:0 20px 0 23px;border-right:1px solid var(--border)}.service:first-child{padding-left:0}.service:last-child{border:0}.service svg{stroke:var(--gold);stroke-width:1.6;fill:none;width:31px;height:31px;stroke-linejoin:round}.service h3{font-size:14px;margin:13px 0 6px}.service p{color:#bfbab9;line-height:1.56;font-size:12px;margin:0}
.banner{position:relative;isolation:isolate;min-height:232px;display:flex;align-items:center;overflow:hidden;background:#1d2021}.banner:before{position:absolute;z-index:-1;content:'';inset:0;background-image:linear-gradient(90deg,rgba(3,5,6,.89),rgba(3,5,6,.25)),var(--mountain-image);background-size:cover;background-position:center 44%;filter:brightness(.7) saturate(.4)}.banner-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:38px 0}.banner h2{font:400 43px/1.15 var(--serif);margin:10px 0}.banner p{color:#f5eeee;max-width:600px;line-height:1.5;font-size:15px;margin:0}.site-footer{background:#0c0d0f;padding:32px 0 24px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-links{display:flex;gap:24px;font-size:13px}.footer-bottom{margin-top:27px;border-top:1px solid var(--border);padding-top:17px;display:flex;justify-content:space-between;gap:15px;color:#a4a0a0;font-size:11px}.footer-bottom a{text-decoration:underline;text-underline-offset:3px}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:12px;top:12px;z-index:999;background:#fff;color:#000;padding:10px}.basic-page{padding:145px 0 80px;min-height:70vh}.basic-page h1{font:400 48px var(--serif)}.basic-page .entry-content{max-width:800px}.basic-page a{color:var(--gold);text-decoration:underline}
@media(max-width:1100px){.wrap{width:min(100% - 62px,1100px)}.hero h1{font-size:clamp(40px,4.6vw,56px)}.hero .device{width:220px}.hero .device-a{left:10px;top:100px}.hero .device-b{right:-12px;top:110px}.product-card .device{right:-13px}.product-text{width:60%}}
@media(max-width:780px){.wrap{width:calc(100% - 40px)}.header-inner{height:72px}.site-header .header-inner>.button{display:none}.nav-toggle{display:block}.main-nav{display:none;position:absolute;top:73px;left:20px;right:20px;flex-direction:column;align-items:stretch;gap:15px;background:#18191b;border:1px solid var(--border);border-radius:12px;padding:20px}.main-nav.is-open{display:flex}.hero{height:auto;min-height:940px}.hero-grid{display:flex;flex-direction:column;align-items:stretch;padding-top:133px;gap:0}.hero-copy{align-self:stretch;padding-bottom:0}.hero h1{font-size:clamp(38px,8vw,57px);white-space:normal}.hero-lead{max-width:540px}.hero-phones{height:440px;width:min(100%,520px);align-self:center;flex-shrink:0}.hero .device{width:198px}.hero .device-a{top:22px;left:40px}.hero .device-b{top:39px;right:45px}.hero-services{max-width:500px;margin-top:26px}.section{padding:50px 0}.products-grid{grid-template-columns:1fr}.product-card{height:310px}.product-card .device{right:9%;top:14px}.services-intro{grid-template-columns:1fr;gap:16px}.services-intro p{margin:10px 0 0;padding-left:20px}.service-grid{grid-template-columns:repeat(2,1fr);gap:28px 0}.service:nth-child(2){border-right:0}.banner-inner{align-items:start;flex-direction:column}.footer-top{align-items:start;flex-direction:column}}
@media(max-width:480px){.admin-bar .site-header{top:46px}.hero{min-height:900px}.hero-grid{padding-top:125px}.hero h1{font-size:clamp(35px,9vw,45px)}.hero-lead{font-size:14px}.button{padding:12px 16px;font-size:12px}.cta-row{gap:8px}.hero-service svg{width:26px;height:26px}.hero-service span{font-size:9px}.hero-phones{height:350px}.hero .device{width:157px;border-radius:29px;padding:5px}.hero .device img{border-radius:22px}.hero .device:before{top:9px;height:14px}.hero .device-a{left:4%;top:23px}.hero .device-b{right:4%;top:30px}.section h2{font-size:35px}.section-head{align-items:start}.section-link{font-size:11px;margin-top:23px}.product-card{height:285px}.product-text{width:64%;padding-left:18px}.app-icon{width:55px;height:55px;border-radius:13px}.product-card h3{font-size:19px}.product-card p{font-size:12px}.product-card .device{width:154px;right:-15px;top:35px}.service{padding-left:10px;padding-right:10px}.service h3{font-size:12px}.banner h2{font-size:35px}.footer-links{flex-wrap:wrap}.footer-bottom{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* V3 art-direction refinements against approved reference */
.hero{height:700px;background:#0b1116}
.hero:before{background-image:linear-gradient(90deg,rgba(3,7,12,.82) 0%,rgba(4,7,11,.56) 38%,rgba(5,7,12,.16) 70%,rgba(4,6,10,.19) 100%),linear-gradient(0deg,rgba(4,6,9,.75) 0%,transparent 31%),var(--mountain-image);background-position:center 51%;filter:brightness(1.14) saturate(.92) contrast(1.1)}
.hero:after{background:radial-gradient(ellipse at 89% 12%,rgba(251,174,89,.22),transparent 50%)}
.hero-grid{grid-template-columns:49% 51%;padding-top:78px}
.hero-copy{padding-bottom:32px}
.hero h1{font-size:clamp(45px,4.65vw,68px);margin:18px 0 20px}
.hero-phones{filter:drop-shadow(0 14px 22px rgba(0,0,0,.27))}
.hero .device-a{top:60px;left:28px;transform:rotate(-6deg)}
.hero .device-b{top:72px;right:-2px;transform:rotate(5deg)}
.device{background:linear-gradient(130deg,#a4a3a0,#151515 15%,#050505 65%,#7d7871);border:2px solid #96918d;box-shadow:0 22px 40px rgba(0,0,0,.58),inset 0 0 0 1px #000}
.device:after{content:'';position:absolute;inset:4px;border-radius:37px;border:1px solid rgba(255,255,255,.1);pointer-events:none}
.products{padding:49px 0 40px;background:radial-gradient(ellipse at 50% 0%,#171719,#0b0d0f 75%)}
.product-card{background:radial-gradient(ellipse at 85% 16%,#4c392a 0%,#1e1d1c 46%,#101113 80%);box-shadow:0 12px 35px rgba(0,0,0,.16)}
.product-card:nth-child(2){background:radial-gradient(ellipse at 87% 12%,#402c49 0%,#1d1921 47%,#101113 83%)}
.product-card .device{top:9px;right:16px;transform:rotate(5deg)}
.services{padding:39px 0 56px}
.services-intro{grid-template-columns:1.08fr .92fr;gap:60px}
.services-intro h2{max-width:610px}
.banner{min-height:240px;background:#11161b}
.banner:before{background-image:linear-gradient(90deg,rgba(4,8,12,.74) 0%,rgba(3,8,12,.43) 48%,rgba(5,7,10,.2)),var(--mountain-image);background-position:center 47%;filter:brightness(1.18) saturate(.85) contrast(1.09)}
.banner-inner{padding:43px 0}
.site-footer{padding:30px 0 24px}
.footer-top{min-height:68px}
.footer-links{gap:28px}
.footer-bottom{margin-top:18px}
@media(min-width:1101px) and (max-width:1300px){.hero .device-a{left:18px}.hero .device-b{right:-3px}}
@media(max-width:1100px){.hero{height:660px}.hero .device-a{top:97px;left:8px}.hero .device-b{top:112px;right:-12px}}
@media(max-width:780px){.hero{height:auto;min-height:940px}.hero-grid{padding-top:133px}.hero .device-a{top:22px;left:40px}.hero .device-b{top:39px;right:45px}.hero-copy{padding-bottom:0}.products{padding:50px 0}.services{padding:50px 0}.services-intro{grid-template-columns:1fr;gap:16px}}
@media(max-width:480px){.hero{min-height:900px}.hero-grid{padding-top:125px}.hero .device-a{left:4%;top:23px}.hero .device-b{right:4%;top:30px}}

/* v4 visual finishing pass: preserve the confirmed working v3 template */
@media(min-width:781px){
.hero{height:700px}
.hero:before{background-image:linear-gradient(90deg,rgba(3,7,11,.82) 0%,rgba(4,7,10,.62) 31%,rgba(4,7,10,.19) 66%,rgba(4,7,10,.17) 100%),linear-gradient(0deg,rgba(5,7,10,.84),transparent 31%),var(--mountain-image);background-position:center 49%;filter:brightness(1.35) saturate(1.06) contrast(1.06)}
.hero:after{background:radial-gradient(ellipse at 93% 10%,rgba(245,169,89,.18),transparent 53%)}
.hero .device-a{top:50px;left:29px;transform:rotate(-6deg)}
.hero .device-b{top:65px;right:-1px;transform:rotate(5deg)}
.hero-services{margin-top:38px}
}
.device{border-color:#888989;background:linear-gradient(124deg,#b5b6b3 0%,#202222 9%,#08090a 60%,#a2a09a 95%);box-shadow:0 29px 40px rgba(0,0,0,.6),-6px 2px 10px rgba(0,0,0,.23),inset 0 0 0 1px #050505}
.device img{object-fit:fill;filter:none}
.product-card{border-color:rgba(255,255,255,.17);box-shadow:0 20px 42px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.055)}
.product-card:after{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.027),transparent 50%);z-index:1}
.app-icon{box-shadow:0 8px 18px #000b,0 0 0 1px rgba(255,255,255,.1)}
.banner{min-height:245px}
.banner:before{background-image:linear-gradient(90deg,rgba(3,7,10,.83) 0%,rgba(3,7,10,.42) 50%,rgba(3,7,10,.15) 100%),var(--mountain-image);background-position:center 39%;filter:brightness(1.45) saturate(1.04) contrast(1.04)}
.banner:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(5,7,10,.38),transparent 35%);pointer-events:none}
.banner h2{font-size:clamp(36px,3.5vw,45px)}
.site-footer{background:linear-gradient(180deg,#101215,#0a0b0d);padding:37px 0 24px}
.footer-top{min-height:70px}
.footer-extras{display:flex;align-items:center;gap:20px}
.footer-contact{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#e9e5e1;border:1px solid rgba(240,196,124,.55);border-radius:99px;padding:9px 14px;white-space:nowrap}
.footer-contact:hover{color:var(--gold);border-color:var(--gold)}
.footer-legal-links{display:flex;gap:16px}
.footer-bottom{margin-top:22px}
@media(max-width:780px){.footer-extras{flex-wrap:wrap}.hero:before{filter:brightness(1.2) saturate(.95)}.banner:before{filter:brightness(1.3) saturate(.95)}}
@media(max-width:480px){.footer-extras{gap:12px}.footer-contact{font-size:11px}.footer-legal-links{flex-wrap:wrap}}


/* v5: approved-design fidelity pass. Scoped overrides, no duplicated sections. */
:root { --gold:#f4c77d; }
@media(min-width:1101px){
  .hero{height:720px}
  .hero-grid{grid-template-columns:48% 52%;padding-top:70px}
  .hero .device-a{width:275px;top:63px;left:18px;transform:rotate(-7deg)}
  .hero .device-b{width:275px;top:85px;right:-14px;transform:rotate(5deg)}
  .hero h1{font-size:clamp(51px,4.8vw,69px)}
  .hero-services{margin-top:36px;max-width:515px}
  .product-card{height:312px}
  .product-card .device{width:199px;top:14px;right:17px;transform:rotate(5deg)}
  .product-card:nth-child(2) .device{right:9px}
}
/* The mountain original is already graded dark; don't crush it with another heavy filter. */
.hero:before{
 background-image:linear-gradient(90deg,rgba(3,8,13,.89) 0%,rgba(4,8,13,.62) 31%,rgba(4,9,13,.12) 69%,rgba(5,9,12,.08)),linear-gradient(0deg,rgba(3,7,10,.83),transparent 26%),var(--mountain-image);
 background-position:center 51%;filter:brightness(1.64) saturate(1.23) contrast(1.03);
}
.hero:after{background:radial-gradient(ellipse at 89% 8%,rgba(255,190,108,.23),transparent 52%)}
.banner:before{background-image:linear-gradient(90deg,rgba(4,8,12,.86),rgba(5,9,12,.40) 52%,rgba(5,7,11,.05)),var(--mountain-image);background-position:center 60%;filter:brightness(1.64) saturate(1.27) contrast(1.03)}
.banner:after{background:linear-gradient(0deg,rgba(4,9,12,.48),transparent 56%)}
.device{border:2px solid #8e9291;background:linear-gradient(115deg,#d0d0c9 0%,#4f5250 3%,#0a0a0c 12%,#09090b 80%,#a0a09d 97%);box-shadow:0 35px 55px rgba(0,0,0,.68),-10px 15px 25px rgba(0,0,0,.22),inset 1px 0 1px rgba(255,255,255,.48);}
.device:after{box-shadow:inset 0 1px 1px rgba(255,255,255,.14)}
.products{background:radial-gradient(ellipse at 60% 0%,#1e1b1a,#0b0d0f 72%);}
.product-card{border-color:rgba(255,255,255,.20);box-shadow:0 25px 50px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.06)}
.product-card:first-child{background:radial-gradient(ellipse at 85% 7%,rgba(133,92,52,.48),#24201d 45%,#101113 83%)}
.product-card:nth-child(2){background:radial-gradient(ellipse at 85% 7%,rgba(105,54,119,.48),#231b29 47%,#101113 85%)}
.product-card .device{box-shadow:0 23px 42px rgba(0,0,0,.66)}
.app-icon{width:72px;height:72px;border-radius:18px}
.section-link:hover{color:var(--gold)}
.services{padding-top:44px;padding-bottom:51px}
.banner{min-height:258px}
.site-footer{background:linear-gradient(175deg,#121519,#090b0e);padding:35px 0 27px}
.footer-top{align-items:center}
.footer-links{gap:30px}
.footer-bottom{margin-top:25px;padding-top:19px}
.footer-contact{background:rgba(240,196,124,.055)}
@media(max-width:1100px) and (min-width:781px){.hero .device-a{left:5px}.hero .device-b{right:-14px}}
@media(max-width:780px){.hero:before{filter:brightness(1.42) saturate(1.1)}.banner:before{filter:brightness(1.48) saturate(1.12)}.hero .device-a{transform:rotate(-6deg)}.hero .device-b{transform:rotate(5deg)}.products{padding:50px 0}.banner{min-height:235px}}
@media(max-width:480px){.hero .device-a{left:4%}.hero .device-b{right:4%}.product-card .device{width:150px;right:-10px}.product-card:nth-child(2) .device{right:-12px}.footer-links{gap:17px;flex-wrap:wrap}.footer-top{gap:18px}}


/* v6: new bundled golden-hour landscape, separately art-directed hero and banner */
.hero:before{
  background-image:
    linear-gradient(90deg,rgba(3,7,11,.90) 0%,rgba(4,8,12,.78) 27%,rgba(4,8,12,.42) 49%,rgba(4,8,12,.12) 80%),
    linear-gradient(0deg,rgba(5,8,10,.82) 0%,rgba(5,8,10,.16) 36%,transparent 65%),
    var(--mountain-image);
  background-size:cover,cover,cover;
  background-position:center,center,center 56%;
  filter:brightness(.94) saturate(.96) contrast(1.03);
}
.hero:after{background:radial-gradient(ellipse at 86% 15%,rgba(235,160,80,.10),transparent 57%)}
.banner:before{
  background-image:linear-gradient(90deg,rgba(4,8,12,.91) 0%,rgba(4,8,12,.67) 43%,rgba(4,8,12,.22) 100%),var(--mountain-image);
  background-size:cover,cover;
  background-position:center,center 62%;
  filter:brightness(.98) saturate(1.05);
}
.banner:after{background:linear-gradient(0deg,rgba(4,7,11,.29),transparent 58%)}
@media(max-width:780px){
 .hero:before{background-position:center,center,58% center;filter:brightness(.93) saturate(.97)}
 .banner:before{background-position:center,57% 60%;filter:brightness(.97) saturate(1.03)}
}

/* v7: protected desktop headline / restrained device positioning */
@media (min-width:1101px) {
 .hero-grid{grid-template-columns:53% 47%}
 .hero h1{font-size:clamp(48px,4.45vw,65px);letter-spacing:-.048em}
 .hero .device-a{width:254px;left:34px;top:82px;transform:rotate(-6deg)}
 .hero .device-b{width:254px;right:-9px;top:97px;transform:rotate(5deg)}
}
@media (min-width:781px) and (max-width:1100px) {
 .hero-grid{grid-template-columns:53% 47%}
 .hero h1{font-size:clamp(37px,4.0vw,49px);letter-spacing:-.045em}
 .hero .device{width:clamp(170px,19.5vw,215px)}
 .hero .device-a{left:26px;top:100px;transform:rotate(-6deg)}
 .hero .device-b{right:-10px;top:115px;transform:rotate(5deg)}
}
.hero-phones{filter:drop-shadow(0 29px 27px rgba(0,0,0,.48))}
.hero .device{box-shadow:0 34px 51px rgba(0,0,0,.66),-8px 16px 22px rgba(0,0,0,.25),inset 1px 0 1px rgba(255,255,255,.3)}
.footer-bottom a{color:#d5c9b8;text-decoration:none;border-bottom:1px solid rgba(240,196,124,.48)}
.footer-bottom a:hover{color:var(--gold);border-color:var(--gold)}
@media(max-width:780px){.hero-phones{filter:drop-shadow(0 16px 20px rgba(0,0,0,.3))}}


/* v8: uniform phone alignment system */
@media (min-width:1101px){
  .hero .device-a, .hero .device-b{width:246px; top:92px;}
  .hero .device-a{left:44px; transform:rotate(-5deg)}
  .hero .device-b{right:14px; transform:rotate(5deg)}
}
@media (min-width:781px) and (max-width:1100px){
  .hero .device-a, .hero .device-b{top:112px;}
  .hero .device-a{left:30px; transform:rotate(-5deg)}
  .hero .device-b{right:8px; transform:rotate(5deg)}
}
.products-grid .product-card .device{width:190px; top:16px; transform:rotate(5deg);}
.products-grid .product-card:first-child .device{right:18px;}
.products-grid .product-card:nth-child(2) .device{right:18px;}
@media (max-width:480px){
  .products-grid .product-card .device{width:148px; right:-8px; transform:rotate(4deg);}
  .products-grid .product-card:nth-child(2) .device{right:-8px;}
}


/* v9: straight device presentation */
@media (min-width:1101px){
  .hero .device-a, .hero .device-b{width:236px; top:96px; transform:rotate(0deg);}
  .hero .device-a{left:46px;}
  .hero .device-b{right:24px;}
}
@media (min-width:781px) and (max-width:1100px){
  .hero .device{width:clamp(175px,18.8vw,208px); top:118px; transform:rotate(0deg);}
  .hero .device-a{left:26px;}
  .hero .device-b{right:10px;}
}
.products-grid .product-card .device{width:182px; top:18px; transform:rotate(0deg);}
.products-grid .product-card:first-child .device{right:20px;}
.products-grid .product-card:nth-child(2) .device{right:20px;}
@media (max-width:780px){
  .hero .device-a,.hero .device-b{transform:rotate(0deg);}
  .products-grid .product-card .device{transform:rotate(0deg);}
}
@media (max-width:480px){
  .hero .device-a{left:7%;} .hero .device-b{right:7%;}
  .products-grid .product-card .device{width:144px; right:-6px; transform:rotate(0deg);}
  .products-grid .product-card:nth-child(2) .device{right:-6px;}
}

/* v11: use true home screen images in hero, identical safe-area treatment */
.hero .device img {object-fit:fill;}
.hero .device:before {top:12px;height:21px;width:35%;}
.hero .device {padding-top:31px;background-color:#08090a;}
.hero .device img {border-radius:10px 10px 30px 30px;}
@media(max-width:780px){.hero .device{padding-top:26px}.hero .device:before{top:10px;height:18px}}


/* v12: eliminate artificial black safe-area and notch over real app screenshots */
.hero .device, .products-grid .device {
  padding:7px;
  background:linear-gradient(120deg,#969c9b,#090a0c 13%,#090a0c 85%,#92918d);
}
.hero .device:before, .products-grid .device:before { display:none; content:none; }
.hero .device img, .products-grid .device img {
  display:block; width:100%; height:100%; object-fit:fill; border-radius:34px;
}
@media(max-width:780px){
  .hero .device{padding:7px;}
  .hero .device img,.products-grid .device img{border-radius:32px;}
}

/* v13 — mobile composition: avoid phone collisions and copy obstruction.
   All rules are mobile-scoped; desktop layout is unchanged. */
@media (max-width:780px) {
  .hero {height:auto;min-height:0;overflow:hidden;}
  .hero-grid {height:auto;display:flex;flex-direction:column;align-items:stretch;padding-top:125px;padding-bottom:42px;gap:0;}
  .hero-copy {width:100%;padding-bottom:0;}
  .hero h1 {white-space:normal;max-width:100%;}
  .hero-services {max-width:100%;margin-top:30px;}
  .hero-phones {position:relative;display:flex;align-items:flex-start;justify-content:center;gap:14px;max-width:480px;width:100%;height:auto;min-height:0;margin:30px auto 0;padding:0 0 8px;filter:drop-shadow(0 18px 22px rgba(0,0,0,.35));}
  .hero .device,.hero .device-a,.hero .device-b {position:relative;top:auto;left:auto;right:auto;bottom:auto;transform:none;flex:0 1 auto;width:calc((100% - 14px)/2);max-width:225px;height:auto;aspect-ratio:1000/2050;margin:0;}
  .hero .device img {object-fit:fill;}
  .section-head {display:flex;flex-direction:column;align-items:flex-start;gap:12px;}
  .section-link {margin:0;align-self:flex-start;}
  .products-grid {grid-template-columns:1fr;gap:20px;}
  .product-card,.products-grid .product-card {display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0;overflow:hidden;}
  .product-text {position:relative;width:100%;padding:26px 26px 0;z-index:3;}
  .product-card p {max-width:100%;margin-bottom:18px;}
  .product-card .device,.products-grid .product-card .device,.products-grid .product-card:first-child .device,.products-grid .product-card:nth-child(2) .device {position:relative;top:auto;left:auto;right:auto;bottom:auto;display:block;margin:20px auto -94px;width:min(56%,225px);max-width:225px;transform:none;flex:none;}
}
@media (max-width:480px) {
  .hero {height:auto;min-height:0;}
  .hero-grid {padding-top:115px;padding-bottom:34px;}
  .hero-services {margin-top:26px;}
  .hero-service {padding:0 5px;}
  .hero-service span {font-size:9px;}
  .hero-phones {gap:12px;margin-top:27px;}
  .hero .device,.hero .device-a,.hero .device-b {width:calc((100% - 12px)/2);max-width:205px;}
  .section-head {gap:14px;margin-bottom:20px;}
  .section-link {font-size:13px;}
  .product-text {padding:24px 24px 0;width:100%;}
  .app-icon {width:62px;height:62px;}
  .product-card h3 {font-size:21px;}
  .product-card p {font-size:14px;line-height:1.5;max-width:100%;}
  .product-card .device,.products-grid .product-card .device,.products-grid .product-card:first-child .device,.products-grid .product-card:nth-child(2) .device {width:min(58%,215px);margin:22px auto -92px;}
}
