:root {
  color-scheme: light;
  --ink: #2b211b;
  --muted: #77665a;
  --paper: #f5ecdf;
  --white: #fff8ef;
  --line: #ddcab6;
  --clay: #a76342;
  --walnut: #4a3428;
  --moss: #77745b;
  --blue: #5a4639;
  --brass: #bd8750;
  --shadow: 0 24px 70px rgba(74, 52, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(189, 135, 80, 0.18), transparent 30vw),
    linear-gradient(180deg, #fff5e8 0%, var(--paper) 46%, #eadbc8 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body[data-lang="zh"] {
  font-family:
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Inter, ui-sans-serif, system-ui,
    sans-serif;
}

body[data-lang="zh"] h1,
body[data-lang="zh"] h2,
body[data-lang="zh"] h3 {
  font-family: Georgia, "Noto Serif TC", "Songti TC", serif;
}

body::before {
  position: fixed;
  right: max(-80px, -5vw);
  bottom: max(-90px, -7vw);
  z-index: -1;
  width: min(48vw, 620px);
  aspect-ratio: 895 / 579;
  background: url("assets/logo-transparent.png") center / contain no-repeat;
  content: "";
  opacity: 0.055;
  pointer-events: none;
}

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 248, 239, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: clamp(132px, 12vw, 180px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: none;
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 82px;
  border: 1px solid currentColor;
  --switch-active-bg: var(--white);
  --switch-active-text: var(--ink);
}

.language-switch button {
  min-height: 34px;
  border: 0;
  border-right: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button:last-child {
  border-right: 0;
}

.language-switch button.is-active {
  background: var(--switch-active-bg);
  color: var(--switch-active-text);
}

.site-header.is-scrolled .language-switch button.is-active,
.site-header.is-open .language-switch button.is-active {
  --switch-active-bg: var(--ink);
  --switch-active-text: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #1d1713;
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: clamp(-60px, -2vw, 0px);
  bottom: 76px;
  z-index: 1;
  width: min(46vw, 620px);
  aspect-ratio: 895 / 579;
  background: url("assets/logo-transparent.png") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.13;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 30, 21, 0.82), rgba(71, 45, 31, 0.38) 48%, rgba(73, 52, 36, 0.18)),
    linear-gradient(0deg, rgba(120, 68, 38, 0.16), rgba(120, 68, 38, 0.16)),
    url("assets/chron-interior-hero.jpg") center / cover;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 92vh;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(22px, 6vw, 86px) 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c27e;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 680px;
  font-size: clamp(58px, 9vw, 126px);
}

h1 span {
  display: block;
  margin-top: 6px;
  font-size: clamp(42px, 6vw, 82px);
}

.hero-copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  background: var(--clay);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 248, 239, 0.64);
  color: var(--white);
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, 0.24);
  background: rgba(42, 28, 21, 0.58);
  backdrop-filter: blur(16px);
}

.hero-strip span {
  min-height: 64px;
  padding: 20px clamp(14px, 3vw, 34px);
  border-right: 1px solid rgba(255, 253, 248, 0.18);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 10vw, 130px) clamp(22px, 6vw, 86px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.96), rgba(255, 248, 239, 0.9)),
    url("assets/logo-transparent.png") right 9% center / min(34vw, 420px) auto no-repeat;
}

.section-heading h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 68px);
}

.intro-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.intro-copy p {
  margin: 0 0 24px;
}

.intro-copy .cn {
  color: var(--blue);
  font-size: clamp(16px, 1.9vw, 19px);
}

.company-description {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) clamp(22px, 6vw, 86px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(82, 55, 39, 0.96), rgba(126, 80, 51, 0.9)),
    url("assets/logo-transparent.png") right 6% center / min(42vw, 520px) auto no-repeat;
  color: var(--white);
}

.company-description::after {
  position: absolute;
  right: clamp(18px, 7vw, 92px);
  bottom: -26px;
  width: min(38vw, 440px);
  aspect-ratio: 895 / 579;
  background: url("assets/logo-transparent.png") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.08;
  pointer-events: none;
}

.company-description-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
}

.company-description h2 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 62px);
}

.company-copy {
  display: grid;
  gap: 20px;
  max-width: 720px;
  color: rgba(255, 248, 239, 0.84);
  font-size: clamp(17px, 1.8vw, 21px);
}

