:root{
  --bg-start:#ececec;
  --bg-end:#ffffff;
  --surface:rgba(255,255,255,0.78);
  --surface-strong:#ffffff;
  --border:rgba(45,45,45,0.08);
  --text:#1f1f1f;
  --muted:#5f5f5f;
  --shadow:0 14px 40px rgba(0,0,0,0.08);
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --dock-h:84px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg-start) 0%, var(--bg-end) 42%, #fff 100%);
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.app-shell{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  padding:28px 0 120px;
}

.hero{
  padding:18px 0 8px;
}
.hero__content{
  display:grid;
  grid-template-columns:1.55fr .9fr;
  gap:28px;
  align-items:center;
}
.hero__text,.card{
  background:var(--surface);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.hero__text{
  padding:34px;
  border-radius:var(--radius-xl);
}
.hero__photo-wrap{
  background:var(--surface-strong);
  border-radius:var(--radius-xl);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:16px;
}
.hero__photo{
  border-radius:22px;
  aspect-ratio:4 / 5;
  object-fit:cover;
  width:100%;
}
.eyebrow{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  color:var(--muted);
  font-weight:700;
}
h1{
  margin:0 0 14px;
  font-size:clamp(2.4rem, 4vw, 4.25rem);
  line-height:.95;
}
.hero__summary{
  font-size:1.03rem;
  line-height:1.7;
  color:#353535;
  margin:0 0 24px;
  max-width:62ch;
}
.contact-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px 18px;
}
.contact-grid a,.contact-grid span{
  padding:14px 16px;
  background:rgba(255,255,255,0.8);
  border:1px solid var(--border);
  border-radius:14px;
  font-weight:600;
}

.content{
  display:grid;
  gap:22px;
}
.card{
  border-radius:var(--radius-xl);
  padding:28px;
}
.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
h2{
  margin:0;
  font-size:1.45rem;
}
h3{
  margin:0 0 8px;
  font-size:1.02rem;
}
p{
  margin:0;
  line-height:1.7;
  color:#313131;
}

.timeline-item{
  display:grid;
  grid-template-columns:290px 1fr;
  gap:20px;
  padding:20px 0;
  border-top:1px solid rgba(0,0,0,0.08);
}
.timeline-item:first-of-type{border-top:none;padding-top:4px}
.timeline-item__meta p{
  margin:0 0 4px;
  font-weight:600;
  color:#505050;
}
.timeline-item__meta span{
  display:inline-block;
  color:var(--muted);
  font-weight:600;
}
ul{
  margin:0;
  padding-left:20px;
  line-height:1.75;
}
.skills-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}
.skill-group{
  padding:20px;
  border:1px solid var(--border);
  border-radius:20px;
  background:rgba(255,255,255,0.72);
}
.pill-list{
  list-style:none;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill-list li{
  padding:10px 14px;
  border-radius:999px;
  background:#f7f7f7;
  border:1px solid rgba(0,0,0,0.06);
  font-size:.94rem;
  font-weight:600;
  line-height:1.2;
}
.edu-list{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.edu-list article,.two-col-list > div{
  border:1px solid var(--border);
  background:rgba(255,255,255,0.72);
  border-radius:20px;
  padding:20px;
}
.edu-list p{
  font-weight:600;
  color:#4f4f4f;
}
.edu-list span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-weight:600;
}
.two-col-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.mobile-dock{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:16px;
  width:min(760px, calc(100% - 20px));
 background:#3f3f3f;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 16px 42px rgba(0,0,0,0.18);
  border-radius:24px;
  display:flex;
  justify-content:space-around;
  gap:8px;
  padding:12px;
  z-index:1000;
}

.mobile-dock a{
  flex:1;
  text-align:center;
  padding:12px 10px;
  border-radius:18px;
  font-size:.85rem;
  font-weight:700;
  color:#ffffff;
}

.mobile-dock a:active,
.mobile-dock a:hover{
  background:rgba(255,255,255,0.12);
  color:#ffffff;
}



.section-intro{
  margin-bottom:18px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}
.service-item{
  position:relative;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.72);
  border-radius:20px;
  padding:20px 20px 18px;
  min-height:150px;
}
.service-item__number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:.85rem;
  font-weight:800;
  margin-bottom:14px;
}
.service-item h3{
  margin-bottom:8px;
}

