/*
Theme Name: EpicBlu Studio
Author: EpicBlu
Description: A custom app showcase for LoopLearn: Chinese, MySpellings and TotalUp, with native WordPress news and pages.
Version: 1.1.0
Text Domain: epicblu-studio
Requires at least: 6.5
Requires PHP: 7.4
*/
:root{--paper:#faf9f6;--ink:#172b39;--muted:#566571;--blue:#1756df;--line:#dce0df;--green:#e9f2d7;--purple:#eee8fb;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}a,button,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:5px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{line-height:1.08;letter-spacing:-.045em;font-weight:650}h1{font-size:clamp(52px,5.9vw,88px);margin-bottom:27px}h2{font-size:clamp(36px,4vw,56px);margin-bottom:22px}h3{font-size:27px}p{margin-bottom:22px}.serif{font-family:var(--serif);font-weight:400;font-style:italic;letter-spacing:-.055em}.blue{color:var(--blue)}.wrap{width:min(1240px,calc(100% - 96px));margin-inline:auto}.section{padding-block:92px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;line-height:1.6;margin-bottom:22px}.eyebrow span{margin-inline:8px}.intro{font-size:18px;color:var(--muted);line-height:1.7;max-width:470px}.site-header{border-bottom:1px solid var(--line);background:var(--paper)}.nav-row{min-height:104px;display:flex;justify-content:space-between;align-items:center;gap:30px}.brand{font-size:33px;font-weight:750;letter-spacing:-.07em;display:inline-flex;align-items:center;line-height:1}.brand>span:not(.brand-mark){color:var(--blue)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:white;font-size:32px;line-height:1;width:40px;height:40px;border-radius:12px;margin-right:11px;font-style:italic;font-family:Georgia,serif;padding-right:3px}.brand-dot{margin-left:2px}.nav-row nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:600}.nav-row nav a{padding-block:12px}.nav-row nav a:hover,.nav-row nav [aria-current]{color:var(--blue)}.nav-contact{border:1px solid var(--line);border-radius:30px;padding:9px 17px!important}.nav-contact span{margin-left:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:35px;background:var(--blue);color:#fff;font-size:14px;line-height:1.4;font-weight:650;padding:17px 24px;border-radius:8px;transition:background .2s,transform .2s}.button:hover{background:#1245b9;transform:translateY(-2px)}.button.dark{background:var(--ink)}.button.dark:hover{background:var(--blue)}.text-link{font-size:14px;font-weight:650;display:inline-flex;align-items:center;gap:30px}.text-link:hover{text-decoration:underline;text-underline-offset:5px}.home-hero{display:grid;grid-template-columns:1fr 1.08fr;gap:40px;min-height:730px;align-items:center;padding-block:64px 68px}.hero-copy{position:relative;z-index:2}.hero-copy h1{line-height:1.01}.hero-copy .eyebrow{font-size:10px;letter-spacing:.13em}.status-dot{display:inline-block;background:var(--blue);height:7px;width:7px;border-radius:50%;margin:0 8px 1px 0!important}.hero-note{font-size:11px;color:var(--muted);margin-top:20px;margin-bottom:0}.hero-art{height:590px;position:relative;background:#eef1ef;border-radius:46% 46% 17% 24%;isolation:isolate}.art-grid{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#d9deda88 1px,transparent 1px),linear-gradient(90deg,#d9deda88 1px,transparent 1px);background-size:35px 35px;border-radius:inherit;mask-image:radial-gradient(ellipse,#000 40%,transparent 70%)}.phone{background:#1c2228;border:6px solid #20262b;border-radius:32px;padding:2px;overflow:hidden;box-shadow:0 22px 40px -15px #172b3940;flex-shrink:0}.phone img{width:100%;border-radius:23px;display:block}.hero-art .phone{position:absolute;width:218px}.hero-loop{left:7%;top:43px;transform:rotate(-9deg);z-index:2}.hero-spell{right:3%;top:114px;transform:rotate(10deg);z-index:3}.floating-label{position:absolute;z-index:4;background:white;border:1px solid var(--line);border-radius:11px;box-shadow:0 8px 25px #172b390b;white-space:nowrap}.label-loop{left:32%;top:9px;padding:11px 15px;font-size:27px;transform:rotate(4deg);color:#40621d}.label-loop span{font-size:11px;margin-left:12px;vertical-align:middle;color:var(--ink)}.label-spell{left:8%;bottom:23px;transform:rotate(-4deg);font-size:12px;padding:14px 18px}.spark{color:#7b56bc;font-size:24px;vertical-align:middle;margin-right:8px}.art-caption{font-size:9px;letter-spacing:.16em;position:absolute;right:4%;bottom:0}.art-caption span{margin-left:15px}.principles{border-block:1px solid var(--line)}.principles .wrap,.app-benefits .wrap{display:flex;justify-content:space-between;gap:20px;padding-block:23px;font-size:12px;font-weight:600}.principles span:before{content:'✦';color:var(--blue);margin-right:12px}.section-heading{display:flex;justify-content:space-between;gap:35px;align-items:flex-end;margin-bottom:40px}.section-heading h2{margin:0}.section-heading .eyebrow{color:var(--muted);margin-bottom:13px}.section-heading>p{font-size:13px;color:var(--muted);margin-bottom:4px}.section-heading>.text-link{margin-bottom:5px}.app-showcase{border-radius:20px;display:grid;grid-template-columns:1fr 1fr;margin-bottom:27px;overflow:hidden;min-height:560px}.loop{--accent:#40621d;--tint:var(--green)}.spell{--accent:#6744a4;--tint:var(--purple)}.app-showcase.loop{background:var(--green)}.app-showcase.spell{background:var(--purple)}.showcase-copy{padding:47px 45px;z-index:2}.app-title{display:flex;gap:16px;align-items:center;margin-bottom:35px}.app-icon{width:65px;height:65px;border-radius:15px;box-shadow:0 5px 15px #172b3910}.app-title .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:8px;color:var(--accent)}.app-title h3,.app-name{font-size:22px;font-weight:650;margin-bottom:0;letter-spacing:-.035em;line-height:1.2}.showcase-copy h4{font-size:45px;line-height:1.1;margin-bottom:21px}.showcase-copy>p{font-size:14px;max-width:400px;color:#43534b;line-height:1.8}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-block:24px}.tags span{font-size:10px;border:1px solid #172b3928;border-radius:30px;padding:5px 9px}.availability{display:block;font-size:11px;color:var(--muted);margin-top:13px;line-height:1.65}.showcase-art{position:relative;display:flex;gap:20px;justify-content:center;align-items:flex-end;padding-top:85px;isolation:isolate}.showcase-art .phone{width:42%;max-width:220px;margin-bottom:-80px}.tilt-left{transform:rotate(-8deg) translateY(-30px)}.tilt-right{transform:rotate(9deg)}.chinese-deco{position:absolute;top:0;left:22%;font-size:210px;color:#6c924b28;z-index:-1;line-height:1.2}.letter-deco{position:absolute;top:10px;left:8%;font-size:160px;font-style:italic;font-family:Georgia,serif;color:#8057ac25;z-index:-1;line-height:1.2;white-space:nowrap}.studio-note{text-align:center;padding-block:10px 105px;max-width:700px}.studio-note>p:not(.eyebrow){max-width:510px;margin-inline:auto;color:var(--muted);font-size:16px}.studio-note .eyebrow{color:var(--blue)}.news-section{background:#f0f1ee;border-block:1px solid var(--line)}.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:35px}.news-card{border-top:1px solid #aeb8ba;padding-block:25px 10px;display:flex;flex-direction:column;align-items:flex-start}.news-card h3{font-size:24px;line-height:1.3;margin-bottom:17px}.news-card>p:not(.eyebrow){font-size:14px;color:var(--muted);margin-bottom:28px}.news-card .eyebrow{font-size:9px;letter-spacing:.08em;color:var(--muted)}.news-card .text-link{margin-top:auto}.site-footer{padding-block:55px 25px}.footer-top,.footer-bottom{display:flex;justify-content:space-between;gap:30px}.footer-top{padding-bottom:40px}.footer-top p{font-size:12px;color:var(--muted);margin-top:18px}.footer-links{display:flex;gap:25px;font-size:12px;padding-top:15px}.footer-bottom{border-top:1px solid var(--line);padding-top:22px;font-size:10px;color:var(--muted)}.footer-bottom div{display:flex;gap:20px}.app-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:70px;padding-block:45px 70px}.back-link{font-size:12px;display:inline-block;color:var(--muted);margin-bottom:35px}.app-hero .app-title{margin-bottom:28px}.app-hero h1{font-size:clamp(48px,5.5vw,76px)}.app-hero h1 .serif{color:var(--accent)}.app-hero-art{height:610px;background:var(--tint);border-radius:48% 48% 18% 18%;display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate}.app-main-phone{width:235px;transform:rotate(7deg)}.app-art-word{position:absolute;left:-15px;bottom:25px;font-size:120px;color:var(--accent);z-index:2}.app-benefits{background:var(--tint)}.app-benefits .wrap{font-size:13px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.feature{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;display:flex;flex-direction:column}.feature-top{padding:28px 27px 0}.feature-top>span{color:var(--accent);font-size:11px;display:block;margin-bottom:25px}.feature-top h3{font-size:26px}.feature-top p{font-size:14px;color:var(--muted)}.feature-image{background:var(--tint);margin-top:auto;display:flex;justify-content:center;padding-top:30px;height:360px;overflow:hidden}.feature-image .phone{width:210px;transform:rotate(-3deg)}.tv-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center;padding-bottom:80px}.tv-section h2{font-size:43px}.tv-section p,.spelling-note>p{color:var(--muted);font-size:15px}.tv-section>img{border:10px solid #20262b;border-radius:16px;box-shadow:0 24px 40px #172b3915}.small-note{font-size:12px!important}.spelling-note{max-width:760px;text-align:center;padding:15px 0 80px}.spelling-note p{max-width:550px;margin-inline:auto}.faq-section{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;border-top:1px solid var(--line);padding-block:75px}.faq-section h2{font-size:39px}.faqs details{border-bottom:1px solid var(--line);padding-block:18px}.faqs details:first-child{border-top:1px solid var(--line)}summary{font-weight:600;font-size:14px;cursor:pointer;list-style:none;position:relative;padding-right:28px}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:0;font-size:20px;top:-5px}details[open] summary:after{content:'−'}.faqs p{font-size:14px;color:var(--muted);margin-block:15px 0}.faqs p a,.entry-content a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.app-cta{text-align:center;background:var(--tint);padding-block:75px}.app-cta h2{margin-bottom:30px}.app-cta p:last-child{font-size:12px;margin-top:25px;margin-bottom:0}.page-heading{max-width:850px;margin-bottom:65px}.page-heading h1{font-size:65px}.pagination{margin-top:35px}.document{max-width:860px;min-height:65vh}.document h1{font-size:clamp(42px,4.7vw,64px);line-height:1.12;margin-bottom:40px}.entry-content{font-size:17px;color:#394e5c}.entry-content h2,.entry-content h3{font-size:30px;margin-top:42px;color:var(--ink)}.entry-content h3{font-size:24px}.entry-content figure{margin:25px 0}.entry-content table{width:100%;border-collapse:collapse}.entry-content td{padding:0}.entry-content input,.entry-content textarea,.entry-content select{max-width:100%}.article-image{width:100%;margin-bottom:35px;border-radius:15px}.post-navigation{padding-top:35px;margin-top:40px;border-top:1px solid var(--line);font-size:13px}.nav-links{display:flex;justify-content:space-between;gap:25px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;z-index:1000;top:15px;left:15px;background:var(--ink);color:white;padding:12px 20px}::selection{background:#cddcff}
@media(min-width:1450px){.home-hero{min-height:780px}.hero-art{height:610px}.hero-art .phone{width:235px}.hero-loop{left:5%}.hero-spell{right:4%}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.nav-row nav{gap:20px}.hero-art .phone{width:185px}.hero-art{height:520px}.hero-loop{left:0}.hero-spell{right:0;top:110px}.label-loop{left:20%;font-size:22px}.label-loop span{font-size:10px}.home-hero{gap:25px;min-height:650px}.intro{font-size:16px}.showcase-copy{padding:35px 30px}.showcase-copy h4{font-size:38px}.app-title h3{font-size:20px}.app-icon{width:55px;height:55px}.showcase-art{gap:10px}.showcase-art .phone{width:43%}.app-hero{gap:40px}.app-hero-art{height:550px}.app-main-phone{width:215px}.app-art-word{font-size:90px}.footer-links{gap:18px}.feature-top{padding-inline:20px}.feature-top h3{font-size:23px}.tv-section{gap:30px}.tv-section h2{font-size:35px}.footer-bottom>span:last-child{display:none}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.nav-row{min-height:100px;flex-wrap:wrap;justify-content:center;gap:0;padding-block:17px 10px}.brand{font-size:28px}.brand-mark{width:32px;height:32px;font-size:27px}.nav-row nav{width:100%;justify-content:center;gap:22px;font-size:12px;margin-top:12px}.nav-contact{padding:7px 11px!important}.nav-contact span,.nav-detail{display:none}.home-hero{grid-template-columns:1fr;padding-block:38px 40px;gap:25px}.hero-copy h1{font-size:67px}.hero-copy .intro{max-width:400px}.hero-art{height:540px;max-width:470px;width:100%;margin:auto}.hero-art .phone{width:43%;max-width:215px}.hero-loop{left:5%;top:48px}.hero-spell{right:4%;top:105px}.label-loop{left:27%;font-size:23px}.label-loop span{font-size:9px;margin-left:6px}.label-spell{bottom:15px;font-size:11px;left:3%}.art-caption{font-size:8px;right:0;bottom:-15px}.principles .wrap,.app-benefits .wrap{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:10px;padding-block:21px}.principles span:before{margin-right:7px}.section{padding-block:58px}.section-heading{display:block;margin-bottom:30px}.section-heading>p,.section-heading>.text-link{margin-top:20px}.section-heading h2{font-size:38px}.app-showcase{grid-template-columns:1fr;min-height:0}.showcase-copy{padding:30px 27px 10px}.showcase-copy h4{font-size:43px}.app-title{margin-bottom:28px;gap:12px}.app-title h3{font-size:21px}.app-title .eyebrow{font-size:8px}.showcase-art{height:380px;padding-top:20px;gap:25px;max-width:450px;width:100%;margin-inline:auto}.showcase-art .phone{width:39%;max-width:190px;margin-bottom:-100px}.chinese-deco{font-size:180px;top:-15px;left:40%}.letter-deco{font-size:140px;top:-15px;left:30%}.studio-note{padding-block:5px 65px}.studio-note h2{font-size:39px}.studio-note>p:not(.eyebrow){font-size:15px}.news-grid{grid-template-columns:1fr;gap:30px}.news-card h3{font-size:26px;max-width:470px}.footer-top{display:block;padding-bottom:25px}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-block:25px 10px;padding:0}.footer-bottom{font-size:10px;gap:15px}.footer-bottom div{gap:12px}.app-hero{grid-template-columns:1fr;gap:25px;padding-block:25px 40px}.back-link{margin-bottom:25px}.app-hero h1{font-size:58px}.app-hero-art{height:560px;max-width:450px;width:100%;margin-inline:auto}.app-main-phone{width:225px}.app-art-word{left:5px;font-size:90px}.feature-grid{grid-template-columns:1fr}.feature-top{padding:28px 25px 0}.feature-top>span{margin-bottom:20px}.feature-top h3{font-size:28px}.feature-image{height:380px}.feature-image .phone{width:220px}.tv-section{grid-template-columns:1fr;gap:20px;padding-bottom:55px}.tv-section h2{font-size:38px}.spelling-note{padding-bottom:40px}.faq-section{grid-template-columns:1fr;gap:15px;padding-block:45px}.faq-section h2{font-size:36px}.app-cta{padding-block:55px}.app-cta h2{font-size:38px}.page-heading h1{font-size:48px}.document h1{font-size:43px}.entry-content{font-size:16px}.post-navigation .nav-links{flex-direction:column}}
@media(max-width:370px){.wrap{width:calc(100% - 30px)}.nav-row nav{gap:15px;font-size:11px}.hero-copy h1{font-size:59px}.hero-art{height:470px}.label-loop{left:16%;top:0}.label-spell{font-size:9px;bottom:12px}.spark{font-size:20px}.principles .wrap{font-size:9px}.showcase-copy{padding-inline:22px}.showcase-copy h4{font-size:38px}.app-title h3{font-size:19px}.app-hero h1{font-size:50px}.app-art-word{font-size:75px}.app-main-phone{width:200px}.app-hero-art{height:500px}.footer-bottom{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

.footer-bottom{flex-wrap:wrap}.footer-bottom>div{flex-wrap:wrap}

/* Official Apple artwork: preserve its proportions and a quarter-height clear space. */
.app-store-badge{display:inline-flex;align-items:center;padding:12px;margin-left:-12px;vertical-align:middle}
.app-store-badge img{display:block;width:auto;height:48px;max-width:none}
.app-cta .app-store-badge{margin-left:0}

/* App captures inside unmodified Apple product artwork; show each complete device. */
.phone{background:transparent;border:0;border-radius:0;padding:0;overflow:visible;box-shadow:none}
.phone img{border-radius:0}
.hero-art{height:690px}
.hero-art .hero-loop{width:37%;max-width:none;left:6%;top:auto;bottom:90px;transform:none}
.hero-art .hero-spell{width:40.3%;max-width:none;right:6%;top:auto;bottom:90px;transform:none}
.label-loop{left:50%;top:8px;transform:translateX(-50%)}
.label-spell{left:8%;bottom:8px;transform:none}
.art-caption{bottom:-22px}
.showcase-art{align-items:center;gap:20px;padding:35px 20px;min-height:530px}
.showcase-art .phone{width:42%;max-width:210px;margin-bottom:0;transform:none}
.app-main-phone{transform:none}
.app-art-word{display:none}
.feature-image{height:auto;min-height:425px;padding:28px 20px;align-items:center}
.feature-image .phone{width:180px;max-width:80%;transform:none}
.tv-section>img{border:0;border-radius:0;box-shadow:none}
/* The existing form sits in a WordPress table: remove only that outer wrapper. */
.page-id-36 .wp-block-table,.page-id-36 .wp-block-table table,.page-id-36 .wp-block-table td{border:0!important;outline:0;box-shadow:none}
@media(max-width:760px){
 .hero-art{height:auto;min-height:460px;aspect-ratio:.8}
 .label-loop{font-size:22px}
 .label-spell{left:50%;transform:translateX(-50%);font-size:10px;padding:10px 12px}
 .showcase-art{height:auto;min-height:380px;max-width:450px;padding:30px 20px;gap:18px}
 .showcase-art .phone{width:42%;max-width:175px;margin-bottom:0}
 .feature-image .phone{width:200px}
}
@media(max-width:370px){.hero-art{height:auto;min-height:410px}.label-loop span{font-size:8px}.label-spell{font-size:9px}}
.home-hero>*{min-width:0}
@media(max-width:760px){.home-hero{grid-template-columns:minmax(0,1fr)}}

/* Pair identical iPhone models with clear app identities, without floating boxes. */
.hero-art{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:24px;padding:40px 24px;height:auto;min-height:650px;aspect-ratio:auto}
.hero-app{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:20px}
.hero-art .hero-app .phone{position:static;width:100%;max-width:230px;transform:none}
.hero-app figcaption{width:100%;text-align:center}
.hero-app-caption{display:flex;flex-direction:column;align-items:center;gap:8px}
.hero-app-name{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;letter-spacing:-.025em;line-height:1.3}
.hero-app-name img{width:28px;height:28px;border-radius:6px;flex-shrink:0}
.hero-app-description{font-size:12px;color:var(--muted);line-height:1.4;max-width:190px}
.hero-app-caption:hover strong{color:var(--blue)}
@media(max-width:760px){.hero-art{height:auto;min-height:0;aspect-ratio:auto;padding:32px 12px;gap:14px}.hero-app{gap:18px}.hero-app-name{font-size:14px;gap:6px}.hero-app-name img{width:24px;height:24px}.hero-app-description{font-size:11px;min-height:31px;max-width:150px}}
@media(max-width:370px){.hero-app-name{font-size:13px}.hero-app-description{font-size:10px}}

/* TotalUp joins the collection in its evergreen and apricot palette. */
.total{--accent:#245a4a;--tint:#f4e7d8}
.app-showcase.total{background:var(--tint)}
.total-art{background:#e7ece3}
.total-art .phone{width:55%;max-width:235px}
.total-capture{display:block;width:220px;max-width:100%;height:auto;border-radius:8px}
.total .feature-image{min-height:450px}
.total .feature-image .phone{width:195px}
.total .small-note a{text-decoration:underline;text-underline-offset:3px}
.hero-art{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-inline:18px;min-height:540px}
.hero-app-name{font-size:14px;gap:6px}
.hero-app-description{font-size:11px;min-height:32px}
.nav-row nav{gap:22px}
.footer-links{flex-wrap:wrap}
@media(max-width:1100px) and (min-width:761px){.nav-row nav{gap:14px}.hero-app-name{font-size:12px}.hero-app-name img{width:22px;height:22px}.hero-art{padding-inline:10px;gap:9px;min-height:420px}}
@media(max-width:760px){.nav-row nav{flex-wrap:wrap;column-gap:18px;row-gap:0}.hero-art{padding:30px 8px;gap:10px;min-height:0}.hero-app-name{font-size:12px;flex-direction:column;gap:5px}.hero-app-description{font-size:10px;min-height:42px}.total-art .phone{width:55%;max-width:210px}.total .feature-image{min-height:425px}}
@media(max-width:370px){.nav-row nav{column-gap:12px;font-size:10px}.hero-app-name{font-size:11px}.hero-app-description{font-size:9px}}
