
/* === Sticky footer & layout guards === */
html,body{height:100%;}
body{min-height:100dvh;display:flex;flex-direction:column;}
main#main{flex:1 0 auto;min-width:0;}
#site-footer{flex-shrink:0;margin-top:0;}
main#main > section:last-of-type{margin-bottom:0;padding-bottom:0;}
.hero{position:relative;overflow:hidden;}
.hero .wave.bottom{bottom:0;}


:root{
  --emerald:#0f8a5f;
  --emerald-dark:#0b5d3b;
  --slate:#0f172a;
  --bg:#f5f7fb;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;background:var(--bg);color:var(--text);scroll-behavior:smooth}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{max-width:1160px;margin:0 auto;padding:0 20px}
.section{padding:90px 0; position:relative; scroll-margin-top:90px}
h1,h2,h3{margin:0 0 12px}
h2.title{text-align:center;margin-bottom:28px;letter-spacing:.01em;font-size:28px}
.navbar{position:fixed;top:0;left:0;right:0;height:72px;display:flex;align-items:center;gap:24px;background:linear-gradient(90deg,var(--emerald-dark),var(--emerald));color:#fff;z-index:1000;box-shadow:0 4px 24px rgba(0,0,0,.18)}
.navbar .logo{font-weight:800;letter-spacing:.08em; padding-left:20px}
.navbar .nav-links{list-style:none;display:flex;gap:20px;margin-left:auto;margin-right:20px}
.navbar a{color:#fff;opacity:.92;font-weight:600}
.navbar a:hover{opacity:1}
#darkModeToggle{margin-right:16px;background:transparent;border:1px solid #ffffff66;color:#fff;border-radius:10px;padding:6px 10px;cursor:pointer}
.hero{
  padding-top:72px;position:relative;min-height:560px;color:#fff;margin-top:72px;}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(1200px 600px at 20% 0%, rgba(2,6,23,.45), transparent 60%), radial-gradient(1200px 600px at 80% 20%, rgba(2,6,23,.45), transparent 55%), linear-gradient(180deg, rgba(2,6,23,.2), rgba(2,6,23,.55));}
.hero::after{content:'';position:absolute;inset:0;background:url('../images/noise.png');opacity:.06;mix-blend:multiply}
.hero-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:72px 16px;text-align:center}
.profile-pic{width:140px;height:140px;border-radius:50%;border:5px solid #fff;background:#fff;object-fit:cover;margin-bottom:20px;box-shadow:0 16px 28px rgba(0,0,0,.25)}
.hero h1{font-size:40px;letter-spacing:.01em;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.hero h3{opacity:.95;font-weight:800;letter-spacing:.18em;margin-top:4px;text-transform:uppercase}
.hero p{margin-top:16px;font-size:15px;max-width:880px;text-transform:uppercase;font-weight:800;line-height:1.5;text-shadow:0 2px 8px rgba(0,0,0,.25)}
.hero-buttons{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap;justify-content:center}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:14px;border:1px solid #ffffff55;background:#fff;color:var(--emerald-dark);font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.18);transition:transform .15s, box-shadow .15s}
.btn:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(0,0,0,.22)}
.btn.secondary{background:transparent;color:#fff;border-color:#ffffff88}
.social-circle{margin-top:14px;display:flex;gap:10px}
.social-circle a{display:inline-flex;width:42px;height:42px;border-radius:999px;align-items:center;justify-content:center;background:#fff;color:var(--emerald-dark);font-weight:900;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.wave{position:absolute;left:0;right:0;height:80px;pointer-events:none}
.wave.top{top:-80px;transform:rotate(180deg)}
.wave.bottom{bottom:-80px}
.card{background:#fff;border-radius:18px;box-shadow:0 18px 48px rgba(2,6,23,.08);overflow:hidden}
.card-body{padding:28px}
.split{display:grid;grid-template-columns:1.15fr .85fr;gap:28px}
@media (max-width:960px){.split{grid-template-columns:1fr}}
.info-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed #eef2f6}
.info-row:last-child{border-bottom:0}
.info-row .label{color:#6b7280;min-width:140px}
.info-row .value a{color:var(--emerald-dark);font-weight:600}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.badge{background:#e7fbf3;color:var(--emerald-dark);border:1px solid #c1f3de;padding:6px 10px;border-radius:999px;font-weight:700;font-size:13px}
.skills .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media (max-width:1050px){.skills .grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.skills .grid{grid-template-columns:1fr}}
.skill-card{background:#fff;border-radius:16px;padding:18px;border:1px solid #eef2f6;box-shadow:0 10px 30px rgba(2,6,23,.06)}
.skill-card h3{margin:0 0 8px;font-size:16px}
.meter{height:10px;background:#eef2f6;border-radius:999px;overflow:hidden}
.fill{height:100%;background:linear-gradient(90deg,var(--emerald-dark),#2bb673)}
.tools{display:flex;flex-wrap:wrap;gap:10px}
.tool{padding:8px 12px;border:1px solid #eef2f6;border-radius:999px;background:#fff;box-shadow:0 6px 14px rgba(2,6,23,.04);font-weight:700}
.portfolio .grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media (max-width:960px){.portfolio .grid{grid-template-columns:1fr}}
.figure{display:block;overflow:hidden;border-radius:16px;box-shadow:0 16px 36px rgba(2,6,23,.08);border:1px solid #eef2f6;background:#fff}
.figure img{width:100%;display:block;transition:transform .35s ease}
.figure:hover img{transform:scale(1.02)}
.figure figcaption{padding:14px}
.figure .chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.chip{background:#f0fdf4;border:1px solid #d3f2dd;padding:4px 10px;border-radius:999px;font-weight:700;color:var(--emerald-dark);font-size:12px}
.timeline .item{display:grid;grid-template-columns:290px 1fr;margin-bottom:22px}
@media (max-width:960px){.timeline .item{grid-template-columns:1fr}}
.timeline .left{background:linear-gradient(180deg,var(--emerald-dark),var(--emerald));color:#fff;border-radius:16px 0 0 16px;padding:18px;display:flex;flex-direction:column;justify-content:center;position:relative}
.timeline .left .org{margin-top:8px;font-weight:900;letter-spacing:.05em;text-align:center}
.timeline .left .logo{position:absolute;top:14px;left:14px;width:42px;height:42px;border-radius:999px;background:#ffffff22;display:flex;align-items:center;justify-content:center;font-weight:900}
.timeline .right{background:#fff;border:1px solid #e9edf3;border-left:0;border-radius:0 16px 16px 0;padding:18px}
.timeline .role{font-weight:900;margin-bottom:6px}
.timeline .when{color:#6b7280;margin-bottom:10px}
.timeline ul{margin:0 0 0 18px}
.edu .item{display:grid;grid-template-columns:290px 1fr;margin-bottom:22px}
.edu .left{background:linear-gradient(180deg,var(--emerald-dark),var(--emerald));color:#fff;border-radius:16px 0 0 16px;padding:18px}
.edu .right{background:#fff;border:1px solid #e9edf3;border-left:0;border-radius:0 16px 16px 0;padding:18px}
.edu .title{font-weight:900}
.contact .map{width:100%;height:380px;border-radius:16px;border:1px solid #e8ecf3;overflow:hidden}
.contact .panel{position:relative;margin:-130px auto 0;max-width:900px}
.contact .panel .card{padding:20px}
.contact .two{display:grid;grid-template-columns:1fr 1fr;gap:28px}
@media (max-width:900px){.contact .two{grid-template-columns:1fr}}
.contact form input,.contact form textarea{padding:12px;border-radius:10px;border:1px solid #e5e7eb;width:100%}
.contact form button{margin-top:8px}
.contact .cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.contact .cta-row a{padding:10px 14px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;font-weight:700}
.footer{text-align:center;color:#6b7280;padding:24px 0}
.footer .social{display:flex;gap:10px;justify-content:center;margin-bottom:8px}
.footer .social a{width:38px;height:38px;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #e5e7eb}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease, transform .5s ease}
.reveal.show{opacity:1;transform:none}
:root.dark{--bg:#0b111b; --text:#e8edf5; --card:#0f172a; --muted:#94a3b8;}
:root.dark .navbar{box-shadow:none}
:root.dark .card, :root.dark .skill-card, :root.dark .figure, :root.dark .timeline .right, :root.dark .edu .right{background:var(--card); color:var(--text); border-color:#1e293b}
:root.dark .meter{background:#1e293b}
:root.dark .tool{background:var(--card); border-color:#1e293b}
:root.dark .footer .social a{background:var(--card); border-color:#1e293b}

.wave path{fill:var(--bg);opacity:.98}
:root.dark .wave path{fill:var(--bg)}

.timeline .left .logo{display:none}

.hero{position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:url('../images/project-3.jpg') center/cover no-repeat;filter:blur(6px) saturate(.95);transform:scale(1.06)}
/* keep overlays on top of blurred bg */
.hero::before, .hero::after{pointer-events:none}

/* Animated meters */
.meter .fill{transition:width .9s ease .15s}



.card, .skill-card, .figure, .timeline .right, .edu .right{
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover, .skill-card:hover, .figure:hover, .timeline .right:hover, .edu .right:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 54px rgba(2,6,23,.12);
}

.edu{position:relative}

.edu .item{position:relative}




#contact .card{margin-top:12px}

/* Footer */
#site-footer{margin-top:60px;padding:28px 0;background:linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.06));border-top:1px solid rgba(2,6,23,.06)}
:root.dark #site-footer{background:linear-gradient(180deg, rgba(15,23,42,0.3), rgba(15,23,42,0.6));border-top-color:rgba(148,163,184,.18)}
#site-footer .footer-inner{max-width:1080px;margin:0 auto;display:flex;align-items:center;gap:14px;justify-content:center;flex-wrap:wrap}
#site-footer .socials{display:flex;gap:10px}
#site-footer .bubble{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9999px;background:#fff;border:1px solid #e5e7eb;color:#0f172a;font-weight:700}
:root.dark #site-footer .bubble{background:#0b1220;border-color:#1e293b;color:#e2e8f0}
#site-footer .copy{opacity:.8}
#site-footer .to-top{margin-left:12px;border:1px solid #e5e7eb;border-radius:10px;padding:6px 10px}
:root.dark #site-footer .to-top{border-color:#1e293b}

/* LinkedIn button in contact */
.btn.btn-linkedin{display:inline-block;margin:6px 0 10px;padding:10px 14px;border-radius:14px;border:1px solid #e5e7eb;font-weight:700}
:root.dark .btn.btn-linkedin{border-color:#1e293b}

/* Extra spacing so Contact doesn't collide with Education */
#contact{margin-top:96px}
.section{scroll-margin-top:140px}

/* Footer styles */
#site-footer{margin-top:60px;padding:28px 0;background:linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.06));border-top:1px solid rgba(2,6,23,.06)}
:root.dark #site-footer{background:linear-gradient(180deg, rgba(15,23,42,0.30), rgba(15,23,42,0.55));border-top-color:rgba(148,163,184,.18)}
#site-footer .footer-inner{max-width:1080px;margin:0 auto;display:flex;align-items:center;gap:14px;justify-content:center;flex-wrap:wrap}
#site-footer .socials{display:flex;gap:10px}
#site-footer .bubble{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9999px;background:#fff;border:1px solid #e5e7eb;color:#0f172a;font-weight:700}
:root.dark #site-footer .bubble{background:#0b1220;border-color:#1e293b;color:#e2e8f0}
#site-footer .copy{opacity:.8}
#site-footer .to-top{margin-left:12px;border:1px solid #e5e7eb;border-radius:10px;padding:6px 10px}
:root.dark #site-footer .to-top{border-color:#1e293b}

/* LinkedIn button tidy */
.btn.btn-linkedin{display:inline-block;margin:6px 10px 10px 0;padding:10px 14px;border-radius:14px;border:1px solid #e5e7eb;font-weight:700}
:root.dark .btn.btn-linkedin{border-color:#1e293b}

/* Fix header gap under navbar */
.hero{padding-top:72px;margin-top:0}

/* Nicer LinkedIn buttons alignment and url style */
.contact .contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 6px}
.contact .mini-link{font-size:14px;color:var(--muted)}

/* Better anchor scroll spacing */
#contact{scroll-margin-top:220px;padding-top:28px}

html{scroll-behavior:smooth;scroll-padding-top:var(--nav-h-mobile);}
@media (min-width:768px){html{scroll-padding-top:var(--nav-h-desktop);}}
[id]{scroll-margin-top:calc(var(--nav-h-mobile) + 8px);}
@media (min-width:768px){[id]{scroll-margin-top:calc(var(--nav-h-desktop) + 8px);}}
body{overflow-x:hidden;}
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;background:#0a1428;color:#fff;padding:8px 12px;border-radius:8px;z-index:2000;}
:focus-visible{outline:3px solid #2563eb;outline-offset:2px;}
@media (max-width:640px){.section{padding-left:20px;padding-right:20px}}

/* Contact form textarea — bounded, predictable behavior */
.contact form textarea{
  height: auto;
  min-height: 120px;
  max-height: 40vh !important; /* prevent infinite drag */
  resize: vertical;
  overflow: auto;
  box-sizing: border-box;
}
@media (max-width: 640px){
  .contact form textarea{ max-height: 50vh !important; }
}

/* === Nav fixes === */
.navbar .nav-links{ list-style:none; padding-left:0; margin:0; }
.nav-toggle{ display:none; position:relative; width:40px; height:36px; margin-left:12px; border-radius:10px; border:1px solid rgba(255,255,255,.35); background:transparent; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{ content:""; position:absolute; left:8px; right:8px; height:2px; background:#fff; transition:transform .25s ease, top .25s ease, opacity .2s; }
.nav-toggle span{ top:17px; }
.nav-toggle::before{ top:11px; }
.nav-toggle::after{ top:23px; }
.nav-open .nav-toggle::before{ transform:translateY(6px) rotate(45deg); }
.nav-open .nav-toggle::after{ transform:translateY(-6px) rotate(-45deg); }
.nav-open .nav-toggle span{ opacity:0; }

@media (max-width:1024px){
  .nav-toggle{ display:inline-block; }
  .navbar{ position:fixed; }
  .navbar .nav-links{
    position:absolute; top:100%; left:0; right:0;
    display:flex; flex-direction:column; gap:12px;
    background:linear-gradient(90deg, #0d8a5b, #0a7a52);
    border-bottom-left-radius:12px; border-bottom-right-radius:12px;
    box-shadow:0 10px 20px rgba(0,0,0,.25);
    padding:0 16px; max-height:0; overflow:hidden; opacity:0; pointer-events:none;
    transition:max-height .28s ease, opacity .22s ease;
  }
  .nav-open .navbar .nav-links{ padding:10px 16px; max-height:70vh; opacity:1; pointer-events:auto; }
}

/* Mobile overflow guard and image hygiene */
*,*::before,*::after{ box-sizing:border-box; }
img{ max-width:100%; height:auto; display:block; }
.figure img{ width:100%; height:auto; object-fit:cover; }
@media (max-width:768px){
  html,body{ width:100%; max-width:100%; overflow-x:hidden; }
  .section,.container,.hero{ width:100%; max-width:100%; }
  #site-footer .footer-inner{ text-align:center; justify-content:center; }
}


/* === Mobile layout fixes (About, Education, Experience) === */
*,*::before,*::after{box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
@media (max-width: 900px){
  html,body{max-width:100%;overflow-x:hidden;}
  .container,.section,section{max-width:100%;width:100%;padding-left:16px;padding-right:16px;}
  #about .card{max-width:100%;}
  #about .card *{max-width:100%;overflow-wrap:anywhere;word-break:break-word;}
  #education .item, #experience .item{display:block;border-radius:16px;overflow:hidden;}
  #education .left,  #experience .left {border-radius:16px 16px 0 0 !important;}
  #education .right, #experience .right{border-radius:0 0 16px 16px !important;border-left:0 !important;}
}


/* Experience readability on both themes */
#experience .right{background:var(--card);color:var(--text);border:1px solid rgba(148,163,184,.18);}
#experience .right *{color:inherit;}
#experience .item{display:grid;grid-template-columns:120px 1fr;gap:0;border-radius:16px;overflow:hidden;}
#experience .left{border-right:0;}
@media (max-width:900px){
  #experience .item{display:block;}
}


/* === Patch: wave/hero/mobile/footer/badge === */
/* hero wave not to show black stripe and not overlap content */
.hero{padding-bottom:clamp(48px,8vw,96px);}
.hero .container,.hero .content{position:relative;z-index:2;}
.hero .wave{z-index:1;}
.hero .wave.bottom{bottom:-1px !important;}
.wave path{opacity:1}

/* contact/footer spacing — reduce top gap before footer */
#site-footer{margin-top:16px !important;}
main#main > section:last-of-type{padding-bottom:24px;margin-bottom:0;}

/* Current badge better contrast on dark */
.badge{background:#e7fbf3;border-color:#b6e7d6;color:#065f46;}

/* mobile hero text/buttons visibility */
@media (max-width: 768px){
  .hero{min-height:520px;}
}

/* footer copy keep on one line when possible */
#site-footer .copy{white-space:nowrap;}
@media (max-width: 390px){
  #site-footer .copy{font-size:.95rem;white-space:normal;}
}


/* === Patch#6: wave striping, badge contrast, org text wrap, hero height, footer copy === */

/* Remove wavy SVG stripe completely to avoid zoom shifts and overlap */
.hero .wave{display:none !important;}

/* Ensure hero content never sinks into the next section on small screens */
@media (max-width: 768px){
  .hero{min-height: 720px; padding-bottom: 120px;}
  .hero .content, .hero .container{position:relative; z-index:2;}
}

/* Work Experience: long org names wrap and stay inside green block */
#experience .left, #experience .left *{
  overflow-wrap:anywhere; word-break:break-word; text-align:center;
}

/* 'Current' pill readable on dark */
.badge, .current, .badge-current, .tag.current, .status-current{
  background:#e6fff3 !important; color:#065f46 !important; border:1px solid #9fdcc9 !important;
}

/* Footer copy line stays neat */
footer p{white-space:nowrap;}
@media (max-width:420px){ footer p{white-space:normal;text-align:center;}}


/* === Final patch: 25% gap, hero mobile, current chip, footer short text === */

/* 1) Remove sticky-footer behavior to eliminate giant filler gap at 25% zoom */
html,body{height:auto !important;min-height:0 !important;}
body{display:block !important;}
main#main{flex:none !important;min-height:0 !important;}
#site-footer{flex-shrink:0 !important;margin-top:24px;}

/* 2) Mobile hero: keep text + buttons above dark section */
@media (max-width: 480px){
  .hero{min-height:820px; padding-bottom:160px;}
  .hero-content{padding-bottom:48px;}
}

/* 3) 'Current' pill visible in dark theme (class uses .chip) */
.chip{background:#e6fff3 !important;color:#065f46 !important;border:1px solid #9fdcc9 !important;}

/* 3b) Long org in Work Experience stays inside green area */
#experience .left, #experience .left *{overflow-wrap:anywhere;word-break:break-word;}

/* 4) Footer: short text on mobile */
@media (max-width: 480px){
  #site-footer p{font-size:0;position:relative;}
  #site-footer p::after{content:"Crafted with ❤️  &  ☕";font-size:1rem;letter-spacing:.01em;}
}


/* === Patch#7 === */

/* 1) Burger menu: ensure last item doesn't leave the rounded panel at extreme zoom.
   Make it scroll within the viewport instead of overflowing. */
.nav-open .navbar .nav-links{
  height:auto !important;
  max-height:calc(100vh - 160px) !important;
  overflow:auto !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom:24px; /* breathing room above rounded bottom */
}

/* 2) Extra space at very bottom (25% zoom) — be strict about layout */
html, body{margin:0!important;padding:0!important;height:auto!important;min-height:0!important;overflow-x:hidden;}
section:last-of-type{margin-bottom:0!important;}
#site-footer{margin-top:24px!important;padding-bottom:24px!important;}
/* If any hidden spacers exist — neutralize */
[id*="spacer"], [class*="spacer"]{height:0!important;min-height:0!important;margin:0!important;padding:0!important;}

/* 3) Mobile footer short copy (force override) */
@media (max-width:480px){
  #site-footer p{font-size:0!important;white-space:normal!important;text-align:center!important;}
  #site-footer p::after{content:"Crafted with ❤️ & ☕";font-size:1rem;}
}

/* 4) Long org name — keep readable */
@media (max-width:480px){
  #experience .left{font-size:0.95rem;line-height:1.15;letter-spacing:.2px;}
  #experience .left br{display:none;}
}

/* Current badge — even stronger contrast */
.chip{background:#eafff5!important;color:#034b3a!important;border:1px solid #7ad0b1!important;box-shadow:0 0 0 1px rgba(0,0,0,.03) inset;}


/* === Fine-tune mobile nav (no visible scrollbar & padding at bottom to avoid clipping) === */
@media (max-width:1024px){
  .navbar .nav-links{
    overflow:auto;
    -ms-overflow-style: none;    /* IE/Edge */
    scrollbar-width: none;       /* Firefox */
    padding-bottom: 28px;        /* ensure last item doesn't clip behind rounded corner */
  }
  .navbar .nav-links::-webkit-scrollbar{ display:none; width:0; height:0; }
}
/* Improve large-zoom containment for the last item in the dropdown */
@media (min-resolution: 1dppx){
  .navbar .nav-links li:last-child{ margin-bottom: 6px; }
}

/* === Fix wave seam on scaled zoom by overextending width a little === */
.wave, .wave.bottom{
  left:-4px; right:-4px; width:calc(100% + 8px);
  will-change: transform;
}

/* Current chip contrast */
.badge, .chip, .current-badge{
  display:inline-block; padding:3px 10px; border-radius:9999px;
  background:#e8f7ee; color:#0d7d58; font-weight:600; font-size:0.9rem; line-height:1;
  border:1px solid rgba(13,125,88,.15);
}
.dark .badge, .dark .chip, .dark .current-badge{
  background:#e8f7ee; color:#075e43; border-color:rgba(13,125,88,.25);
}

/* Work Experience left label readability on narrow widths */
.timeline .org, .experience .org, .job .org, .exp-card .org{
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  line-height:1.1;
  letter-spacing: -.15px;
  font-size: clamp(11px, 2.8vw, 16px);
}

/* Keep hero CTA above divider on small screens */
@media (max-width: 430px){
  .hero-content{ position:relative; z-index:2; padding-bottom: 12vh; }
  .hero .divider, .hero .wave.bottom{ z-index:1; }
}

/* Short footer copy on mobile */
@media (max-width: 430px){
  #site-footer .copy{ font-size:0; }
  #site-footer .copy::before{ content: "Crafted with ❤️ & ☕"; font-size: 0.95rem; opacity:.9; }
}
