/* ==========================================================================
   Blue Core Limited
   Editorial corporate design system — mobile first, 12-column grid.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #121a21;
  --ink-2: #34414b;
  --muted: #5f6a73;
  --paper: #ffffff;
  --paper-2: #f5f3ee;
  --paper-3: #ece8df;
  --line: #ded9cf;
  --line-strong: #b9b3a7;
  --brand: #0d3444;
  --brand-2: #164b5f;
  --accent: #9a5f33;
  --accent-on-dark: #d8a777;
  --on-dark: #f7f4ee;
  --on-dark-muted: #c2c9c7;
  --danger: #a8342a;

  /* Type */
  --font-sans: "Inter", "Noto Sans HK", "PingFang HK", "Microsoft JhengHei",
    "Hiragino Sans", "Noto Sans CJK HK", sans-serif;
  --fs-h1: clamp(2rem, 5vw, 2.5rem);       /* 32 → 40 */
  --fs-h2: clamp(1.625rem, 3.4vw, 2rem);   /* 26 → 32 */
  --fs-h3: clamp(1.25rem, 2.4vw, 1.5rem);  /* 20 → 24 */
  --fs-body: 1rem;                          /* 16 */
  --lh-body: 1.7;

  /* Layout */
  --shell: 1240px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 68px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: 1.0625rem;
}

