/*
Theme Name: The Plastic Hull 2026
Version: 0.9.1
Description: Coastal editorial prototype for The Plastic Hull.
Requires PHP: 7.4
*/
*{box-sizing:border-box}body{margin:0;background:#101b22;color:#edf1ef;font:17px/1.65 system-ui,sans-serif}a{color:#9bd3d2;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}header.site{position:sticky;top:0;z-index:10;background:#101b22ee;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 5%;flex-wrap:wrap}.brand img{width:300px;max-width:100%}.brand{font-weight:800;color:white}nav ul{display:flex;gap:18px;list-style:none;padding:0;margin:0;flex-wrap:wrap}nav li{position:relative}nav .sub-menu{display:none;position:absolute;background:#172a32;padding:15px;min-width:180px}nav li:hover>.sub-menu,nav li:focus-within>.sub-menu{display:block}.hero{position:relative;background:#172a32}.slide{position:relative;min-height:450px;height: min(76vh,760px);display:flex;align-items:center;isolation:isolate}.slide[hidden]{display:none}.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-2}.slide:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0009,transparent 85%);z-index:-1}.hero-copy{padding:5%;max-width:750px}.hero h1,.hero h2{font-size:clamp(36px,6vw,76px);line-height:1.05;margin:12px 0}.eyebrow{letter-spacing:.18em;text-transform:uppercase;color:#a9d6d4;font-size:12px;font-weight:700}.cta,button{display:inline-block;background:#24676d;color:white;border:0;padding:12px 20px;font:inherit;cursor:pointer;border-radius:4px}.controls{position:absolute;bottom:16px;left:5%;display:flex;gap:8px}.wrap{max-width:1280px;margin:auto;padding:45px 5%}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tile{background:#1b2b34;border-radius:6px;overflow:hidden}.tile img{width:100%;aspect-ratio:16/10;object-fit:cover}.tile div{padding:18px}.tile h2{font-size:22px;line-height:1.25;margin:8px 0}.article{max-width:850px;margin:auto}.article a{text-decoration:underline}footer{padding:35px 5%;border-top:1px solid #34454d}input,textarea{max-width:100%;padding:10px}a:focus-visible,button:focus-visible{outline:3px solid #fff;outline-offset:3px}.categories{display:flex;gap:12px;flex-wrap:wrap}.categories a{padding:10px 16px;background:#1b2b34}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;z-index:99;background:black;padding:10px}@media(max-width:700px){.grid{grid-template-columns:1fr}.slide{height:65vh;min-height:380px}.slide img{object-fit:cover}.hero-copy{padding:7%}.controls{bottom:8px}nav ul{gap:10px;font-size:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.controls[hidden]{display:none}

body{background:#141a1e;color:#f4f4f2}header.site{background:#101820f5;padding:12px 4%;gap:16px}body.home header.site{position:sticky}body.home .hero{margin-top:0}.slide img{object-fit:cover;object-position:center 58%}.slide:after{background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.12) 52%,transparent 80%)}.hero h1,.hero h2{font-size:clamp(34px,4.5vw,64px)}.hero-copy{max-width:660px}.cta{background:#76b83f;color:#101820;font-weight:700}.wrap{max-width:1500px;padding:30px 4%}.wrap h2{margin:8px 0 20px}.tile{background:#1d2930;display:flex;flex-direction:column}.tile>a{display:block}.tile h2 a{color:#f4f4f2}.tile h2 a:hover{color:#a1d66d}.tile h2{font-size:21px}.tile p{margin:10px 0}.tile div{flex:1;display:flex;flex-direction:column}.tile .read-more{margin-top:auto;padding-top:12px;color:#a1d66d;font-weight:600}.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.categories a{position:relative;isolation:isolate;overflow:hidden;min-height:145px;display:flex;align-items:flex-end;padding:18px;color:white;font-weight:700;font-size:20px;background:#26383e}.categories img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.categories a:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#000b);z-index:-1}.site-search{position:relative}.site-search summary{cursor:pointer;list-style:none;padding:8px;color:#a9d6d4}.site-search form{position:absolute;right:0;top:100%;background:#1d2930;padding:12px;width:min(320px,85vw)}.site-search input[type=search]{width:100%;background:#101820;color:white;border:1px solid #567078}.site-search input[type=submit]{background:#76b83f;color:#101820;border:0;margin-top:8px}.site-search summary::-webkit-details-marker{display:none}@media(max-width:900px){.categories{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.grid{grid-template-columns:1fr}.categories a{min-height:115px;font-size:16px}.slide img{object-position:center}.hero-copy{max-width:100%}.brand img{width:240px}}
/* Editorial homepage */
.home .wrap{max-width:1600px;padding:48px 5%}.home .wrap>h2{font-size:clamp(28px,3vw,44px);letter-spacing:-.035em;margin:5px 0 28px}.editorial-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px 26px}.editorial-grid .tile{grid-column:span 4;background:none;border-radius:0;border-bottom:1px solid #ffffff20;padding-bottom:22px;min-width:0}.editorial-grid .tile>a{overflow:hidden;display:block}.editorial-grid .tile img{display:block;aspect-ratio:16/10;transition:transform .35s ease}.editorial-grid .tile:hover img{transform:scale(1.035)}.editorial-grid .tile div{padding:15px 0 0}.editorial-grid .tile h2{font-size:clamp(20px,1.8vw,28px);letter-spacing:-.025em}.editorial-grid .tile .eyebrow{color:#a1d66d}.editorial-grid .tile p{color:#c2cbd0;font-size:15px}.editorial-grid .tile:first-child{grid-column:span 8;grid-row:span 2;position:relative;isolation:isolate;min-height:520px;justify-content:flex-end;padding:0;border:0;background:#26383e}.editorial-grid .tile:first-child>a{position:absolute;inset:0;z-index:-2}.editorial-grid .tile:first-child img{height:100%;width:100%;object-fit:cover}.editorial-grid .tile:first-child:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 15%,#10182022 35%,#101820ed 100%);z-index:-1;pointer-events:none}.editorial-grid .tile:first-child div{flex:0;padding:clamp(22px,4vw,55px);pointer-events:none}.editorial-grid .tile:first-child div a{pointer-events:auto}.editorial-grid .tile:first-child h2{font-size:clamp(30px,4vw,56px);max-width:18ch}.editorial-grid .tile:nth-child(2) p,.editorial-grid .tile:nth-child(3) p{display:none}.editorial-grid .tile:nth-child(2) img,.editorial-grid .tile:nth-child(3) img{aspect-ratio:2/1}.editorial-grid .tile:nth-child(4){grid-column:span 12;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:32px;padding:28px 0;border-top:1px solid #ffffff20}.editorial-grid .tile:nth-child(4) h2{font-size:clamp(26px,3vw,42px)}.editorial-grid .tile:nth-child(4) img{aspect-ratio:16/9}.home .categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.home .categories a{min-height:0;aspect-ratio:3/4;font-size:clamp(15px,1.5vw,23px)}.home .categories img{transition:transform .35s ease}.home .categories a:hover img{transform:scale(1.05)}.home .topic-section{border-top:1px solid #ffffff20}.home #latest{scroll-margin-top:110px}@media(max-width:950px){.editorial-grid .tile{grid-column:span 6}.editorial-grid .tile:first-child{grid-column:span 12;grid-row:auto;min-height:480px}.home .categories{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.home .wrap{padding:30px 5%}.editorial-grid{gap:24px}.editorial-grid .tile,.editorial-grid .tile:first-child,.editorial-grid .tile:nth-child(4){grid-column:span 12}.editorial-grid .tile:first-child{min-height:420px}.editorial-grid .tile:nth-child(4){display:flex;gap:0;align-items:stretch}.home .categories{grid-template-columns:repeat(2,minmax(0,1fr))}.home .categories a{aspect-ratio:4/3}}@media(prefers-reduced-motion:reduce){.editorial-grid img,.home .categories img{transition:none!important;transform:none!important}}
/* Compact editorial lead, version 0.4 */
@media(min-width:951px){
.editorial-grid{gap:24px 26px;grid-template-rows:repeat(2,minmax(0,190px))}
.editorial-grid .tile:first-child{grid-column:span 6;min-height:0;height:100%}
.editorial-grid .tile:first-child div{padding:24px 30px}
.editorial-grid .tile:first-child h2{font-size:clamp(26px,2.5vw,38px);max-width:24ch;margin:6px 0}
.editorial-grid .tile:first-child p{display:none}
.editorial-grid .tile:nth-child(2),.editorial-grid .tile:nth-child(3){grid-column:span 6;display:grid;grid-template-columns:44% minmax(0,1fr);gap:18px;align-items:center;padding:0 0 12px}
.editorial-grid .tile:nth-child(2)>a,.editorial-grid .tile:nth-child(3)>a{height:100%;min-height:0}
.editorial-grid .tile:nth-child(2) img,.editorial-grid .tile:nth-child(3) img{height:100%;aspect-ratio:auto;object-fit:cover}
.editorial-grid .tile:nth-child(2) div,.editorial-grid .tile:nth-child(3) div{padding:0;min-width:0}
.editorial-grid .tile:nth-child(2) h2,.editorial-grid .tile:nth-child(3) h2{font-size:clamp(17px,1.5vw,23px);margin:5px 0}
.editorial-grid .tile:nth-child(2) .read-more,.editorial-grid .tile:nth-child(3) .read-more{font-size:14px;padding-top:5px}
}
@media(max-width:950px){.editorial-grid .tile:first-child{min-height:0;aspect-ratio:16/10}.editorial-grid .tile:first-child h2{font-size:clamp(24px,4vw,38px)}.editorial-grid .tile:first-child p{display:none}.editorial-grid .tile:first-child div{padding:22px}}
@media(max-width:600px){.editorial-grid .tile:first-child{aspect-ratio:4/3}.editorial-grid .tile:first-child h2{font-size:25px}}
/* Article editorial layout — 0.5 */
body:not(.home) header.site{background:#101820}
.singular-wrap{padding-top:clamp(36px,5vw,72px);padding-bottom:64px}
.story-heading,.story-body,.story-comments{max-width:850px;margin-inline:auto}
.story-heading h1{font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-.035em;margin:12px 0 16px;overflow-wrap:anywhere}
.story-category{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:#a1d66d}.story-category a{color:inherit}
.story-meta{font-size:14px;color:#b7c5c9;margin:0 0 28px}.story-cover{max-width:1100px;margin:0 auto 38px}.story-cover img{display:block;width:100%;height:auto}
.story-body{font-size:18px;line-height:1.8;display:flow-root;overflow-wrap:anywhere}.story-body p{margin:0 0 1.25em}.story-body h2,.story-body h3,.story-body h4{clear:both;line-height:1.3;margin:1.6em 0 .7em}.story-body h2{font-size:clamp(25px,3vw,34px)}.story-body h3{font-size:24px}.story-body hr{clear:both;border:0;border-top:1px solid #ffffff26;margin:32px 0}.story-body a{text-decoration:underline;text-underline-offset:3px}.story-body img{height:auto;max-width:100%}.story-body .alignleft,.story-body .alignright{max-width:45%;height:auto;margin:0 24px 18px 0;float:left}.story-body .alignright{float:right;margin:0 0 18px 24px}.story-body .aligncenter{display:block;margin:24px auto}.story-body figure{max-width:100%}.story-body .wp-caption{max-width:100%}.story-body figcaption,.story-body .wp-caption-text{font-size:14px;color:#b7c5c9;line-height:1.5}.story-body .su-dropcap{font-size:3em!important;line-height:1!important}.story-body .su-row{display:flow-root}.story-body .su-column{min-width:0}.story-comments{border-top:1px solid #ffffff26;margin-top:48px;padding-top:24px}.story-comments input:not([type=submit]),.story-comments textarea{background:#1d2930;color:#f4f4f2;border:1px solid #567078;border-radius:4px}.story-comments textarea{width:100%}.story-comments label{display:block}.story-comments input[type=submit]{background:#76b83f;color:#101820;border:0;cursor:pointer}
@media(max-width:700px){.story-body{font-size:17px}.story-body .alignleft,.story-body .alignright{float:none;display:block;max-width:100%;margin:20px auto}.story-body .su-column{width:100%!important;margin-left:0!important;float:none!important}.story-cover{margin-bottom:24px}}
/* Article refinements 0.6 */
.story-body .su-dropcap,.story-body .wp-block-paragraph.has-drop-cap:not(:focus):first-letter,.story-body p.has-drop-cap:not(:focus):first-letter{font-size:2.6em!important;line-height:1!important;margin-right:.15em!important;float:left;color:#a1d66d}.story-body h2,.story-body h3{border-left:3px solid #76b83f;padding-left:14px;scroll-margin-top:150px}.story-body figure{margin-block:24px}.story-body .su-row{margin-bottom:24px}.story-body .story-balanced{display:flex!important;align-items:flex-start;gap:24px}.story-body .story-balanced>.su-column,.story-body .story-balanced>.wp-block-column{float:none!important;margin:0!important;width:auto!important;flex:1 1 0!important;min-width:0}.story-body .story-balanced>.story-image-col{flex:0 0 45%!important}.story-progress{position:absolute;bottom:0;left:0;width:100%;height:3px;pointer-events:none}.story-progress span{display:block;height:100%;background:#76b83f;transform:scaleX(0);transform-origin:left}.story-toc,.story-share{max-width:850px;margin:0 auto 30px;padding:20px;border:1px solid #ffffff26;border-radius:6px}.story-toc summary{cursor:pointer;font-weight:700;color:#a1d66d}.story-toc li{margin:5px 0}.story-toc .toc-sub{margin-left:20px}.story-share{margin-top:32px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.story-share button{padding:7px 12px;background:#26383e}.story-copy-status{overflow-wrap:anywhere}.story-related{max-width:1100px;margin:48px auto}.story-related .tile{background:none;border-bottom:1px solid #ffffff26;border-radius:0}.story-related .tile div{padding:12px 0}.story-related .tile p{display:none}.story-related .tile h2{font-size:20px}.discussion .comment-list,.discussion .children{list-style:none;padding:0}.discussion .comment-body{padding:20px 0;border-bottom:1px solid #ffffff20}.discussion .children{margin-left:24px;border-left:2px solid #76b83f;padding-left:20px}.discussion .avatar{border-radius:50%;vertical-align:middle;margin-right:10px}.discussion .comment-meta{font-size:13px;color:#b7c5c9}.discussion .comment-content p{margin:12px 0}.discussion .bypostauthor>.comment-body .fn:after{content:'Author';font-size:11px;color:#a1d66d;margin-left:10px;font-style:normal}.discussion .reply a{color:#a1d66d}.discussion .comment-respond{margin-top:32px}.discussion-count{color:#b7c5c9}.discussion input[type=checkbox]{width:auto}.discussion .comment-form-cookies-consent label{display:inline}.discussion input[type=submit]{border-radius:4px;font-weight:700}.story-body img{vertical-align:middle}@media(max-width:700px){.story-body .story-balanced{display:block!important}.story-body .story-balanced>.su-column,.story-body .story-balanced>.wp-block-column{width:100%!important;margin-bottom:16px!important}.discussion .children{margin-left:8px;padding-left:12px}.story-related .grid{grid-template-columns:1fr}.story-share{gap:12px}}
.tph-affiliate-disclosure{font-size:.85em;color:#c2cbd0;border-left:2px solid #76b83f;padding:10px 14px;background:#1d2930;margin:0 0 24px}.tph-product{background:#1d2930;border:1px solid #34454d;border-radius:8px;padding:24px;margin:28px 0}.tph-product h3{margin:8px 0}.tph-product .tph-product-link{display:inline-block;background:#76b83f;color:#101820;padding:10px 18px;border-radius:4px;font-weight:700;text-decoration:none}.tph-product .eyebrow{color:#a1d66d}
/* 0.8 layout refinements */
.story-body .story-balanced{display:grid!important;grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:24px!important}.story-body .story-balanced:has(>.story-image-col:first-child){grid-template-columns:minmax(0,45fr) minmax(0,55fr)!important}.story-body .story-balanced:has(>.story-image-col:last-child){grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important}.story-body .story-balanced>*{width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;float:none!important;align-self:start!important;grid-area:auto!important;padding:0!important}.story-body .story-balanced .story-image-col img{display:block;width:100%;height:auto}.story-body .story-balanced:before,.story-body .story-balanced:after{display:none!important}.story-body .wp-block-media-text.has-media-on-the-right>.story-image-col{order:2}.story-body p>strong:only-child{scroll-margin-top:150px}.story-toc[hidden]{display:none}.archive-heading{padding:24px 0 36px;border-bottom:1px solid #ffffff26;margin-bottom:32px}.archive-heading h1{font-size:clamp(32px,5vw,58px);line-height:1.1;margin:10px 0}.archive-grid .tile{background:transparent;border-radius:0;border-bottom:1px solid #ffffff26;padding-bottom:20px}.archive-grid .tile div{padding:14px 0}.archive-grid .tile .eyebrow{color:#a1d66d}.archive-wrap .pagination{margin:40px 0}.archive-wrap .page-numbers{display:inline-block;padding:8px 12px}.archive-wrap .current{background:#76b83f;color:#101820}.tph-footer{background:#101820;padding:48px 5% 24px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;max-width:1500px;margin:auto}.footer-grid h2{font-size:17px;margin:0 0 16px}.footer-grid p,.footer-grid li{font-size:15px;color:#b7c5c9}.footer-grid ul{list-style:none;padding:0;margin:0}.footer-grid li{margin:8px 0}.footer-brand{font-size:26px;color:#a1d66d;font-weight:700}.footer-disclosure,.footer-bottom{max-width:1500px;margin:24px auto 0;padding-top:20px;border-top:1px solid #ffffff26;color:#b7c5c9;font-size:13px}.footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer-bottom a{margin-right:14px}.mobile-menu{display:none}.mobile-menu[hidden]{display:none!important}@media(max-width:1000px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tph-js .mobile-menu{display:block;margin-left:auto;padding:7px 12px;background:#26383e}.tph-js #primary-nav{display:none;order:4;width:100%;max-height:60vh;overflow:auto}.tph-js #primary-nav.is-open{display:block}.tph-js #primary-nav ul{display:block}.tph-js #primary-nav li a{display:block;padding:8px}.tph-js #primary-nav .sub-menu{display:block;position:static;padding:0 0 0 16px;background:none}}@media(max-width:700px){.story-body .story-balanced{display:flex!important;flex-direction:column!important;gap:16px!important}.story-body .story-balanced>*{width:100%!important;flex:auto!important}.story-body .wp-block-media-text.has-media-on-the-right>.story-image-col{order:0}.footer-grid{grid-template-columns:1fr;gap:24px}.tph-footer{padding:32px 5%}.brand img{width:min(210px,48vw)}header.site{gap:8px}}

/* 0.9 legacy media and release refinements */
.story-body .wp-caption,.story-body figure.wp-block-image{display:table;max-width:100%;min-width:0;table-layout:fixed}.story-body .wp-caption-text,.story-body figcaption{display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;writing-mode:horizontal-tb!important;margin:8px 0 0!important;text-align:center}.story-body .wp-caption img{max-width:100%;height:auto}.story-body .tph-caption-fixed{display:block!important}.story-body iframe.tph-video{display:block;width:100%!important;max-width:100%;height:auto!important;aspect-ratio:16/9;margin:20px auto;border:0}.story-body .wp-block-embed-youtube .wp-block-embed__wrapper{padding:0!important;aspect-ratio:16/9}.story-body .wp-block-embed-youtube .wp-block-embed__wrapper:before{display:none}.story-body .wp-block-embed-youtube iframe.tph-video{margin:0}.story-related .tile-placeholder,.archive-grid .tile-placeholder{display:flex;aspect-ratio:16/10;align-items:center;justify-content:center;background:#233139;color:#a1d66d;font-weight:700;letter-spacing:.04em}.footer-brand img{max-width:100%;height:auto}.footer-social{display:flex;flex-wrap:wrap;gap:12px}.footer-social a{display:inline-flex;align-items:center;gap:6px}.footer-social svg{width:19px;height:19px;fill:none;stroke:#a1d66d;stroke-width:1.7}.story-body a.tph-amazon-link{color:#b8dc91;text-decoration-thickness:1px;text-underline-offset:4px}.story-body a.tph-amazon-link:hover{color:#fff}@media(max-width:700px){.story-body .wp-caption{max-width:100%!important}.story-toc,.story-share{padding:14px}.story-related .tile-placeholder{aspect-ratio:16/9}.footer-bottom{font-size:13px}.story-body .wp-block-media-text{min-width:0}}
.story-body .wp-caption .wp-caption-text{box-sizing:border-box;min-width:min(100%, 90px)!important}.story-body .wp-caption{min-width:min(100%, 90px)}

/* Branded media fallback, shared by every article tile. */
.tile .tile-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;aspect-ratio:16/10;padding:16px;text-align:center;background:linear-gradient(145deg,#26383e,#101820);color:#a1d66d;letter-spacing:normal;font-weight:400;overflow:hidden;container-type:inline-size}
.tile-placeholder svg{width:clamp(30px,12cqw,64px);height:auto;flex-shrink:0}
.tile-placeholder-brand{font-family:Georgia,serif;font-size:clamp(14px,7cqw,32px);line-height:1.1;overflow-wrap:anywhere}
.tile-placeholder-tagline{font-size:clamp(10px,3.5cqw,15px);color:#c2cbd0;line-height:1.3}
.tile-media:hover .tile-placeholder{background:linear-gradient(145deg,#30454b,#101820)}
.editorial-grid .tile:first-child .tile-placeholder{height:100%;aspect-ratio:auto;justify-content:flex-start;padding-top:12%}
.editorial-grid .tile:nth-child(4) .tile-placeholder{aspect-ratio:16/9}
@media(min-width:951px){.editorial-grid .tile:nth-child(2) .tile-placeholder,.editorial-grid .tile:nth-child(3) .tile-placeholder{height:100%;aspect-ratio:auto}}