.company-copy p {
  margin: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #eadbc8;
}

.metrics div {
  display: grid;
  gap: 12px;
  min-height: 150px;
  align-content: center;
  padding: 28px clamp(22px, 5vw, 70px);
  border-right: 1px solid var(--line);
}

.metrics strong {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
}

.metrics span {
  color: var(--blue);
  font-weight: 800;
}

.services {
  background: #f2e5d5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  min-height: 270px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  background: rgba(255, 248, 239, 0.86);
}

.service-card .icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 48px;
  place-items: center;
  background: var(--walnut);
  color: var(--white);
  font-size: 24px;
}

.service-card h3,
.work-item h3 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.work {
  background:
    linear-gradient(0deg, rgba(36, 25, 18, 0.96), rgba(36, 25, 18, 0.96)),
    url("assets/logo-transparent.png") right 8% top 80px / min(38vw, 560px) auto no-repeat;
}

.work .section-heading h2 {
  color: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 42px;
}

.work-item {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #2a1e17;
  color: var(--white);
}

.work-item.large {
  grid-row: span 2;
  min-height: 740px;
}

.work-item img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 500ms ease;
}

.work-item:hover img {
  transform: scale(1.035);
}

.work-item div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.work-item span {
  display: block;
  margin-bottom: 10px;
  color: #f0c27e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item h3 {
  max-width: 640px;
  color: var(--white);
}

.completed-project {
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.96), rgba(244, 225, 201, 0.94)),
    url("assets/logo-transparent.png") right 8% center / min(38vw, 500px) auto no-repeat;
}

.completed-project-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
  margin-top: 40px;
}

.completed-project-panel p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.vr-preview {
  position: relative;
  display: grid;
  min-height: 320px;
  align-content: end;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(52, 34, 24, 0.94), rgba(141, 82, 48, 0.7)),
    url("assets/chron-interior-hero.jpg") center / cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.vr-preview::before {
  position: absolute;
  inset: 0;
  background: url("assets/logo-transparent.png") right -40px bottom -40px / 360px auto no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.14;
}

.vr-preview span,
.vr-preview strong {
  position: relative;
  z-index: 1;
}

.vr-preview span {
  margin-bottom: 16px;
  color: #f0c27e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.85;
}

.vr-preview strong {
  max-width: 440px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.02;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.94), rgba(255, 248, 239, 0.98)),
    url("assets/logo-transparent.png") left -80px bottom 40px / min(34vw, 440px) auto no-repeat;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.process-list li::before {
  color: var(--clay);
  content: "0" counter(step);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.process-list span {
  color: var(--blue);
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(72px, 10vw, 130px) clamp(22px, 6vw, 86px);
  background:
    linear-gradient(120deg, rgba(74, 52, 40, 0.98), rgba(115, 73, 49, 0.94)),
    url("assets/logo-transparent.png") left 7% center / min(35vw, 480px) auto no-repeat;
  color: var(--white);
}

.contact h2 {
  max-width: 620px;
  font-size: clamp(36px, 5vw, 70px);
}

.contact p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 18px;
}

.contact-email {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.contact-email span {
  color: #f0c27e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-email a,
.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 248, 239, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffaf3;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(22px, 6vw, 86px);
  background: #201712;
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.site-footer p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 82px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.86;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(255, 248, 239, 0.98);
    color: var(--ink);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-strip,
  .metrics,
  .service-grid,
  .work-grid,
  .completed-project-panel,
  .intro,
  .company-description-inner,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 52px;
    padding: 16px 18px;
  }

  .work-item.large,
  .work-item {
    min-height: 420px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 118px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switch {
    min-width: 70px;
  }

  .language-switch button {
    min-height: 32px;
    font-size: 11px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(45, 30, 21, 0.78), rgba(71, 45, 31, 0.46)),
      linear-gradient(0deg, rgba(120, 68, 38, 0.16), rgba(120, 68, 38, 0.16)),
      url("assets/chron-interior-hero.jpg") 59% center / cover;
  }

  .hero::after {
    right: -58px;
    bottom: 150px;
    width: 310px;
    opacity: 0.1;
  }

  .hero-content {
    min-height: 100svh;
    padding-bottom: 210px;
  }

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .contact {
    padding-block: 68px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card .icon {
    margin-bottom: 34px;
  }

  .work-item.large,
  .work-item {
    min-height: 360px;
  }

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