
:root{--bg:#04070e;--panel:#0a1020;--ink:#f6f2e9;--muted:#a7adbf;--gold:#d3b56b;--gold-light:#fff0bd;--blue:#4166e0;--blue-deep:#152967;--line:rgba(148,167,232,.19);--head:'Trebuchet MS','Aptos Display',Arial,sans-serif;--body:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg);scroll-padding-top:100px}body{margin:0;color:var(--ink);font-family:var(--body);line-height:1.65;background:radial-gradient(ellipse at 80% 0%,#101c42 0,transparent 38%),var(--bg);min-height:100vh}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button,a,input,select,textarea{touch-action:manipulation}img{display:block;max-width:100%}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--head);font-weight:500;line-height:1.14}h1{font-size:clamp(34px,4.8vw,65px);letter-spacing:-.035em}h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.035em}h3{font-size:23px}p{color:var(--muted)}:focus-visible{outline:2px solid var(--gold-light);outline-offset:6px}::selection{background:#284dac;color:white}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-80px;left:24px;z-index:100;background:var(--gold);color:#05080e;padding:10px 20px}.skip:focus{top:10px}.site-width{width:min(1200px,calc(100% - 72px));margin:auto}.gold{background:linear-gradient(110deg,#fff3bf,#b49551 38%,#f5d88b 62%,#9e8146);-webkit-background-clip:text;background-clip:text;color:transparent}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.25em;text-transform:uppercase;color:var(--gold);display:flex;align-items:center;gap:13px}.eyebrow:before{content:'';width:25px;height:1px;background:var(--gold)}.label{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
/* An atmospheric frame, not a moving layer across the portfolio itself. */
.ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.ambient:before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(81,117,209,.032) 1px,transparent 1px),linear-gradient(90deg,rgba(81,117,209,.032) 1px,transparent 1px);background-size:90px 90px;mask-image:linear-gradient(black,transparent 85%)}.ambient .ambient-logo{position:absolute;width:620px;right:-240px;top:200px;opacity:.025;animation:drift 55s ease-in-out infinite alternate;filter:drop-shadow(0 0 35px #527aed)}.ambient-line{position:absolute;top:0;bottom:0;width:1px;background:linear-gradient(transparent,#385de645,transparent);left:28px}.ambient-line:last-child{left:auto;right:28px}.ambient-line:after{content:'';position:absolute;top:-140px;width:1px;height:110px;background:linear-gradient(transparent,#668aff,#eedc9a,transparent);box-shadow:0 0 9px #527bff;animation:scan 20s linear infinite}header,main,footer{position:relative;z-index:1}.site-header{border-bottom:1px solid var(--line);background:rgba(4,7,14,.88);backdrop-filter:blur(15px);position:sticky;top:0;z-index:15}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:92px}.brand{display:flex;align-items:center;gap:16px;flex-shrink:0}.brand img{height:71px;width:83px;object-fit:contain}.brand-text{display:flex;flex-direction:column}.brand-text b{font-family:var(--head);font-size:19px;line-height:1.3;letter-spacing:.24em;color:#ead59c}.brand-text span{font-size:9px;letter-spacing:.42em;color:var(--muted)}.nav-links{display:flex;align-items:center;gap:24px;font-size:12px}.nav-links a{position:relative;padding:13px 0;color:#b9bfcd}.nav-links a:hover,.nav-links a[aria-current=page]{color:#f2d997}.nav-links a[aria-current=page]:after{content:'';position:absolute;bottom:4px;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:9px 13px}.motion-toggle{border:1px solid var(--line);background:#0d1526;display:flex;align-items:center;gap:7px;border-radius:30px;padding:8px 12px;font-size:10px;color:#bfc8de;white-space:nowrap}.motion-dot{width:5px;height:5px;border-radius:50%;background:#7394ff;box-shadow:0 0 8px #4166e0}.motion-off .motion-dot{background:#777;box-shadow:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:12px 23px;border:1px solid rgba(211,181,107,.55);color:#f1ddaa;background:linear-gradient(120deg,rgba(39,64,135,.23),rgba(7,13,29,.3));font-size:12px;letter-spacing:.06em;transition:.25s}.button:hover{border-color:var(--gold);background:#152047;box-shadow:0 0 20px #3153c528;transform:translateY(-1px)}.button.solid{background:linear-gradient(100deg,#dfc98d,#baa165);color:#10131a;border-color:transparent}.button.subtle{border-color:var(--line);color:var(--ink)}.arrow{font-size:23px;line-height:1}
.home-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:44px 0 30px}.home-intro h1{margin:12px 0 0;font-size:clamp(36px,4vw,57px)}.home-intro p{max-width:280px;font-size:13px;line-height:1.8}.world-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;max-width:1040px;margin:0 auto}.world{grid-column:span 2}.world{display:block;position:relative;aspect-ratio:1;isolation:isolate;background:#000;border:1px solid #203363;overflow:hidden;box-shadow:0 0 20px #18317c13,inset 0 0 0 7px #000;transition:transform .45s,border-color .4s,box-shadow .4s}.world:before{content:'';position:absolute;inset:0;border:1px solid transparent;background:linear-gradient(120deg,#c2a568,transparent 25%,transparent 68%,#4166e0) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;padding:1px;z-index:4;pointer-events:none}.world:after{content:'';position:absolute;left:0;right:0;bottom:0;height:64%;background:linear-gradient(transparent,#040710d6 70%,#040710);z-index:2}.world-image{position:absolute;width:100%;height:100%;object-fit:cover;transition:transform 1s,filter .5s;filter:brightness(.84)}.world:hover{border-color:#bda565;box-shadow:0 0 35px #345ade36;transform:translateY(-3px)}.world:hover .world-image{transform:scale(1.025);filter:brightness(1)}.world-counter{position:absolute;top:16px;left:18px;z-index:3;font-size:10px;letter-spacing:.17em;color:#f9edce;background:#0408119c;padding:4px 10px;border-left:1px solid #c6ad6d}.world-content{position:absolute;left:22px;right:22px;bottom:22px;z-index:3}.world-content .label{color:#d3c3a0;font-size:9px}.world-content h2{font-size:clamp(20px,2.2vw,32px);margin:8px 0 9px;color:#f8f3e9}.world-content p{font-size:11px;color:#bbc2d4;max-width:82%}.world-open{position:absolute;right:0;bottom:3px;width:38px;height:38px;border:1px solid #c2a66b77;display:flex;align-items:center;justify-content:center;color:#edd39b;font-size:23px}.corner{position:absolute;width:18px;height:18px;border-color:#839fff;z-index:5;pointer-events:none}.corner.tl{left:8px;top:8px;border-left:1px solid;border-top:1px solid}.corner.br{right:8px;bottom:8px;border-right:1px solid;border-bottom:1px solid}.edge-light{position:absolute;width:38%;height:1px;left:-45%;top:0;background:linear-gradient(90deg,transparent,#5d85ff,#f4de9d,transparent);box-shadow:0 0 10px #6186ff;z-index:6;animation:edge-run 12s linear infinite}.world:nth-child(2) .edge-light{animation-delay:-3s}.world:nth-child(3) .edge-light{animation-delay:-7s}.world:nth-child(4) .edge-light{animation-delay:-10s}.home-bottom{max-width:1000px;margin:22px auto 0;display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:0 0 25px;font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#a1adc4}.home-about{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:76px 0;max-width:1000px;margin:auto}.home-about h2{margin:15px 0 20px}.home-about p{font-size:15px;margin:0 0 23px}.principles{display:grid;gap:23px;padding-top:8px}.principle{border-left:1px solid #3554a0;padding:0 0 0 21px}.principle h3{font-size:18px;margin-bottom:8px;color:#e8d5a0}.principle p{font-size:13px;margin:0}
.page-heading{padding:48px 0 30px;display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:end}.page-heading h1{margin:15px 0 0}.page-heading p{font-size:14px;max-width:470px}.page-meta{display:flex;align-items:center;gap:24px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:#aeb7ca}.page-meta strong{color:#e9d09c;font-weight:500}.search-box{margin-left:auto;max-width:270px;width:100%;position:relative}.search-box input{width:100%;background:#090e1c;border:1px solid var(--line);color:var(--ink);padding:9px 12px;font-size:12px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 30px}.filter{font-size:11px;background:#0a1120;color:#b8c1d4;border:1px solid #263450;padding:7px 13px;transition:.2s}.filter:hover{border-color:#b8a16d;color:var(--ink)}.filter.active{background:linear-gradient(120deg,#172b65,#0d1424);border-color:#5e7abf;color:#f7de9d}.filter small{opacity:.6;margin-left:5px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px;padding-bottom:45px}.render-card{margin:0;min-width:0}.render-button{position:relative;display:block;width:100%;padding:0;border:1px solid #202d4b;background:#000;aspect-ratio:1.5;overflow:hidden}.render-button:after{content:'↗';position:absolute;left:12px;bottom:12px;width:25px;height:25px;display:grid;place-items:center;font-size:16px;color:#f1d9a2;background:#060913b0;border:1px solid #8c795056;opacity:0;transition:.25s}.render-button:hover:after{opacity:1}.render-image{width:100%;height:100%;object-fit:contain;transition:filter .3s}.render-button:hover .render-image{filter:brightness(1.06)}.render-button:hover{border-color:#5172c5}.watermark{position:absolute;right:9px;bottom:8px;width:40px;max-height:40px;object-fit:contain;filter:drop-shadow(0 1px 2px #0009);pointer-events:none}.render-card figcaption{padding:11px 2px 0}.render-card figcaption .project-label{font-size:12px;color:#e8e4d9;line-height:1.5}.render-card figcaption .image-caption{font-size:9px;color:#7c889f;margin-top:5px;line-height:1.5}.project-filter-detail{margin:0 0 27px;display:grid;grid-template-columns:1.6fr 1fr;gap:35px;background:#0b1222;border:1px solid #293656;padding:27px}.project-filter-detail h2{font-size:27px;margin:8px 0 15px}.project-filter-detail p{font-size:14px}.project-filter-detail ul{margin:0;padding:0 0 0 18px;color:#b9c5de;font-size:13px}.project-filter-detail li{margin:9px 0}.empty-result{grid-column:1/-1;padding:60px;border:1px solid var(--line);text-align:center}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin:10px 0 18px}.section-head h2{font-size:23px}.section-head p{font-size:12px}.category-bottom{padding:28px 0 55px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.category-bottom a{font-size:12px;color:#ead3a4}
.about-lead{display:grid;grid-template-columns:1fr 1.3fr;gap:70px;margin:35px 0 70px;align-items:start}.about-mark{min-height:410px;background:radial-gradient(ellipse at center,#14255270,transparent 65%),#05080e;border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px}.about-mark img{width:70%;max-width:280px}.about-mark p{font-size:10px;letter-spacing:.2em;margin-top:27px;text-transform:uppercase;text-align:center}.prose p{margin:0 0 21px}.prose h2{margin:4px 0 23px}.prose .button{margin-top:8px}.career-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:25px 0 55px}.career{padding:28px;border:1px solid var(--line);background:linear-gradient(130deg,#101a32,#070c16)}.career h3{font-size:21px;color:#ebd5a0;margin-bottom:16px}.career p{font-size:14px}.skills{display:flex;flex-wrap:wrap;gap:11px;margin:25px 0 55px}.skills span{font-size:12px;border:1px solid #2c3b5f;background:#0a1326;padding:9px 14px}.education{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin:25px 0 70px}.education h3{font-size:19px;margin-bottom:12px}.education p{font-size:14px}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;margin:25px 0 70px}.contact-detail{padding:24px 0;border-bottom:1px solid var(--line)}.contact-detail a{font-size:clamp(15px,2vw,21px);word-break:break-word}.contact-detail .label{margin-bottom:7px;display:block}.contact-form{border:1px solid var(--line);background:#0a1021;padding:30px}.contact-form label{display:block;font-size:12px;color:#cccfda;margin:0 0 7px}.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:10px 12px;color:#f0f2f8;background:#040813;border:1px solid #2e3c5a;outline-offset:2px;margin-bottom:18px;border-radius:0}.contact-form textarea{min-height:130px;resize:vertical}.contact-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-help{font-size:11px;line-height:1.7;margin:12px 0 0}.notice{font-size:12px;padding:12px;border-left:2px solid #b59c5e;margin-top:14px;color:#d8c797}.privacy-copy{max-width:800px;margin:30px 0 80px}.privacy-copy h2{font-size:24px;margin:35px 0 15px}.privacy-copy p{font-size:14px;margin:15px 0}.site-footer{border-top:1px solid var(--line);background:#03060c;padding:28px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:11px;color:#7e89a0}.footer-inner .footer-links{display:flex;gap:18px}.footer-inner strong{color:#c5b287;font-family:var(--head);letter-spacing:.08em;font-weight:400}.review-badge{position:fixed;left:14px;bottom:13px;z-index:12;font-size:9px;letter-spacing:.08em;background:#060b18df;border:1px solid #354c78;color:#adbad4;padding:5px 10px;backdrop-filter:blur(5px)}
/* Gallery stage never distorts an image and never introduces white padding. */
.lightbox{padding:0;border:1px solid #334878;background:#03050b;color:#f5f0e5;width:calc(100vw - 40px);height:calc(100dvh - 40px);max-width:1550px;max-height:none;margin:auto;overflow:hidden}.lightbox::backdrop{background:#000e;backdrop-filter:blur(8px)}.lightbox-shell{height:100%;display:grid;grid-template-rows:auto 1fr auto;min-height:0}.lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 19px;border-bottom:1px solid var(--line);gap:18px}.lightbox-toolbar h2{font-size:18px}.lightbox-toolbar .label{font-size:9px;margin-top:4px;display:block}.lightbox-close{font-size:23px;width:40px;height:40px;background:#0a1429;border:1px solid #344466}.lightbox-stage{display:flex;align-items:center;justify-content:center;position:relative;background:#000;min-height:0;padding:15px 55px}.lightbox-picture{display:flex;align-items:center;justify-content:center;position:relative;max-width:100%;max-height:100%}.lightbox-picture>img:first-child{max-width:100%;max-height:calc(100dvh - 260px);object-fit:contain;width:auto;height:auto}.lightbox-picture .watermark{width:clamp(35px,6vw,77px);max-height:none;right:1.8%;bottom:2.5%}.lightbox-step{position:absolute;top:50%;transform:translateY(-50%);height:48px;width:36px;background:#0b152bbb;border:1px solid #3d507a;font-size:26px;z-index:2}.lightbox-prev{left:10px}.lightbox-next{right:10px}.lightbox-bottom{padding:14px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:22px}.lightbox-bottom .image-caption{font-size:11px;color:#acb7cf}.lightbox-bottom .button{font-size:11px;padding:8px 15px}.lightbox-bottom p{font-size:10px;margin-top:5px}.back-link{font-size:12px;color:#b9a46f;display:inline-flex;align-items:center;gap:10px;margin-top:28px}
@keyframes drift{from{transform:translateY(0) rotate(-7deg)}to{transform:translateY(70px) rotate(4deg)}}@keyframes scan{to{top:110%}}@keyframes edge-run{to{left:110%}}.motion-off *,.motion-off *:before,.motion-off *:after{animation:none!important;scroll-behavior:auto!important}.motion-off .world:hover .world-image{transform:none}
@media(min-width:1500px){.world-grid,.home-bottom,.home-about{max-width:1080px}}
@media(max-width:1080px){.site-width{width:calc(100% - 48px)}.nav-links{gap:16px}.brand-text{display:none}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.contact-grid{gap:35px}}
@media(max-width:780px){.header-inner{min-height:80px}.brand img{height:60px;width:70px}.menu-toggle{display:block;margin-left:auto}.motion-toggle{font-size:9px;padding:8px 9px}.nav-links{display:none;position:absolute;left:0;right:0;top:80px;padding:18px 25px;background:#080f20;border-bottom:1px solid #35476c;flex-wrap:wrap;gap:12px 23px}.nav-links.open{display:flex}.home-intro{padding:30px 0 23px;display:block}.home-intro h1{font-size:43px}.home-intro p{margin-top:15px;max-width:440px;font-size:12px}.world-grid{gap:15px}.world-content{left:21px;right:21px;bottom:21px}.world-content h2{font-size:29px}.world-content p{font-size:10px}.world-counter{top:15px;left:15px;font-size:9px}.world-open{width:28px;height:28px;font-size:19px}.world-content .label{font-size:8px;letter-spacing:.11em}.home-about{gap:35px;padding:50px 0}.home-bottom{font-size:9px}.page-heading{grid-template-columns:1fr;gap:20px;padding:32px 0 24px}.page-heading h1{font-size:45px}.page-heading p{max-width:none}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}.page-meta{flex-wrap:wrap;gap:12px 25px}.search-box{margin-left:0;max-width:none;flex-basis:100%}.project-filter-detail{grid-template-columns:1fr;gap:20px}.about-lead{gap:30px;grid-template-columns:1fr}.about-mark{min-height:260px}.about-mark img{max-width:210px}.contact-grid{grid-template-columns:1fr;gap:30px}.footer-inner{flex-wrap:wrap;gap:13px}.lightbox{width:100vw;height:100dvh;border:0}.lightbox-toolbar h2{font-size:16px}.lightbox-stage{padding:10px 36px}.lightbox-picture>img:first-child{max-height:calc(100dvh - 225px)}.lightbox-step{width:28px;height:45px}.lightbox-prev{left:3px}.lightbox-next{right:3px}.lightbox-bottom{flex-wrap:wrap;gap:10px;padding:12px}.lightbox-bottom .image-caption{font-size:9px}.lightbox-toolbar{padding:12px}.review-badge{position:relative;left:0;bottom:0;width:100%;text-align:center;border-width:1px 0 0}}
@media(max-width:500px){.site-width{width:calc(100% - 32px)}.header-inner{gap:10px}.home-intro h1{font-size:36px}.world-grid{grid-template-columns:1fr;gap:20px}.world-content{left:25px;right:25px;bottom:25px}.world-content h2{font-size:36px}.world-content p{font-size:12px}.world-content .label{font-size:9px}.world-counter{font-size:10px}.world-open{width:35px;height:35px}.home-bottom{flex-direction:column;gap:8px}.home-about{grid-template-columns:1fr;gap:24px;padding:40px 0}.gallery{grid-template-columns:1fr;gap:27px}.render-button{aspect-ratio:1.5}.render-card figcaption .image-caption{font-size:10px}.career-grid,.education{grid-template-columns:1fr}.career{padding:22px}.contact-form{padding:20px}.contact-form .form-row{grid-template-columns:1fr;gap:0}.category-bottom{flex-direction:column}.page-heading h1{font-size:37px}.ambient .ambient-logo{width:400px;right:-210px}.ambient-line{left:8px}.ambient-line:last-child{right:8px}.project-filter-detail{padding:22px}.lightbox-bottom .button{padding:6px 12px}.footer-inner .footer-links{gap:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.project-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:12px 0 40px;padding:26px;border:1px solid rgba(181,160,102,.25);background:rgba(10,20,39,.65)}.project-context h3{font-size:13px;color:#ddc784;text-transform:uppercase;letter-spacing:.08em;margin:0 0 12px}.project-context p{font-size:14px;color:#bdc5d6;line-height:1.7;margin:0}@media(max-width:760px){.project-context{grid-template-columns:1fr;gap:20px}}


@media(min-width:781px){.world-grid>.world:nth-child(4){grid-column:2 / span 2}.world-grid>.world:nth-child(5){grid-column:4 / span 2}}

@media(max-width:780px){.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world{grid-column:auto!important;margin-left:0!important;width:auto!important}}
@media(max-width:500px){.world-grid{grid-template-columns:1fr}}

.image-kind{position:absolute;left:10px;top:10px;z-index:4;font-size:8px;letter-spacing:.13em;text-transform:uppercase;padding:5px 8px;background:#050914d9;border:1px solid #7d8fb555;color:#d9e2f7;backdrop-filter:blur(8px)}.image-kind.render{color:#e8cf96;border-color:#b79c5f66}.image-kind.cad{color:#b9d1ff;border-color:#4f79c966}.image-kind.photo{color:#d8e6dc;border-color:#69977766}

/* --- Malachi private portfolio review controls --- */
.review-tools{margin:8px 0 24px;padding:18px 20px;border:1px solid #3959a0;background:linear-gradient(120deg,#0a1225,#080b13);display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:inset 0 0 24px #244aa018,0 0 24px #183a7c14}.review-tools>div:first-child{max-width:720px}.review-tools strong{display:block;margin:7px 0 5px;color:#f4e5bb;font-size:14px}.review-tools p{font-size:11px;line-height:1.6;margin:0;color:#98a7c5}.review-pill{display:inline-block;font-size:8px;letter-spacing:.18em;color:#f4da9f;border:1px solid #a98e55;padding:4px 7px;background:#0d1220}.review-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.review-actions button,.removed-item button{font:inherit;font-size:10px;color:#dbe4f7;background:#0b1428;border:1px solid #334b7e;padding:8px 11px;cursor:pointer}.review-actions button:hover,.removed-item button:hover{border-color:#d3b46e;color:#ffe9af}.review-actions button:disabled{opacity:.35;cursor:default}.review-actions .review-primary{border-color:#b4934d;color:#f5dd9f;background:linear-gradient(120deg,#192a58,#151006)}
.render-card{position:relative}.card-review-controls{position:absolute;z-index:8;left:8px;right:8px;top:8px;display:flex;justify-content:space-between;pointer-events:none}.drag-handle,.remove-image{pointer-events:auto;display:grid;place-items:center;background:#030712de;border:1px solid #4765a8;color:#f6e8c2;box-shadow:0 2px 12px #0008}.drag-handle{width:31px;height:31px;font-size:16px;letter-spacing:-3px;cursor:grab;user-select:none}.drag-handle:active{cursor:grabbing}.remove-image{width:31px;height:31px;font-size:22px;line-height:1;cursor:pointer;border-color:#9a644f;color:#ffd8c4}.remove-image:hover{background:#32120d;border-color:#e08e67}.render-card.dragging{opacity:.45;transform:scale(.985)}.render-card[draggable="true"]{cursor:default}.render-card.dragging .render-button{border-color:#d2b56f}.removed-panel{margin:-10px 0 28px;border:1px solid #293858;background:#050913;padding:15px}.removed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.removed-item{display:grid;grid-template-columns:80px 1fr;gap:11px;align-items:center;border:1px solid #1f2b45;background:#080e1a;padding:8px}.removed-item img{width:80px;height:60px;object-fit:contain;background:#000}.removed-item strong,.removed-item span{display:block}.removed-item strong{font-size:10px;color:#e6d39f;margin-bottom:3px}.removed-item span{font-size:9px;color:#8f9bb3;margin-bottom:7px;line-height:1.25}.removed-item button{padding:5px 8px}.review-note{font-size:10px;color:#8290ab}
@media(max-width:900px){.review-tools{align-items:flex-start;flex-direction:column}.review-actions{justify-content:flex-start}.removed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.removed-grid{grid-template-columns:1fr}.review-actions{width:100%}.review-actions button{flex:1}.card-review-controls{top:6px;left:6px;right:6px}.drag-handle,.remove-image{width:34px;height:34px}}

/* --- V7 full portfolio manager --- */
.card-control-left{display:flex;gap:6px;pointer-events:none}.card-control-left>*{pointer-events:auto}.move-image{width:31px;height:31px;display:grid;place-items:center;background:#030712de;border:1px solid #4969ad;color:#c9dcff;font-size:18px;line-height:1;box-shadow:0 2px 12px #0008}.move-image:hover{background:#0e214c;border-color:#7da1ff;color:#fff}.review-actions .review-add{border-color:#4f73c8;color:#d8e6ff;background:linear-gradient(120deg,#102657,#0c1324)}.filter.drop-target{border-color:#e2c679!important;color:#fff3c1!important;background:linear-gradient(120deg,#294886,#3a2c0b)!important;box-shadow:0 0 18px #4f78e566,0 0 12px #d2b56f44}.manage-dialog{width:min(620px,calc(100vw - 32px));border:1px solid #4969ad;background:#050a14;color:#f6f2e9;padding:0;box-shadow:0 25px 90px #000c,0 0 35px #345ade33}.manage-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}.manage-form{padding:22px;display:grid;gap:14px}.manage-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #233456;padding-bottom:14px}.manage-head h2{font-size:25px;margin-top:8px}.manage-close{width:38px;height:38px;background:#0b1428;border:1px solid #3c5385;color:#f6e8c2;font-size:23px}.manage-form label{display:grid;gap:6px;color:#c5cde0;font-size:11px;letter-spacing:.03em}.manage-form input,.manage-form select{width:100%;background:#09101e;border:1px solid #31466f;color:#f6f2e9;padding:10px 11px}.manage-form input[type=file]{padding:9px;background:#070c16}.manage-note{font-size:10px;line-height:1.55;color:#8493b0;border-left:1px solid #4768ae;padding-left:12px}.manage-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:3px}.manage-actions button{font:inherit;font-size:11px;padding:9px 14px;border:1px solid #354b76;background:#0b1428;color:#dbe4f7}.manage-actions .review-primary{border-color:#b4934d;color:#f5dd9f;background:linear-gradient(120deg,#192a58,#151006)}#manage-status{font-size:10px;color:#f1d89d;min-height:1em}
@media(max-width:500px){.drag-handle,.move-image,.remove-image{width:34px;height:34px}.manage-form{padding:17px}.manage-actions{display:grid;grid-template-columns:1fr 1fr}.manage-actions button{width:100%}}

/* V8 review controls: always-visible removal and drag affordances */
.remove-image{width:38px!important;height:38px!important;font-size:28px!important;font-weight:700!important;background:#180807f2!important;border:1px solid #ff9977!important;color:#fff2e8!important}.remove-image:hover{background:#52170f!important}.drag-handle{width:38px!important;height:38px!important;font-size:20px!important;background:#06122cf2!important;border-color:#668fe3!important;color:#f5dc98!important}.card-review-controls{top:7px!important;left:7px!important;right:7px!important}.render-card{user-select:none}.image-kind.photo{background:#05070dcf}.image-caption[hidden]{display:none!important}

/* --- V10 complete private editing controls --- */
.v10-page-tools{margin:18px 0 22px;padding:12px 14px;border:1px solid #3d5eaa;background:linear-gradient(120deg,#091329,#070b15);display:flex;align-items:center;gap:8px;flex-wrap:wrap;box-shadow:0 0 24px #244ea322}.v10-page-tools button,.v10-mini,.v10-change-cover{font:inherit;cursor:pointer;border:1px solid #4d69a2;background:#071329;color:#e9f0ff}.v10-page-tools button{font-size:10px;padding:8px 11px}.v10-page-tools button:hover,.v10-mini:hover,.v10-change-cover:hover{border-color:#dfbd69;color:#ffe9a9}.v10-help{font-size:9px;color:#8291ac;margin-left:auto}.v10-mini{width:38px;height:38px;display:grid;place-items:center;font-size:17px;line-height:1;background:#06122cf2;box-shadow:0 2px 12px #0008}.v10-home-cover{color:#f3d687}.v10-editable{outline:1px dashed #e0bc66!important;outline-offset:3px;background:#f2c6610c!important;cursor:text!important;min-width:1em}.v10-editing .world{cursor:default}.render-image.is-rotated-90{object-fit:contain!important}.v10-change-cover{position:absolute;right:14px;top:14px;z-index:20;padding:7px 9px;font-size:9px;letter-spacing:.03em;background:#050b17e8}.world>.v10-change-cover{pointer-events:auto}.world-grid .world{position:relative}.manage-dialog select{min-height:42px}.filters .filter[data-v10-custom="true"]{border-style:dashed}.v10-category-note{font-size:9px;color:#8593ae}.lightbox-picture>img:first-child{transition:transform .2s ease}.render-image{transition:transform .2s ease,filter .3s!important}@media(max-width:780px){.v10-page-tools{align-items:flex-start}.v10-help{width:100%;margin-left:0}.v10-mini{width:40px;height:40px}.v10-change-cover{font-size:10px;padding:8px 10px}}@media(max-width:500px){.v10-page-tools button{flex:1 1 auto}.card-control-left{max-width:calc(100% - 46px);flex-wrap:wrap}.v10-mini{width:34px;height:34px;font-size:16px}.v10-change-cover{top:10px;right:10px}}
.image-placeholder{display:block;position:absolute;inset:0;width:100%;height:100%;background:radial-gradient(circle at 35% 30%,#17336a,#080d18 58%,#02050a);}



.motion-toggle{display:none!important}
.ambient .ambient-logo{
  opacity:.05!important;
  animation:drift 18s ease-in-out infinite alternate!important;
  filter:drop-shadow(0 0 44px #527aed)!important;
}
.ambient-line:after{
  height:160px!important;
  box-shadow:0 0 14px #527bff,0 0 22px rgba(238,220,154,.55)!important;
  animation:scan 7s linear infinite!important;
}
.edge-light{
  width:58%!important;
  height:2px!important;
  box-shadow:0 0 14px #6186ff,0 0 24px rgba(244,222,157,.65)!important;
  animation:edge-run 4.2s linear infinite!important;
}
.world{
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,filter .28s ease!important;
}
.world:before{
  opacity:.78;
  transition:opacity .28s ease,filter .28s ease,background .28s ease!important;
}
.world:after{
  background:
    linear-gradient(180deg,transparent 18%,rgba(4,7,16,.22) 52%,rgba(4,7,16,.92) 100%),
    radial-gradient(circle at 50% 58%,rgba(87,122,255,0) 0%,rgba(87,122,255,0) 45%,rgba(87,122,255,.16) 72%,rgba(228,198,123,.12) 100%)!important;
  transition:background .28s ease,filter .28s ease,opacity .28s ease!important;
}
.world-image{
  transform:scale(1.015);
  transition:transform .55s ease,filter .35s ease!important;
}
.world:hover{
  border-color:#e0bf6f!important;
  transform:translateY(-5px) scale(1.01)!important;
  box-shadow:
    0 0 0 1px rgba(224,191,111,.26),
    0 0 30px rgba(76,118,255,.34),
    0 0 64px rgba(224,191,111,.22),
    inset 0 0 38px rgba(86,122,255,.13),
    inset 0 0 78px rgba(224,191,111,.08)!important;
}
.world:hover:before{
  opacity:1!important;
  filter:drop-shadow(0 0 9px rgba(93,133,255,.9)) drop-shadow(0 0 14px rgba(244,222,157,.45))!important;
  background:linear-gradient(120deg,#f0d88c,transparent 24%,transparent 66%,#4e79ff) border-box!important;
}
.world:hover:after{
  background:
    linear-gradient(180deg,transparent 8%,rgba(4,7,16,.15) 44%,rgba(4,7,16,.94) 100%),
    radial-gradient(circle at 50% 54%,rgba(90,129,255,.24) 0%,rgba(90,129,255,.12) 28%,rgba(224,191,111,.16) 52%,rgba(224,191,111,0) 78%)!important;
}
.world:hover .world-image{
  transform:scale(1.07)!important;
  filter:brightness(1.08) saturate(1.04)!important;
}
.world:hover .world-content h2,
.world:hover .world-content p,
.world:hover .world-content .label{
  text-shadow:0 0 10px rgba(86,122,255,.26),0 0 16px rgba(224,191,111,.18)!important;
}
.world:hover .world-open{
  background:rgba(10,16,31,.45)!important;
  box-shadow:0 0 16px rgba(224,191,111,.35)!important;
}


/* UNIVERSAL INTERACTIVE LIGHTING — categories, subcategories, cards, nav, buttons, fields */
:root{
  --mi-blue-glow: rgba(82,123,255,.72);
  --mi-blue-soft: rgba(82,123,255,.28);
  --mi-gold-glow: rgba(230,195,111,.68);
  --mi-gold-soft: rgba(230,195,111,.24);
}

/* Large interactive cards: main categories + individual image cards */
.world,
.render-button{
  position:relative;
  transition:
    transform .26s ease,
    border-color .26s ease,
    box-shadow .26s ease,
    filter .26s ease!important;
}
.world:hover,
.world:focus-visible,
.render-button:hover,
.render-button:focus-visible{
  border-color:#e4c36f!important;
  box-shadow:
    0 0 0 1px var(--mi-gold-soft),
    0 0 24px var(--mi-blue-soft),
    0 0 52px var(--mi-gold-soft),
    inset 0 0 24px rgba(84,124,255,.08)!important;
}
.render-button:hover,
.render-button:focus-visible{
  transform:translateY(-3px) scale(1.01);
}
.render-button:hover .render-image,
.render-button:focus-visible .render-image{
  transform:scale(1.045)!important;
  filter:brightness(1.08) saturate(1.05)!important;
}

/* Subcategory filter pills and editor controls */
.filter,
.button,
.v10-page-tools button,
.review-actions button,
.card-review-controls button,
.v10-mini,
.v10-change-cover,
.manage-dialog button,
.lightbox-bottom .button,
.menu-toggle{
  transition:
    transform .18s ease,
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    text-shadow .18s ease!important;
}
.filter:hover,
.filter:focus-visible,
.button:hover,
.button:focus-visible,
.v10-page-tools button:hover,
.v10-page-tools button:focus-visible,
.review-actions button:hover,
.review-actions button:focus-visible,
.card-review-controls button:hover,
.card-review-controls button:focus-visible,
.v10-mini:hover,
.v10-mini:focus-visible,
.v10-change-cover:hover,
.v10-change-cover:focus-visible,
.manage-dialog button:hover,
.manage-dialog button:focus-visible,
.lightbox-bottom .button:hover,
.lightbox-bottom .button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible{
  color:#fff0b8!important;
  border-color:#e1bf69!important;
  background:linear-gradient(120deg,rgba(29,56,122,.92),rgba(18,22,38,.96))!important;
  box-shadow:
    0 0 0 1px rgba(228,195,111,.16),
    0 0 14px var(--mi-blue-soft),
    0 0 24px var(--mi-gold-soft)!important;
  text-shadow:
    0 0 7px rgba(86,126,255,.45),
    0 0 10px rgba(230,195,111,.28)!important;
  transform:translateY(-1px);
}

/* Active/current subcategory gets a persistent illuminated state */
.filter.active{
  border-color:#d9ba6e!important;
  box-shadow:
    0 0 12px rgba(82,123,255,.22),
    0 0 20px rgba(230,195,111,.18)!important;
}

/* Top navigation and all simple text links */
.nav-links a,
.category-bottom a,
.footer-links a,
.brand,
a[href].project-link{
  transition:
    color .18s ease,
    text-shadow .18s ease,
    filter .18s ease!important;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.category-bottom a:hover,
.category-bottom a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.brand:hover,
.brand:focus-visible,
a[href].project-link:hover,
a[href].project-link:focus-visible{
  color:#f6dda0!important;
  text-shadow:
    0 0 8px var(--mi-blue-glow),
    0 0 13px var(--mi-gold-glow)!important;
  filter:drop-shadow(0 0 7px rgba(86,126,255,.32));
}
.nav-links a:hover:after,
.nav-links a:focus-visible:after{
  background:linear-gradient(90deg,transparent,#6f92ff,#f0d98d,#6f92ff,transparent)!important;
  box-shadow:0 0 10px rgba(92,132,255,.58);
}

/* Inputs/selects also light when the user interacts with them */
.search-box input,
.contact-form input,
.contact-form textarea,
.manage-dialog input,
.manage-dialog select,
.manage-dialog textarea{
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease!important;
}
.search-box input:hover,
.search-box input:focus,
.contact-form input:hover,
.contact-form input:focus,
.contact-form textarea:hover,
.contact-form textarea:focus,
.manage-dialog input:hover,
.manage-dialog input:focus,
.manage-dialog select:hover,
.manage-dialog select:focus,
.manage-dialog textarea:hover,
.manage-dialog textarea:focus{
  border-color:#d7b969!important;
  box-shadow:
    0 0 0 1px rgba(215,185,105,.12),
    0 0 14px rgba(82,123,255,.22),
    0 0 20px rgba(215,185,105,.13)!important;
}

/* Lightbox arrows / close and any other explicit interactive control */
#light-close,
#light-prev,
#light-next,
#desktop-editor-bar button{
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    background .18s ease!important;
}
#light-close:hover,
#light-close:focus-visible,
#light-prev:hover,
#light-prev:focus-visible,
#light-next:hover,
#light-next:focus-visible,
#desktop-editor-bar button:hover,
#desktop-editor-bar button:focus-visible{
  border-color:#e1bf69!important;
  color:#fff0b8!important;
  box-shadow:
    0 0 14px rgba(82,123,255,.35),
    0 0 24px rgba(230,195,111,.22)!important;
  text-shadow:0 0 8px rgba(86,126,255,.38);
  transform:translateY(-1px);
}

/* Keyboard accessibility uses the same illuminated language */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:1px solid rgba(238,211,142,.85);
  outline-offset:3px;
}

/* Keep the effect polished on touch devices where hover is not meaningful */
@media (hover:none){
  .world:hover,
  .render-button:hover,
  .filter:hover,
  .button:hover,
  .nav-links a:hover{
    transform:none;
  }
}


/* BRIGHTER BACKLIT TILE EFFECT */
.world,
.render-button{
  overflow:hidden;
  isolation:isolate;
}

/* soft backlight always present */
.world::selection,
.render-button::selection{background:transparent}

.world::before{
  opacity:.95!important;
}
.world::after{
  background:
    linear-gradient(180deg,transparent 8%,rgba(4,7,16,.10) 40%,rgba(4,7,16,.92) 100%),
    radial-gradient(circle at 50% 55%,rgba(94,132,255,.22) 0%,rgba(94,132,255,.12) 28%,rgba(230,195,111,.14) 58%,rgba(230,195,111,0) 84%)!important;
}

/* create a stronger internal glow layer */
.world::marker{color:transparent}
.world .world-content,
.render-button .render-image{
  position:relative;
  z-index:3;
}
.world::before,
.world::after{
  z-index:2;
}

/* stronger "backlit sign" hover */
.world:hover,
.world:focus-visible{
  box-shadow:
    0 0 0 1px rgba(235,205,123,.34),
    0 0 26px rgba(95,133,255,.38),
    0 0 48px rgba(95,133,255,.26),
    0 0 78px rgba(232,197,114,.28),
    inset 0 0 42px rgba(95,133,255,.18),
    inset 0 0 92px rgba(232,197,114,.12)!important;
}
.world:hover::after,
.world:focus-visible::after{
  background:
    linear-gradient(180deg,transparent 0%,rgba(4,7,16,.05) 28%,rgba(4,7,16,.88) 100%),
    radial-gradient(circle at 50% 52%,rgba(98,136,255,.42) 0%,rgba(98,136,255,.26) 20%,rgba(98,136,255,.12) 38%,rgba(233,198,115,.26) 56%,rgba(233,198,115,.10) 72%,rgba(233,198,115,0) 88%)!important;
}
.world:hover .world-image,
.world:focus-visible .world-image{
  filter:brightness(1.12) saturate(1.08)!important;
}

/* extra halo behind the image */
.world:hover::before,
.world:focus-visible::before{
  background:linear-gradient(120deg,#f1da90,transparent 22%,transparent 62%,#5a83ff) border-box!important;
  filter:
    drop-shadow(0 0 10px rgba(95,133,255,.95))
    drop-shadow(0 0 18px rgba(95,133,255,.55))
    drop-shadow(0 0 16px rgba(233,198,115,.50))
    drop-shadow(0 0 30px rgba(233,198,115,.24))!important;
}

/* project/image tiles get a brighter backlit sign feel too */
.render-button{
  background:
    radial-gradient(circle at 50% 48%,rgba(95,133,255,.10),rgba(95,133,255,0) 42%),
    radial-gradient(circle at 50% 65%,rgba(232,197,114,.08),rgba(232,197,114,0) 55%),
    #000!important;
}
.render-button:hover,
.render-button:focus-visible{
  box-shadow:
    0 0 0 1px rgba(235,205,123,.24),
    0 0 20px rgba(95,133,255,.28),
    0 0 42px rgba(232,197,114,.20),
    inset 0 0 28px rgba(95,133,255,.12),
    inset 0 0 56px rgba(232,197,114,.08)!important;
}
.render-button::before{
  content:'';
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(circle at 50% 50%,rgba(95,133,255,.18) 0%,rgba(95,133,255,.08) 22%,rgba(95,133,255,0) 54%),
    radial-gradient(circle at 50% 62%,rgba(232,197,114,.14) 0%,rgba(232,197,114,.08) 26%,rgba(232,197,114,0) 56%);
  opacity:0;
  transition:opacity .24s ease;
  z-index:1;
  pointer-events:none;
}
.render-button:hover::before,
.render-button:focus-visible::before{
  opacity:1;
}
.render-button .render-image{
  z-index:2;
}
.render-button .watermark{
  z-index:3;
}


/* MAXIMIZE INDIVIDUAL IMAGE VIEWING SIZE */
.lightbox{
  width:calc(100vw - 16px)!important;
  height:calc(100dvh - 16px)!important;
  max-width:none!important;
}
.lightbox-shell{
  grid-template-rows:auto minmax(0,1fr) auto!important;
}
.lightbox-toolbar{
  padding:10px 14px!important;
  gap:12px!important;
}
.lightbox-toolbar h2{
  font-size:16px!important;
}
.lightbox-toolbar .label{
  font-size:8px!important;
  margin-top:2px!important;
}
.lightbox-close{
  width:36px!important;
  height:36px!important;
  font-size:22px!important;
}
.lightbox-stage{
  padding:8px 42px!important;
  min-height:0!important;
}
.lightbox-picture{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
}
.lightbox-picture > img:first-child{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
}
.lightbox-picture .watermark{
  width:clamp(40px,6vw,88px)!important;
  right:1.2%!important;
  bottom:1.8%!important;
}
.lightbox-step{
  width:42px!important;
  height:60px!important;
  font-size:30px!important;
  background:#0a1222d8!important;
}
.lightbox-prev{left:6px!important}
.lightbox-next{right:6px!important}
.lightbox-bottom{
  padding:10px 14px!important;
  gap:14px!important;
}
.lightbox-bottom .image-caption{
  font-size:10px!important;
  line-height:1.35!important;
}
.lightbox-bottom .button{
  font-size:10px!important;
  padding:7px 12px!important;
}
.lightbox-bottom p{
  font-size:9px!important;
  margin-top:3px!important;
}

/* Make gallery thumbnail frames feel fuller too */
.render-button{
  background:#000!important;
}
.render-image{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* On small laptop windows, squeeze chrome even more so the image dominates */
@media (max-width: 1100px){
  .lightbox{width:calc(100vw - 8px)!important;height:calc(100dvh - 8px)!important}
  .lightbox-stage{padding:6px 34px!important}
  .lightbox-toolbar{padding:8px 12px!important}
  .lightbox-bottom{padding:8px 12px!important}
}


/* Preserve every gallery image without cropping. */
.render-image{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}

/* Homepage: only zoom OUT Yacht Design and Architecture.
   Do not change Aerospace, Fashion, or Other Projects selections. */
.world[href="#yacht-design"] .world-image,
.world[href="#architecture"] .world-image{
  object-fit:contain!important;
  object-position:center center!important;
  width:calc(100% - 24px)!important;
  height:calc(100% - 24px)!important;
  left:12px!important;
  top:12px!important;
}

/* Keep the hover motion restrained on the two contain-fit cards so bow/stern/building edges stay visible. */
.world[href="#yacht-design"]:hover .world-image,
.world[href="#architecture"]:hover .world-image{
  transform:scale(1.015)!important;
}

/* Never render a broken image as an unexplained black tile. */
.render-image[data-malachi-image-error="true"]{
  opacity:.18!important;
}
.malachi-missing-image-note{
  position:absolute;
  inset:0;
  z-index:25;
  display:grid;
  place-items:center;
  padding:18px;
  text-align:center;
  font:700 12px/1.35 system-ui,sans-serif;
  color:#f2dda0;
  background:linear-gradient(135deg,#091226,#05070c);
  border:1px solid #8b6d2d;
}


/* CLEAR HOMEPAGE IMAGES — remove haze/overlay from the tiles */
.world::after{
  content:''!important;
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:0!important;
  background:none!important;
  opacity:0!important;
  filter:none!important;
  box-shadow:none!important;
  pointer-events:none!important;
}

/* Keep the image itself clean at all times */
.world .world-image{
  filter:none!important;
  opacity:1!important;
}

/* On hover: zoom only. Do NOT brighten, tint, haze, or wash over the image. */
.world:hover .world-image,
.world:focus-visible .world-image{
  filter:none!important;
  opacity:1!important;
  transform:scale(1.07)!important;
}

/* Yacht + Architecture start zoomed out so the entire subject fits,
   but now they zoom on hover the same way as the other homepage tiles. */
.world[href="#yacht-design"] .world-image,
.world[href="#architecture"] .world-image{
  object-fit:contain!important;
  object-position:center center!important;
  width:calc(100% - 24px)!important;
  height:calc(100% - 24px)!important;
  left:12px!important;
  top:12px!important;
  filter:none!important;
}
.world[href="#yacht-design"]:hover .world-image,
.world[href="#yacht-design"]:focus-visible .world-image,
.world[href="#architecture"]:hover .world-image,
.world[href="#architecture"]:focus-visible .world-image{
  transform:scale(1.07)!important;
  filter:none!important;
}

/* Backlit-sign effect ONLY around the tile perimeter */
.world{
  box-shadow:
    0 0 18px rgba(82,123,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.015)!important;
}
.world:hover,
.world:focus-visible{
  border-color:#e5c574!important;
  box-shadow:
    0 0 0 1px rgba(229,197,116,.32),
    0 0 16px rgba(84,124,255,.52),
    0 0 32px rgba(84,124,255,.32),
    0 0 48px rgba(229,197,116,.28),
    0 0 72px rgba(229,197,116,.16)!important;
}

/* The border itself gets the blue/gold illumination;
   no internal glow is placed over the picture. */
.world::before{
  opacity:.78!important;
  filter:none!important;
  transition:opacity .22s ease,filter .22s ease,background .22s ease!important;
}
.world:hover::before,
.world:focus-visible::before{
  opacity:1!important;
  background:
    linear-gradient(120deg,#f0d98e,transparent 23%,transparent 64%,#5c83ff) border-box!important;
  filter:
    drop-shadow(0 0 7px rgba(92,131,255,.90))
    drop-shadow(0 0 13px rgba(92,131,255,.48))
    drop-shadow(0 0 11px rgba(240,217,142,.44))!important;
}

/* Preserve text readability without placing a haze over the photograph */
.world-content{
  background:none!important;
}
.world-content .label,
.world-content h2,
.world-content p,
.world-counter,
.world-open{
  text-shadow:
    0 2px 5px rgba(0,0,0,.95),
    0 0 10px rgba(0,0,0,.82)!important;
}
.world-counter{
  background:rgba(3,6,13,.72)!important;
}
.world-open{
  background:rgba(3,6,13,.46)!important;
}


/* Stronger homepage hover zoom */
.world .world-image{
  transition:transform .42s ease!important;
}

.world:hover .world-image,
.world:focus-visible .world-image{
  transform:scale(1.14)!important;
}

.world[href="#yacht-design"]:hover .world-image,
.world[href="#yacht-design"]:focus-visible .world-image,
.world[href="#architecture"]:hover .world-image,
.world[href="#architecture"]:focus-visible .world-image{
  transform:scale(1.14)!important;
}


/* Official Malachi Innovations website typeface */
@font-face{
  font-family:"Good Times RG";
  src:
    local("Good Times Rg"),
    local("Good Times RG"),
    local("Good Times"),
    local("GoodTimesRg-Regular");
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
}

:root{
  --head:"Good Times RG","Good Times Rg","Good Times","Trebuchet MS",Arial,sans-serif!important;
  --body:"Good Times RG","Good Times Rg","Good Times","Trebuchet MS",Arial,sans-serif!important;
}

/* Use bold Good Times RG throughout the entire website */
html,
body,
body *,
button,
input,
select,
textarea,
a,
p,
span,
div,
label,
small,
strong,
b,
h1,h2,h3,h4,h5,h6,
figcaption,
option{
  font-family:"Good Times RG","Good Times Rg","Good Times","Trebuchet MS",Arial,sans-serif!important;
  font-weight:700!important;
}

/* Good Times is naturally wide, so keep navigation and small controls readable */
.nav-links,
.nav-links a,
.filter,
.button,
.v10-page-tools button,
.review-actions button,
#desktop-editor-bar button,
.world-content .label,
.world-counter,
.eyebrow{
  letter-spacing:.045em!important;
}

p,
.image-caption,
.project-label,
.world-content p,
.contact-detail,
.prose{
  letter-spacing:.015em!important;
}

/* Preserve headline scale while giving the futuristic font room */
h1,h2,h3{
  letter-spacing:.005em!important;
  line-height:1.18!important;
}

/* Avoid text clipping in buttons with the wider typeface */
button,
.button,
.filter{
  white-space:normal;
}


/* Homepage category titles at bottom */
.world-content{top:auto!important;bottom:22px!important;left:22px!important;right:22px!important;z-index:8!important}
.world-content h2{margin:7px 0 7px!important}.world-content p{margin:0!important}

/* Clear images + edge-only backlight */
.world::after{content:''!important;position:absolute!important;inset:auto 0 0 0!important;height:0!important;background:none!important;opacity:0!important;box-shadow:none!important}
.world .world-image{filter:none!important;opacity:1!important;transition:transform .42s ease!important}
.world:hover .world-image,.world:focus-visible .world-image{transform:scale(1.14)!important;filter:none!important}
.world:hover,.world:focus-visible{border-color:#e5c574!important;box-shadow:0 0 0 1px rgba(229,197,116,.30),0 0 18px rgba(84,124,255,.56),0 0 36px rgba(84,124,255,.34),0 0 54px rgba(229,197,116,.28),0 0 78px rgba(229,197,116,.15)!important}
.world:hover::before,.world:focus-visible::before{opacity:1!important;background:linear-gradient(120deg,#f0d98e,transparent 23%,transparent 64%,#5c83ff) border-box!important;filter:drop-shadow(0 0 8px rgba(92,131,255,.92)) drop-shadow(0 0 14px rgba(92,131,255,.46)) drop-shadow(0 0 12px rgba(240,217,142,.42))!important}
.world-counter{background:rgba(3,6,13,.76)!important}.world-open{background:rgba(3,6,13,.54)!important}

/* Preserve full Yacht + Architecture images and give them the same hover zoom */
.world[href="#yacht-design"] .world-image,.world[href="#architecture"] .world-image{object-fit:contain!important;object-position:center center!important;width:calc(100% - 24px)!important;height:calc(100% - 24px)!important;left:12px!important;top:12px!important}
.world[href="#yacht-design"]:hover .world-image,.world[href="#yacht-design"]:focus-visible .world-image,.world[href="#architecture"]:hover .world-image,.world[href="#architecture"]:focus-visible .world-image{transform:scale(1.14)!important}

/* About profile */
.about-profile{border:1px solid var(--line);background:linear-gradient(145deg,#081226,#03060c);padding:14px;box-shadow:0 0 38px rgba(59,91,194,.16)}
.about-profile-frame{aspect-ratio:4/5;overflow:hidden;background:#000;border:1px solid rgba(217,186,110,.34)}
.about-profile-frame img{width:100%;height:100%;object-fit:cover;object-position:center 23%;display:block}
.about-profile-caption{padding:15px 5px 4px;display:grid;gap:4px}
.about-profile-caption strong{font-size:18px;color:#efd798}.about-profile-caption span{font-size:10px;letter-spacing:.12em;color:#c8d0e2}.about-profile-caption small{font-size:9px;color:#8290aa}

/* Fashion integration */
.category-title-line{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}.category-title-line h1{margin-bottom:0!important}
.fashion-heading-link{display:inline-flex;align-items:center;margin-bottom:6px;padding:9px 13px;border:1px solid rgba(218,187,109,.58);background:#0a1429;color:#f1d99e!important;font-size:10px;letter-spacing:.05em;box-shadow:0 0 18px rgba(66,102,211,.12)}
.fashion-heading-link:hover{border-color:#e1c16f;box-shadow:0 0 18px rgba(82,123,255,.38),0 0 26px rgba(225,193,111,.22)}
.fashion-story{margin:0 0 30px;padding:28px;border:1px solid #29395d;background:linear-gradient(135deg,rgba(15,27,56,.84),rgba(5,8,15,.90));display:grid;grid-template-columns:1fr 1.35fr;gap:34px}
.fashion-story h2{font-size:30px;margin:10px 0 14px}.fashion-story p{font-size:12px}
.fashion-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.fashion-story-grid article{padding:16px;border:1px solid #263859;background:#070d18c7}.fashion-story-grid h3{font-size:15px;margin-bottom:8px;color:#ead39a}.fashion-story-grid p{font-size:10px;margin:0}
.milestone-feature{border-color:#806b39!important;box-shadow:0 0 30px rgba(82,123,255,.10)}

/* Keep gallery images intact */
.render-image{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}

/* Section atmosphere canvas */
#malachi-world-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:.72}
.ambient{z-index:0!important}header,main,footer{position:relative;z-index:2!important}

@media(max-width:900px){.fashion-story{grid-template-columns:1fr}.fashion-story-grid{grid-template-columns:1fr}}


/* 1) Header scrolls normally with the page */
.site-header{
  position:relative!important;
  top:auto!important;
}

/* 2) Homepage category name is locked to the very bottom of each square */
.world-content{
  position:absolute!important;
  top:auto!important;
  left:14px!important;
  right:14px!important;
  bottom:10px!important;
  z-index:20!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  padding:0!important;
  pointer-events:none!important;
}
.world-content .label,
.world-content p,
.world-content .world-open{
  display:none!important;
}
.world-content h2{
  margin:0!important;
  padding:8px 12px 7px!important;
  max-width:calc(100% - 4px)!important;
  font-size:clamp(18px,2vw,29px)!important;
  line-height:1.05!important;
  color:#fff6dc!important;
  background:rgba(2,5,12,.64)!important;
  border-left:2px solid #e1bf69!important;
  border-bottom:1px solid rgba(94,131,255,.62)!important;
  box-shadow:
    0 0 14px rgba(0,0,0,.72),
    0 0 16px rgba(71,109,228,.14)!important;
  text-shadow:
    0 2px 6px rgba(0,0,0,.98),
    0 0 8px rgba(0,0,0,.82)!important;
}

/* 3) Keep all five hover zooms equally strong */
.world:hover .world-image,
.world:focus-visible .world-image,
.world[href="#yacht-design"]:hover .world-image,
.world[href="#yacht-design"]:focus-visible .world-image,
.world[href="#architecture"]:hover .world-image,
.world[href="#architecture"]:focus-visible .world-image{
  transform:scale(1.14)!important;
}

/* Keep Yacht Design + Architecture framed wide at rest */
.world[href="#yacht-design"] .world-image,
.world[href="#architecture"] .world-image{
  object-fit:contain!important;
  object-position:center center!important;
  width:calc(100% - 24px)!important;
  height:calc(100% - 24px)!important;
  left:12px!important;
  top:12px!important;
}

/* 4) Backlight only around the tile edges, never over the image */
.world::after{
  display:none!important;
}
.world .world-image{
  filter:none!important;
  opacity:1!important;
}
.world:hover .world-image,
.world:focus-visible .world-image{
  filter:none!important;
  opacity:1!important;
}
.world:hover,
.world:focus-visible{
  box-shadow:
    0 0 0 1px rgba(235,204,120,.38),
    0 0 22px rgba(94,132,255,.72),
    0 0 45px rgba(94,132,255,.42),
    0 0 70px rgba(235,204,120,.28)!important;
}

/* Stronger background visibility */
#malachi-world-canvas{
  opacity:.96!important;
}

/* Published visitor presentation */
body{padding-bottom:0!important}.review-badge,.review-tools,.card-review-controls,.v10-page-tools,.v10-change-cover{display:none!important}.render-card{user-select:auto}.project-folder-filter{cursor:pointer!important}.lightbox-picture img{max-width:100%;max-height:calc(100dvh - 210px)}
