:root {
  --black: #050505;
  --black-2: #0c0c0c;
  --black-3: #141414;
  --gold: #c9a44a;
  --gold-2: #e0c06a;
  --gold-3: #f3e2b0;
  --gold-dim: rgba(201, 164, 74, 0.18);
  --gold-line: rgba(201, 164, 74, 0.35);
  --ivory: #f4efe3;
  --muted: #9a927f;
  --white: #ffffff;
  --nav-h: 88px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", sans-serif;
  background: var(--black);
  color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  font-family: "Cinzel", serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
  display: inline-block;
}

h1, h2, h3, .serif { font-family: "Cinzel", serif; font-weight: 500; }

.gold-text {
  background: linear-gradient(180deg, #f6e7b8 0%, #c9a44a 55%, #8d6b22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px 0;
}

.gold-line.center { margin-left: auto; margin-right: auto; }

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
#preloader img { width: 180px; animation: pulseGold 2s ease-in-out infinite; }
#preloader .load-bar {
  width: 140px;
  height: 1px;
  background: #222;
  margin-top: 28px;
  overflow: hidden;
}
#preloader .load-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: loadBar 1.6s ease forwards;
}
@keyframes pulseGold {
  0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 0 rgba(201,164,74,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(201,164,74,0.35)); }
}
@keyframes loadBar { to { width: 100%; } }

