/*
Theme Name: Norcomp Southern California
Description: Custom Norcomp company website design, adapted from the approved website preview.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: norcomp-sc
*/

:root{--ink:#122b42;--blue:#006fb9;--paper:#f4f6f7;--line:#d8e0e5;--muted:#536779}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #24a6ed;outline-offset:5px}header{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:5}.brand{font-weight:800;font-size:34px;letter-spacing:-1.8px;line-height:.9}.brand small{display:block;font-size:9px;letter-spacing:2.1px;margin-top:9px;text-transform:uppercase}nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:600}.nav-contact{border:1px solid var(--ink);padding:13px 18px}.menu{display:none}main{overflow:hidden}.hero{padding:78px 6% 0;background:var(--paper);position:relative}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;text-transform:uppercase;display:flex;align-items:center;gap:10px}.eyebrow:before{content:'';height:7px;width:7px;background:var(--blue)}.hero-grid{display:grid;grid-template-columns:1.16fr 1fr;gap:5%;align-items:center}.hero h1{font-size:clamp(48px,5.8vw,83px);line-height:1.02;letter-spacing:-4px;font-weight:500;margin:27px 0}.hero h1 em{font-style:normal;color:var(--blue)}p{font-size:16px;line-height:1.7;color:var(--muted)}.hero p{max-width:480px}.actions{display:flex;gap:27px;align-items:center;margin:29px 0 58px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;background:var(--blue);color:white;padding:17px 22px;font-size:13px;font-weight:600}.text-link{font-size:13px;font-weight:600;border-bottom:1px solid var(--ink);padding:8px 0}.technical{height:390px;position:relative;background:radial-gradient(ellipse at center,#dbe8ef,transparent 65%);display:grid;place-items:center}.technical svg{width:100%;height:100%}.caption{position:absolute;bottom:9px;right:0;font-family:monospace;font-size:10px;letter-spacing:1px;color:#687e8d}.hero-bottom{display:flex;justify-content:space-between;border-top:1px solid #cbd6df;padding:22px 0;font-size:11px;letter-spacing:1.3px;text-transform:uppercase}.intro-strip{padding:31px 6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.intro-strip span{max-width:175px;font-size:11px;line-height:1.5;color:var(--muted);letter-spacing:1px}.wordmarks{display:flex;gap:35px;align-items:center;flex-wrap:wrap;font-size:21px;font-weight:700;letter-spacing:-.7px}.wordmarks a:nth-child(2){font-style:italic}.section{padding:88px 6%}.section-head{display:flex;justify-content:space-between;gap:45px;align-items:end;margin-bottom:37px}h2{font-size:clamp(32px,3.5vw,48px);letter-spacing:-1.6px;line-height:1.12;font-weight:500;margin:20px 0 0}.section-head p{max-width:430px;margin:0}.audiences{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.audience{padding:32px 30px 32px 0}.audience+.audience{border-left:1px solid var(--line);padding-left:30px}.number{font:12px monospace;color:var(--blue)}h3{font-size:23px;letter-spacing:-.6px;font-weight:500;margin:25px 0 10px}.audience p{font-size:14px;min-height:94px}.audience a{font-size:12px;font-weight:bold;display:flex;justify-content:space-between;padding-top:15px}.directory{background:var(--paper)}.filters{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0 28px}.filters button{font:12px Arial;background:transparent;border:1px solid #becdd8;padding:11px 18px;border-radius:30px;color:var(--ink);cursor:pointer}.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.partners{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.partner{background:#fff;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px;min-height:177px;display:flex;flex-direction:column;transition:background .2s}.partner:hover{background:#eaf3f9}.partner strong{font-size:20px;letter-spacing:-.6px}.partner p{font-size:12px;line-height:1.6;margin:16px 0 22px}.partner span{margin-top:auto;font-size:11px;color:var(--blue)}.partner[hidden]{display:none}.fine{font-size:12px;margin-top:20px}.capabilities{display:grid;grid-template-columns:1fr 1.4fr;gap:10%}.capabilities p{max-width:350px}details{border-bottom:1px solid var(--line)}details:first-child{border-top:1px solid var(--line)}summary{list-style:none;padding:24px 0;font-size:20px;cursor:pointer;display:flex;justify-content:space-between}summary::-webkit-details-marker{display:none}summary:after{content:'+';color:var(--blue)}details[open] summary:after{content:'−'}details p{font-size:14px;max-width:100%!important;margin:0 0 24px}.markets{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}.markets span{border:1px solid var(--line);padding:10px 13px;font-size:11px}.careers{background:#102e47;color:white;display:grid;grid-template-columns:1fr 1fr;gap:10%}.careers .eyebrow{color:#91c8ed}.careers p{color:#b9cbd7;font-size:15px}.careers h2{font-size:45px}.careers .text-link{display:inline-block;color:white;border-color:#8aa2b5;margin-top:15px}.career-note{font-size:11px!important}.contact{background:#eaf1f5}.offices{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin-top:45px}.office{border-top:1px solid #b7c9d7;padding-top:22px}.office h3{font-size:20px;margin:0 0 14px}.office p{font-size:13px}.office a{display:block;font-size:13px;line-height:1.9}.office a:last-child{color:var(--blue);margin-top:8px}footer{padding:35px 6%;display:flex;align-items:center;justify-content:space-between}footer p{font-size:10px}footer .brand{font-size:24px}footer a{font-size:12px}button:hover,.button:hover{filter:brightness(.92)}@media(min-width:1500px){header,.hero,.section,.intro-strip,footer{padding-left:max(6%,calc((100vw - 1320px)/2));padding-right:max(6%,calc((100vw - 1320px)/2))}}@media(max-width:900px){nav{gap:16px}.hero h1{letter-spacing:-2.5px}.technical{height:320px}.wordmarks{gap:22px;font-size:17px}.partners{grid-template-columns:repeat(3,1fr)}.section{padding-top:65px;padding-bottom:65px}}@media(max-width:650px){header{height:78px}.brand{font-size:29px}.menu{display:block;background:none;border:1px solid var(--line);padding:10px;color:var(--ink)}nav{display:none;position:absolute;top:78px;left:0;right:0;background:white;padding:24px 6%;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line)}nav.open{display:flex}.hero{padding-top:44px}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:56px}.hero p{font-size:15px}.actions{margin-bottom:15px;gap:20px}.technical{height:260px;margin:8px 0 25px}.hero-bottom{font-size:9px;gap:15px;line-height:1.6}.intro-strip{align-items:start;flex-direction:column}.intro-strip span{max-width:none}.wordmarks{gap:22px}.section-head{display:block}.section-head p{margin-top:22px}.audiences{grid-template-columns:1fr}.audience,.audience+.audience{padding:25px 0;border-left:0;border-bottom:1px solid var(--line)}.audience p{min-height:0}.audience h3{margin-top:15px}.partners{grid-template-columns:repeat(2,1fr)}.partner{padding:20px;min-height:180px}.partner strong{font-size:18px}.capabilities,.careers{grid-template-columns:1fr;gap:30px}.offices{grid-template-columns:1fr;gap:28px}.careers h2{font-size:36px}footer{gap:22px;flex-wrap:wrap}footer p{width:100%;order:3}.section{padding-top:55px;padding-bottom:55px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.hero h1{font-size:clamp(42px,4.8vw,68px);letter-spacing:-2.8px}.intro-strip{display:block;padding-top:28px;padding-bottom:28px}.intro-strip>span{display:block;margin-bottom:20px}.wordmarks{display:grid;grid-template-columns:repeat(7,1fr);gap:12px 24px}.wordmarks a{height:65px;display:flex;align-items:center;justify-content:center}.wordmarks img{max-width:100%;height:55px;object-fit:contain}.audiences{grid-template-columns:repeat(2,1fr)}.audience p{min-height:65px}.partner img{width:100%;max-width:180px;height:60px;object-fit:contain;object-position:left center}.direct-contact{font-size:14px}.direct-contact a{color:var(--blue);text-decoration:underline}.contact .section-head{margin-bottom:20px}.contact h2{margin-top:14px}.caption{display:none}@media(max-width:900px){.wordmarks{grid-template-columns:repeat(5,1fr)}}@media(max-width:650px){.hero h1{font-size:43px;letter-spacing:-2px}.wordmarks{grid-template-columns:repeat(3,1fr);gap:12px 20px}.wordmarks a{height:55px}.wordmarks img{height:45px}.audiences{grid-template-columns:1fr}.audience p{min-height:0}.audience+.audience{padding-left:0}}
.hero-bottom{justify-content:flex-end}.hero h1{font-size:clamp(44px,5.3vw,75px);letter-spacing:-2.5px}.audience .number{display:block;margin-bottom:22px}.direct-contact a{font-family:inherit}@media(max-width:650px){.hero h1{font-size:45px}}
.technical{background:none}.chip-photo{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.chip-photo{mix-blend-mode:normal;object-fit:cover;border-radius:3px}.technical{height:330px}@media(max-width:650px){.technical{height:245px}}

/* Integrated full-width photographic hero */
.hero{isolation:isolate;background:#071b30;color:#fff;padding-top:82px}
.hero:before{content:'';position:absolute;inset:0 0 0 20%;background:url('assets/semiconductor-board-hires.webp') center center/cover no-repeat;z-index:-2}
.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071b30 0%,rgba(7,27,48,.97) 28%,rgba(7,27,48,.83) 43%,rgba(7,27,48,.26) 68%,rgba(7,27,48,.12) 100%);z-index:-1}
.hero-grid{display:block;min-height:390px}.hero-grid>div:first-child{max-width:660px}.hero .technical{display:none}
.hero h1{font-size:clamp(48px,5.5vw,78px);line-height:1.04;letter-spacing:-2.8px;margin:32px 0 28px}.hero h1 em{color:#fff}
.hero p{color:#d3deea;max-width:475px;font-size:16px;line-height:1.75}.hero .eyebrow{color:#b7d2e6}.hero .eyebrow:before{background:#45b6ed}
.hero .actions{margin:30px 0 68px}.hero .button{background:#fff;color:#12334d}.hero .text-link{color:#fff;border-color:#9fb5c8}.hero-bottom{border-color:rgba(255,255,255,.23);color:#bbcede;padding:22px 0;justify-content:flex-start}
@media(max-width:900px){.hero:before{left:12%}.hero:after{background:linear-gradient(90deg,#071b30 0%,rgba(7,27,48,.93) 30%,rgba(7,27,48,.65) 60%,rgba(7,27,48,.25) 100%)}.hero-grid>div:first-child{max-width:570px}.hero h1{font-size:60px}}
@media(max-width:650px){.hero{padding-top:45px}.hero:before{inset:0;background-position:62% center;opacity:.65}.hero:after{background:linear-gradient(90deg,rgba(7,27,48,.94),rgba(7,27,48,.65)),linear-gradient(0deg,#071b30,transparent 60%)}.hero-grid{min-height:0}.hero h1{font-size:46px;letter-spacing:-1.7px;margin-top:26px}.hero p{font-size:15px}.hero .eyebrow{font-size:9px;letter-spacing:1.4px}.hero .actions{margin:28px 0 44px;flex-wrap:wrap}.hero-bottom{font-size:9px}}

@media(max-width:650px){
html{scroll-padding-top:92px}header{padding-left:6%;padding-right:6%}.menu{min-height:44px;min-width:64px;font-size:14px}nav{gap:6px;box-shadow:0 12px 20px #102e4712}nav a{display:flex;align-items:center;min-height:48px;font-size:15px}.hero h1{font-size:clamp(38px,11.8vw,46px)}.hero .actions{gap:12px 20px}.hero .actions a{min-height:48px}.hero p{line-height:1.75}.hero-bottom{line-height:1.8}.section-head p,.audience p,.capabilities p,details p{font-size:15px}.partner{min-width:0;padding:20px 16px;min-height:190px}.partner p{font-size:13px;line-height:1.6}.partner span{font-size:12px}.filters button{min-height:44px;font-size:13px;padding:10px 14px}.audience a{min-height:48px;align-items:center;font-size:13px}summary{gap:18px;font-size:19px;line-height:1.4;min-height:64px}summary:after{flex-shrink:0}.office a{display:flex;align-items:center;min-height:44px;font-size:15px}.office p{font-size:15px}.direct-contact a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}.offices{gap:32px}.wordmarks a{min-height:48px}footer>a:last-child{min-height:44px;display:flex;align-items:center}.markets span{font-size:12px}.fine{line-height:1.9}.fine .text-link{display:inline-block}footer p{font-size:11px}}
@media(max-width:360px){.partners{grid-template-columns:1fr}.partner{min-height:170px}.partner img{max-width:170px}.hero .actions{align-items:stretch;flex-direction:column}.hero .button{justify-content:space-between}.hero .text-link{align-self:flex-start}.wordmarks{grid-template-columns:repeat(2,1fr)}}
.brand{display:inline-flex;align-items:center;letter-spacing:normal;line-height:1}.norcomp-wordmark{display:block;width:190px;height:60px;object-fit:contain}footer .norcomp-wordmark{width:155px;height:49px}@media(max-width:650px){.norcomp-wordmark{width:165px;height:52px}}

#about{padding-top:74px;padding-bottom:70px}#about .section-head{align-items:start}#about .section-head h2{font-size:clamp(30px,3.1vw,42px);line-height:1.16}#about .section-head p{max-width:470px}.partner{padding:28px;min-height:195px}.partner img{object-position:left center;max-width:155px;width:100%;height:48px;margin:8px 0 12px}.partner p{margin:12px 0 24px;color:#425a6c;font-size:14px}.partner span{font-size:12px}.partner:hover{background:#f7fbfd}.directory .section-head{margin-bottom:28px}.section-head p{line-height:1.75}.audience .number{letter-spacing:.5px}#expertise .eyebrow{display:none}#expertise h2{margin-top:0}@media(max-width:650px){#about{padding-top:50px;padding-bottom:50px}#about .section-head h2{font-size:32px}.partner{padding:23px 18px;min-height:195px}.partner img{height:42px;max-width:142px}.partner p{font-size:13px}.directory .section-head{margin-bottom:22px}}@media(max-width:360px){.partner{min-height:170px}.partner img{max-width:150px}}

.hero-captions{max-width:510px;margin-top:26px}.caption-slides{min-height:118px;display:flex;align-items:flex-start}.hero .original-caption{margin:0;font-size:21px;line-height:1.5;color:#e8f0f7;font-weight:400}.original-caption[hidden]{display:none}.caption-controls{display:flex;align-items:center;gap:15px;margin-top:6px}.caption-dots{display:flex;gap:3px}.caption-dots button{display:grid;place-items:center;width:34px;height:36px;padding:0;background:transparent;border:0;cursor:pointer}.caption-dots span{width:19px;height:3px;background:#6f8c9f}.caption-dots [aria-pressed=true] span{background:#fff}.caption-pause{background:none;border:0;color:#c8d8e4;font:12px Arial;padding:10px;min-height:36px;cursor:pointer}.hero .actions{margin-top:20px}.hero-captions button:focus-visible{outline:2px solid white;outline-offset:1px}@media(max-width:650px){.hero .original-caption{font-size:19px;line-height:1.55}.caption-slides{min-height:178px}.hero-captions{margin-top:24px}.caption-dots button,.caption-pause{min-height:44px}.caption-dots button{width:38px}.hero .actions{margin-top:18px}}@media(max-width:360px){.caption-slides{min-height:205px}.hero .original-caption{font-size:18px}}

.about-captions{max-width:470px;min-width:0;padding-top:6px}.about-captions .caption-slides{min-height:115px;align-items:flex-start}.about-captions .original-caption{font-size:21px;line-height:1.6;color:var(--ink);margin:0}.about-captions .caption-controls{margin-top:15px}.about-captions .caption-dots span{background:#b5c7d4}.about-captions .caption-dots [aria-pressed=true] span{background:var(--blue)}.about-captions .caption-dots button{height:40px;width:38px}.about-captions button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}#about .section-head{align-items:flex-start}.hero .actions{margin-top:30px}@media(max-width:650px){.about-captions{margin-top:24px;max-width:100%}.about-captions .original-caption{font-size:20px;line-height:1.55}.about-captions .caption-slides{min-height:156px}.about-captions .caption-dots button{min-height:44px}}@media(max-width:360px){.about-captions .caption-slides{min-height:192px}}

/* Compact editorial rhythm: natural caption height and quieter controls. */
#about{padding-top:48px;padding-bottom:48px}#about .section-head{display:grid;grid-template-columns:1fr 1.55fr;gap:8%;align-items:start;margin-bottom:26px}#about .section-head h2{font-size:36px;line-height:1.15;letter-spacing:-1.2px;margin:0}.about-captions{padding:0;max-width:620px;margin:0}.about-captions .caption-slides{display:block;min-height:0}.about-captions .original-caption{font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.65;color:#425a6c;font-weight:400;letter-spacing:normal;margin:0}.about-captions .caption-controls{margin-top:4px}.about-captions .caption-dots{gap:0}.about-captions .caption-dots button{width:28px;height:28px;min-height:28px}.about-captions .caption-dots span{width:5px;height:5px;border-radius:50%;background:#bdcad4}.about-captions .caption-dots [aria-pressed=true] span{background:#006fb9}.audience{padding-top:25px;padding-bottom:25px}.audience .number{margin-bottom:15px}.audience p{min-height:0;margin:0 0 10px}.audience a{padding-top:8px}.section{padding-top:64px;padding-bottom:64px}.directory .section-head{margin-bottom:20px}.filters{padding-bottom:20px}.offices{margin-top:28px}.hero .actions{margin-bottom:42px}
@media(max-width:650px){.section,#about{padding-top:36px;padding-bottom:36px}#about .section-head{display:block;margin-bottom:20px}#about .section-head h2{font-size:28px;margin-bottom:16px}.about-captions{margin:0;padding:0;max-width:none}.about-captions .caption-slides{min-height:0}.about-captions .original-caption{font-size:16px;line-height:1.65}.about-captions .caption-controls{margin-top:2px}.about-captions .caption-dots button{width:32px;min-height:32px;height:32px}.audience,.audience+.audience{padding-top:21px;padding-bottom:21px}.audience .number{margin-bottom:12px}.audience p{margin:0 0 6px}.audience a{padding-top:0;min-height:40px}.section-head{margin-bottom:22px}.section-head p{margin-top:16px}.hero{padding-top:34px}.hero h1{margin-top:22px;margin-bottom:22px}.hero .actions{margin-top:23px;margin-bottom:26px}.hero-bottom{padding:17px 0}.filters{gap:7px;padding-top:0;padding-bottom:18px}.partner{min-height:170px;padding-top:18px;padding-bottom:18px}.partner img{margin-top:3px;margin-bottom:5px}.partner p{margin-top:10px;margin-bottom:18px}.offices{margin-top:20px;gap:24px}.office{padding-top:18px}.contact .section-head{margin-bottom:8px}.direct-contact{margin-top:0;margin-bottom:10px}.markets{margin-top:18px}.capabilities{gap:22px}.fine{margin-top:12px}footer{padding-top:24px;padding-bottom:24px}}

/* Restore the original page rhythm and give the rotating copy its own width. */
.section{padding-top:88px;padding-bottom:88px}#about{padding-top:72px;padding-bottom:72px}#about .section-head{display:block;position:relative;margin-bottom:38px}#about .section-head h2{font-size:11px;line-height:1.5;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#536779;margin:0 0 26px}.about-captions{max-width:none;margin:0;padding:0}.about-captions .caption-slides{display:block;min-height:0}.about-captions .original-caption{max-width:1050px;font-family:Arial,Helvetica,sans-serif;font-size:clamp(30px,3.6vw,48px);line-height:1.23;font-weight:400;letter-spacing:-1.35px;color:#122b42;margin:0;text-wrap:pretty}.about-captions .caption-controls{position:absolute;right:0;top:-8px;margin:0}.about-captions .caption-dots{gap:4px}.about-captions .caption-dots button{height:32px;min-height:32px;width:32px}.about-captions .caption-dots span{width:20px;height:2px;border-radius:0}.audience{padding:32px 30px 32px 0}.audience+.audience{padding-left:30px}.audience .number{margin-bottom:22px}.audience p{margin:14px 0;min-height:65px}.audience a{padding-top:15px}.directory .section-head{margin-bottom:28px}.filters{padding-top:10px;padding-bottom:28px}.offices{margin-top:45px}.hero{padding-top:82px}.hero .actions{margin-top:30px;margin-bottom:68px}.hero-bottom{padding:22px 0}.partner{padding:28px;min-height:195px}
@media(max-width:650px){.section,#about{padding-top:55px;padding-bottom:55px}#about .section-head{margin-bottom:28px}#about .section-head h2{font-size:10px;letter-spacing:1.8px;margin-bottom:23px}.about-captions{margin:0}.about-captions .original-caption{font-size:30px;line-height:1.27;letter-spacing:-.7px}.about-captions .caption-controls{top:-11px}.about-captions .caption-dots button{width:30px;min-height:44px;height:44px}.about-captions .caption-dots span{width:17px}.audience,.audience+.audience{padding:25px 0}.audience .number{margin-bottom:18px}.audience p{min-height:0;margin:14px 0}.audience a{min-height:44px;padding-top:12px}.hero{padding-top:45px}.hero h1{margin-top:26px;margin-bottom:28px}.hero .actions{margin-top:28px;margin-bottom:44px}.hero-bottom{padding:22px 0}.partner{padding:23px 18px;min-height:195px}.offices{margin-top:36px;gap:32px}.section-head{margin-bottom:30px}.section-head p{margin-top:22px}.filters{padding-top:10px;padding-bottom:24px}.markets{margin-top:27px}.capabilities{gap:30px}.fine{margin-top:20px}footer{padding-top:35px;padding-bottom:35px}}
#about .section-head .about-captions{width:100%;max-width:none}#about .section-head .original-caption{width:100%;max-width:1050px;margin:0}@media(max-width:650px){#about .section-head .original-caption{max-width:100%}}

/* All captions share one grid cell so the tallest sets a stable responsive height. */
#about .about-captions .caption-slides{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;min-height:0}
#about .about-captions .original-caption{grid-area:1/1;align-self:start}
#about .about-captions .original-caption[hidden]{display:block;visibility:hidden;pointer-events:none}

body.admin-bar header{top:32px}@media(max-width:782px){body.admin-bar header{top:46px}}
.wp-content{max-width:1000px;margin:auto;padding:60px 6%;line-height:1.7}.wp-content a{text-decoration:underline}.wp-content img{max-width:100%;height:auto}
