@import "https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600&display=swap";

* { margin: 0; padding: 0; box-sizing: border-box; }

body{
  font-family:'Raleway',sans-serif;
  color:#83d79b;
  background:#E4E4E4;
  transition:.3s ease-out;
  font-size:20px;
  padding: 20px;
  overflow-x: hidden;
}

/* ——— Page header ——— */
.page-head{
  max-width: 800px;
  margin: 110px auto 0;
  text-align: center;
}
.page-title{
  font-size: 28px;
  font-weight: 400;
  color: #83d79b;
}
.page-sub{
  font-size: 14px;
  font-weight: 300;
  color: #9a9a9a;
  margin-top: 8px;
}

.about-wrapper { margin: 40px auto 40px; max-width: 800px; }

/* ——— Hero: photo + intro ——— */
.about-hero{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}
.about-photo{
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 8px;
  flex-shrink: 0;
}
.about-intro p{
  color: #4a4a4a;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-intro p:last-child { margin-bottom: 0; }
.about-intro p:first-child{
  color: #052837;
  font-size: 17px;
  font-weight: 400;
}

@media (max-width: 620px) {
  .about-hero{ flex-direction: column; align-items: center; text-align: center; }
  .about-photo{ width: 160px; height: 160px; }
}

/* ——— Sections ——— */
.about-section{
  background: #fff;
  border-radius: 8px;
  padding: 24px 30px;
  margin-bottom: 20px;
}
.about-section h2{
  font-size: 16px;
  font-weight: 600;
  color: #83d79b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.about-list{
  list-style: none;
}
.about-list li{
  font-size: 14px;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: solid 1px #eee;
}
.about-list li:last-child { border-bottom: none; }
.about-list a{ color: #83d79b; }

.about-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-links a{
  color: #83d79b;
  text-decoration: none;
  padding: 8px 16px;
  border: solid 1px #83d79b;
  border-radius: 20px;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.about-links a:hover{ background: #83d79b; color: #fff; }

.about-contact{ text-align: center; }
.about-contact a{
  display: inline-block;
  margin-top: 4px;
  color: #83d79b;
  font-size: 18px;
  text-decoration: none;
  border-bottom: solid 1px #83d79b;
  padding-bottom: 2px;
}
.about-contact a:hover{ color: #6ed492; }

/* ——— Site-wide footer ——— */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  color: #9a9a9a;
}
.site-footer a {
  color: #83d79b;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* ——— Hamburger menu (unchanged from your site) ——— */
#menuToggle{
  display: block;
  position: fixed;
  top: 65px;
  left: 50px;
  z-index: 1200;
  user-select: none;
}
#menuToggle a{
  text-decoration: none;
  color: #6ed492;
  transition: color 0.3s ease;
}
#menuToggle a:hover{ color: #ffffff; }
#menuToggle input{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}
#menuToggle span{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #6ed492;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#menuToggle span:first-child{ transform-origin: 0% 0%; }
#menuToggle span:nth-last-child(2){ transform-origin: 0% 100%; }
#menuToggle input:checked ~ span{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #6ed492;
}
#menuToggle input:checked ~ span:nth-last-child(3){
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2){
  transform: rotate(-45deg) translate(0, -1px);
}

#menu{
  position: absolute;
  width: 200px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  left: -40px;
  background: #11111869;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), visibility 0s linear 0.5s;
}
#menu li{ padding: 10px 0; font-size: 22px; }
#menuToggle input:checked ~ ul{
  transform: none;
  visibility: visible;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), visibility 0s;
}
#menuToggle:has(input:focus-visible) {
  outline: 3px solid #83d79b;
  outline-offset: 6px;
  border-radius: 4px;
}
#menuToggle input:not(:checked) ~ #menu { pointer-events: none; }

nav#navMobile {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}

/* Discoverability: visible "Menu" label next to the hamburger icon.
   Uses a ::after pseudo-element (not a real DOM sibling) so it can't
   shift the :nth-last-child/:first-child bar-animation selectors above. */
#menuToggle::after {
  content: "Menu";
  position: absolute;
  left: 46px;
  top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ed492;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}
#menuToggle:hover::after { color: #ffffff; }
#menuToggle:has(input:checked)::after { opacity: 0; }
#menuToggle input { width: 108px; }
