:root {
  color-scheme: light;
  --ink: #10172a;
  --paper: #faf9f6;
  --night: #0b1122;
  --orange: #ff794a;
  --line: #d6d6d0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3e89cf; outline-offset: 4px; }
.wrap { width: min(87%, 1360px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .8rem; background: white; }
.skip:focus { top: .5rem; }
header { background: var(--night); color: white; }
.bar { display: flex; align-items: center; gap: 3.6rem; min-height: 80px; border-bottom: 1px solid #ffffff25; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.word { font-weight: 730; font-size: 1.25rem; line-height: 1; letter-spacing: .12em; }
.word span { display: block; font-size: .56rem; letter-spacing: .14em; margin-top: 5px; }
.mark { width: 35px; height: 36px; display: block; position: relative; transform: skewX(-16deg); }
.mark::before, .mark::after { content: ""; position: absolute; width: 10px; background: var(--orange); border-radius: 1px; }
.mark::before { inset: 10px auto 0 4px; transform: rotate(-36deg); }
.mark::after { inset: 0 8px 0 auto; }
nav, .lang { display: flex; align-items: center; }
nav { gap: 2.2rem; }
nav a, .lang a { font-size: .91rem; padding-block: 12px; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.lang { gap: 8px; }
.lang a { color: #a8afbe; }
.lang a[aria-current] { color: #fff; font-weight: 650; }
.lang i { width: 1px; height: 12px; background: #545969; transform: rotate(17deg); }
.hero { background: var(--night); color: #faf9f6; overflow: hidden; }
.hero-inner { position: relative; isolation: isolate; min-height: clamp(510px, 41.5vw, 650px); display: flex; align-items: center; }
.art { pointer-events: none; position: absolute; z-index: -1; width: 71%; height: 108%; right: -7%; top: -3%; background: url("filaments.webp") center/contain no-repeat; mask-image: linear-gradient(90deg, transparent, black 12%, black 95%, transparent); }
.hero-copy { width: 46%; padding: 54px 0 62px; }
.eyebrow, .category { font: 600 .78rem/1.4 "Consolas", "Courier New", monospace; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #50566a; }
.eyebrow i { height: 3px; width: 21px; background: #d55a36; }
.eyebrow.light { color: #e0d9d7; }
.light i { background: var(--orange); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3.5rem, 5.15vw, 5.85rem); font-weight: 670; line-height: 1.18; letter-spacing: -.055em; margin: 1.4rem 0 1.25rem; }
h1 span { color: var(--orange); }
.hero-copy p { color: #c4cad6; line-height: 1.85; max-width: 29em; font-size: 1.04rem; }
.cta { display: inline-block; border-radius: 3px; background: var(--orange); color: #191a23; padding: .78rem 1.34rem; font-weight: 650; margin-top: 1.8rem; transition: background .2s; }
.cta:hover { background: #ff976d; }
.work, .about-inner { padding-block: clamp(50px, 5.2vw, 84px); }
h2 { margin: .65rem 0 1.9rem; font-size: clamp(2.15rem, 3.2vw, 3.6rem); letter-spacing: -.045em; line-height: 1.24; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid #a8aaac; }
.service { padding: 1.65rem 8% 0 0; }
.service + .service { padding-left: 8%; border-left: 1px solid var(--line); }
.glyph { height: 42px; width: 60px; position: relative; margin-bottom: 1.1rem; color: #bd492a; }
.glyph i { position: absolute; display: block; border: 1.5px solid currentColor; }
.glyph-0 i { width: 32px; height: 23px; top: 7px; transform: rotate(-34deg); border-radius: 50%; }
.glyph-0 i:nth-child(2) { left: 7px; }
.glyph-0 i:nth-child(3) { left: 14px; }
.glyph-1 i { width: 30px; height: 24px; top: 4px; border-radius: 50% 50% 50% 12%; }
.glyph-1 i:nth-child(2) { left: 12px; top: 13px; transform: scaleX(-1); }
.glyph-1 i:last-child { display: none; }
.glyph-2 i { left: 9px; top: 4px; width: 25px; height: 25px; transform: rotate(45deg) skew(-13deg,-13deg); }
.glyph-2 i:nth-child(2) { top: 9px; }
.glyph-2 i:nth-child(3) { top: 14px; }
.category { color: #606575; margin-bottom: .42rem; }
.service h3, .about h3 { font-size: clamp(1.45rem, 1.8vw, 2rem); letter-spacing: -.035em; margin-bottom: .75rem; font-weight: 650; line-height: 1.35; }
.service p:not(.category), .about p { color: #464e60; line-height: 1.85; font-size: 1rem; }
details { margin-top: 1rem; }
summary { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .91rem; font-weight: 600; min-height: 40px; }
summary::-webkit-details-marker { display: none; }
summary b { width: 12px; height: 12px; position: relative; }
summary b::before, summary b::after { content: ""; width: 10px; height: 1px; background: currentColor; position: absolute; top: 5px; left: 1px; }
summary b::after { transform: rotate(90deg); }
details[open] summary b::after { display: none; }
details p { margin-top: .35rem; }
.about { background: #eceefa; }
.about-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5%; }
.about-inner p { max-width: 41em; }
.place { display: block; font-size: .9rem; line-height: 1.4; color: #50596c; margin-top: 1.3rem; }
.foot { display: flex; justify-content: space-between; gap: 1.6rem; padding-block: 27px; font-size: .88rem; color: #50596c; }
html[lang=en] h1 { font-size: clamp(3.3rem, 4.8vw, 5.35rem); line-height: 1.04; }
@media(max-width: 800px) {
  .wrap { width: 90%; } .bar { min-height: 68px; gap: 1.8rem; }
  .hero-copy { width: 50%; } h1 { font-size: 3.2rem; }
  .hero-inner { min-height: 460px; } .art { right: -12%; }
  .hero-copy p { font-size: 1rem; }
}
@media(max-width: 650px) {
  .bar { min-height: 64px; gap: 1rem; } nav { gap: 1rem; } nav a, .lang a { font-size: .875rem; }
  .brand { gap: 4px; } .mark { scale: .85; width: 30px; } .word { font-size: 1.08rem; }
  .hero-inner { display: block; min-height: auto; padding-bottom: 1px; }
  .hero-copy { width: 100%; padding: 40px 0 0; }
  h1 { font-size: clamp(2.65rem, 10.5vw, 3.8rem); margin: 1rem 0; }
  html[lang=en] h1 { font-size: clamp(2.8rem, 10.6vw, 3.9rem); }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; }
  .art { order: 2; position: relative; width: 100%; height: auto; aspect-ratio: 1.65; top: auto; right: auto; margin: 8px 0; background-size: contain; mask-image: linear-gradient(0deg, transparent, black 6%, black 96%, transparent); }
  .cta { margin-top: 1.15rem; } .services, .about-inner { grid-template-columns: 1fr; }
  .service, .service + .service { border-left: 0; padding: 1.35rem 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .glyph { float: right; margin: 0; }
  .work { padding-bottom: 1.8rem; }
  .about-inner { gap: .1rem; }
  .foot { gap: 12px; flex-wrap: wrap; }
}
@media(max-width: 365px) {
  .bar, nav { gap: .65rem; }
}