::selection {
  background: var(--brand);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

/* Layout ----------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper-2);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.66);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 32px;
}

.flow > * + * {
  margin-top: 1.1rem;
}

/* Section heading -------------------------------------------------------- */

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head h2 {
  max-width: 16em;
}

.section-head .lead {
  margin-top: 16px;
}

.section-head--split {
  display: grid;
  gap: 16px 48px;
  max-width: none;
}

.section-head--split h2 {
  max-width: 18em;
}

.section-head--split .lead {
  max-width: 34em;
  margin-top: 0;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--paper-2);
  border-color: var(--paper-2);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--text {
  min-height: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: 0.9375rem;
}

.btn--text:hover {
  color: var(--accent);
}

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

.actions--center {
  justify-content: center;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.2s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(18, 26, 33, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.brand-text em {
  color: var(--muted);
  font-size: 0.5625rem;
  font-style: normal;
  letter-spacing: 0.24em;
}

.nav {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.lang button {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
}

.lang span {
  color: var(--line-strong);
}

.header-cta {
  display: none;
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 89;
  display: none;
  background: rgba(18, 26, 33, 0.38);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-backdrop {
  display: block;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.hero--page {
  min-height: 460px;
}

.hero-media,
.band-media,
.cta-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 21, 0.78) 0%, rgba(8, 16, 21, 0.46) 52%, rgba(8, 16, 21, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 16, 21, 0.18) 0%, rgba(8, 16, 21, 0.42) 58%, rgba(8, 16, 21, 0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 56px 28px;
}

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

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #e5d3bd;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 16em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: pre-line;
}

.hero-lead {
  max-width: 34em;
  margin-bottom: 28px;
  color: rgba(247, 244, 238, 0.86);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
}

/* Intro split ------------------------------------------------------------ */

.split {
  display: grid;
  gap: 32px;
}

.split-copy {
  max-width: 34em;
}

.split-copy h2 {
  max-width: 16em;
}

.split-copy .btn--text {
  margin-top: 8px;
}

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-3);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media:hover img {
  transform: scale(1.015);
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* Stats ------------------------------------------------------------------ */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  padding: 26px 0;
}

.stat:nth-child(odd) {
  padding-right: 18px;
}

.stat:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Service index ---------------------------------------------------------- */

.service-index {
  display: grid;
  gap: 48px;
}

.group-head {
  display: grid;
  gap: 10px 40px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.group-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.group-head p {
  margin: 0;
  color: var(--muted);
}

.service-rows {
  list-style: none;
  margin-top: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.service-row:hover {
  color: var(--brand);
}

.service-row:hover .service-arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}

.service-num {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.service-text {
  display: block;
}

.service-title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.service-desc {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-arrow {
  color: var(--line-strong);
  font-size: 1rem;
  line-height: 1.7;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.service-more {
  margin-top: 24px;
}

/* Image band ------------------------------------------------------------- */

.band {
  position: relative;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  background: var(--brand);
  color: var(--on-dark);
}

.band-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 23, 0.84) 0%, rgba(7, 17, 23, 0.52) 55%, rgba(7, 17, 23, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 17, 23, 0.1) 0%, rgba(7, 17, 23, 0.55) 100%);
}

.band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding-block: 56px;
}

.band-copy {
  max-width: 760px;
}

.band h2 {
  color: #ffffff;
  font-weight: 500;
}

.band p {
  color: rgba(247, 244, 238, 0.84);
}

.band .label,
.cta-band .label {
  color: var(--accent-on-dark);
}

.band .caption {
  margin-top: 24px;
  color: rgba(247, 244, 238, 0.55);
}

/* Why -------------------------------------------------------------------- */

.why-grid {
  display: grid;
  gap: 0;
}

.why-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.why-num {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.why-item h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* CTA band --------------------------------------------------------------- */

.cta-band {
  position: relative;
  display: flex;
  min-height: 480px;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.cta-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 16, 21, 0.9) 0%, rgba(7, 16, 21, 0.62) 55%, rgba(7, 16, 21, 0.36) 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding-block: 56px;
}

.cta-copy {
  max-width: 760px;
}

.cta-copy h2 {
  color: #ffffff;
  font-weight: 500;
}

.cta-copy p {
  color: rgba(247, 244, 238, 0.82);
  font-size: 1.0625rem;
}

.cta-copy .actions {
  margin-top: 26px;
}

/* Page hero -------------------------------------------------------------- */

.hero--page .hero-inner {
  padding-block: 52px 24px;
}

.hero--page h1 {
  max-width: 18em;
}

/* About ---------------------------------------------------------------- */

.story {
  display: grid;
  gap: 40px;
}

.story-copy p {
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.facts-heading {
  margin: 28px 0 10px;
  font-size: 1rem;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  text-align: right;
}

.mv {
  display: grid;
  gap: 24px;
}

.mv-card {
  padding: 28px 24px;
  background: var(--paper);
  border-top: 2px solid var(--brand);
}

.mv-card h3 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.mv-card p {
  margin: 0;
  color: var(--muted);
}

.values-grid {
  display: grid;
  gap: 0;
}

.value-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.value-item h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Services page ---------------------------------------------------------- */

.service-group-block + .service-group-block {
  margin-top: 64px;
}

.service-group-intro {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.service-group-intro h2 {
  max-width: 14em;
}

.service-group-intro p {
  max-width: 34em;
  color: var(--muted);
}

.service-detail {
  display: grid;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.service-detail-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.service-detail-head .service-num {
  line-height: 2.1;
}

.service-detail-head > div {
  min-width: 0;
}

.service-detail-desc {
  max-width: 34em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.service-points {
  list-style: none;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.service-points li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.service-points li::before {
  content: "";
  position: absolute;
  top: 1.15em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--accent);
}

/* Contact ---------------------------------------------------------------- */

.contact-layout {
  display: grid;
  gap: 48px;
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-item {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item dt {
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.contact-item dd {
  margin: 0;
  font-size: 0.9375rem;
  text-align: right;
  word-break: break-word;
}

.contact-item a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.contact-item a:hover {
  border-color: var(--ink);
}

.contact-booking {
  margin-top: 32px;
  padding: 24px;
  background: var(--paper-2);
}

.contact-booking h3 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.contact-booking p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-social {
  margin-top: 28px;
}

.contact-social h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-social ul {
  list-style: none;
}

.contact-social li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.contact-social li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-social a:hover {
  color: var(--brand);
}

.contact-aside {
  margin-top: 32px;
}

.privacy-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.privacy-note h3 {
  font-size: 1rem;
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Enquiry form ----------------------------------------------------------- */

.enquiry {
  padding: 28px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.enquiry h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.enquiry-lead {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  outline: 1px solid var(--brand);
  outline-offset: 0;
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 0;
  margin: 0;
  color: var(--danger);
  font-size: 0.8125rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 20px;
}

.form-note {
  max-width: 22em;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Simple page intro ------------------------------------------------------ */

.page-intro {
  padding-block: 64px 40px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  max-width: 18em;
  margin-bottom: 16px;
}

.page-intro .lead {
  max-width: 38em;
  margin: 0;
}

/* Credits ---------------------------------------------------------------- */

.credits-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.credit {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.credit strong {
  font-weight: 600;
}

.credit span {
  color: var(--muted);
  font-size: 0.875rem;
}

.credit a {
  border-bottom: 1px solid var(--line-strong);
}

.credit a:hover {
  border-color: var(--ink);
}

.credits-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: #0b1c24;
  color: var(--on-dark);
  padding-top: 56px;
}

.footer-top {
  display: grid;
  gap: 36px;
  padding-bottom: 44px;
}

.footer-brand {
  max-width: 360px;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-name {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.footer-brand p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: rgba(247, 244, 238, 0.55);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a,
.footer-col span {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 244, 238, 0.5);
  font-size: 0.75rem;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Mobile action bar ------------------------------------------------------ */

.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-bar .btn {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.875rem;
}

body {
  padding-bottom: 72px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(18, 26, 33, 0.08);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0s linear 0.2s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0s;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* Reveal ----------------------------------------------------------------- */

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.reveal-init {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.reveal-init.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------------
   Small tablets
   ------------------------------------------------------------------------ */

@media (min-width: 600px) {
  :root {
    --gutter: 28px;
    --section-y: 84px;
    --header-h: 72px;
  }

  .stats {
    border-bottom: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat {
    padding: 32px 24px;
    border-left: 1px solid var(--line);
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(odd),
  .stat:nth-child(even) {
    padding-right: 24px;
    padding-left: 24px;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

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

  .enquiry {
    padding: 36px 32px;
  }

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

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

  .credit {
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    align-items: baseline;
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 440px;
  }
}

/* ------------------------------------------------------------------------
   Desktop
   ------------------------------------------------------------------------ */

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
    --header-h: 80px;
  }

  .nav {
    display: block;
    margin-left: 32px;
  }

  .nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }

  .nav a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: var(--ink-2);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }

  .nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s var(--ease);
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }

  .nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
  }

  .nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 18px;
    font-size: 0.8125rem;
  }

  .menu-btn {
    display: none;
  }

  .header-tools {
    gap: 20px;
  }

  .hero {
    min-height: 660px;
  }

  .hero--page {
    min-height: 520px;
  }

  .hero-inner {
    padding-block: 80px 40px;
  }

  .hero-meta {
    margin-top: 56px;
  }

  .section-head {
    margin-bottom: 56px;
  }

  .section-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    margin-bottom: 56px;
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 64px;
  }

  .split--reverse .split-copy {
    order: 2;
  }

  .service-index {
    gap: 64px;
  }

  .group-head {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: baseline;
  }

  .service-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }

  .service-row {
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    padding: 24px 0;
  }

  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
  }

  .why-item {
    padding-top: 28px;
  }

  .band {
    min-height: 620px;
  }

  .band-inner {
    padding-block: 88px;
  }

  .cta-band {
    min-height: 540px;
  }

  .cta-inner {
    padding-block: 88px;
  }

  .story {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: 64px;
    align-items: start;
  }

  .story-copy {
    padding-top: 8px;
  }

  .mv-card {
    padding: 36px 32px;
  }

  .service-detail {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 64px;
    padding: 40px 0;
  }

  .service-group-intro {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 64px;
    align-items: baseline;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    column-gap: 72px;
    align-items: start;
  }

  .contact-aside .media {
    aspect-ratio: 3 / 2;
  }

  .enquiry {
    padding: 40px 40px 36px;
  }

  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    column-gap: 48px;
    padding-bottom: 56px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 72px;
  }

  .mobile-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .back-to-top {
    right: 24px;
    bottom: 24px;
  }

  .credits-note {
    max-width: 720px;
  }
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .span-3 {
    grid-column: span 3;
  }

  .span-4 {
    grid-column: span 4;
  }

  .span-5 {
    grid-column: span 5;
  }

  .span-6 {
    grid-column: span 6;
  }

  .span-7 {
    grid-column: span 7;
  }

  .span-8 {
    grid-column: span 8;
  }

  .span-12 {
    grid-column: span 12;
  }

  .intro-grid {
    align-items: center;
  }
}

/* Mobile navigation panel ------------------------------------------------ */

@media (max-width: 899px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 95;
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(18, 26, 33, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0s linear 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0s;
  }

  .nav ul {
    list-style: none;
  }

  .nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }

  .nav a[aria-current="page"] {
    color: var(--brand);
    font-weight: 600;
  }
}

/* Very small phones ------------------------------------------------------ */

@media (max-width: 359px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .brand-text strong {
    font-size: 0.8125rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }
}

/* Reduced motion --------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal.reveal-init {
    opacity: 1;
    transform: none;
  }

  .media:hover img {
    transform: none;
  }
}

/* Print ------------------------------------------------------------------ */

@media print {
  .site-header,
  .mobile-bar,
  .back-to-top,
  .nav-backdrop {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
  }

  .hero,
  .band,
  .cta-band {
    min-height: 0;
    color: #000;
    background: none;
  }

  .hero-media,
  .band-media,
  .cta-media,
  .hero-scrim,
  .band-scrim,
  .cta-scrim {
    display: none;
  }
}
