/* GEF — Hong Kong Great Eagle Focus Limited */

:root {
  --ink: #000;
  --paper: #fff;
  /* Cyan on hover; the header's difference blend turns it red over white. */
  --accent: #0ff;
  --gutter: 7%;
  --header-h: 50px;
  --font: "Chakra Petch", "Arial Narrow", Arial, sans-serif;
}

@media (min-width: 750px) {
  :root { --header-h: 70px; }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, h1, h2, ul { margin: 0; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Glyphs: tall, condensed display type ---------- */

[data-glyph] { visibility: hidden; }
.glyph-complete [data-glyph] { visibility: visible; }

/* One box per word, trailing space included (kept by white-space: pre).
   word-spacing cancels the letter-spacing added after that space. */
.glyph {
  display: inline-block;
  line-height: 1;
  white-space: pre;
  letter-spacing: .16em;
  word-spacing: -.16em;
  transform: scale(1, 1.4);
  transform-origin: 50% 60%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 14px;
  color: #fff;
  mix-blend-mode: difference;
  font-size: 11px;
  visibility: hidden;
}

.glyph-complete .site-header { visibility: visible; }

.site-header__logo {
  display: block;
  height: 20px;
  color: inherit;
  transition: opacity .2s ease-out;
}

.site-header__logo svg {
  display: block;
  height: 100%;
  width: auto;
  fill: currentColor;
}

.hero-in-view .site-header__logo {
  opacity: 0;
  pointer-events: none;
}

.site-nav {
  display: flex;
  margin-right: -8px;
}

.site-nav a {
  display: block;
  padding: 8px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
  transition: color .15s ease-out;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--accent); }

.site-header a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

@media (min-width: 750px) {
  .site-header { padding: 0 20px; font-size: 12px; }
  .site-header__logo { height: 24px; }
  .site-nav { margin-right: -15px; }
  .site-nav a { padding: 15px; }
}

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

.hero {
  display: flex;
  align-items: center;
  height: calc(100vh - 100px);
  height: calc(100svh - 100px);
  min-height: 320px;
  padding: var(--header-h) var(--gutter) 0;
}

.hero__mark {
  width: 100%;
  line-height: 0;
}

.hero__mark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--ink);
}

@media (min-width: 750px) {
  .hero {
    display: block;
    height: auto;
    min-height: 0;
    padding: 120px var(--gutter) 70px;
  }
}

/* ---------- Lead copy ---------- */

.lead {
  padding: 24px var(--gutter) 0;
}

.lead__company {
  font-size: clamp(12px, 1.5vw, 20px);
  line-height: 1.8;
}

.lead__catch {
  margin-top: 1.1em;
  font-size: clamp(24px, 4.6vw, 68px);
  line-height: 1.6;
}

@media (min-width: 750px) {
  .lead { padding-top: 40px; }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(96px, 14vw, 200px) var(--gutter) 0;
}

.rule {
  width: 80px;
  height: 1px;
  margin: 0 0 clamp(72px, 11vw, 160px);
  border: 0;
  background: currentColor;
}

.section__title {
  /* "WHAT WE DO" is ~7.5em wide; 11.2vw keeps it inside the 86% content width. */
  font-size: clamp(32px, 11.2vw, 200px);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.services {
  list-style: none;
  margin-top: clamp(48px, 7vw, 112px);
  padding: 0;
  font-size: clamp(20px, 5vw, 84px);
  line-height: 1.6;
}

.body-text {
  max-width: 38em;
  margin-top: clamp(40px, 5vw, 80px);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .02em;
}

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

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 24px;
  padding: clamp(36px, 6vw, 96px) clamp(20px, 4.5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.contact-block__email {
  display: inline-block;
  padding-bottom: .18em;
  color: inherit;
  font-size: clamp(22px, 7vw, 104px);
  line-height: 1.3;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease-out;
}

.contact-block__email:hover,
.contact-block__email:focus-visible {
  background-size: 100% 2px;
  outline: none;
}

.copy-btn {
  appearance: none;
  padding: 16px 24px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease-out, color .15s ease-out;
}

.copy-btn__label {
  display: inline-block;
  min-width: 5.5em;
  letter-spacing: .16em;
  transform: scale(1, 1.4);
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: clamp(80px, 10vw, 140px) var(--gutter) 32px;
  font-size: 10px;
}
