:root {
  --surface: hsl(120 20% 90%);
  --green-900: hsl(149 33% 17%);
  --green-700: hsl(149 39% 27%);
  --green-600: hsl(149 37% 36%);
  --accent: hsl(152 54% 40%);
  --text: hsl(150 14% 16%);
  --muted: hsl(148 7% 32%);
  --border: hsl(134 17% 70%);
  --radius: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(to bottom, hsl(110 17% 69%), hsl(109 18% 63%));
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1em;
  line-height: 1.5;
}

h1, h2, h3, .logo {
  font-family: "Outfit", system-ui, sans-serif;
  padding: 0;
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ol, ul {
  list-style: none;
}
.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  z-index: 1;
  position: relative;
}

.wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 2px,
      hsl(0 0% 100% / .03) 2px 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 3px,
      hsl(0 0% 0% / .025) 3px 4px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 5px,
      hsl(0 0% 100% / .02) 5px 6px
    );
  mix-blend-mode: overlay;
}

/* ---------- Header ---------- */
header {
  background: var(--green-700);
  color: hsl(0 0% 100%);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid hsl(149 33% 20%);
  box-shadow: 0px 1px 0px hsl(149 33% 70%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0px 0px 0px;
}

.logo {
  display: flex;
  align-items: center;
  color: hsl(0 0% 100%);
}

.logo img {
  max-height: 95px;
  max-width: 480px;
}

.menu {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  margin: -8px 0px 0px 0px;
  padding: 0;
}

.menu a {
  color: hsl(133 27% 94%);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s ease;
  text-shadow: 0px 1px 0px hsl(0 0% 0% / .5);
}

.menu a:hover {
  background: var(--green-900);
  text-decoration: none;
  text-shadow: 0px 0px 1px hsl(0 0% 0%);
}

.menu a.active {
  background: hsl(0 0% 100%);
  color: var(--green-700);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid hsl(0 0% 100% / 0.4);
  color: hsl(0 0% 100%);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0px 8px 0px 0px;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- Intro ---------- */
.intro {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding-top: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0px 3px 6px hsl(120 30% 20% / 0.5);
  padding: 28px;
}

.card .photo img {
  width: clamp(260px, 30vw, 360px);
  max-width: 100%;
  height: auto;
}

.intro .bio p {
  margin: 0 0 18px;
  color: var(--text);
}

.intro .bio p:last-child {
  margin-bottom: 0;
}
.under_design {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}
/* ---------- Additional content ---------- */
.sitegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 0px 56px 0px;
}

.panel h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: var(--green-900);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-600);
}

.panel h3 img {
  max-height: 50px;
}

.panel ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.panel li {
  margin-bottom: 8px;
}

.panel li::marker {
  color: var(--green-600);
  font-weight: 600;
}

/* ---------- Footer ---------- */
footer {
  background: var(--green-900);
  color: hsl(132 22% 91%);
  padding: 4px 0px;
  box-shadow: 0px 1px 0px hsl(149 33% 30%)inset, 0px 6px 35px hsl(120 30% 10% / 0.8);
  border-top: 1px solid hsl(149 33% 6%);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.foot small {
  color: hsl(141 16% 75%);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .intro {
    flex-direction: column;
  }
  .sitegrid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-700);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .menu.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  header {
    position: relative;
  }
  .menu a {
    padding: 4px 14px;
}
}

@media (max-width: 480px) {
  .logo img {
    max-height: 75px;
    max-width: 280px;
  }
}

@media (max-width: 360px) {
  .logo img {
    max-height: 75px;
    max-width: 200px;
  }
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
