/*
Theme Name: Longshore Industrial
Version: 9.2.0
Description: Longshore Industrial corporate website.
Requires at least: 6.0
Requires PHP: 7.4
*/

:root{--navy:#102332;--navy2:#1a3345;--bronze:#b6a27e;--bronze2:#d6c6a6;--ivory:#f6f3ec;--ivory2:#efe9de;--ink:#172b39;--muted:#5f6c73;--line:#d8d2c8}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.65 Arial,sans-serif;color:var(--ink);background:var(--ivory)}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--bronze);outline-offset:4px}
.wrap{max-width:1200px;margin:auto;padding:0 32px}
header,footer,.dark{background:var(--navy);color:var(--ivory)}
nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:96px}
.brand{font:27px Georgia,serif;letter-spacing:3px;text-align:center;line-height:1.3}
.brand small{display:block;font:10px Arial,sans-serif;letter-spacing:6px;color:var(--bronze);border-top:1px solid var(--bronze);padding-top:7px}
.links{display:flex;gap:25px;font-size:13px;align-items:center;flex-wrap:wrap}
.links a:hover{text-decoration:underline}
.menu{position:relative}
.menu summary{cursor:pointer;list-style:none;padding:10px 0}
.menu summary::-webkit-details-marker{display:none}
.menu summary:after{content:' ▾';color:var(--bronze)}
.drop{position:absolute;z-index:10;top:100%;left:0;min-width:285px;background:#fff;color:var(--navy);box-shadow:0 10px 30px #0003;padding:8px;border-top:3px solid var(--bronze)}
.drop a{display:block;padding:8px 12px}
.drop a:hover,.drop a:focus{background:var(--ivory)}
.hero.split-hero .wrap{display:grid;grid-template-columns:1.02fr .98fr;gap:42px;align-items:center}
.hero .hero-copy{padding-right:10px}
.hero .hero-location-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.hero .hero-location-row span{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(182,162,126,.4);background:rgba(182,162,126,.08);font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#f2ede3}
.hero .hero-location-row .dot{width:7px;height:7px;border-radius:50%;background:var(--bronze)}
.hero-photo{min-height:430px;border:1px solid rgba(182,162,126,.2);box-shadow:0 25px 60px rgba(0,0,0,.2);background-size:cover;background-position:center;position:relative;overflow:hidden}
.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,35,50,.12),rgba(16,35,50,.22))}
.map-section{background:linear-gradient(180deg,#f4efe6,#eee7dc);border-top:1px solid #e0d5c5;border-bottom:1px solid #e0d5c5}
.map-panel{background:#fff;border:1px solid var(--line);padding:24px;display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
.map-visual{min-height:260px;background:linear-gradient(180deg,#fbf9f4,#f1eadf);border:1px solid #e2d7c8;display:grid;place-items:center;position:relative;overflow:hidden}
.map-gridbg{position:absolute;inset:0;background-image:linear-gradient(rgba(182,162,126,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(182,162,126,.15) 1px,transparent 1px);background-size:34px 34px}
.map-list{display:grid;gap:14px}
.map-list .city{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--line);background:#faf7f1}
.map-list .city strong{font-family:Georgia,serif;font-size:22px;font-weight:normal}
.map-list .city span{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#8b7650}
.map-pin{fill:var(--bronze);stroke:#8f7750;stroke-width:1.5}
.map-line{stroke:#8f7750;stroke-width:2.5;stroke-dasharray:7 7;fill:none;opacity:.9}
.map-label{font-size:12px;fill:#7a6542;font-family:Arial,sans-serif;letter-spacing:1px;text-transform:uppercase}
.hero,.pagehero{color:var(--ivory);position:relative;overflow:hidden}
.hero{background:linear-gradient(115deg,#102332 0%,#183142 54%,#314953 100%);padding:115px 0 125px}
.hero:before,.pagehero:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.6;background:radial-gradient(circle at 78% 25%,rgba(182,162,126,.18),transparent 32%),linear-gradient(0deg,rgba(255,255,255,.03),rgba(255,255,255,0))}
.hero:after{content:'';position:absolute;right:-6%;top:-4%;width:48%;height:108%;background:repeating-linear-gradient(90deg,transparent 0 74px,#b6a27e14 74px 75px),repeating-linear-gradient(0deg,transparent 0 74px,#b6a27e10 74px 75px);transform:skewX(-10deg);pointer-events:none}
.hero .wrap,.pagehero .wrap{position:relative;z-index:1}
.hero .lede{max-width:650px;font-size:19px;color:#d1dbe1}
.kicker{font-size:11px;letter-spacing:2.5px;text-transform:uppercase;font-weight:bold;color:#89734d}
.dark .kicker,.hero .kicker,.pagehero .kicker{color:var(--bronze)}
h1,h2,h3{font-family:Georgia,serif;font-weight:normal;line-height:1.17}
h1{font-size:clamp(48px,7vw,88px);max-width:820px;margin:20px 0}
h2{font-size:clamp(32px,4vw,48px);margin:12px 0 25px}
h3{font-size:24px;margin:15px 0 8px}
p{margin:0 0 16px}
.btn{display:inline-block;padding:13px 22px;border:1px solid var(--bronze);font-size:12px;letter-spacing:1px;text-transform:uppercase;margin:15px 10px 0 0}
.primary{background:var(--bronze);color:var(--navy)}
.contactlink{border-color:var(--navy);color:var(--navy)}
section{padding:78px 0}
.white{background:#fff}
.intro{max-width:800px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tile{border:1px solid #dedbd2;background:#fff}
.tile .body{padding:18px}
.tile p{font-size:14px;margin:0 0 10px;color:#53616a}
.tile a{display:block}
.tile a:hover h3{text-decoration:underline}
.art{height:160px;background:#e5e9e8;display:grid;place-items:center;color:#536b78;position:relative;overflow:hidden}
.art svg,.feature svg,.heroart svg{width:100%;height:100%;max-height:100%}
.art:before,.feature:before,.heroart:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 45%),linear-gradient(0deg,rgba(0,0,0,.05),transparent 35%);pointer-events:none}
.dark .tile{background:#1b3445;border-color:#38505e}
.dark .tile p{color:#c5d0d6}
.dark .art{background:#263f50;color:#b6a27e}
.two{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.feature{background:#e2e7e7;min-height:280px;display:grid;place-items:center;color:#536b78;position:relative;overflow:hidden}
.dark .feature{background:#263f50;color:#b6a27e}
.heroart{background:linear-gradient(135deg,#243d4b,#314c57);min-height:380px;border:1px solid rgba(182,162,126,.2);display:grid;place-items:center;position:relative;overflow:hidden}
.pagehero{background:linear-gradient(115deg,#112536 0%,#1e3a4d 57%,#39505a 100%);padding:72px 0 82px}
.pagehero h1{font-size:clamp(40px,5vw,64px);margin:12px 0 18px;max-width:none}
.pagehero p{max-width:620px;color:#d5dde2;font-size:18px}
.pagehero.about-hero .split{grid-template-columns:1.08fr .92fr}
.compact{padding:48px 0}
.contactform{background:white;border:1px solid #dedbd2;padding:28px;color:var(--navy)}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fields label{display:flex;flex-direction:column;font-size:13px;font-weight:bold;gap:5px}
.wide{grid-column:1/-1}
input,select,textarea{font:inherit;padding:10px;border:1px solid #aab5ba;background:white;color:#172b39;width:100%;border-radius:0}
textarea{min-height:100px}
button{cursor:pointer;font:inherit}
.notice{font-size:12px;color:#5f6c73}
.breadcrumb{font-size:13px}
.legalnav{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px;font-size:13px}
.legalnav a{text-decoration:underline}
.legal{max-width:850px}
.legal h2{font-size:28px}
.legal p{margin-bottom:20px}
.site-note{font-size:13px;color:#d8e0e4}
.footer-presence{margin-top:8px;color:#d8e0e4}
.location-inline{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.location-inline span{display:inline-flex;align-items:center;gap:7px;font-size:12px;letter-spacing:1px;text-transform:uppercase;padding:6px 10px;border:1px solid #ddd2be;background:#faf7f1;color:#8b7650}
.location-inline .dot{width:7px;height:7px;border-radius:50%;background:var(--bronze)}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.map-panel{grid-template-columns:1fr}}
@media(max-width:900px){nav{flex-wrap:wrap;padding:20px 0}.hero{padding:75px 0}.pagehero.about-hero .split,.split{grid-template-columns:1fr}.heroart{min-height:280px}}
@media(max-width:700px){.drop{position:static;min-width:0}.links{width:100%}.feature{min-height:180px}.fields,.two,.map-panel{grid-template-columns:1fr}.wide{grid-column:auto}.hero.split-hero .wrap{grid-template-columns:1fr}.hero-photo{min-height:300px}.map-list .city{padding:12px 14px}}
@media(max-width:520px){.wrap{padding:0 20px}.grid,.two{grid-template-columns:1fr}.links{gap:12px;flex-wrap:wrap}section{padding:45px 0}}

/* V5 imagery and market map */
.photographic{display:block;position:relative;overflow:hidden;min-height:0}.photographic img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.photographic:before{display:none}.art.photographic{height:auto;aspect-ratio:4/3}.feature.photographic{height:auto;aspect-ratio:4/3;min-height:0}.heroart.photographic{min-height:360px;aspect-ratio:4/3}.market-map{max-width:100%;border:1px solid #d8d2c8;background:#f5f1e9}.market-map img{width:100%;height:auto;display:block}.hero.split-hero h1{font-size:clamp(42px,5vw,72px)}.detailhero .feature{max-height:390px}.dark .feature.photographic{background:#263f50}.hero-photo{background-position:center}@media(max-width:900px){.hero.split-hero .wrap{grid-template-columns:1fr}.hero-photo{min-height:320px}.heroart.photographic{min-height:0}}

/* V6: integrated vector hero and typography-led pages */
.global-hero{background:#102c3c;isolation:isolate;padding:0;min-height:0;overflow:hidden}
.global-hero:before{z-index:0;opacity:1;background:linear-gradient(90deg,#102b3b 0%,#102b3b 27%,rgba(16,43,59,.9) 39%,rgba(16,43,59,.18) 65%,transparent 90%)}
.global-hero:after{display:none}
.global-hero .hero-world{position:absolute;z-index:-1;width:70%;height:auto;right:-10%;top:50%;transform:translateY(-56%);display:block;max-width:none}
.global-hero .hero-inner{max-width:1440px;padding-top:100px;padding-bottom:64px}
.global-hero .hero-copy{max-width:760px;width:61%;padding:0}
.global-hero h1{font-size:clamp(42px,4.6vw,76px);line-height:1.08;margin:25px 0;letter-spacing:-.025em;max-width:760px}
.global-hero .lede{font-size:clamp(16px,1.4vw,20px);max-width:620px}
.global-hero .btn{font-weight:bold;padding:15px 23px}
.hero-cities{display:flex;justify-content:center;align-items:center;gap:clamp(12px,2.5vw,34px);color:#f6f3ec;font-weight:bold;letter-spacing:clamp(2px,.4vw,5px);text-transform:uppercase;font-size:clamp(13px,2vw,24px);margin-top:70px;white-space:nowrap}
.hero-cities:before,.hero-cities:after{content:'';height:1px;background:#b6a27e;flex:0 1 110px}
.hero-cities i{width:6px;height:6px;background:#b6a27e;border-radius:50%;flex:none}
header{background:#0c2332}.detailhero{background:linear-gradient(110deg,#102332,#1e3b4d);padding:66px 0}.detailhero h1{font-size:clamp(36px,4.5vw,62px);max-width:1000px}.about-hero .wrap>div:first-child{max-width:850px}.about-hero .hero-cities{margin-top:42px}.overview-links{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;align-self:center}.overview-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dedbd2;padding:15px 0;font-size:15px;line-height:1.4}.overview-links a span{color:#89734d}.dark .overview-links a{border-color:#405765}.dark .overview-links a span{color:#b6a27e}.overview-links a:hover{text-decoration:underline}.grid{grid-template-columns:repeat(3,1fr)}.tile{border:0;border-top:2px solid #b6a27e;background:#f6f3ec}.tile a{height:100%;display:block}.tile .body{padding:25px 22px;min-height:170px}.tile h3{margin-top:0}.tile p:last-child{margin-top:17px;color:#89734d}.muted{color:#5f6c73}
@media(min-width:1500px){.global-hero .hero-world{width:65%;right:-4%}}
@media(max-width:900px){.global-hero .hero-inner{padding-top:64px;padding-bottom:40px}.global-hero .hero-copy{width:100%;max-width:680px}.global-hero .hero-world{position:relative;z-index:1;width:100%;right:auto;top:auto;transform:none;order:2;margin:-15px auto 0;max-width:760px}.global-hero{display:flex;flex-direction:column}.global-hero .hero-inner{display:contents}.global-hero .hero-copy{order:1;padding:55px 32px 20px}.global-hero .hero-cities{order:3;margin:12px 20px 40px}.global-hero:before{background:linear-gradient(180deg,#102b3b,transparent);z-index:-1}.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.global-hero .hero-copy{padding:45px 20px 15px}.global-hero h1{font-size:42px}.hero-cities{gap:11px;letter-spacing:1.4px}.hero-cities:before,.hero-cities:after{display:none}.grid,.overview-links{grid-template-columns:1fr}.tile .body{min-height:0}.global-hero .btn{padding:12px 15px}}

@media(min-width:901px){.global-hero .hero-world{width:65%;right:-8%;transform:translateY(-59%)}.global-hero .hero-copy{width:56%}.global-hero .hero-inner{padding-top:105px;padding-bottom:70px}.global-hero .hero-cities{margin-top:78px}}

/* V7 selective full-resolution photography */
.v7-photo{margin:0;overflow:hidden;line-height:0}.v7-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.v7-overview{display:grid;gap:20px}.v7-about,.v7-detail{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:42px}.v7-about .v7-photo img{aspect-ratio:4/3}.about-hero .wrap>div.v7-about{max-width:none}.v7-detail h1{font-size:clamp(36px,4vw,56px)}.white>.wrap>.v7-photo{max-width:820px;margin:0 auto 32px}.v7-detail .v7-photo img{aspect-ratio:3/2}@media(max-width:900px){.v7-about,.v7-detail{grid-template-columns:1fr;gap:24px}}

/* V8 homepage: reference-led photographic cards */
.v8-home-about{position:relative;isolation:isolate;overflow:hidden;background:#f6f3ec;padding:65px 0}
.v8-about-image{position:absolute;inset:0 0 0 40%;z-index:-1;background-image:linear-gradient(90deg,#f6f3ec 0%,rgba(246,243,236,.85) 10%,rgba(246,243,236,0) 40%),url('assets/refinery.jpg');background-size:cover;background-position:center}
.v8-about-copy{width:49%;max-width:570px;position:relative}.v8-about-copy h2{margin-bottom:18px}.v8-navy-button{background:var(--navy);color:white;border-color:var(--navy)}
.v8-card-section{padding:44px 0 48px}.v8-card-section h2{margin:8px 0 24px}.v8-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1200px}.v8-card{display:flex;flex-direction:column;background:#102332;color:#f6f3ec;min-width:0}.v8-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.v8-card-label{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;min-height:76px;flex:1;font:19px/1.2 Georgia,serif}.v8-arrow{color:#d6b477;font:24px Arial,sans-serif}.v8-card:hover .v8-card-label,.v8-card:focus-visible .v8-card-label{background:#244353}.v8-all{display:inline-block;margin-top:22px;font-size:13px;font-weight:bold;color:#89734d}.dark .v8-all{color:#d6c6a6}.v8-all:hover{text-decoration:underline}
@media(max-width:900px){.v8-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px}.v8-about-copy{width:58%}.v8-about-image{left:43%}}
@media(max-width:600px){.v8-home-about{padding:0 0 36px;display:flex;flex-direction:column}.v8-about-image{position:relative;inset:auto;order:2;height:220px;margin-top:24px;background-image:url('assets/refinery.jpg');background-position:center}.v8-about-copy{width:100%;max-width:none;padding-top:35px}.v8-card-grid{gap:10px}.v8-card-label{font-size:16px;padding:12px;min-height:84px}.v8-arrow{font-size:20px}.v8-card-section{padding:36px 0}.v8-card-section h2{font-size:32px}}

/* V9: matching overview navigation cards */
.v9-overview .v8-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:1200px}.v9-category-card .v8-card-label{flex:0;min-height:76px}.v9-card-description{margin:0;padding:0 16px 18px;color:#cbd6dc;font-size:14px;line-height:1.5;flex:1}.v9-category-card img{aspect-ratio:16/10;object-fit:cover}.v9-category-card:hover img{filter:brightness(1.05)}.v9-overview.dark .v9-category-card{background:#0c2332}.v9-overview.dark{border-top:1px solid #38505e}@media(max-width:900px){.v9-overview .v8-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px}}@media(max-width:520px){.v9-overview .v8-card-grid{gap:12px}.v9-card-description{padding:0 12px 14px;font-size:13px}.v9-category-card .v8-card-label{min-height:80px}}

/* V9.1: Contact alignment and restrained footer only. */
#contact > .wrap.split{align-items:start}
#contact > .wrap.split > div:first-child{align-self:start}
footer{padding:28px 0}
