@font-face {
  font-family: "FatKit DM";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "FatKit HK";
  src: url("assets/fonts/noto-sans-hk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #26272b;
  --orange: #d05225;
  --paper: #fcf9f4;
  --rule: #d8d1c6;
  --gutter: clamp(1.2rem, 5.5vw, 6rem);
  --panel-inset: clamp(.5rem, 1.7vw, 2rem);
  --panel-radius: clamp(1.5rem, 3.2vw, 3.5rem);
  --photo-radius: clamp(1rem, 1.9vw, 2rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 "FatKit DM", "FatKit HK", "PingFang HK", "Microsoft JhengHei", sans-serif; }
a { color: inherit; text-underline-offset: .3em; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #0080a1; outline-offset: 4px; }
.skip { position: absolute; z-index: 4; top: -5rem; left: 1rem; padding: .65rem; background: white; }
.skip:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1540px); margin-inline: auto; }
header .bar { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { width: 154px; display: block; }
.languages { display: inline-flex; justify-self: start; border: 1px solid #beb8af; border-radius: 32px; padding: 2px; }
.languages button { font-family: inherit; font-weight: 650; font-size: .87rem; min-width: 44px; min-height: 42px; border: 0; border-radius: 24px; background: transparent; color: var(--ink); cursor: pointer; }
.languages button[aria-pressed="true"] { background: var(--ink); color: white; }
nav, footer.bar { display: flex; align-items: center; }
nav { justify-self: end; gap: clamp(.75rem, 2.3vw, 2.8rem); }
nav a, footer a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
nav a:hover, footer a:hover { text-decoration: underline; }
h1, h2, h3, p, figure { margin: 0; }
.hero, .contact { margin-inline: var(--panel-inset); border-radius: var(--panel-radius); }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(540px, 42vw, 760px); color: #fff9f1; background: #171819; }
.hero-image { z-index: -2; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero::before { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,14,15,.64),rgba(12,14,15,.25) 37%,transparent 57%); }
.intro { padding-block: 3.3rem; }
h1 { font-size: clamp(4rem, 6.4vw, 7.3rem); letter-spacing: -.055em; line-height: 1.06; font-weight: 800; }
html[lang="en"] h1 { letter-spacing: -.068em; }
html[lang="zh-HK"] h1 { letter-spacing: -.045em; font-weight: 770; line-height: 1.12; }
.lead, .services p, .contact-copy p { line-height: 1.78; }
.lead { max-width: min(39%, 29rem); margin: 1.45rem 0 1.65rem; font-size: 1.06rem; color: #f1ede8; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 30px; padding: .72rem 1.5rem; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
.button:hover { background: #ffd2b4; }
.image-note { position: absolute; right: var(--gutter); bottom: 1rem; color: #f8f4ef; background: #22282ae0; border-radius: 1rem; padding: .2rem .65rem; font-size: .77rem; }
.columns { display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: clamp(3rem, 9vw, 10rem); }
.studio, .contact { padding-block: clamp(3.25rem, 6vw, 7rem); }
h2 { font-size: clamp(2.55rem, 4.2vw, 5rem); letter-spacing: -.055em; line-height: 1.12; }
.studio-visual figure { margin-top: 1.7rem; }
.material { display: block; width: 100%; aspect-ratio: 2.05; object-fit: cover; border-radius: var(--photo-radius); }
figcaption { display: flex; justify-content: space-between; gap: 1rem; color: #57534e; padding-top: .55rem; font-size: .82rem; }
.services article { border-top: 1px solid var(--rule); padding: 1.2rem 0 1.35rem; }
.services article:first-child { border-top: 3px solid var(--orange); }
.services article:last-child { padding-bottom: 0; }
h3 { margin-bottom: .32rem; font-size: 1.45rem; line-height: 1.3; }
.contact { background: #f1d4c0; }
.contact-copy { align-self: center; max-width: 32rem; }
.contact .button { margin-top: 1.25rem; gap: .6rem; max-width: 100%; background: var(--ink); color: white; }
.contact .button img { flex: none; }
@media (max-width: 390px) { .contact .button { padding-inline: 1rem; font-size: .94rem; } }
.contact .button:hover { background: #513024; }
footer.bar { justify-content: space-between; min-height: 84px; font-weight: 700; }
@media (max-width: 720px) {
  header .bar { min-height: 66px; grid-template-columns: auto 1fr auto; gap: .65rem; }
  .wordmark { width: 108px; }
  nav { gap: .7rem; font-size: .88rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; background: #101112; }
  .hero::before { display: none; }
  .hero-image { position: static; z-index: auto; display: block; height: clamp(225px, 56vw, 350px); object-position: 90% 50%; }
  .intro { padding-block: 1.9rem 2.6rem; }
  h1 { font-size: clamp(2.85rem, 8.3vw, 4.2rem); }
  h1 br { display: none; }
  html[lang="en"] h1 span::before { content: " "; }
  .lead { max-width: 34rem; margin: 1rem 0 1.3rem; }
  .image-note { bottom: auto; top: .7rem; right: .8rem; }
  .columns { grid-template-columns: 1fr; gap: 2rem; }
  .studio-visual figure { margin-top: 1.2rem; }
  .services article { padding-block: 1rem; }
}
@media (max-width: 630px) {
  header .bar { grid-template-columns: auto 1fr; padding-block: .35rem; row-gap: 0; }
  header .bar>a { justify-self: end; }
  nav { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (prefers-reduced-motion: no-preference) {
  .intro h1 { animation: title-arrive 280ms cubic-bezier(.22,1,.36,1) both; }
  @keyframes title-arrive {
    from { opacity: .78; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .button { transition: transform 160ms cubic-bezier(.22,1,.36,1); }
  .button:active { transform: scale(.975); transition-duration: 80ms; }
  .languages { position: relative; isolation: isolate; }
  .languages::before {
    content: ""; position: absolute; z-index: -1; left: 2px; top: 2px; bottom: 2px;
    width: 46px; border-radius: 24px; background: var(--ink);
    transition: transform 170ms cubic-bezier(.22,1,.36,1);
  }
  html[lang="en"] .languages::before { transform: translateX(100%); }
  .languages button { width: 46px; padding: 0; }
  .languages button[aria-pressed="true"] { background: transparent; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:hover:not(:active) { transform: translateY(-2px); }
}
