:root{--ebt-bg:#fff;--ebt-text:#161616;--ebt-caption:#202020;--ebt-hero-text:#fff;--ebt-container:1400px;--ebt-sidebar:180px;--ebt-sidebar-gap:100px;--ebt-gap:56px;--ebt-row-gap:36px;--ebt-mobile-cols:1;--ebt-font-size:13px;--ebt-font-family:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ebt-bg);color:var(--ebt-text);font-family:var(--ebt-font-family);font-size:var(--ebt-font-size);-webkit-font-smoothing:antialiased}img,video,iframe{max-width:100%}img{height:auto}a{color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #096fd3;outline-offset:3px}.ebt-skip-link{position:absolute;z-index:100;top:-80px;left:20px;padding:10px 15px;background:#fff;color:#111}.ebt-skip-link:focus{top:10px}
/* Entrance — deliberately different from the portfolio interior. */
.ebt-entrance{min-height:100vh;min-height:100svh;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:flex-end;padding:5vw 2.3vw;color:var(--ebt-hero-text)}.ebt-entrance-art{position:absolute;inset:0;background-color:#a8c4dc;background-image:var(--ebt-hero-image,radial-gradient(ellipse at 14% 79%,#fff9ef 0%,transparent 33%),radial-gradient(ellipse at 76% 81%,#e3d1b4 0%,transparent 32%),linear-gradient(170deg,#d8e3f4 0%,#9dbdd8 48%,#bdd8e4 75%,#f7e6d1 100%));background-size:cover;background-position:var(--ebt-hero-position,center center)}.ebt-entrance-art:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.22' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E")}.ebt-hero-tint{position:absolute;inset:0;background:#000;opacity:var(--ebt-hero-tint,0)}.ebt-entrance-content{position:relative;z-index:1;text-align:right;width:min(590px,100%);align-self:center;transform:translateY(-1%)}.ebt-entrance-content h1{font-size:clamp(32px,3.05vw,55px);letter-spacing:-.035em;line-height:1.08;font-weight:750;margin:0 0 18px;white-space:normal}.ebt-entrance-content>p{font-size:clamp(12px,.96vw,16px);line-height:1.5;margin:0 0 22px}.ebt-entrance-buttons{display:flex;flex-direction:column;gap:9px;align-items:flex-end}.ebt-entrance-buttons a{width:108px;padding:9px 15px;background:rgba(49,63,74,.34);border-radius:40px;color:inherit;text-align:center;text-decoration:none;font-size:13px;font-weight:700;transition:background .18s,transform .18s}.ebt-entrance-buttons a:hover{background:rgba(36,46,58,.57);transform:translateX(-3px)}.ebt-entrance-socials{margin-top:10px}.ebt-entrance-socials .ebt-socials{justify-content:flex-end}.ebt-entrance-socials .ebt-socials a{color:var(--ebt-hero-text);background:rgba(255,255,255,.19);width:28px;height:28px}
/* Interior shell */
.ebt-shell{max-width:var(--ebt-container);margin:0 auto;min-height:100vh;display:grid;grid-template-columns:var(--ebt-sidebar) minmax(0,1fr);column-gap:var(--ebt-sidebar-gap);padding:50px 0 0}.ebt-sidebar{align-self:start;position:sticky;top:50px;z-index:6}.ebt-brand{display:inline-block;line-height:1.2;font-size:18px;letter-spacing:-.016em;font-weight:750;text-transform:uppercase;text-decoration:none}.ebt-brand img{display:block;max-width:190px;height:auto;max-height:85px;object-fit:contain}.ebt-sidebar-nav{margin-top:63px;display:flex;flex-direction:column;align-items:flex-start;gap:0}.ebt-nav-link{display:block;font-size:13px;line-height:1.23;text-decoration:none;max-width:100%;padding:0;margin:0;font-weight:400;white-space:normal}.ebt-nav-major{font-weight:700}.ebt-nav-link.is-current{font-weight:700;font-style:italic}.ebt-sidebar-links{list-style:none;padding:0;margin:63px 0 0}.ebt-sidebar-links li{margin:0}.ebt-sidebar-links a{font-size:13px;line-height:1.2;text-decoration:none}.ebt-sidebar-links .current-menu-item>a{font-weight:700;font-style:italic}.ebt-nav-link:hover,.ebt-sidebar-links a:hover{text-decoration:underline}.ebt-column{min-width:0;display:flex;flex-direction:column;min-height:calc(100vh - 50px)}.ebt-column main{width:100%;min-width:0;flex:none}.ebt-menu-toggle{display:none}
/* Social icons: compact sidebar and circular footer. */
.ebt-socials{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.ebt-socials a{display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;border-radius:50%;text-decoration:none;line-height:1;font-size:13px;font-weight:700;color:#8d8d8d;transition:background .2s,color .2s}.ebt-socials a:hover{background:#e5e5e5;color:#222}.ebt-socials-sidebar{margin-top:17px;gap:2px}.ebt-socials-sidebar a{width:23px;height:23px;font-size:11px}.ebt-socials-footer{justify-content:center;gap:10px}.ebt-socials-footer a{width:38px;height:38px;background:#f0f0f0;font-size:14px;color:#9a9a9a}.ebt-socials svg{width:15px;height:15px}.ebt-footer{padding:0 10px 32px;text-align:center;margin-top:95px}.ebt-footer-note{font-size:10px;color:#d0d0d0;margin-top:20px;min-height:13px}.ebt-back-top{border:0;background:#f2f2f2;color:#999;position:fixed;right:27px;bottom:25px;width:48px;height:48px;border-radius:50%;z-index:25;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}.ebt-back-top:hover{background:#dedede;color:#333}.ebt-back-top svg{width:22px;height:22px}
/* Category grids — individual counts and crops, no card chrome. */
.ebt-gallery-page{padding-top:50px}.ebt-work-grid{display:grid;grid-template-columns:repeat(var(--ebt-cols,3),minmax(0,1fr));column-gap:var(--ebt-gap);row-gap:var(--ebt-row-gap);align-items:start}.ebt-work-grid.ebt-cols-1{grid-template-columns:minmax(0,calc((100% - var(--ebt-gap))/2))}.ebt-work-grid.ebt-cols-1.ebt-one-full{grid-template-columns:minmax(0,1fr)}.ebt-column:has(.ebt-cols-1) .ebt-footer{margin-top:60px}.ebt-card{min-width:0;text-align:center}.ebt-card-link{text-decoration:none;display:block}.ebt-card-image{display:block;overflow:hidden;background:#f4f4f4}.ebt-card-image img{display:block;width:100%;height:auto;transition:opacity .2s ease}.ebt-ratio-landscape .ebt-card-image img{aspect-ratio:1.28;object-fit:cover}.ebt-ratio-square .ebt-card-image img{aspect-ratio:1;object-fit:cover}.ebt-ratio-natural .ebt-card-image img{object-fit:contain}.ebt-card-link:hover .ebt-card-image img{opacity:.82}.ebt-card-title{font-size:12px;line-height:1.3;font-weight:400;letter-spacing:0;margin:9px 2px 0}.ebt-empty{color:#777;line-height:1.6}.ebt-pagination{margin:36px 0 0;display:flex;justify-content:center;gap:12px}.ebt-pagination a,.ebt-pagination span{text-decoration:none;padding:5px 9px}.ebt-pagination .current{font-weight:700}
/* About page — minimal, centered. */
.ebt-page-title{font-size:24px;line-height:1.2;font-weight:650;text-align:center;margin:40px 0 62px}.ebt-about{padding-top:2px}.ebt-about-portrait{text-align:center;margin:0 auto 28px}.ebt-about-portrait img{width:225px;height:225px;border-radius:50%;object-fit:cover}.ebt-about-bio{max-width:600px;margin:0 auto;font-size:13px;line-height:1.5}.ebt-about-bio p{margin:0 0 15px}.ebt-clients{padding:75px 5px 0;text-align:center}.ebt-clients-illustration img{width:auto;max-height:100px;max-width:150px;object-fit:contain}.ebt-clients h2{font-size:21px;font-weight:650;line-height:1.06;max-width:170px;margin:21px auto 56px}.ebt-clients-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 17px;align-items:center;justify-content:center;max-width:730px;margin:auto}.ebt-client-logo{min-width:0;display:flex;align-items:center;justify-content:center;height:66px}.ebt-client-logo img{display:block;object-fit:contain;max-height:66px;max-width:100%;width:auto}.ebt-clients-hint{font-size:11px;color:#adadad}
/* Contact */
.ebt-contact{padding-top:2px}.ebt-contact .ebt-page-title{margin-bottom:100px}.ebt-contact-body{max-width:500px;margin:0 auto}.ebt-contact-form{display:flex;flex-direction:column;align-items:stretch}.ebt-contact-form label{font-weight:700;margin-bottom:7px;font-size:13px}.ebt-contact-form input,.ebt-contact-form textarea{width:100%;border:1px solid #d5d5d5;background:#fff;border-radius:3px;padding:11px 12px;font-size:14px;min-height:42px;margin-bottom:25px;box-shadow:none;color:#2e2e2e}.ebt-contact-form input::placeholder,.ebt-contact-form textarea::placeholder{color:#b4b4b4}.ebt-contact-form textarea{resize:vertical;min-height:140px}.ebt-contact-form button{background:#fff;border:1px solid #999;border-radius:4px;padding:9px 32px;align-self:flex-start;font-weight:700}.ebt-contact-form button:hover{background:#f6f6f6}.ebt-honey{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden}.ebt-form-message{padding:12px 15px;margin-bottom:20px;background:#f0faf3;border-left:3px solid #368a59}.ebt-form-message.is-error{background:#fff0ef;border-color:#cc554b}
/* Single project editorial page */
.ebt-case-study{padding-top:36px}.ebt-case-lead{max-width:970px;margin:0 auto 40px}.ebt-case-lead h1{font-size:20px;font-weight:650;line-height:1.3;margin:0 0 25px}.ebt-case-lead>p{line-height:1.5;margin:0 0 16px}.ebt-case-credits{margin-top:26px}.ebt-case-credits p{margin:0 0 4px;display:flex;gap:10px}.ebt-case-credits strong{font-weight:700;min-width:70px}.ebt-case-credits span{min-width:0}.ebt-project-content{font-size:13px;line-height:1.58}.ebt-project-content>*{max-width:970px;margin-left:auto;margin-right:auto}.ebt-project-content .wp-block-image,.ebt-project-content .wp-block-gallery,.ebt-project-content .wp-block-columns,.ebt-project-content .alignwide,.ebt-project-content .alignfull{max-width:100%;margin-left:auto;margin-right:auto}.ebt-project-content .wp-block-image img{display:block;width:auto;max-width:100%;height:auto;margin-left:auto;margin-right:auto}.ebt-project-content .wp-block-image figcaption{font-size:11px;color:#555;text-align:center;margin-top:7px}.ebt-project-content .wp-block-columns{gap:12px;align-items:flex-start}.ebt-project-content .wp-block-column{min-width:0}.ebt-project-content .wp-block-gallery{gap:12px}.ebt-project-content .wp-block-gallery img{object-fit:contain!important}.ebt-project-content>p{margin-top:0;margin-bottom:14px}.ebt-project-content h2{font-size:19px;margin-top:36px;margin-bottom:14px}.ebt-project-content h3{font-size:16px}.ebt-project-content figure{margin-top:24px;margin-bottom:24px}.ebt-project-cover{margin:28px auto;max-width:970px;text-align:center}.ebt-project-cover img{display:block;width:auto;height:auto;max-width:100%;margin:auto}.ebt-project-media{display:grid;gap:15px;margin:23px auto 0;max-width:970px}.ebt-project-media.cols-1{grid-template-columns:1fr}.ebt-project-media.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ebt-project-media.cols-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}.ebt-project-media.cols-editorial figure:nth-child(3n){grid-column:span 2}.ebt-project-media figure{margin:0;text-align:center;min-width:0}.ebt-project-media img{display:block;width:100%;height:auto;object-fit:contain}.ebt-project-media figcaption{font-size:11px;margin:7px 0 10px}.ebt-project-video{text-align:center;margin:30px auto}.ebt-project-video iframe,.ebt-project-video video{width:min(100%,900px);aspect-ratio:16/9;max-height:70vh}.ebt-extra-credits{max-width:800px;margin:37px auto}.ebt-extra-credits h2{font-size:16px}.ebt-extra-credits p{line-height:1.6}.ebt-next-project{margin:40px auto;text-align:center;font-size:12px}.ebt-next-project a{text-decoration:underline;text-underline-offset:3px}
/* Shop item / standard content */
.ebt-product-page{padding-top:32px}.ebt-product-page h1{font-size:22px;font-weight:650;text-align:center;margin:0 0 15px}.ebt-product-info{text-align:center;margin:0 0 25px}.ebt-product-price{font-weight:600}.ebt-product-button{display:inline-flex;border:1px solid #222;padding:10px 18px;text-decoration:none}.ebt-product-image{margin:22px auto;text-align:center}.ebt-product-image img{max-height:950px;width:auto;object-fit:contain}.ebt-standard-page{padding-top:28px;line-height:1.6}.ebt-standard-page h1{font-size:24px;text-align:center;margin:0 0 36px}.ebt-standard-page h2{font-size:18px}.ebt-standard-page .entry-content{max-width:850px;margin:auto}.ebt-additional-content{margin-top:40px}
/* Responsive menu */
@media(max-width:1100px){.ebt-shell{column-gap:45px;padding:30px 25px 0}.ebt-sidebar-nav{margin-top:56px}.ebt-work-grid{gap:26px}.ebt-gallery-page{padding-top:20px}.ebt-entrance{padding-right:35px}}
@media(max-width:850px){.ebt-shell{display:block;padding:0 20px;max-width:100%}.ebt-sidebar{background:#fff;position:sticky;top:0;z-index:30;margin:0 -20px;padding:0 20px;box-shadow:0 1px 0 #ececec}.ebt-sidebar-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px}.ebt-brand{font-size:16px}.ebt-menu-toggle{display:inline-flex;background:none;border:0;padding:12px;align-items:center;justify-content:center}.ebt-menu-toggle svg{width:25px;height:25px}.ebt-sidebar-drawer{display:none;position:absolute;left:0;top:70px;width:100%;max-height:calc(100dvh - 70px);overflow-y:auto;background:white;border-bottom:1px solid #ddd;padding:22px 28px 30px;box-shadow:0 15px 20px rgba(0,0,0,.08)}.ebt-sidebar-drawer.is-open{display:block}.ebt-sidebar-nav{margin-top:0;gap:8px}.ebt-nav-link{font-size:15px;line-height:1.3;padding:2px}.ebt-sidebar-links{margin:0}.ebt-sidebar-links a{font-size:15px;line-height:1.6}.ebt-socials-sidebar{margin-top:24px}.ebt-column{min-height:calc(100vh - 70px)}.ebt-gallery-page{padding-top:25px}.ebt-footer{padding-top:75px}.ebt-about .ebt-page-title,.ebt-contact .ebt-page-title{margin-top:36px}.ebt-case-study{padding-top:36px}.ebt-entrance-content h1{font-size:36px}}
@media(max-width:600px){.ebt-shell{padding:0 15px}.ebt-sidebar{margin:0 -15px;padding:0 15px}.ebt-gallery-page{padding-top:19px}.ebt-work-grid{grid-template-columns:repeat(var(--ebt-mobile-cols,1),minmax(0,1fr))!important;gap:25px}.ebt-card-title{font-size:12px;line-height:1.4}.ebt-page-title{font-size:22px;margin:29px auto 47px}.ebt-about-portrait img{width:190px;height:190px}.ebt-about-bio{font-size:13px}.ebt-clients{padding-top:55px}.ebt-clients-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px 14px}.ebt-client-logo{height:55px}.ebt-client-logo img{max-height:55px}.ebt-contact .ebt-page-title{margin-bottom:65px}.ebt-contact-body{max-width:100%}.ebt-contact-form input,.ebt-contact-form textarea{margin-bottom:21px}.ebt-footer{padding:65px 0 40px}.ebt-back-top{right:12px;bottom:16px;width:44px;height:44px}.ebt-case-lead h1{font-size:18px}.ebt-case-lead{margin-bottom:28px}.ebt-project-content .wp-block-columns{display:block}.ebt-project-content .wp-block-columns .wp-block-column{margin-bottom:16px}.ebt-project-media.cols-2,.ebt-project-media.cols-editorial{grid-template-columns:1fr}.ebt-project-media.cols-editorial figure:nth-child(3n){grid-column:auto}.ebt-entrance{padding:25px 20px;align-items:center}.ebt-entrance-content{transform:none}.ebt-entrance-content h1{font-size:clamp(30px,8vw,42px)}.ebt-entrance-content>p{font-size:12px;max-width:320px;margin-left:auto}.ebt-entrance-buttons a{font-size:13px;width:102px}.ebt-entrance-art{background-image:var(--ebt-mobile-image,var(--ebt-hero-image,radial-gradient(ellipse at 20% 78%,#fff9ef,transparent 50%),linear-gradient(#c8daeb,#96b6d2 55%,#e5d4b9)))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Image viewer, activated only from project media links. */
.ebt-lightbox{border:0;padding:0;margin:auto;max-width:96vw;max-height:96vh;width:96vw;height:96vh;background:#101010;color:#fff}.ebt-lightbox::backdrop{background:rgba(0,0,0,.9)}.ebt-lightbox figure{position:absolute;inset:34px 64px;display:flex;justify-content:center;align-items:center;flex-direction:column;margin:0;gap:12px}.ebt-lightbox img{max-width:100%;max-height:calc(96vh - 125px);object-fit:contain}.ebt-lightbox figcaption{text-align:center;font-size:13px;color:#ddd}.ebt-lightbox button{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;padding:9px 13px;z-index:2}.ebt-lightbox-close{right:14px;top:10px;font-size:25px}.ebt-lightbox-prev{left:12px;top:50%;transform:translateY(-50%);font-size:21px}.ebt-lightbox-next{right:12px;top:50%;transform:translateY(-50%);font-size:21px}@media(max-width:600px){.ebt-lightbox figure{inset:48px 34px}.ebt-lightbox-prev{left:3px}.ebt-lightbox-next{right:3px}}

/* Screenshot-derived reference galleries: keep replacements editable, no extra card chrome. */
.ebt-clients-reference{max-width:800px;margin:0 auto 0;line-height:0}
.ebt-clients-reference img{width:100%;height:auto;display:block;object-fit:contain}
.ebt-entrance-art{background-color:#a8c4dc;background-position:center center}
.ebt-entrance-content{transform:translateY(-5%)}
@media(max-width:600px){.ebt-entrance-art{background-position:66% center}.ebt-entrance-content{transform:translateY(-90px)}.ebt-clients-reference{max-width:100%}}

/* Decorative social symbols when owner has not supplied destination URLs. */
.ebt-socials .ebt-social-placeholder{display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;border-radius:50%;color:#999;font-size:13px;font-weight:700;line-height:1}
.ebt-socials-sidebar .ebt-social-placeholder{width:23px;height:23px;font-size:11px}
.ebt-socials-footer .ebt-social-placeholder{width:38px;height:38px;background:#f0f0f0;font-size:14px}
.ebt-entrance-socials .ebt-social-placeholder{width:28px;height:28px;color:var(--ebt-hero-text);background:rgba(255,255,255,.19)}

/* v4 reference-accurate editorial gallery: 1920px reference = sidebar x260; gallery x540;
   3 cards at 335px, 2 cards at 532px, 1 card at 532px. */
@media(max-width:1480px) and (min-width:1101px){.ebt-shell{padding-left:24px;padding-right:24px;column-gap:clamp(52px,6vw,100px)}}
@media(max-width:1100px) and (min-width:851px){.ebt-shell{padding:36px 25px 0;grid-template-columns:180px minmax(0,1fr);column-gap:45px}.ebt-sidebar{top:36px}.ebt-gallery-page{padding-top:35px}.ebt-work-grid{column-gap:30px;row-gap:31px}}
@media(max-width:850px){.ebt-shell{padding-top:0;min-height:100svh}.ebt-sidebar{top:0}.ebt-column{min-height:calc(100vh - 70px)}.ebt-column main{flex:1}.ebt-gallery-page{padding-top:25px}.ebt-work-grid{column-gap:25px;row-gap:30px}.ebt-footer{margin-top:65px}}
@media(max-width:600px){.ebt-work-grid.ebt-cols-1{grid-template-columns:repeat(var(--ebt-mobile-cols,1),minmax(0,1fr))}.ebt-work-grid{row-gap:25px}.ebt-case-lead,.ebt-project-cover,.ebt-project-media{max-width:100%}.ebt-case-study{padding-top:29px}}
/* Source project pages preserve art ratio, allow paragraph/figure/image-column reorder with Gutenberg. */
.ebt-case-study .ebt-project-content{max-width:970px;margin-left:auto;margin-right:auto}
.ebt-case-study .ebt-project-content .wp-block-image{max-width:100%}
.ebt-case-study .ebt-project-content figure.wp-block-image img{height:auto;object-fit:contain;max-width:100%}
.ebt-case-study .ebt-project-content .wp-block-columns{gap:15px}
.ebt-case-study .ebt-project-content .wp-block-columns .wp-block-image{margin:0}
.ebt-case-study .ebt-project-content p{margin-bottom:15px}
.ebt-case-study .ebt-project-content figcaption{font-size:11px;line-height:1.4;margin:7px 0 4px}
.ebt-case-study .ebt-project-content figure{margin-top:20px;margin-bottom:20px}
.ebt-case-study .ebt-project-content .wp-block-group{max-width:100%}
.ebt-case-study .ebt-project-content .wp-block-group .wp-block-columns{margin:13px 0}
.ebt-case-study .ebt-project-content .wp-block-video{max-width:100%}
.ebt-case-study .ebt-project-content .wp-block-embed{max-width:100%}
@media(max-width:600px){.ebt-case-study .ebt-project-content .wp-block-columns{gap:12px}}

/* The selected-work index aligns artwork with the sidebar brand; category pages start 50px lower. */
.ebt-selected-work{padding-top:0}
.ebt-shop{padding-top:25px}
.ebt-gallery-page:has(.ebt-cols-1){padding-top:40px}
.ebt-about .ebt-page-title{margin-top:0;margin-bottom:50px}
.ebt-about{padding-top:0}
.ebt-contact .ebt-page-title{margin-top:22px}
@media(max-width:850px){.ebt-selected-work,.ebt-shop,.ebt-gallery-page:has(.ebt-cols-1){padding-top:25px}.ebt-about .ebt-page-title{margin-top:36px}.ebt-contact .ebt-page-title{margin-top:36px}}
/* Final sidebar measurements from the supplied 1919px browser reference. */
@media(min-width:1101px){
 .ebt-shell{grid-template-columns:220px minmax(0,1fr);column-gap:60px}
 .ebt-sidebar{padding-top:12px}
 .ebt-sidebar-nav{margin-top:74px}
 .ebt-sidebar-links{margin-top:74px}
 .ebt-nav-link{font-size:14px;line-height:1.28}
 .ebt-sidebar-links a{font-size:14px;line-height:1.28}
 .ebt-gallery-page:has(.ebt-cols-1){padding-top:58px}
 .ebt-column:has(.ebt-cols-1) .ebt-footer{margin-top:120px}
}

/* Featured work has its own vertical rhythm in the reference screenshots. */
.ebt-selected-work .ebt-work-grid{row-gap:var(--ebt-selected-row-gap,67px)}
.ebt-case-study .ebt-case-lead,.ebt-case-study .ebt-project-cover,.ebt-case-study .ebt-project-media,.ebt-case-study .ebt-project-content{max-width:var(--ebt-case-width,970px)}
.ebt-case-study .ebt-project-content>.wp-block-image img{width:100%}
.ebt-case-study .ebt-project-content .wp-block-columns .wp-block-image img{width:100%}
@media(max-width:850px){.ebt-selected-work .ebt-work-grid{row-gap:35px}}
@media(max-width:600px){.ebt-selected-work .ebt-work-grid{row-gap:25px}}

/* v4.1 - screenshot-grounded Shop single item layout: separate editorial presentation from Work cases. */
.ebt-shop-detail{padding-top:28px}
.ebt-shop-article{width:100%;margin:0 auto}
.ebt-shop-editorial-intro{width:min(800px,100%);margin:0 auto 67px;font-size:13px;line-height:1.42}
.ebt-shop-editorial-intro h1{font-size:20px;line-height:1.3;font-weight:700;text-align:center;margin:0 0 26px}
.ebt-shop-editorial-intro p{margin:0}
.ebt-shop-lead{margin:0 0 55px}
.ebt-shop-description{margin:0 0 49px}
.ebt-shop-price{margin:0 0 18px!important;font-weight:600}
.ebt-shop-purchase{margin:0!important}
.ebt-shop-purchase a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ebt-shop-cta-unlinked{color:inherit} /* No false clickable link until an external product URL is set. */
.ebt-shop-additional{margin-top:26px;line-height:1.5}
.ebt-shop-additional>*{max-width:100%;margin-left:auto;margin-right:auto}
.ebt-shop-editorial-media{display:flex;flex-direction:column;gap:8px;width:100%}
.ebt-shop-figure{margin:0;min-width:0;line-height:0}
.ebt-shop-figure>a{display:block;width:100%;height:100%;line-height:0;text-decoration:none}
.ebt-shop-figure img{width:100%;height:auto;display:block;object-fit:contain;transition:opacity .2s ease}
.ebt-shop-figure>a:hover img{opacity:.96}
.ebt-shop-figure figcaption{font-size:11px;text-align:center;line-height:1.4;margin-top:6px}
.ebt-shop-media-row{display:grid;grid-template-columns:65fr 35fr;align-items:start;gap:8px}
.ebt-shop-media-row.ebt-shop-row-reverse{grid-template-columns:35fr 65fr}
.ebt-shop-thanks{text-align:center;font-size:14px;line-height:1.5;font-weight:700;margin:38px 0 0}
/* Shop listing only: the supplied Shop archive has a very light neutral background. */
body.post-type-archive-eb_shop_item{background-color:#f1f1f1}
body.post-type-archive-eb_shop_item .ebt-sidebar{background:transparent}
@media(max-width:1100px){.ebt-shop-editorial-intro{width:min(740px,100%)}.ebt-shop-detail{padding-top:26px}}
@media(max-width:850px){.ebt-shop-detail{padding-top:35px}.ebt-shop-editorial-intro{width:min(700px,100%);margin-bottom:45px}.ebt-shop-editorial-intro h1{font-size:19px}.ebt-shop-lead{margin-bottom:36px}.ebt-shop-description{margin-bottom:34px}}
@media(max-width:600px){.ebt-shop-detail{padding-top:25px}.ebt-shop-editorial-intro{margin-bottom:36px;font-size:13px;line-height:1.52}.ebt-shop-editorial-intro h1{font-size:19px;line-height:1.35;margin-bottom:28px}.ebt-shop-lead{margin-bottom:29px}.ebt-shop-description{margin-bottom:28px}.ebt-shop-editorial-media{gap:7px}.ebt-shop-media-row,.ebt-shop-media-row.ebt-shop-row-reverse{gap:7px}.ebt-shop-thanks{margin-top:29px;font-size:13px}}
/* Fine-tuned against the supplied 1541px Shop detail capture, normalized to 1920px. */
@media(min-width:1101px){
 .ebt-shop-detail{padding-top:35px}
 .ebt-shop-editorial-intro{margin-bottom:82px}
 .ebt-shop-editorial-intro h1{margin-bottom:39px}
 .ebt-shop-lead{margin-bottom:85px}
 .ebt-shop-description{margin-bottom:54px}
 .ebt-shop-thanks{margin-top:50px}
}

/* Owner-controlled Shop geometry: Portfolio Studio → Design. */
.ebt-shop-editorial-intro{width:min(var(--ebt-shop-text-width,800px),100%)}
.ebt-shop-editorial-media{gap:var(--ebt-shop-img-gap,8px)}
.ebt-shop-media-row{gap:var(--ebt-shop-img-gap,8px)}
body.post-type-archive-eb_shop_item,body.tax-eb_shop_collection{background-color:var(--ebt-shop-bg,#f1f1f1)}
