:root {
  --ink: #13201b;
  --deep: #0c1815;
  --green: #173d34;
  --mint: #d7e5dc;
  --paper: #f6f4ee;
  --stone: #e6e0d5;
  --gold: #b88a47;
  --muted: #657168;
  --line: rgba(19, 32, 27, 0.14);
  --white: #fffdf7;
  --shadow: 0 28px 80px rgba(12, 24, 21, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", "Noto Serif TC", sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 68px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 244, 238, 0.9);
  box-shadow: 0 12px 34px rgba(12, 24, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

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

.brand strong {
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 800;
}

.nav-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 900;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.mobile-panel {
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  z-index: 19;
  display: none;
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-panel.is-open {
  display: grid;
}

.mobile-panel a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 21, 0.82), rgba(12, 24, 21, 0.42) 48%, rgba(12, 24, 21, 0.72)),
    var(--hero-image, url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=88")) center / cover;
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(12, 24, 21, 0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 920px;
  padding: 126px clamp(22px, 7vw, 96px) 96px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(48px, 8.2vw, 112px);
  line-height: 1.04;
}

.english-name {
  margin-bottom: 24px;
  color: var(--mint);
  font-size: clamp(24px, 4vw, 54px);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 253, 247, 0.84);
  font-family: "Noto Serif TC", serif;
  font-size: clamp(19px, 2.1vw, 29px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-weight: 900;
}

.button.primary {
  color: var(--deep);
  background: var(--gold);
}

.button.ghost {
  border-color: rgba(255, 253, 247, 0.66);
  color: var(--white);
}

.hero-card {
  position: absolute;
  right: clamp(20px, 6vw, 76px);
  bottom: 38px;
  z-index: 2;
  width: min(360px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(255, 253, 247, 0.28);
  background: rgba(12, 24, 21, 0.62);
  backdrop-filter: blur(16px);
}

.hero-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-card strong {
  display: block;
  margin: 12px 0;
  font-size: 24px;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 253, 247, 0.76);
  line-height: 1.65;
}

.intro,
.work,
.services,
.contact {
  padding: 104px clamp(22px, 7vw, 96px);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.promise h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.14;
}

.intro p,
.service-list p,
.promise p,
.process p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green);
  color: var(--white);
}

.metrics div {
  min-height: 190px;
  padding: 32px clamp(22px, 4vw, 54px);
  border-right: 1px solid rgba(255, 253, 247, 0.18);
}

.metrics strong {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-size: 13px;
}

.metrics span {
  display: block;
  max-width: 300px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.32;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 50px;
}

.section-heading.compact {
  max-width: 760px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--deep);
}

.project-card.large {
  grid-row: span 2;
  min-height: 760px;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(12, 24, 21, 0.82));
}

.project-card img {
  transition: transform 560ms ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  color: var(--white);
}

.project-card p {
  margin-bottom: 9px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 42px);
}

.services {
  background: var(--white);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service-list article {
  min-height: 340px;
  padding: 32px 30px 38px 0;
  border-right: 1px solid var(--line);
}

.service-list article + article {
  padding-left: 30px;
}

.service-list article:last-child {
  border-right: 0;
}

.service-list span {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--gold);
  font-weight: 900;
}

.service-list h3 {
  margin-bottom: 16px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  background: var(--deep);
  color: var(--white);
}

.promise-copy {
  align-self: center;
  padding: clamp(42px, 7vw, 92px);
}

.promise p {
  color: rgba(255, 253, 247, 0.72);
}

.promise-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.promise-points span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  color: rgba(255, 253, 247, 0.86);
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item {
  min-height: 300px;
  padding: 34px clamp(22px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.process-item:last-child {
  border-right: 0;
}

.process-item strong {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
}

.process-item h3 {
  margin-bottom: 14px;
  font-size: 27px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 90px);
  background:
    linear-gradient(135deg, rgba(246, 244, 238, 0.96), rgba(215, 229, 220, 0.94)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact-methods a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.56);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(19, 32, 27, 0.18);
  border-radius: 0;
  padding: 15px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font: inherit;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--gold);
  background: white;
}

.lead-form button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(22px, 7vw, 96px);
  color: var(--white);
  background: var(--deep);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 6px;
  color: rgba(255, 253, 247, 0.64);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 16px 18px;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .intro-grid,
  .project-grid,
  .promise,
  .contact {
    grid-template-columns: 1fr;
  }

  .metrics,
  .service-list,
  .process {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .service-list article,
  .service-list article + article,
  .process-item {
    min-height: auto;
    padding: 28px 0;
    margin: 0 clamp(22px, 7vw, 96px);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics strong,
  .service-list span,
  .process-item strong {
    margin-bottom: 32px;
  }

  .project-card,
  .project-card.large {
    min-height: 410px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 94svh;
  }

  .hero-content {
    padding: 108px 20px 210px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 72px);
  }

  .english-name {
    font-size: 30px;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .intro,
  .work,
  .services,
  .contact {
    padding: 72px 20px;
  }

  .intro h2,
  .section-heading h2,
  .promise h2,
  .contact h2 {
    font-size: 34px;
  }

  .project-card,
  .project-card.large {
    min-height: 360px;
  }

  .promise-copy {
    padding: 56px 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
