:root {
  --ink: #171513;
  --muted: #706a62;
  --paper: #f4f1ed;
  --paper-soft: #ebe6df;
  --charcoal: #1d1c1a;
  --bronze: #9b7454;
  --bronze-dark: #745238;
  --sage: #4b5b53;
  --ink-soft: #282521;
  --line: rgba(23, 21, 19, .18);
  --line-light: rgba(255, 255, 255, .35);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 0 38px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, 0));
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 21, 19, .1);
  background: rgba(244, 241, 237, .94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 19px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: .04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--bronze);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
  border-left: 1px solid currentColor;
}

.language-switch a[aria-current="true"] {
  color: var(--bronze);
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--charcoal);
}

.hero::after {
  content: "AC / HONG KONG";
  position: absolute;
  right: 36px;
  bottom: 34px;
  z-index: 2;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, .62);
  letter-spacing: .22em;
  font-size: 10px;
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .32) 46%, rgba(0, 0, 0, .1)),
    linear-gradient(0deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 72px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding-top: 74px;
  color: #fff;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  line-height: .96;
}

.hero-kicker,
.hero-note {
  max-width: 530px;
}

.hero-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .76);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11px;
  font-weight: 700;
}

.hero-note {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 700;
}

.text-link::after,
.arrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: currentColor;
}

.text-link.light {
  color: #fff;
}

.split-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 265px;
}

.split-panel {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 50px 24px;
  text-align: center;
  text-decoration: none;
}

.split-panel.pale {
  background: var(--paper);
}

.split-panel.dark {
  color: #fff;
  background: var(--charcoal);
}

.split-panel.stone {
  color: #fff;
  background:
    linear-gradient(rgba(75, 91, 83, .9), rgba(75, 91, 83, .9)),
    url("assets/images/project-zenith-residence.png") center/cover;
}

.split-panel > span:first-child {
  font-family: var(--serif);
  font-size: 24px;
  text-transform: uppercase;
}

.split-panel p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
}

.split-panel.dark p,
.split-panel.stone p {
  color: rgba(255, 255, 255, .72);
}

.arrow {
  display: inline-flex;
  margin-top: 8px;
}

.section {
  width: min(1210px, calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 34px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--bronze-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
}

.section-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
}

.projects-section .section-note {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.55;
}

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

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
}

h3 {
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 26px;
}

.project-tile {
  margin: 0;
  will-change: transform, opacity;
}

.project-tile img {
  aspect-ratio: 1.42;
  object-fit: cover;
  filter: saturate(.92);
  will-change: transform;
}

.project-tile div {
  padding-top: 14px;
}

.project-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.studio-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
  background: var(--paper-soft);
}

.studio-band figure {
  margin: 0;
  min-height: 500px;
  overflow: hidden;
  background: var(--charcoal);
}

.studio-band img {
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.studio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  padding: 84px clamp(40px, 7vw, 104px);
}

.studio-copy p:not(.section-label) {
  margin: 26px 0;
  color: var(--muted);
}

.story-notes {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.story-notes li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}

.story-notes li::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--bronze-dark);
}

.services-heading > p,
.process-heading > p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 88px;
  background: var(--line);
}

.service-grid article {
  min-height: 310px;
  padding: 32px 28px;
  background: #f8f6f2;
}

.service-grid article:nth-child(2) {
  background: var(--paper-soft);
}

.service-grid article:nth-child(3) {
  color: #fff;
  background: var(--sage);
}

.service-grid span {
  display: block;
  margin-bottom: 88px;
  color: var(--bronze-dark);
  font-family: var(--serif);
  font-size: 22px;
}

.service-grid article:nth-child(3) span,
.service-grid article:nth-child(3) p {
  color: rgba(255, 255, 255, .76);
}

.service-grid h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li {
  min-height: 205px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 30px;
  color: var(--bronze-dark);
  font-size: 13px;
}

.process-list h3 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 800;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.credibility {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 60px;
  padding: 56px max(32px, calc((100vw - 1210px) / 2));
  color: #fff;
  background:
    linear-gradient(rgba(29, 28, 26, .92), rgba(29, 28, 26, .92)),
    url("assets/images/project-harbour-frame.png") center/cover;
}

.credibility .section-label {
  color: #d5b18d;
}

.credibility ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credibility li {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 11px;
}

.credibility li span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #d5b18d;
  border-radius: 50%;
  color: #d5b18d;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0;
}

.faq-section {
  padding-bottom: 70px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  min-height: 70px;
  padding: 22px 30px 22px 0;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 22px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  padding: 88px max(32px, calc((100vw - 1210px) / 2));
  background: #dfd8cf;
}

.contact-intro p:not(.section-label) {
  max-width: 430px;
  color: var(--muted);
}

.contact-note {
  margin-top: 44px;
  color: var(--muted);
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

.enquiry-form label {
  display: grid;
  gap: 8px;
}

.enquiry-form span {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(23, 21, 19, .45);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.enquiry-form textarea {
  min-height: 130px;
  resize: vertical;
  padding-top: 10px;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--bronze-dark);
  box-shadow: 0 1px 0 var(--bronze-dark);
}

.field-hint {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.submit-button {
  width: fit-content;
  min-width: 180px;
  min-height: 48px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
}

.submit-button:hover {
  color: var(--ink);
  background: transparent;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.form-status {
  align-self: center;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status.is-success {
  color: #2f6f4f;
}

.form-status.is-error {
  color: #9a3e2d;
}

.form-disclaimer {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: end;
  padding: 42px 38px;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.site-footer nav a {
  text-decoration: none;
}

.motion-layer {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero img,
  .project-tile,
  .project-tile img,
  .studio-band img,
  .motion-layer {
    will-change: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 22px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: 74px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px;
    color: var(--ink);
    background: rgba(244, 241, 237, .98);
  }

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

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-switch {
    gap: 18px;
    padding-left: 0;
    border-left: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .language-switch a {
    padding: 0;
    border-bottom: 0;
  }

  .split-services,
  .studio-band,
  .service-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .service-grid {
    margin-bottom: 62px;
  }

  .service-grid article {
    min-height: 0;
  }

  .service-grid span {
    margin-bottom: 44px;
  }

  .process-list li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .credibility,
  .credibility ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 16px;
  }

  .hero-content,
  .section {
    width: min(100% - 32px, 520px);
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero::after {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading,
  .services-heading,
  .process-heading {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .project-grid,
  .faq-list,
  .credibility,
  .credibility ul,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .studio-band figure {
    min-height: 330px;
  }

  .studio-copy,
  .contact-section {
    padding: 64px 22px;
  }

  .site-footer {
    padding: 34px 22px;
  }
}
