:root{color-scheme:light;--bg:#f7f7f4;--surface:#fff;--ink:#171916;--muted:#777b73;--line:#e5e6df;--soft:#eeefe9;--accent:#315b8a;--dark:#1c211b;--serif:Georgia,'Times New Roman',serif;--sans:'DM Sans',sans-serif;--display:'Manrope',sans-serif}html[data-theme="dark"]{color-scheme:dark;--bg:#151814;--surface:#1c211b;--ink:#f1f2ec;--muted:#a1a69c;--line:#343a31;--soft:#242a22;--dark:#e7e9df;--accent:#78a6d8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;transition:background .25s,color .25s}a{color:inherit;text-decoration:none}.site-shell{overflow:hidden}.section-wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.topbar{height:84px;width:min(1320px,calc(100% - 64px));margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:0 0 auto}.brand-lockup{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-lockup strong{font:800 19px/1 var(--display);letter-spacing:1.1px;color:var(--ink)}.brand-lockup small{font:700 7px/1.35 var(--display);letter-spacing:.75px;color:var(--muted);white-space:nowrap}.brand-dot{color:#315b8a}.desktop-nav{display:flex;gap:36px;margin-left:80px}.desktop-nav a,.mobile-menu a{font-size:12px;color:var(--muted);transition:color .2s}.desktop-nav a:hover,.mobile-menu a:hover{color:var(--ink)}.nav-actions{display:flex;align-items:center;gap:20px}.theme-toggle,.menu-toggle{border:1px solid var(--line);background:transparent;color:var(--ink);width:38px;height:38px;border-radius:50%;cursor:pointer;font-size:19px}.theme-toggle .moon{display:none}html[data-theme=dark] .theme-toggle .sun{display:none}html[data-theme=dark] .theme-toggle .moon{display:inline}.nav-contact{font-size:12px;font-weight:700;border-bottom:1px solid var(--ink);padding:0 0 6px}.nav-contact span{margin-left:8px}.menu-toggle{display:none}.mobile-menu{display:none}.hero{min-height:720px;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:38px;padding-block:45px 65px}.eyebrow,.section-kicker,.section-note,.hero-foot,.project-topline,.work-footnote,.contact-kicker{font-size:9px;font-weight:700;letter-spacing:1.6px}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--muted);margin-bottom:27px}.status-dot,.project-status i{width:7px;height:7px;border-radius:50%;background:#4d83bb;display:inline-block}.hero h1,.about-grid h2,.expertise-head h2,.work-heading h2,.journey-grid h2,.contact-panel h2{font:600 clamp(48px,6vw,76px)/1.08 var(--display);letter-spacing:-4.8px;margin:0}.hero h1 em,.about-grid h2 em,.expertise-head h2 em,.work-heading h2 em,.journey-grid h2 em,.contact-panel h2 em{font-family:var(--serif);font-weight:400;letter-spacing:-3px}.hero-lead{max-width:480px;color:var(--muted);font-size:15px;line-height:1.9;margin:27px 0 30px}.hero-cta{display:flex;align-items:center;gap:27px}.button{display:inline-flex;align-items:center;gap:30px;padding:16px 19px;font-size:11px;font-weight:700;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.button-dark{background:#101d30;color:#fff}.button-dark span,.button-light span{font-size:16px}.text-link,.underlined-link{font-size:11px;font-weight:700;border-bottom:1px solid var(--line);padding-bottom:8px}.text-link span{margin-left:9px}.hero-foot{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:8px;margin-top:65px;letter-spacing:1.3px}.foot-line{width:38px;height:1px;background:var(--line)}.hero-visual{position:relative;width:100%;max-width:none;justify-self:start;order:-1;padding:0;margin:0;align-self:stretch;display:flex;align-items:center}.hero-photo{width:100%;height:min(70vw,650px);min-height:520px;overflow:visible;background:transparent;position:relative}.hero-photo:after{display:none}.hero-photo img{width:100%;height:100%;object-fit:contain;object-position:left center;display:block;background:transparent}.photo-caption{position:absolute;bottom:24px;left:18px;background:var(--surface);padding:14px 18px;display:flex;gap:12px;align-items:center;box-shadow:0 10px 30px #0000000b}.caption-mark{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#ffffff;font:700 15px var(--display)}.photo-caption strong,.photo-caption small{display:block}.photo-caption strong{font-size:11px}.photo-caption small{font-size:9px;color:var(--muted);margin-top:4px}.floating-note{position:absolute;right:2px;top:15%;background:var(--surface);padding:15px 18px;display:flex;align-items:center;gap:11px;font-size:10px;line-height:1.5;box-shadow:0 12px 32px #0000000b}.floating-note strong{font-size:11px}.note-icon{font-size:23px;color:#315b8a}.visual-index{position:absolute;right:0;bottom:15px;font:700 10px var(--display);letter-spacing:1px}.visual-index span{color:var(--muted);margin:0 5px}.hero-copy{position:relative;z-index:1}.intro-strip{background:var(--soft);border-block:1px solid var(--line)}.strip-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}.strip-label{font-size:9px;font-weight:700;letter-spacing:1.5px;color:var(--muted)}.strip-inner p{font:400 20px var(--serif);margin:0}.strip-symbol{font-size:22px}.content-section{padding-block:110px}.section-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:58px}.section-kicker{color:var(--muted)}.section-note{font-weight:500;color:var(--muted);letter-spacing:.7px}.about-grid,.journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.about-grid h2,.journey-grid h2{font-size:49px;letter-spacing:-3px}.about-copy{max-width:470px}.large-copy{font-size:18px!important;line-height:1.65!important;color:var(--ink)!important;margin-top:0!important}.about-copy p,.journey-copy p{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 19px}.underlined-link{display:inline-block;margin-top:18px}.underlined-link span{margin-left:15px}.expertise-section,.journey-section{background:var(--soft);padding-block:100px}.expertise-head,.work-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:55px}.expertise-head h2,.work-heading h2,.journey-grid h2{font-size:48px;letter-spacing:-3px}.expertise-head>p,.work-heading>p{max-width:310px;font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 5px}.expertise-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.expertise-card{position:relative;min-height:285px;padding:28px 23px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.card-number{font-size:9px;color:var(--muted);letter-spacing:1px}.expertise-icon{font-size:27px;margin:27px 0 20px;color:#315b8a}.expertise-card h3{font:700 15px/1.4 var(--display);margin:0 0 11px;letter-spacing:-.3px}.expertise-card p{font-size:11px;line-height:1.8;color:var(--muted);min-height:60px;margin:0}.tag-row,.project-tags,.journey-pill-list{display:flex;flex-wrap:wrap;gap:6px}.tag-row{margin-top:18px}.tag-row span,.project-tags span,.journey-pill-list span{border:1px solid var(--line);border-radius:30px;padding:6px 9px;font-size:8px;color:var(--muted)}.work-section{padding-bottom:120px}.work-heading{align-items:end;margin-bottom:48px}.project-card{display:grid;grid-template-columns:.9fr 1.1fr;background:var(--surface);border:1px solid var(--line)}.project-info{padding:32px;display:flex;flex-direction:column;justify-content:space-between;min-height:440px}.project-topline{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:8px;letter-spacing:1px}.project-status{color:#4d83bb;display:flex;align-items:center;gap:7px}.project-status i{width:6px;height:6px}.project-wordmark{font:800 29px var(--display);letter-spacing:-2px;margin-bottom:20px}.project-wordmark span{font-size:9px;vertical-align:top;margin-left:3px}.project-info h3{font:600 25px/1.2 var(--display);letter-spacing:-1px;margin:0 0 16px}.project-info p{font-size:11px;line-height:1.9;color:var(--muted);max-width:350px}.project-tags{margin-top:20px}.project-link{font-size:10px;font-weight:700;border-top:1px solid var(--line);padding-top:17px;margin-top:30px}.project-link span{margin-left:10px}.project-gallery{padding:20px;background:var(--soft);display:grid;grid-template-rows:1.25fr .75fr;gap:10px;min-height:440px}.gallery-main,.gallery-small{min-height:0;overflow:hidden;background:#e4e6df}.gallery-main img,.gallery-small img{width:100%;height:100%;object-fit:cover;display:block;object-position:top}.gallery-small{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gallery-small img{object-fit:cover;object-position:top}.work-footnote{display:flex;justify-content:space-between;margin-top:18px;color:var(--muted);font-size:8px}.journey-section{padding-block:100px}.journey-grid{gap:100px}.journey-copy{max-width:470px}.journey-pill-list{margin-top:25px}.journey-pill-list span{font-size:9px;padding:8px 12px}.contact-section{padding-block:100px}.contact-panel{background:#101d30;color:#fff;min-height:430px;padding:60px 70px;position:relative;overflow:hidden}.contact-kicker{color:#9fc5ef;margin-bottom:35px}.contact-panel h2{font-size:57px;position:relative;z-index:1}.contact-panel h2 em{color:#9fc5ef}.contact-panel>p{max-width:430px;color:#c0c4bb;font-size:12px;line-height:1.9;margin:20px 0 25px;position:relative;z-index:1}.button-light{background:#9fc5ef;color:#ffffff;position:relative;z-index:1}.contact-links{position:relative;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}.contact-social{color:#fff;font-size:11px;font-weight:600;border-bottom:1px solid #ffffff55;padding:0 0 6px}.contact-social span{margin-left:6px}.contact-social:hover{color:#9fc5ef}.contact-orbit{position:absolute;right:75px;top:35px;width:300px;height:300px;border:1px solid #ffffff20;border-radius:50%;display:grid;place-items:center;color:#ffffff12;font:800 150px var(--display);transform:rotate(-15deg)}.contact-orbit:before,.contact-orbit:after{content:"";position:absolute;border:1px solid #ffffff18;border-radius:50%;inset:28px}.contact-orbit:after{inset:58px}.footer{height:95px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px}.footer-brand{color:var(--ink)}.footer>a:last-child{font-size:8px;letter-spacing:1px;font-weight:700}.footer-brand img{width:27px;height:27px}
@media(max-width:900px){.hero{gap:25px;grid-template-columns:1fr .9fr}.hero h1{font-size:54px}.hero-photo{height:560px;min-height:460px}.expertise-grid{grid-template-columns:repeat(2,1fr)}.about-grid,.journey-grid{gap:55px}.project-info{padding:25px}.contact-orbit{right:-80px}.expertise-head h2,.work-heading h2,.journey-grid h2{font-size:42px}}
@media(max-width:650px){.section-wrap,.topbar{width:calc(100% - 40px)}.topbar{height:70px}.desktop-nav,.nav-contact{display:none}.nav-actions{gap:10px}.menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.menu-toggle i{width:14px;height:1px;background:var(--ink)}.mobile-menu{position:absolute;z-index:20;top:70px;left:0;right:0;background:var(--surface);border-bottom:1px solid var(--line);padding:12px 22px 20px;display:none;flex-direction:column;gap:18px}.mobile-menu.open{display:flex}.mobile-menu a{font-size:13px;padding:5px 0}.hero{grid-template-columns:1fr;gap:8px;padding-block:25px 55px;min-height:0}.hero-visual{grid-row:1;justify-self:center;width:100%;max-width:480px;min-height:0;order:0}.hero-photo{height:clamp(390px,112vw,520px);min-height:0;width:100%}.hero-photo img{object-position:center bottom}.photo-caption{bottom:14px;left:8px;padding:10px 13px}.floating-note{right:0;top:12%;padding:11px 13px;font-size:9px}.visual-index{bottom:8px;right:8px}.hero-copy{grid-row:2;padding-top:22px}.hero h1{font-size:clamp(47px,12vw,64px);letter-spacing:-3.5px}.hero-lead{font-size:13px;margin:20px 0 25px}.hero-foot{margin-top:40px;font-size:7px}.strip-inner{min-height:90px;gap:12px}.strip-label{font-size:7px;letter-spacing:1px}.strip-inner p{font-size:16px;line-height:1.4;max-width:240px}.strip-symbol{font-size:18px}.content-section,.expertise-section,.journey-section{padding-block:72px}.section-heading{margin-bottom:38px}.section-kicker,.section-note{font-size:8px}.about-grid,.journey-grid{grid-template-columns:1fr;gap:24px}.about-grid h2,.journey-grid h2,.expertise-head h2,.work-heading h2{font-size:42px;letter-spacing:-2.8px}.large-copy{font-size:16px!important}.about-copy p,.journey-copy p{font-size:12px}.expertise-head,.work-heading{display:block;margin-bottom:35px}.expertise-head>p,.work-heading>p{margin-top:18px;font-size:12px}.expertise-grid{grid-template-columns:1fr 1fr}.expertise-card{min-height:275px;padding:20px 15px}.expertise-card h3{font-size:13px}.expertise-card p{font-size:10px;min-height:75px}.tag-row span{font-size:7px;padding:5px 7px}.work-section{padding-bottom:75px}.project-card{grid-template-columns:1fr}.project-info{min-height:380px;padding:23px}.project-topline{font-size:7px}.project-info h3{font-size:23px}.project-gallery{min-height:330px;grid-template-rows:1fr .7fr;padding:12px}.work-footnote{font-size:7px;gap:15px}.journey-grid{gap:20px}.contact-section{padding-block:70px}.contact-panel{padding:42px 25px;min-height:400px}.contact-panel h2{font-size:43px;letter-spacing:-2.8px}.contact-panel>p{font-size:11px;max-width:310px}.contact-orbit{width:180px;height:180px;right:-65px;top:20px;font-size:90px;opacity:.65}.contact-orbit:before{inset:18px}.contact-orbit:after{inset:38px}.footer{height:auto;min-height:90px;flex-wrap:wrap;gap:15px;padding-block:20px}.footer>span{order:3;width:100%;font-size:8px}}
@media(prefers-reduced-motion:no-preference){.hero-copy,.hero-visual{animation:rise .7s ease both}.hero-visual{animation-delay:.12s}.expertise-card{transition:transform .25s,background .25s}.expertise-card:hover{transform:translateY(-5px);background:var(--surface)}@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}}
/* KANAKK project screenshot gallery and lightbox */
.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(150px,1fr));gap:12px;min-height:0;padding:20px}
.gallery-shot{position:relative;display:block;width:100%;min-width:0;min-height:150px;padding:0;border:1px solid var(--line);background:var(--surface);overflow:hidden;cursor:zoom-in;text-align:left}
.gallery-shot img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover;object-position:top;transition:transform .35s ease}
.gallery-shot:hover img{transform:scale(1.035)}
.gallery-shot:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0008);pointer-events:none}
.gallery-shot span{position:absolute;z-index:1;right:12px;bottom:10px;color:#fff;font:700 9px var(--display);letter-spacing:1px}
.gallery-live-links,.project-live-links{display:flex;flex-wrap:wrap;gap:10px;padding:0 20px 20px;background:var(--soft)}
.project-live-links a{display:inline-flex;align-items:center;gap:18px;padding:11px 14px;border:1px solid var(--line);background:var(--surface);font-size:10px;font-weight:700;transition:background .2s,transform .2s}
.project-live-links a:hover{background:var(--accent);color:#ffffff;transform:translateY(-2px)}
.project-live-links a span{font-size:14px}
.image-viewer{position:fixed;z-index:1000;inset:0;display:none;align-items:center;justify-content:center;padding:24px}
.image-viewer.open{display:flex}
.viewer-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:#080a08eF;cursor:default}
.viewer-panel{position:relative;z-index:1;width:min(1100px,100%);height:min(88vh,850px);display:grid;grid-template-columns:54px minmax(0,1fr) 54px;grid-template-rows:42px minmax(0,1fr) 34px;align-items:center;gap:8px;color:#fff}
.viewer-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font:700 10px var(--display);letter-spacing:1.5px;color:#d7dbd2}
.viewer-close,.viewer-nav{border:1px solid #ffffff40;background:#ffffff12;color:#fff;cursor:pointer;display:grid;place-items:center}
.viewer-close{width:36px;height:36px;border-radius:50%;font-size:25px;line-height:1}
.viewer-nav{width:42px;height:52px;border-radius:3px;font-size:34px;line-height:1}
.viewer-image{grid-column:2;grid-row:2;width:100%;height:100%;max-height:100%;object-fit:contain;min-width:0;min-height:0}
.viewer-caption{grid-column:1/-1;grid-row:3;margin:0;text-align:center;font-size:11px;color:#c7ccc2}
@media(max-width:650px){
 .project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(115px,1fr));padding:12px;gap:8px}
 .gallery-shot,.gallery-shot img{min-height:115px}
 .project-live-links{padding:0 12px 12px;gap:7px}
 .project-live-links a{flex:1;justify-content:center;gap:7px;padding:10px 8px;font-size:9px}
 .image-viewer{padding:12px}
 .viewer-panel{height:82vh;grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}
 .viewer-nav{width:32px;height:42px;font-size:27px}
 .viewer-image{grid-column:1/-1;grid-row:2}
 .viewer-prev{grid-column:1;grid-row:2;z-index:2;align-self:center}
 .viewer-next{grid-column:3;grid-row:2;z-index:2;align-self:center}
}
@media(prefers-reduced-motion:reduce){.gallery-shot img,.project-live-links a{transition:none}}

.project-showcase{display:flex;flex-direction:column;min-width:0;min-height:440px;background:var(--soft)}.project-showcase .project-gallery{flex:1}
@media(max-width:650px){.project-showcase{min-height:0}}

/* CV-backed experience, skills and education sections */
.resume-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin:28px 0 42px}
.resume-heading h2{margin:0;font-family:var(--display);font-size:clamp(32px,4.2vw,56px);line-height:1.08;letter-spacing:-2px}
.resume-heading h2 em{font-family:Georgia,serif;font-weight:400}
.resume-heading>p{max-width:350px;margin:0;color:var(--muted);font-size:13px;line-height:1.8}
.experience-list{border-top:1px solid var(--line)}
.experience-item{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;padding:28px 0;border-bottom:1px solid var(--line)}
.experience-date{padding-top:5px;font-size:10px;font-weight:800;letter-spacing:1.4px;color:var(--muted)}
.experience-item h3,.resume-skill-grid h3,.education-list h3{margin:0 0 10px;font-size:17px;letter-spacing:-.4px}
.experience-item h3 span{font-weight:500;color:var(--muted)}
.experience-item p,.resume-skill-grid p,.education-list p{margin:0;color:var(--muted);font-size:13px;line-height:1.85}
.experience-item .tag-row{margin-top:14px}
.resume-skills{padding-top:100px;padding-bottom:100px}
.resume-skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.resume-skill-grid article{padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.resume-skill-grid h3{font-size:14px}
.language-line{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;align-items:center}
.language-line strong{font-size:11px;margin-right:8px}
.language-line span{padding:8px 12px;border:1px solid var(--line);font-size:11px;color:var(--muted)}
.education-section{padding-top:30px;padding-bottom:100px}
.education-list{border-top:1px solid var(--line)}
.education-list article{display:grid;grid-template-columns:190px 1fr;gap:32px;padding:24px 0;border-bottom:1px solid var(--line)}
.education-list article>span{font-size:11px;font-weight:800;letter-spacing:1px;color:var(--muted)}
.education-list h3{margin-bottom:4px}
@media(max-width:700px){.resume-heading{display:block;margin-bottom:28px}.resume-heading>p{margin-top:16px}.experience-item,.education-list article{grid-template-columns:1fr;gap:10px;padding:22px 0}.resume-skill-grid{grid-template-columns:1fr 1fr}.resume-skill-grid article{padding:18px}.resume-skills{padding-top:70px;padding-bottom:70px}}
@media(max-width:460px){.resume-skill-grid{grid-template-columns:1fr}}

/* Contact links with clear, consistent icons */
.contact-social{display:inline-flex;align-items:center;gap:9px}
.contact-social svg,.contact-action svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.contact-action{gap:12px}
.contact-action b{font-size:16px;font-weight:500;margin-left:5px}
.contact-social:hover svg{color:var(--accent)}
@media(max-width:650px){.contact-links{align-items:flex-start;flex-direction:column;gap:17px}.contact-social{font-size:12px}.contact-action{min-width:150px;justify-content:space-between}}

/* Compact contact and social shortcuts in the top navigation */
.header-socials{display:flex;align-items:center;gap:13px}
.header-socials a{width:20px;height:24px;display:grid;place-items:center;color:var(--muted);transition:color .2s,transform .2s}
.header-socials a:hover{color:var(--ink);transform:translateY(-2px)}
.header-socials svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav-actions{gap:16px}
@media(max-width:1100px){.desktop-nav{gap:18px;margin-left:24px}.header-socials{gap:9px}}
@media(max-width:800px){.desktop-nav{display:none}.header-socials{gap:12px}}
@media(max-width:650px){.nav-actions{gap:11px}.header-socials{gap:9px}.header-socials a{width:18px}.header-socials svg{width:16px;height:16px}.brand-lockup small{font-size:6px;letter-spacing:.35px}.brand img{width:31px;height:31px}}
@media(max-width:390px){.header-socials{gap:6px}.header-socials a{width:16px}.header-socials svg{width:15px;height:15px}.brand{gap:7px}.brand-lockup strong{font-size:16px}.brand-lockup small{font-size:5px}.theme-toggle{width:32px;height:32px}}


/* Premium contact detail cards */
.contact-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:650px;align-items:stretch}
.contact-card-grid .contact-card{box-sizing:border-box;min-height:62px;display:flex;align-items:center;gap:13px;padding:15px 17px;border:1px solid #ffffff28;border-radius:12px;background:#ffffff0d;color:#fff;text-decoration:none;font-size:12px;font-weight:600;letter-spacing:.1px;transition:background .2s,border-color .2s,transform .2s}
.contact-card-grid .contact-card:hover{background:#ffffff18;border-color:#9fc5ef88;transform:translateY(-2px);color:#9fc5ef}
.contact-card-grid .contact-card svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.contact-card-grid .contact-card span{margin:0}
.contact-card-grid .contact-email{background:#9fc5ef;color:#ffffff;border-color:#9fc5ef;justify-content:flex-start}
.contact-card-grid .contact-email:hover{background:#b9d7f5;color:#ffffff;border-color:#b9d7f5}
.contact-card-grid .contact-email b{margin-left:auto;font-size:17px;font-weight:500}
@media(max-width:650px){.contact-card-grid{grid-template-columns:1fr;gap:9px;max-width:100%}.contact-card-grid .contact-card{min-height:56px;padding:13px 15px;font-size:12px}.contact-panel{padding:38px 22px}}

/* Dark blue contact palette refinement */
.contact-panel{background:#101d30}
.contact-card-grid .contact-card{background:#ffffff0b;border-color:#ffffff24}
.contact-card-grid .contact-card:hover{background:#ffffff16;border-color:#9fc5ef88;color:#b9d7f5}
.contact-card-grid .contact-email{background:#315b8a;border-color:#315b8a;color:#fff}
.contact-card-grid .contact-email:hover{background:#24476f;border-color:#24476f;color:#fff}


/* Keep the mobile brand name on a single line beside the header icons */
@media(max-width:650px){
  .brand{flex:0 1 auto;min-width:0;gap:7px}
  .brand-lockup{flex:0 1 auto;min-width:0}
  .brand-lockup strong{white-space:nowrap;font-size:clamp(13px,3.8vw,16px);letter-spacing:.35px;line-height:1}
}


/* On mobile, move contact shortcuts out of the crowded brand row
   and place them in the floating-note position beside the hero portrait. */
@media(max-width:650px){
  .nav-actions > .header-socials{display:none}
  .hero-visual{position:relative}
  .hero-visual > .hero-socials{
    display:flex;
    position:absolute;
    z-index:5;
    top:12%;
    right:0;
    gap:10px;
    padding:12px 13px;
    background:var(--surface);
    border:1px solid var(--line);
    box-shadow:0 10px 28px #00000012;
  }
  .hero-visual > .hero-socials a{width:20px;height:24px;color:var(--muted)}
  .hero-visual > .hero-socials svg{width:17px;height:17px}
  .hero-visual > .floating-note{display:none}
}
