:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --paper: rgba(255, 253, 248, 0.68);
  --glass: rgba(255, 255, 255, 0.5);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --ink: #151716;
  --muted: #646965;
  --line: rgba(21, 23, 22, 0.13);
  --green: #0d6b55;
  --green-dark: #083f35;
  --blue: #315f9d;
  --amber: #b77820;
  --rose: #9a486a;
  --shadow: 0 24px 70px rgba(34, 37, 34, 0.12);
  font-family: Inter, "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 16%, rgba(13, 107, 85, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(49, 95, 157, 0.14), transparent 30%),
    radial-gradient(circle at 68% 88%, rgba(183, 120, 32, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.94) 0%, rgba(245, 241, 232, 0.88) 52%, rgba(239, 246, 243, 0.9) 100%),
    var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0 12px;
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  min-width: 0;
}

.brand-link img {
  display: block;
  width: clamp(130px, 16vw, 196px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  padding: 38px 0 76px;
}

.hero {
  width: 100%;
  min-height: 0;
  margin-top: 18px;
  padding: clamp(34px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(22px) saturate(1.25);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.8vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero__text p {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  line-height: 1.95;
}

.archive {
  padding-top: 34px;
}

.archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.archive-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
}

.medium-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--green-dark);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(8, 63, 53, 0.94), rgba(13, 107, 85, 0.82));
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 63, 53, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 900;
  white-space: nowrap;
}

.medium-link:hover,
.medium-link:focus-visible {
  background: var(--green);
  border-color: var(--green);
}

.article-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32)),
    var(--paper);
  box-shadow: 0 18px 50px rgba(34, 37, 34, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, rgba(13, 107, 85, 0.92), rgba(13, 107, 85, 0.38));
}

.article-card:hover,
.article-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(13, 107, 85, 0.34);
  box-shadow: 0 28px 70px rgba(34, 37, 34, 0.14);
}

.article-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(13, 107, 85, 0.09);
  filter: blur(4px);
  pointer-events: none;
}

.theme-master::before {
  background: linear-gradient(90deg, rgba(49, 95, 157, 0.92), rgba(49, 95, 157, 0.34));
}

.theme-internship::before {
  background: linear-gradient(90deg, rgba(183, 120, 32, 0.94), rgba(183, 120, 32, 0.34));
}

.theme-volunteer::before {
  background: linear-gradient(90deg, rgba(154, 72, 106, 0.94), rgba(154, 72, 106, 0.34));
}

.article-card__theme {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.article-card__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--green-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 12px 28px rgba(34, 37, 34, 0.08);
}

.article-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-master .article-card__theme {
  color: var(--blue);
}

.theme-master .article-card__icon {
  color: var(--blue);
}

.theme-internship .article-card__theme {
  color: var(--amber);
}

.theme-internship .article-card__icon {
  color: var(--amber);
}

.theme-volunteer .article-card__theme {
  color: var(--rose);
}

.theme-volunteer .article-card__icon {
  color: var(--rose);
}

.article-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.38;
}

.article-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.82;
}

.article-card__action {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 900;
}

.article-card__action::after {
  content: " →";
}

.site-footer {
  text-align: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer p {
  margin-bottom: 0;
}

.updating-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.updating-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 56px 0 76px;
}

.updating-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(130px, 20vw, 190px);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  width: min(820px, 100%);
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.25);
}

.updating-panel h1 {
  max-width: 560px;
  margin-bottom: 18px;
}

.updating-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.updating-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  line-height: 1.95;
}

.updating-orbit {
  position: relative;
  justify-self: end;
  display: grid;
  width: clamp(96px, 18vw, 170px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 46px rgba(34, 37, 34, 0.1);
}

.updating-orbit::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(13, 107, 85, 0.28);
  border-radius: 50%;
}

.updating-orbit img {
  width: 58%;
  filter: drop-shadow(0 16px 24px rgba(34, 37, 34, 0.14));
}

.updating-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--green-dark);
  font-weight: 900;
}

.text-link::after {
  content: " →";
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green);
}

@media (max-width: 980px) {
}

@media (max-width: 700px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-link img {
    width: clamp(106px, 34vw, 140px);
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
  }

  .site-nav a {
    min-height: 30px;
    font-size: 0.82rem;
  }

  main {
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
  }

  .archive-heading {
    display: block;
  }

  .medium-link {
    margin-top: 16px;
  }

  .article-board {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 260px;
  }

  .article-card__theme {
    margin-bottom: 28px;
  }

  .updating-orbit {
    justify-self: start;
    margin-bottom: 24px;
  }

  .updating-panel {
    grid-template-columns: 1fr;
  }

}
