
:root{--ink:#101c2a;--navy:#0c1421;--panel:#152336;--slate:#243247;--muted:#526478;--line:#dce4ed;--paper:#f7f9fc;--white:#fff;--teal:#32c9b5;--tealdark:#08796e;--space:clamp(24px,5vw,72px);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;font:16px/1.65 'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button,a{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #1fae9d;outline-offset:5px}button{font:inherit;cursor:pointer}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(44px,6.2vw,80px);font-weight:720}h2{font-size:clamp(32px,4vw,49px);font-weight:700}h3{font-size:25px;font-weight:670}p{color:var(--muted)}.shell{max-width:1220px;margin:0 auto;padding:0 var(--space)}.wide{max-width:1440px}.eyebrow{font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:750;color:var(--tealdark);margin-bottom:14px}.dark .eyebrow{color:var(--teal)}.dark{background:var(--navy);color:#f7f9fc}.dark p{color:#afbdcd}.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:12px;z-index:100;background:white;padding:10px}.header{position:sticky;top:0;z-index:20;background:var(--navy);border-bottom:1px solid #253345;color:#fff}.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-weight:740;letter-spacing:.12em;font-size:20px}.brand-mark{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:var(--teal);color:var(--navy);letter-spacing:-.065em;font-size:17px}.nav{display:flex;align-items:center;gap:24px;font-size:13px;color:#c4cfdb;font-weight:550}.nav a:hover,.nav a:focus-visible{color:var(--teal)}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:10px 19px;border-radius:9px;font-weight:650;font-size:14px;line-height:1.4;border:1px solid transparent;transition:background .16s,transform .16s}.button:hover{transform:translateY(-2px)}.primary{background:var(--teal);color:#092521}.primary:hover{background:#70e1d2}.outline{border-color:#506176;color:#f7f9fc;background:transparent}.outline:hover{background:#1a2b40}.light-outline{border-color:#bccbd7;color:var(--ink);background:transparent}.light-outline:hover{background:#ecf3f7}.menu-toggle{display:none;background:transparent;border:1px solid #536178;color:#fff;border-radius:7px;padding:6px 12px}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 83% 37%,#173448 0%,#0e1d2c 36%,#0c1421 67%)}.hero-layout{display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:50px;padding-top:85px;padding-bottom:79px}.hero h1 span{color:var(--teal)}.hero-copy{max-width:650px}.hero-copy p{font-size:18px;line-height:1.75;max-width:495px;margin:23px 0 28px}.actions{display:flex;flex-wrap:wrap;gap:12px}.hero-art{min-width:0;position:relative}.hero-art svg{width:100%;height:auto;display:block}.hero-art .art-caption{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8fa4b9;text-align:right;margin-top:8px}.hero-foot{border-top:1px solid #29394b}.hero-foot .shell{display:flex;align-items:center;gap:32px;flex-wrap:wrap;padding-top:17px;padding-bottom:17px;font-size:12px;color:#acbac9}.hero-foot strong{font-size:11px;letter-spacing:.12em;color:#f0f4f8;text-transform:uppercase}.tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--teal);margin-right:8px}.section{padding:80px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px}.section-head p{max-width:410px;font-size:15px}.software-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.project{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 35px #12283b07;display:flex;flex-direction:column}.project-visual{height:242px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#e9eff2;padding:24px}.project-visual svg{width:100%;height:100%;display:block}.counter-visual{background:#dceae9}.project-visual .demo-label{position:absolute;right:13px;bottom:10px;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#475d6a;background:#ffffffc9;padding:3px 7px;border-radius:4px}.project-body{padding:27px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:var(--tealdark)}.meta span+span:before{content:'·';margin-right:8px;color:#93a2ae}.project-body p{margin:12px 0 19px;font-size:15px;flex:1}.project-body details{width:100%;border-top:1px solid #e5e9ee;padding-top:13px}.project-body summary{list-style:none;cursor:pointer;color:var(--tealdark);font-weight:700;font-size:14px}.project-body summary::-webkit-details-marker{display:none}.project-body summary:after{content:' +';float:right}.project-body details[open] summary:after{content:' −'}.project-body details p{font-size:14px;margin:12px 0 0}.project-body details ul{margin:12px 0;padding-left:20px;font-size:14px;color:var(--muted)}.pending{display:inline-block;font-size:12px;color:#697887;margin-top:10px}.tech{background:#edf2f6;border-top:1px solid #e2e9f0;border-bottom:1px solid #e2e9f0}.tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.tech-card{background:white;border:1px solid #dce4ed;border-radius:15px;padding:26px 26px 28px;display:grid;grid-template-columns:57px 1fr;gap:18px;align-items:start}.tech-card h3{font-size:22px;margin-bottom:8px}.iconbox{width:55px;height:55px;display:grid;place-items:center;background:#e4f6f3;color:#08796e;border-radius:12px}.iconbox svg{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.tech-card p{font-size:14px}.tech-card .meta{margin-top:13px;margin-bottom:0}.gallery{background:#132131;color:#f7f9fc}.gallery .section-head p{color:#afbdcd}.gallery-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:15px}.photo-slot{aspect-ratio:1.25;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:linear-gradient(145deg,#24384b,#1a2b3d);border:1px dashed #53687c;border-radius:12px;text-align:center;color:#aab8c6;padding:12px}.photo-slot:first-child{aspect-ratio:auto}.photo-slot svg{width:31px;height:31px;stroke:#8ca6b6;fill:none;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.photo-slot strong{color:#dbe5ef;font-size:14px}.photo-slot span{font-size:12px}.gallery-note{margin-top:18px;font-size:13px!important}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.book-card{padding:24px;display:grid;grid-template-columns:128px 1fr;gap:23px;background:#fff;border:1px solid var(--line);border-radius:15px;align-items:center}.book-placeholder{height:177px;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px dashed #a5b8c5;color:#536a7b;background:#edf3f6;text-align:center;padding:8px;font-size:11px}.book-placeholder svg{width:31px;height:31px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linejoin:round}.book-card h3{font-size:21px}.book-card p{font-size:14px;margin:10px 0 13px}.textlink{color:var(--tealdark);font-weight:700;font-size:14px}.textlink:hover{text-decoration:underline}.store-note{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#e7f1f1;border:1px solid #c9dfde;border-radius:15px;padding:25px 28px;margin-top:25px}.store-note h3{font-size:19px;margin-bottom:6px}.store-note p{font-size:14px;max-width:720px}.store-note .tag{color:#405f60;border:1px solid #a7c4c3;border-radius:30px;padding:5px 11px;font-size:11px;white-space:nowrap;text-transform:uppercase;font-weight:700;letter-spacing:.05em}.about{border-top:1px solid var(--line);background:white}.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:75px;align-items:start}.about-copy p{margin-bottom:16px}.about-copy .textlink{display:inline-block;margin-top:6px}.contact{background:#0e1c2b;color:white;padding:62px 0}.contact-row{display:flex;justify-content:space-between;align-items:center;gap:28px}.contact p{margin-top:12px;color:#acbdcd}.footer{background:var(--navy);color:#aebac9;border-top:1px solid #263647;padding:29px 0;font-size:12px}.footer-flex{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.footer a:hover{text-decoration:underline}.footer small{font-size:12px}.nav-contact{display:none}.nav-shop{display:none}
@media(max-width:1050px){.nav{gap:15px}.header-inner{gap:15px}.hero-layout{gap:26px}.book-card{grid-template-columns:96px 1fr;gap:15px}.book-placeholder{height:145px}.header .button{padding:9px 13px}}
@media(max-width:820px){.header-inner{height:66px}.menu-toggle{display:block}.header>.shell>.button{display:none}.nav{display:none;position:absolute;top:65px;left:0;right:0;background:var(--navy);border-bottom:1px solid #29394b;padding:22px var(--space);flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{padding:10px 0}.nav-contact{display:block}.hero-layout{grid-template-columns:1fr;padding-top:62px;padding-bottom:45px;gap:30px}.hero-art{max-width:520px;width:100%;margin:0 auto}.hero-art .art-caption{text-align:center}.hero-copy p{font-size:16px}.section{padding:57px 0}.section-head{display:block;margin-bottom:25px}.section-head p{margin-top:13px}.software-grid,.tech-grid,.book-grid{gap:15px}.project-visual{height:190px;padding:15px}.project-body{padding:20px}.tech-card{display:block;padding:20px}.tech-card .iconbox{margin-bottom:17px}.gallery-grid{gap:9px}.photo-slot strong{font-size:12px}.photo-slot span{font-size:10px}.book-card{display:block;padding:19px}.book-placeholder{width:93px;height:130px;margin-bottom:17px}.about-grid{gap:30px}.contact-row{align-items:start}}
@media(max-width:560px){.shell{padding-right:21px;padding-left:21px}.hero-layout{padding-top:54px}.hero-foot .shell{gap:10px 20px;font-size:11px}.hero-foot strong{width:100%}.software-grid,.tech-grid,.book-grid,.about-grid{grid-template-columns:1fr;gap:17px}.project-visual{height:220px}.gallery-grid{grid-template-columns:1fr 1fr}.photo-slot:first-child{grid-column:span 2;min-height:185px}.photo-slot{min-height:125px}.book-card{display:grid;grid-template-columns:92px 1fr;gap:15px}.book-placeholder{width:100%;height:140px;margin:0}.book-card h3{font-size:20px}.store-note{align-items:flex-start;flex-direction:column;padding:21px}.contact-row{flex-direction:column}.footer-flex{align-items:flex-start;flex-direction:column}.brand{font-size:18px}.hero h1{font-size:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.nav a[aria-current=page]{color:var(--teal)}.page-hero{padding:70px 0 66px;background:radial-gradient(ellipse at 88% 18%,#173448,#0c1421 68%)}.page-hero h1{font-size:clamp(42px,5vw,66px);max-width:900px}.page-hero p{margin-top:19px;font-size:18px;max-width:730px}.crumb{font-size:12px;color:#a8b9c9;margin-bottom:25px;display:flex;gap:9px}.crumb a:hover{color:var(--teal)}.section-more{margin-top:25px}.dark .textlink{color:var(--teal)}.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.video-card{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden;display:flex;flex-direction:column}.video-card h3{font-size:22px}.video-thumb,.video-player{width:100%;aspect-ratio:16/9;background:radial-gradient(ellipse at 60% 40%,#29475a,#132131 72%);color:#bbd0db;display:grid;place-content:center;text-align:center;gap:12px;position:relative}.video-thumb svg{width:48px;height:48px;margin:auto;fill:none;stroke:var(--teal);stroke-width:1.5}.video-thumb span{font-size:12px;letter-spacing:.06em}.video-player{display:block;border:0}.video-card .project-body{padding:23px}.video-card .project-body p{margin-bottom:0}.feature-video{display:grid;grid-template-columns:1.5fr 1fr;gap:30px;align-items:center;margin-bottom:45px}.feature-video .video-thumb{border-radius:15px}.feature-video p{margin:14px 0}.feature-video h2{font-size:clamp(28px,4vw,40px)}.detail-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:34px;align-items:start}.detail-grid .project-visual{height:clamp(220px,33vw,350px);border:1px solid var(--line);border-radius:var(--radius)}.detail-copy p{margin:13px 0}.detail-copy ul{color:var(--muted);padding-left:20px}.section-subtitle{margin:0 0 20px}.info-box{margin-top:25px;background:#e7f1f1;border:1px solid #c9dfde;border-radius:12px;padding:20px 23px}.info-box p{font-size:14px}.photo-page .photo-slot{min-height:220px;aspect-ratio:1.35}.photo-page .photo-slot:first-child{aspect-ratio:1.35}.photo-page .gallery-grid{grid-template-columns:repeat(3,1fr)}.contact-panel{max-width:760px;background:white;border:1px solid var(--line);padding:32px;border-radius:var(--radius)}.contact-panel p{margin:13px 0 20px}.page-main{min-height:65vh}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.project-body .textlink{margin-top:10px}.home-about .about-copy p{margin-bottom:12px}.section-head .textlink{white-space:nowrap}.video-home{background:#edf2f6}.video-home .video-grid{grid-template-columns:repeat(2,1fr)}
@media(max-width:1050px){.header-inner{gap:12px}.nav{gap:13px}}@media(max-width:930px){.header-inner{height:66px}.menu-toggle{display:block}.header>.shell>.button{display:none}.nav{display:none;position:absolute;top:65px;left:0;right:0;background:var(--navy);border-bottom:1px solid #29394b;padding:22px var(--space);flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{padding:10px 0}.nav-contact{display:block}}
@media(max-width:820px){.page-hero{padding:53px 0}.feature-video,.detail-grid{grid-template-columns:1fr;gap:22px}.video-grid{grid-template-columns:repeat(2,1fr)}.photo-page .gallery-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.video-grid,.video-home .video-grid,.photo-page .gallery-grid{grid-template-columns:1fr}.photo-page .photo-slot:first-child{grid-column:auto}.page-hero p{font-size:16px}.contact-panel{padding:23px}.page-hero h1{font-size:42px}}

/* Book Cover Images */

.book-cover {
    display: block;
    width: 100%;
    max-width: 128px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


/* ========================================
   BOOK COVER IMAGE FIX
   ======================================== */

.book-card {
    grid-template-columns: 128px minmax(0, 1fr);
}

.book-card > img.book-cover {
    display: block;
    width: 100%;
    max-width: 128px;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Smaller screens */
@media (max-width: 1050px) {
    .book-card > img.book-cover {
        max-width: 96px;
    }
}

/* Mobile phones */
@media (max-width: 560px) {
    .book-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .book-card > img.book-cover {
        max-width: 92px;
    }
}
