/*
Theme Name: Sam H. Baboli
Theme URI: https://sam-baboli-data-ai.gabledjaguar2.chatgpt.site/
Author: Sam H. Baboli
Description: The Sam H. Baboli portfolio redesign adapted as a WordPress theme.
Version: 1.0.1
Requires PHP: 7.4
Text Domain: sam-baboli
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');
:root{--aqua:#eaf8f9;--teal:#3ca6b4;--teal-deep:#23818e;--ink:#172332;--body:#39434d;--line:#dce9ea;--serif:'Libre Baskerville',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--body);font:16px/1.7 var(--sans);background:#fff}img{max-width:100%;display:block}button,a{outline-offset:3px}a{color:inherit;text-decoration:none}a:hover{color:var(--teal-deep)}button{font:inherit;cursor:pointer}.container{width:min(1110px,calc(100% - 48px));margin:auto}.skip-link{position:absolute;top:-80px;left:10px;z-index:100;padding:10px;background:white}.skip-link:focus{top:10px}
.site-header{background:var(--aqua)}.header-inner{min-height:94px;display:flex;align-items:center;gap:32px;justify-content:space-between}.signature{display:block;flex:0 0 auto}.signature img{width:100px;height:auto}.desktop-nav{display:flex;gap:32px;align-items:center;margin-left:auto}.desktop-nav a{color:#549ba4;font-size:16px;white-space:nowrap;transition:color .2s}.desktop-nav a:hover{color:#146574}.cv-button{background:var(--teal);color:white;border-radius:4px;padding:11px 22px;font-size:15px;white-space:nowrap;margin-left:auto;transition:background .2s}.cv-button:hover{background:#277f8b;color:white}.menu-toggle,.mobile-nav{display:none}
.hero{background:var(--aqua);overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.18fr .82fr;align-items:end;min-height:445px;gap:45px}.hero-copy{padding:18px 0 62px}.hero-name{font:700 21px/1.4 var(--serif);color:var(--teal);margin:0 0 10px}.hero h1{font:700 23px/1.5 var(--serif);color:var(--ink);margin:0 0 54px;letter-spacing:-.025em}.hero-copy>p:not(.hero-name){max-width:530px;font-size:15px;line-height:1.55;margin:0 0 17px}.hero-photo{align-self:end;display:flex;justify-content:center}.hero-photo img{width:min(100%,410px);height:auto;object-fit:contain}.social-link{display:inline-flex;align-items:center;gap:9px;color:var(--ink);font-size:13px;font-weight:700;margin-top:5px}.social-link svg{height:24px;width:24px}.social-link span{text-decoration:underline;text-decoration-color:var(--teal);text-underline-offset:4px}
.section{padding:88px 0}.section-head{text-align:center;max-width:850px;margin:0 auto 43px}.section-head h2{font:700 clamp(32px,3.1vw,43px)/1.3 var(--serif);color:var(--ink);letter-spacing:-.04em;margin:0 0 13px}.section-head p{font-size:16px;margin:0;color:#4b555e}.heading-line{display:block;width:95px;height:2px;background:var(--teal);margin:40px auto 0}.about-section{padding-top:95px}.journey-title{font:700 20px/1.5 var(--serif);color:var(--ink);margin:0 0 20px}.image-open{appearance:none;display:block;border:0;background:transparent;padding:0;text-align:inherit;cursor:zoom-in}.image-open:hover img{filter:brightness(.97)}.journey-image{width:100%;margin:0 auto 54px}.journey-image img{width:100%;height:auto}.story-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:57px}.story-card{background:#fff;border:1px solid #e8eeee;border-radius:10px;box-shadow:0 6px 26px rgba(30,73,80,.055);padding:29px 32px}.story-card h3,.story-feature h3,.drive-grid h3{font:700 20px/1.45 var(--serif);color:var(--ink);margin:0 0 18px}.story-card p{margin:0 0 15px}.story-card p:last-child{margin-bottom:0}.story-card strong,.story-feature strong{color:#186e7a}.story-feature{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;margin-bottom:32px}.feature-image{background:#f6faf9;padding:20px;border-radius:8px}.feature-image img{width:100%;height:auto}.small-label{font-size:12px;letter-spacing:.13em;color:var(--teal-deep);font-weight:700;margin:0 0 10px}.feature-copy p:not(.small-label),.drive-grid p:not(.small-label){margin:0 0 17px}.image-pair{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:67px}.image-pair button{width:100%;border:1px solid var(--line);padding:8px;border-radius:8px}.image-pair img{width:100%;height:210px;object-fit:contain}.drive-grid{display:grid;grid-template-columns:1fr .95fr;gap:55px;align-items:center}.drive-grid figure{margin:0}.drive-grid img{width:100%;border-radius:6px}.drive-grid figcaption{font-size:12px;color:#73818b;margin-top:8px}
.values-section{background:#fbfdfd}.mission-copy{text-align:center;max-width:790px;margin:-16px auto 44px}.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.value-card{border:1px solid var(--line);border-radius:9px;background:white;text-align:center;padding:33px 26px 28px;box-shadow:0 6px 24px rgba(35,86,93,.04)}.value-icon{width:68px;height:68px;border-radius:50%;background:#e7f6f6;color:var(--teal-deep);display:grid;place-items:center;margin:0 auto 22px}.value-icon svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.value-card h3{font:700 18px/1.4 var(--serif);color:var(--ink);margin:0 0 13px}.value-card p{font-size:14px;margin:0}.mindset{background:#5d646a;color:white;text-align:center;padding:78px 20px}.mindset .container{max-width:750px}.mindset-icon svg{width:58px;height:58px;fill:none;stroke:white;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.mindset h2{font:700 38px/1.3 var(--serif);margin:18px 0 16px;color:white}.mindset p{font-size:15px;line-height:1.8;margin:0}
.work-section{background:var(--aqua)}.work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.work-card{border:1px solid #e5eeee;border-radius:10px;padding:30px 32px;background:white;box-shadow:0 8px 24px rgba(36,91,100,.05);position:relative}.work-card:after{content:'';display:block;width:100%;height:3px;background:#e6f4f5;margin-top:27px}.work-years{color:var(--teal-deep);font-size:14px}.work-card h3{font:700 19px/1.4 var(--serif);color:var(--ink);margin:10px 0 14px}.work-card p{font-size:15px;line-height:1.72;margin:0}
.portfolio-section{background:#fff}.gallery{border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 8px 30px rgba(34,77,84,.055)}.gallery-top{display:flex;justify-content:space-between;gap:12px;padding:15px 23px;border-bottom:1px solid var(--line);color:var(--ink);font-size:14px;font-weight:700}.gallery-top span:last-child{color:var(--teal-deep)}.gallery-frame{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:570px;padding:12px 17px}.gallery-image{width:100%;display:flex;justify-content:center;align-items:center}.gallery-image img{width:100%;height:540px;object-fit:contain}.gallery-arrow{border:1px solid #d6e9eb;border-radius:50%;background:#fff;color:var(--teal-deep);height:36px;width:36px;display:grid;place-items:center}.gallery-arrow:hover{background:var(--aqua)}.gallery-arrow svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.gallery-bottom{display:flex;align-items:center;justify-content:center;gap:26px;padding:14px 20px 20px;border-top:1px solid var(--line);color:#78868c;font-size:12px}.gallery-dots{display:flex;gap:8px}.gallery-dots button{height:9px;width:9px;border-radius:50%;background:#c7d7da;border:0;padding:0}.gallery-dots button.active{background:var(--teal-deep);transform:scale(1.2)}
.feedback-section{background:#f7fbfb}.feedback-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feedback-grid blockquote{margin:0;padding:29px;border-radius:9px;border:1px solid var(--line);background:white;display:flex;flex-direction:column}.feedback-grid img{width:56px;height:56px;object-fit:cover;border-radius:50%;margin-bottom:20px}.feedback-grid p{font:italic 17px/1.65 Georgia,serif;color:#273741;margin:0 0 22px}.feedback-grid cite{font-style:normal;color:var(--teal-deep);font-size:13px;font-weight:700;margin-top:auto}.site-footer{background:#eaf8f9;padding:35px 0}.footer-content{display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-content img{width:83px;height:auto}.footer-content p,.footer-content small{font-size:13px;color:#53636b;margin:6px 0 0}.footer-links{display:flex;gap:22px;color:var(--teal-deep);font-weight:700;font-size:14px}
#image-dialog{border:0;border-radius:7px;padding:44px 18px 14px;width:min(96vw,1250px);max-height:92vh;box-shadow:0 20px 70px rgba(0,0,0,.35);background:#fff;color:var(--ink)}#image-dialog::backdrop{background:rgba(12,30,42,.78)}#image-dialog img{max-width:100%;max-height:calc(92vh - 110px);object-fit:contain;margin:auto}#image-dialog p{text-align:center;font-size:13px;margin:10px 0 0}.dialog-close{position:absolute;right:13px;top:4px;font-size:31px;background:transparent;border:0;color:var(--ink);line-height:1.3}
@media(max-width:950px){.desktop-nav{gap:16px}.desktop-nav a{font-size:14px}.header-inner{gap:15px}.cv-button{font-size:13px;padding:9px 14px}.hero-inner{gap:18px}.hero h1{font-size:21px;margin-bottom:26px}.hero-copy{padding-bottom:35px}.hero-copy>p:not(.hero-name){font-size:14px}}
@media(max-width:700px){.container{width:calc(100% - 36px)}.header-inner{min-height:72px}.signature img{width:89px}.desktop-nav,.header-inner>.cv-button{display:none}.menu-toggle{display:flex;flex-direction:column;gap:5px;background:transparent;border:0;padding:9px;margin-left:auto}.menu-toggle span{height:2px;width:24px;background:var(--ink);display:block}.mobile-nav:not([hidden]){display:flex;flex-direction:column;gap:0;background:#fff;border-top:1px solid var(--line);padding:6px 18px 18px}.mobile-nav a{padding:11px 4px;border-bottom:1px solid var(--line);color:var(--teal-deep)}.hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:0}.hero-copy{padding:30px 0 0}.hero-name{font-size:19px}.hero h1{font-size:21px;margin-bottom:26px}.hero-copy>p:not(.hero-name){font-size:15px}.hero-photo{align-self:center;max-width:330px;margin-top:10px}.section{padding:65px 0}.section-head{margin-bottom:32px}.section-head h2{font-size:31px}.section-head p{font-size:14px}.heading-line{margin-top:25px}.journey-title{font-size:18px}.journey-image{margin-bottom:35px;overflow:auto}.journey-image img{min-width:680px}.story-grid,.story-feature,.image-pair,.drive-grid,.values-grid,.work-grid,.feedback-grid{grid-template-columns:1fr}.story-grid{margin-bottom:36px}.story-card,.work-card{padding:24px}.story-feature{gap:17px}.feature-image{order:2}.image-pair{gap:14px;margin-bottom:43px}.image-pair img{height:auto}.drive-grid{gap:20px}.value-card{padding:26px 22px}.mission-copy{margin:0 auto 30px}.mindset{padding:60px 18px}.mindset h2{font-size:31px}.gallery-frame{grid-template-columns:34px minmax(0,1fr) 34px;min-height:250px;padding:4px}.gallery-image img{height:250px}.gallery-arrow{height:30px;width:30px}.gallery-bottom{flex-direction:column;gap:8px}.footer-content{flex-wrap:wrap}.footer-content small{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}


.wp-page-content{width:min(900px,calc(100% - 48px));margin:70px auto;min-height:45vh}
.wp-page-content h1{font:700 clamp(30px,3vw,42px)/1.3 var(--serif);color:var(--ink)}
.wp-page-content a{text-decoration:underline;color:var(--teal-deep)}
