:root {
  --ink: #12243a;
  --muted: #4c5a6b;
  --paper: #f3f5f7;
  --line: #d3dae2;
  --accent: #ff624e;
  color: var(--ink);
  background: white;
  font: 100%/1.6 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ba352b; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
header .wrap, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; }
.brand { width: 146px; height: 42px; object-fit: contain; display: block; }
nav { display: flex; gap: .25rem 2rem; flex-wrap: wrap; }
nav a, .lang { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, .lang:hover { text-decoration: underline; text-underline-offset: 5px; }
.lang { border: 1px solid var(--line); padding-inline: .8rem; }
.hero {
  position: relative;
  color: white;
  background: linear-gradient(90deg, #09182af5 0%, #09182ad9 38%, #09182a45 100%), #12243a url('victoria-harbour.jpg') center 55% / cover no-repeat;
  border-bottom: 4px solid var(--accent);
}
.hero > .wrap:first-child { display: grid; align-items: center; min-height: 440px; padding-block: 3.25rem 2.5rem; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7.1vw, 6.4rem); max-width: 15ch; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.15rem, 4.4vw, 4rem); max-width: 19ch; }
h3 { font-size: 1.18rem; line-height: 1.3; }
p { max-width: 62ch; }
.hero h1 + p { max-width: 48ch; font-size: 1.12rem; color: #f0f4f8; }
.hero h1 { font-size: clamp(2.15rem, 4.4vw, 3.9rem); max-width: 18ch; margin-bottom: 1rem; }
.hero h1 + p { font-size: 1rem; }
.city { max-width: none; padding-bottom: .8rem; margin-bottom: 0; color: white; text-shadow: 0 1px 8px black; font-size: .82rem; text-align: right; }
.actions { display: flex; align-items: center; gap: .75rem 1.4rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-block; min-height: 44px; padding: .75rem 1.1rem; background: var(--accent); color: #121b2a; font-weight: 750; text-decoration: none; }
.button:hover { background: #ff8373; }
.secondary, .secondary:hover { background: transparent; color: white; text-decoration: underline; text-underline-offset: 5px; }
.hero :focus-visible, footer :focus-visible { outline-color: white; }
section:not(.hero) { padding-block: clamp(3rem, 8vw, 6rem); }
.editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 5rem; align-items: end; }
.editorial > p { font-size: 1.16rem; color: var(--muted); }
.section-label { font-size: .85rem; font-weight: 720; text-transform: uppercase; letter-spacing: .08em; }
#sectors { background: var(--paper); }
#sectors .wrap > p, .contact p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; margin-top: 2rem; }
article { border-top: 1px solid var(--line); padding-block: 1.4rem; }
article h3 { margin-bottom: .4rem; }
article p { margin: 0; color: var(--muted); }
.contact { border-top: 1px solid var(--line); }
footer { background: var(--ink); color: white; font-size: .9rem; }
.skip { position: absolute; left: 1rem; top: -8rem; background: white; padding: 1rem; z-index: 1; }
.skip:focus { top: 1rem; }
.company-bar { background: var(--ink); color: white; font-size: .875rem; }
.company-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: .25rem 1rem; flex-wrap: wrap; padding-block: .45rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
.social-links :is(a, span) { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff80; border-radius: 50%; }
.social-links a:hover { background: white; color: var(--ink); }
.social-links svg { width: 19px; height: 19px; }
.reserved small { color: inherit; opacity: .85; font-size: .75rem; white-space: nowrap; }
.reserved small::before { content: '· '; }
header nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
.lang a { text-decoration: none; }
.lang a:hover { text-decoration: underline; }
.hero-copy { max-width: 780px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-enter 750ms ease-out both; }
  @keyframes hero-enter {
    from { opacity: .25; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
.page-intro { background: var(--ink); color: white; border-bottom: 4px solid var(--accent); }
.page-intro h1 { font-size: clamp(2.7rem, 6vw, 5rem); max-width: 20ch; }
.page-intro p { margin-bottom: 0; }
.contact-hero {
  background: linear-gradient(90deg, #0b192bf5, #0b192bd9 48%, #0b192a65), var(--ink) url('images/contact-hong-kong.jpg') center 46% / cover no-repeat;
}
.contact-hero .wrap { padding-block: clamp(1.25rem, 4vw, 3rem); }
.high-contrast .contact-hero { background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .page-intro .wrap { animation: hero-enter .65s ease-out both; }
  .sector-card:target { animation: hero-enter .45s ease-out both; }
}
.grid h2 { font: 700 1.25rem/1.3 system-ui, sans-serif; letter-spacing: 0; max-width: none; }
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.enquiry label { font-weight: 650; }
.enquiry :is(input, select, textarea) { display: block; width: 100%; min-height: 44px; padding: .6rem; margin-top: .3rem; border: 1px solid var(--muted); background: white; color: var(--ink); font: inherit; font-weight: 400; }
.enquiry textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
button.button { border: 0; font: inherit; font-weight: 750; cursor: pointer; justify-self: start; }
.enquiry button.button { background: var(--ink); color: white; padding-inline: 1.6rem; }
.enquiry button.button:hover { background: #2c4969; }
.enquiry #enquiry-status { margin: 0; color: var(--muted); }
.footer-tools { border-bottom: 1px solid #ffffff4d; }
.footer-tools button { background: transparent; border: 1px solid #ffffff80; padding: .45rem .7rem; color: inherit; font: inherit; cursor: pointer; }
.footer-tools button[aria-pressed="true"] { background: white; color: #101010; }
footer .footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 1.5rem; padding-block: 2rem; }
.footer-grid h2 { font: 750 1rem/1.3 system-ui, sans-serif; letter-spacing: 0; margin-bottom: .5rem; }
.footer-grid a, .footer-grid span { display: block; }
.footer-grid > div > :is(a, span) { margin-block: .3rem; }
.footer-brand { border-top: 1px solid #ffffff4d; }
.footer-brand img { background: white; padding: .3rem .6rem; }
.high-contrast { --ink: #101010; --muted: #232323; --line: #666; --paper: #fff; --accent: #ff8a74; }
.high-contrast .hero { background: #101010; }
.sector-showcase, .sector-portfolio { display: grid; gap: 1.4rem; }
.sector-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.sector-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sector-preview, .sector-card { background: var(--paper); border: 1px solid var(--line); }
article.sector-card { padding: 0; scroll-margin-top: 1rem; }
.sector-card:target { outline: 2px solid var(--accent); outline-offset: 3px; }
.sector-preview img, .sector-cover img, .sector-detail img { width: 100%; display: block; object-fit: cover; aspect-ratio: 2.2 / 1; background: var(--line); }
.sector-preview img { max-height: 155px; }
.sector-cover img { max-height: 210px; }
.sector-preview span { display: block; padding: 1rem; font-weight: 700; }
.sector-copy { padding: clamp(1rem, 3vw, 2rem); }
.sector-copy h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.sector-detail { margin: 1.25rem 0 0; }
.sector-detail img { aspect-ratio: 2.8 / 1; max-height: 135px; }
.sector-detail figcaption, .photo-note { color: var(--muted); font-size: .9rem; }
.sector-detail figcaption { margin-top: .45rem; }
@media (prefers-reduced-motion: no-preference) {
  .sector-preview { transition: transform .2s ease, box-shadow .2s ease; }
  .sector-preview:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #12243a18; }
}
@media (max-width: 720px) {
  .contact-hero { background-image: linear-gradient(90deg, #0b192bf2, #0b192ab8), url('images/contact-hong-kong.jpg'); }
  .wrap { width: calc(100% - 36px); }
  header nav { order: 3; width: 100%; border-top: 1px solid var(--line); column-gap: 1rem; }
  .hero { background-image: linear-gradient(90deg, #09182aef, #09182a85), url('victoria-harbour.jpg'); }
  .hero > .wrap:first-child { min-height: 350px; padding-block: 2.5rem; }
  .editorial, .grid { grid-template-columns: 1fr; }
  .editorial { gap: .35rem; }
  .contact-layout, .enquiry { grid-template-columns: 1fr; }
  .sector-showcase, .sector-portfolio { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