/* NAV */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--gold-line);
}
.nav-inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 54px; width: auto; }
.brand-name {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold-2);
  line-height: 1.25;
}
.brand-name small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
}
nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
nav a:hover, nav a.active { color: var(--gold-2); }
nav a:hover::after, nav a.active::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-2) !important;
  padding: 10px 20px !important;
  letter-spacing: 0.2em;
  font-size: 11px;
  transition: background 0.3s, color 0.3s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold);
  color: #111 !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 28px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  content: "";
}
.menu-toggle span { top: 13px; }
.menu-toggle span::before { top: -9px; }
.menu-toggle span::after { top: 9px; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.82) 100%),
    url("../images/proj-katy-hockley.png") center/cover no-repeat;
  transform: scale(1.06);
  animation: kenburns 22s ease-out forwards;
}
@keyframes kenburns {
  to { transform: scale(1); }
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 80px;
}
.hero-logo {
  width: min(280px, 62vw);
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.6));
}
.hero h1 {
  font-size: clamp(28px, 5.2vw, 64px);
  letter-spacing: 0.18em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero .sub {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic;
  color: var(--gold-3);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-gold {
  background: linear-gradient(180deg, #e4c56a, #b8902e);
  color: #111;
  border-color: transparent;
  font-weight: 700;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--gold-2);
}
.btn-ghost:hover { background: var(--gold-dim); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 18px;
  height: 28px;
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: wheel 1.4s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 16px; }
}

/* STATS */
.stats {
  background: linear-gradient(180deg, #0a0a0a, #111);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: "Cinzel", serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--gold-2);
  letter-spacing: 0.06em;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* SECTIONS */
section { padding: 110px 0; }
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0.14em;
  margin-top: 12px;
}

/* ABOUT */
.about {
  background: var(--black);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.about-frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-line);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: #0b0b0b;
  border: 1px solid var(--gold);
  padding: 22px 24px;
  min-width: 150px;
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 28px;
  color: var(--gold-2);
}
.about-badge span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-copy p {
  color: #cfc6b3;
  margin-bottom: 18px;
  font-size: 16px;
}
.about-copy h3 {
  font-size: 28px;
  letter-spacing: 0.08em;
  margin: 8px 0 20px;
}
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.value {
  border-top: 1px solid var(--gold-line);
  padding-top: 14px;
}
.value h4 {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.value p { font-size: 13px; color: var(--muted); margin: 0; }

/* SERVICES */
.services { background: #080808; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(201,164,74,0.16);
  background: #0d0d0d;
  isolation: isolate;
}
.svc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transition: transform 0.8s, opacity 0.4s;
}
.svc-card:hover img { transform: scale(1.08); opacity: 0.42; }
.svc-body {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.svc-num {
  font-family: "Cinzel", serif;
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 12px;
  margin-bottom: 10px;
}
.svc-card h3 {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.svc-card p { color: #c2b9a4; font-size: 14.5px; max-width: 420px; }

/* PORTFOLIO */
.portfolio { background: var(--black); }
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.port-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.port-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
  filter: saturate(0.9);
}
.port-item:hover img { transform: scale(1.07); }
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.9;
}
.port-overlay h3 {
  font-size: 18px;
  letter-spacing: 0.1em;
}
.port-overlay span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* PROCESS */
.process { background: #090909; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Cinzel", serif;
  font-size: 42px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,164,74,0.45);
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.step h3 {
  font-size: 16px;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 14px; }

/* TESTIMONIALS */
.quotes { background: var(--black); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}
.quote {
  border: 1px solid var(--gold-line);
  padding: 36px 28px;
  background: linear-gradient(180deg, #101010, #0a0a0a);
}
.quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-style: italic;
  color: #efe6d2;
  line-height: 1.55;
  margin-bottom: 22px;
}
.quote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.quote cite span {
  display: block;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
  margin-top: 4px;
  font-size: 12px;
}

/* CTA */
.cta {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.78)),
    url("../images/proj-crane.jpg") center 40%/cover no-repeat;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(28px, 4.4vw, 50px);
  letter-spacing: 0.12em;
  margin: 12px 0 18px;
}
.cta p {
  color: #d8cfba;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* CONTACT */
.contact { background: #080808; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.contact-info h3 {
  font-size: 28px;
  letter-spacing: 0.1em;
  margin: 10px 0 18px;
}
.contact-info p { color: #cfc6b3; margin-bottom: 28px; }
.info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.info-row .ico {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-line);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 14px;
}
.info-row strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.info-row span { color: #ddd4c0; font-size: 15px; }

form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid rgba(201,164,74,0.22);
  color: var(--ivory);
  padding: 14px 16px;
  outline: none;
  font-size: 15px;
  transition: border-color 0.25s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.form-note {
  display: none;
  color: var(--gold-2);
  font-size: 14px;
  letter-spacing: 0.06em;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--gold-line);
  padding: 48px 0 28px;
  background: #050505;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201,164,74,0.12);
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.foot-brand img { height: 56px; }
.foot-links {
  display: flex;
  gap: 26px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-links a:hover { color: var(--gold); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12px;
  color: #6f6a5d;
}

/* TEAM */
.team { background: #080808; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.person {
  border: 1px solid var(--gold-line);
  background: #0d0d0d;
  overflow: hidden;
}
.person-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #111;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.person-photo.phillip img { object-position: center 18%; }
.person-photo.evan img { object-position: center 42%; }
.person-body { padding: 20px 18px 24px; }
.person-body h3 {
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.person-body .role {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.person-body p { color: var(--muted); font-size: 13px; margin: 0; }
.person.no-photo .person-photo {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #16130c, #0c0c0c);
}
.person-initials {
  font-family: "Cinzel", serif;
  font-size: 32px;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}
.org-note {
  margin-top: 36px;
  border: 1px solid var(--gold-line);
  padding: 18px;
  background: #fff;
}
.org-note img { width: 100%; height: auto; }

/* LICENSES */
.licenses { background: var(--black); }
.lic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lic-card {
  border: 1px solid var(--gold-line);
  background: #0d0d0d;
  padding: 16px;
}
.lic-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f7f4ea;
  margin-bottom: 14px;
}
.lic-card h3 {
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.lic-card p { color: var(--muted); font-size: 13px; margin: 0; }

/* LANG */
.lang-toggle {
  display: flex;
  border: 1px solid var(--gold-line);
  margin-right: 10px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.lang-toggle button.on {
  background: var(--gold);
  color: #111;
  font-weight: 700;
}
html[lang="zh"] .en { display: none !important; }
html[lang="en"] .zh { display: none !important; }
.nav-tools { display: flex; align-items: center; gap: 8px; }

/* MOBILE */
@media (max-width: 980px) {
  nav ul {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: #0b0b0b;
    flex-direction: column;
    padding: 110px 32px 40px;
    gap: 22px;
    border-left: 1px solid var(--gold-line);
    transform: translateX(100%);
    transition: transform 0.35s;
  }
  nav ul.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .stats-grid, .steps, .quote-grid, .port-grid { grid-template-columns: 1fr 1fr; }
  .port-item.wide { grid-column: span 2; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual img { height: 420px; }
  .about-badge { left: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .team-grid, .lic-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stats-grid, .steps, .quote-grid, .port-grid, .form-row, .values, .team-grid, .lic-grid { grid-template-columns: 1fr; }
  .person.no-photo[style] { grid-column: auto !important; }
  .port-item, .port-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .foot-top, .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .brand-name { display: none; }
  section { padding: 80px 0; }
}
