:root {
  --black: #080706;
  --ink: #11100e;
  --cream: #f7f0e3;
  --muted: #b7aa98;
  --gold: #d2a74b;
  --gold-light: #f0d489;
  --line: rgba(210, 167, 75, .28);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 152px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(180deg, rgba(4, 4, 3, .98), rgba(4, 4, 3, .74), transparent);
  border-top: 4px solid var(--gold);
}

.brand { flex: 0 0 auto; width: clamp(220px, 22vw, 340px); text-decoration: none; }
.brand img { width: 100%; height: 138px; object-fit: contain; object-position: left center; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }

.main-nav { display: flex; align-items: center; gap: 30px; font-size: .82rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.main-nav a { text-decoration: none; transition: color .2s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); padding: 15px 20px; }
.nav-cta:hover { background: var(--gold); color: #080706; }
.menu-button { display: none; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--gold-light); }

.hero { min-height: 850px; height: 100svh; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 3, 3, .93) 0%, rgba(3, 3, 3, .72) 42%, rgba(3, 3, 3, .18) 72%), linear-gradient(0deg, rgba(3, 3, 3, .74), transparent 38%); }
.hero-content { position: relative; z-index: 2; width: min(760px, calc(100% - 48px)); margin: 128px auto 0; transform: translateX(min(-27vw, -330px)); }
.eyebrow { margin: 0 0 19px; color: var(--gold-light); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 6.4vw, 6.9rem); line-height: .92; letter-spacing: -.045em; }
.hero-copy { max-width: 660px; margin: 0; color: #e4ded5; font-size: clamp(1rem, 1.4vw, 1.23rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 53px; padding: 0 24px; border: 1px solid transparent; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: linear-gradient(120deg, #b88428, var(--gold-light)); color: #0a0907; }
.button-ghost { border-color: rgba(255,255,255,.45); background: rgba(6,6,5,.28); color: white; backdrop-filter: blur(6px); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 44px; color: #d9d0c2; font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero-proof span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--gold); }
.scroll-cue { position: absolute; z-index: 2; right: 4.5vw; bottom: 38px; display: flex; align-items: center; gap: 14px; color: #ddd2c3; font-size: .65rem; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; }
.scroll-cue i { display: block; width: 54px; height: 1px; background: var(--gold); }

.services { padding: 120px max(24px, calc((100vw - var(--max)) / 2)); background: radial-gradient(circle at 85% 2%, rgba(203, 151, 48, .11), transparent 27%), #0d0c0a; }
.section-heading { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 64px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .team-copy h2, .industries h2, .consultation-card h2 { margin-bottom: 0; font-size: clamp(2.5rem, 4.4vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em; }
.section-heading > p:last-child, .team-copy > p, .consultation-card > p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 310px; padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); transition: background .25s ease, transform .25s ease; }
.service-grid article:hover { z-index: 1; background: rgba(210,167,75,.08); transform: translateY(-5px); }
.service-grid article > span { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.service-grid h3 { margin: 64px 0 18px; font-size: 1.55rem; line-height: 1.12; }
.service-grid p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.7; }
.team-feature { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(40px, 7vw, 100px); align-items: center; margin-top: 120px; }
.team-photo-wrap { position: relative; }
.team-photo-wrap img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; filter: saturate(.88) contrast(1.05); }
.team-photo-wrap::before { content: ""; position: absolute; z-index: 1; inset: -13px 13px 13px -13px; border: 1px solid rgba(210,167,75,.6); pointer-events: none; }
.image-label { position: absolute; z-index: 2; right: -28px; bottom: -28px; width: min(340px, 72%); margin: 0; padding: 22px 25px; background: var(--gold); color: #0d0c0a; font-size: .8rem; line-height: 1.5; }
.image-label b { font-family: Georgia, serif; font-size: 1.16rem; }
.team-copy h2 { margin-bottom: 27px; font-size: clamp(2.4rem, 4vw, 4.1rem); }
.team-copy ul { margin: 31px 0 0; padding: 0; list-style: none; }
.team-copy li { padding: 13px 0; border-bottom: 1px solid var(--line); color: #ded6ca; }
.team-copy li::before { content: "+"; margin-right: 12px; color: var(--gold); }

.conversion { padding: 120px max(24px, calc((100vw - var(--max)) / 2)) 0; background: linear-gradient(140deg, #18140e, #070706 55%); }
.industries { text-align: center; }
.industries h2 { max-width: 850px; margin: 0 auto; }
.industry-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 960px; margin: 48px auto 0; }
.industry-list span { padding: 14px 21px; border: 1px solid var(--line); color: #ded5c7; font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.consultation-card { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 70px; margin-top: 100px; padding: clamp(34px, 6vw, 75px); border: 1px solid rgba(210,167,75,.55); background: linear-gradient(120deg, rgba(210,167,75,.12), rgba(255,255,255,.025)); }
.consultation-card .eyebrow, .consultation-card h2, .consultation-card > p { grid-column: 1; }
.consultation-card h2 { margin-bottom: 25px; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.consultation-card form { grid-column: 2; grid-row: 1 / span 4; }
label { display: block; margin-bottom: 17px; color: #d9d0c2; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { width: 100%; margin-top: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 0; outline: none; background: rgba(0,0,0,.33); color: white; padding: 14px 15px; font: inherit; font-size: .96rem; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(210,167,75,.12); }
select option { color: #111; }
textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { margin: 12px 0 0; color: #8f8578; font-size: .78rem; }
footer { display: flex; justify-content: space-between; gap: 60px; margin-top: 100px; padding: 42px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; line-height: 1.8; }
footer strong { color: var(--cream); font-family: Georgia, serif; font-size: 1.15rem; }
footer p { margin: 4px 0 0; }
footer > div:last-child { display: flex; flex-direction: column; text-align: right; }
footer a { color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .site-header { min-height: 116px; }
  .brand { width: 240px; }
  .brand img { height: 104px; }
  .hero-content { margin-top: 110px; transform: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-feature { grid-template-columns: 1fr; }
  .team-copy { max-width: 720px; }
  .consultation-card { grid-template-columns: 1fr; }
  .consultation-card form { grid-column: 1; grid-row: auto; margin-top: 36px; }
}

@media (max-width: 760px) {
  .site-header { position: absolute; min-height: 100px; padding-inline: 18px; }
  .brand { width: 200px; }
  .brand img { height: 86px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 92px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: rgba(7,7,6,.98); border: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: 760px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(3,3,3,.94) 0%, rgba(3,3,3,.67) 64%, rgba(3,3,3,.44)); }
  .hero-content { width: calc(100% - 36px); margin-top: 130px; align-self: end; margin-bottom: 98px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5.5rem); }
  .hero-copy { font-size: .98rem; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: none; }
  .scroll-cue { display: none; }
  .services, .conversion { padding-top: 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { grid-column: 1; }
  .service-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .service-grid article { min-height: 235px; }
  .service-grid h3 { margin-top: 42px; }
  .team-feature { margin-top: 85px; }
  .image-label { right: -8px; bottom: -34px; }
  .team-copy { margin-top: 42px; }
  .consultation-card { margin-top: 70px; padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  footer { flex-direction: column; gap: 28px; margin-top: 70px; }
  footer > div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
