:root {
  color-scheme: dark;
  --ink: #0c0c0c;
  --paper: #f4f1ea;
  --soft: #d8d4ca;
  --muted: #a5a09a;
  --line: rgba(244, 241, 234, 0.18);
  --panel: rgba(244, 241, 234, 0.055);
  --panel-strong: rgba(244, 241, 234, 0.1);
  --orange: #d96f32;
  --orange-soft: rgba(217, 111, 50, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(217, 111, 50, 0.16), transparent 28rem),
    linear-gradient(180deg, #111 0%, var(--ink) 42%, #171512 100%);
  color: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(244, 241, 234, 0.035) 1px, transparent 1px);
  background-size: 100% 44px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 86%, transparent);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-family: Georgia, "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.nav {
  gap: 4px;
}

.nav a {
  min-width: 54px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.nav a:hover {
  color: var(--paper);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100svh - 70px);
  padding: 48px 0 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4.2vw, 54px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--soft);
  font-size: 18px;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 760;
}

.primary {
  background: var(--orange);
  color: #140d08;
}

.secondary {
  border-color: var(--line);
  background: rgba(244, 241, 234, 0.04);
  color: var(--paper);
}

.hero-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #191919;
}

.art-panel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(244, 241, 234, 0.08), transparent 34%),
    radial-gradient(circle at 76% 26%, rgba(217, 111, 50, 0.22), transparent 16rem),
    repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.065) 0 1px, transparent 1px 54px),
    #151515;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.5));
}

.art-line {
  position: absolute;
  display: block;
  height: 1px;
  background: rgba(244, 241, 234, 0.32);
  transform-origin: left center;
}

.art-line.one {
  top: 22%;
  left: 12%;
  width: 68%;
  transform: rotate(16deg);
}

.art-line.two {
  top: 58%;
  left: 10%;
  width: 82%;
  transform: rotate(-10deg);
}

.art-line.three {
  top: 34%;
  left: 48%;
  width: 46%;
  background: var(--orange);
  transform: rotate(68deg);
}

.art-word {
  position: absolute;
  right: 8%;
  bottom: 10%;
  color: rgba(244, 241, 234, 0.08);
  font-family: Georgia, serif;
  font-size: clamp(140px, 18vw, 260px);
  font-weight: 700;
  line-height: 0.8;
}

.hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(244, 241, 234, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 76px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.28;
}

.intro-band p {
  margin-bottom: 0;
}

.section {
  padding: 28px 0 88px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-card.feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 24px;
  padding: 0;
  overflow: hidden;
}

.photo-abstract {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244, 241, 234, 0.12), transparent 42%),
    repeating-linear-gradient(0deg, rgba(244, 241, 234, 0.06) 0 1px, transparent 1px 30px),
    #141414;
}

.photo-abstract::before,
.photo-abstract::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(244, 241, 234, 0.26);
  background: rgba(244, 241, 234, 0.035);
}

.photo-abstract::before {
  inset: 16% 42% 22% 10%;
}

.photo-abstract::after {
  inset: 8% 12% 15% 45%;
  border-color: rgba(217, 111, 50, 0.55);
}

.photo-abstract span {
  position: relative;
  z-index: 1;
  color: rgba(244, 241, 234, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card.feature div {
  align-self: end;
  padding: 24px 24px 28px 0;
}

.service-card.accent {
  background: var(--orange-soft);
  border-color: rgba(217, 111, 50, 0.48);
}

.num {
  display: block;
  margin-bottom: 34px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 40px;
  font-style: italic;
  line-height: 1;
}

.service-card p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 14px;
}

.work-strip article {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(244, 241, 234, 0.08), transparent 54%),
    var(--panel);
}

.work-index {
  display: block;
  margin-bottom: 88px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.work-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.76fr);
  gap: 32px;
  align-items: start;
  margin: 0 0 80px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

#copyStatus {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 58px) 32px;
  color: rgba(244, 241, 234, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .topbar {
    min-height: 64px;
  }

  .nav a {
    min-width: auto;
    padding: 7px 8px;
  }

  .hero,
  .contact,
  .intro-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-media {
    min-height: 360px;
    height: 360px;
  }

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

  .service-card.feature {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .service-card.feature div {
    padding: 0 24px 28px;
  }

  .work-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    padding-inline: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-media figcaption,
  .footer {
    flex-direction: column;
  }

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