.rider-layout{
  display:grid;
  grid-template-columns:minmax(280px, 360px) 1fr;
  gap:18px;
  align-items:start;
}
.rider-summary{
  position:sticky;
  top:18px;
}
.rider-list{
  display:grid;
  gap:12px;
}
.rider-list article{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:14px;
  align-items:start;
  padding:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.72);
  border-radius:18px;
}
.rider-list article > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-weight:800;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
.gallery-card{
  appearance:none;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.78);
  border-radius:18px;
  padding:10px;
  text-align:left;
  cursor:pointer;
  box-shadow:none;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.gallery-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(0,0,0,.08);
  border-color:rgba(0,0,0,.16);
}
.gallery-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:10px;
}
.gallery-card span{
  display:block;
  font-weight:700;
  color:#232323;
  line-height:1.35;
  padding:0 4px 2px;
}

.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:none;
}
.gallery-lightbox.is-open{
  display:block;
}
.gallery-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.82);
}
.gallery-lightbox__dialog{
  position:relative;
  width:min(1040px, calc(100% - 28px));
  max-height:calc(100vh - 28px);
  margin:14px auto;
  background:#141414;
  color:#fff;
  border-radius:24px;
  overflow:hidden;
  transform:scale(.92);
  opacity:0;
}
.gallery-lightbox__image{
  width:100%;
  max-height:75vh;
  object-fit:contain;
  background:#0b0b0b;
}
.gallery-lightbox__caption{
  padding:18px 22px 22px;
}
.gallery-lightbox__caption h3,
.gallery-lightbox__caption p{
  color:#fff;
}
.gallery-lightbox__close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:1.6rem;
  cursor:pointer;
  z-index:2;
}
body.lightbox-open{
  overflow:hidden;
}

@media (max-width: 980px){
  .service-grid,
  .rider-layout,
  .gallery-grid{
    grid-template-columns:1fr;
  }
  .rider-summary{
    position:static;
  }
}

@media (max-width: 768px){
  .service-item,
  .gallery-card,
  .rider-list article{
    padding:16px;
  }
  .gallery-card img{
    aspect-ratio:16/10;
  }
  .gallery-lightbox__dialog{
    width:min(100%, calc(100% - 12px));
    margin:6px auto;
    border-radius:18px;
  }
  .gallery-lightbox__caption{
    padding:14px 16px 18px;
  }
}

@media (max-width: 980px){
  .hero__content,
  .timeline-item,
  .skills-grid,
  .edu-list,
  .two-col-list{
    grid-template-columns:1fr;
  }
  .timeline-item{gap:10px}
}

@media (max-width: 768px){
  body{
    background:linear-gradient(180deg,#ededed 0%, #fafafa 42%, #fff 100%);
  }
  .app-shell{
    width:min(100%, calc(100% - 14px));
    padding:8px 0 calc(var(--dock-h) + 26px);
  }
  .hero{
    padding-top:4px;
  }
  .hero__content{
    gap:12px;
  }
  .hero__text,
  .hero__photo-wrap,
  .card{
    border-radius:24px;
  }
  .hero__text{
    padding:24px 18px;
  }
  .hero__photo-wrap{
    padding:10px;
  }
  .hero__photo{
    border-radius:18px;
    max-height:420px;
    object-position:center top;
  }
  h1{
    font-size:2.4rem;
  }
  .hero__summary{
    font-size:.98rem;
    line-height:1.65;
  }
  .contact-grid{
    grid-template-columns:1fr;
  }
  .card{
    padding:22px 18px;
  }
  .skill-group,.edu-list article,.two-col-list>div{
    padding:18px;
  }
  .mobile-dock{
    bottom:10px;
    border-radius:26px;
    padding:10px;
  }
}

@media (max-width: 480px){
  .mobile-dock a{
    font-size:.72rem;
    padding:10px 6px;
  }
  .pill-list li{
    width:100%;
    border-radius:14px;
  }
}

@media print{
  body{
    background:#fff;
  }
  .app-shell{
    width:100%;
    padding:0;
  }
  .hero__text,.hero__photo-wrap,.card,.skill-group,.edu-list article,.two-col-list>div{
    box-shadow:none;
    background:#fff;
    backdrop-filter:none;
  }
  .mobile-dock{
    display:none;
  }
}
