:root {
  --ink: #171411;
  --muted: #665f56;
  --paper: #f5f1ea;
  --soft: #ebe3d7;
  --ivory: #fffaf1;
  --bronze: #9a6b38;
  --deep: #26231f;
  --line: rgba(23, 20, 17, 0.14);
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(23, 20, 17, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(20px, 5vw, 70px);
  color: var(--ivory);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 241, 234, 0.88);
  box-shadow: 0 12px 36px rgba(23, 20, 17, 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: 42px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  font-family: "Noto Serif TC", serif;
  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.1;
}

.brand small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

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

.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: 75px;
  left: 16px;
  right: 16px;
  z-index: 19;
  display: none;
  padding: 20px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

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

.mobile-panel a {
  padding: 16px 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(--ivory);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(23, 20, 17, 0.72), rgba(23, 20, 17, 0.22) 54%, rgba(23, 20, 17, 0.58)),
    var(--hero-image, url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=88")) center / cover;
  transform: scale(1.04);
  animation: settle 1200ms ease forwards;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(23, 20, 17, 0.4), transparent 40%, rgba(23, 20, 17, 0.78)),
    radial-gradient(circle at 12% 84%, rgba(154, 107, 56, 0.34), transparent 36%);
}

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

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

.hero .eyebrow {
  color: #d6b37c;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(58px, 10vw, 140px);
  line-height: 0.96;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.86);
  font-family: "Noto Serif TC", serif;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ivory);
  background: var(--bronze);
}

.button.ghost {
  border-color: rgba(255, 250, 241, 0.7);
  color: var(--ivory);
}

.hero-proof {
  position: absolute;
  right: clamp(22px, 6vw, 78px);
  bottom: 36px;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 420px;
}

.hero-proof span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 250, 241, 0.34);
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 800;
}

.band {
  background: var(--ivory);
}

.intro {
  padding: 92px clamp(22px, 7vw, 96px);
}

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

.intro h2,
.section-heading h2,
.signature h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.12;
}

.intro p,
.signature p,
.contact p,
.timeline p,
.service-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.metrics div {
  display: grid;
  gap: 18px;
  min-height: 190px;
  padding: 34px clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--bronze);
  font-size: 13px;
}

.metrics span {
  align-self: end;
  max-width: 290px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.35;
}

.work-section,
.services,
.process,
.contact {
  padding: 108px clamp(22px, 7vw, 96px);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin-bottom: 52px;
}

.section-heading.split {
  grid-template-columns: 0.36fr 1fr;
  max-width: none;
  align-items: start;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 440px;
  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 45%, rgba(23, 20, 17, 0.76));
}

.project-card img {
  transition: transform 600ms 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(--ivory);
}

.project-card p {
  margin-bottom: 9px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

.service-list article {
  min-height: 360px;
  padding: 34px 32px 42px 0;
  border-right: 1px solid var(--line);
}

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

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

.service-list span {
  display: inline-block;
  margin-bottom: 82px;
  color: var(--bronze);
  font-weight: 800;
}

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

.signature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 720px;
  background: var(--deep);
  color: var(--ivory);
}

.signature-image {
  min-height: 520px;
}

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

.signature p {
  color: rgba(255, 250, 241, 0.74);
}

.signature ul {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.signature li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  color: rgba(255, 250, 241, 0.84);
  font-family: "Noto Serif TC", serif;
  line-height: 1.6;
}

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

.timeline div {
  min-height: 300px;
  padding: 28px 24px 0 0;
  border-right: 1px solid var(--line);
}

.timeline div + div {
  padding-left: 24px;
}

.timeline div:last-child {
  border-right: 0;
}

.timeline strong {
  display: block;
  margin-bottom: 76px;
  color: var(--bronze);
}

.timeline h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.contact {
  background:
    linear-gradient(135deg, rgba(245, 241, 234, 0.94), rgba(235, 227, 215, 0.96)),
    url("https://images.unsplash.com/photo-1600566753376-12c8ab7fb75b?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(28px, 5vw, 72px);
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.contact-methods a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
}

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

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

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

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--bronze);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

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

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

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

.site-footer a {
  font-weight: 800;
}

@keyframes settle {
  to {
    transform: scale(1);
  }
}

@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,
  .section-heading.split,
  .project-grid,
  .signature,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .metrics div,
  .service-list article,
  .service-list article + article,
  .timeline div,
  .timeline div + div {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-list span,
  .timeline strong {
    margin-bottom: 34px;
  }

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

  .signature {
    min-height: auto;
  }
}

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

  .hero-content {
    padding: 112px 20px 130px;
  }

  h1 {
    font-size: clamp(52px, 19vw, 88px);
  }

  .hero-copy {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

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

  .intro,
  .work-section,
  .services,
  .process,
  .contact {
    padding: 74px 20px;
  }

  .intro h2,
  .section-heading h2,
  .signature h2,
  .contact h2 {
    font-size: 35px;
  }

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

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

  .contact-panel {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
