:root {
  --ink: #24312f;
  --muted: #687674;
  --line: #dbe4e1;
  --paper: #ffffff;
  --wash: #f3f7f6;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --gold: #b58b2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.section-heading,
.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.notice span,
.filter-label span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #173432;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 35, 34, 0.92) 0%, rgba(18, 35, 34, 0.68) 42%, rgba(18, 35, 34, 0.24) 100%),
    linear-gradient(180deg, rgba(18, 35, 34, 0.26) 0%, rgba(18, 35, 34, 0.52) 100%),
    url("images/energy-facility-hero.jpg") center / cover no-repeat;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  min-height: 430px;
  padding: 74px 0;
  align-items: end;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.18;
}

h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.hero h1 {
  max-width: 760px;
  color: #fff;
}

.hero .eyebrow {
  color: #d8bd72;
}

.notice {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero .notice span {
  color: rgba(255, 255, 255, 0.72);
}

.notice strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.content-section {
  padding: 42px 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  margin-bottom: 48px;
  padding: 42px 0;
  align-items: stretch;
}

.section-heading {
  margin-bottom: 20px;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

select {
  min-width: 120px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.report-groups {
  display: grid;
  gap: 26px;
}

.year-title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.report-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-item {
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.report-title {
  display: block;
  font-weight: 700;
}

.download-btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.download-btn:hover,
.download-btn:focus {
  background: var(--accent-dark);
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.empty-state {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.contact-section p {
  margin-bottom: 0;
  color: var(--muted);
  white-space: pre-line;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-copy {
  padding: 0;
}

.contact-copy h2 {
  margin-bottom: 12px;
}

.agency-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #111b22;
  color: #eef7f6;
  box-shadow: 0 18px 42px rgba(15, 35, 34, 0.16);
}

.agency-logo {
  display: block;
  width: min(260px, 82%);
  height: auto;
  margin: 0 0 24px;
}

.agency-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.1rem;
}

.agency-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.agency-list div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.agency-list dt {
  color: #2ca8ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.agency-list dd {
  margin: 0;
}

.agency-list a {
  color: inherit;
  text-decoration: none;
}

.agency-list a:hover,
.agency-list a:focus {
  color: #7dd3fc;
}

.brand-statement {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.statement-accent {
  flex: 0 0 auto;
  width: 6px;
  border-radius: 999px;
  background: #0ea5e9;
}

.brand-statement h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.brand-statement p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #173432;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.4fr;
  gap: 32px;
  padding: 34px 0 28px;
}

.footer-block h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

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

.footer-links,
.company-info {
  margin: 0;
  padding: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-links a,
.company-info a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.company-info a:hover,
.company-info a:focus {
  color: #fff;
}

.company-info {
  display: grid;
  gap: 8px;
}

.company-info div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
}

.company-info dt {
  color: rgba(255, 255, 255, 0.58);
}

.company-info dd {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .header-inner,
  .section-heading,
  .report-item {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 460px;
    padding: 48px 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .brand-statement {
    margin-top: 0;
  }

  .download-btn {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
}
