:root {
  --bg: #0c1219;
  --bg-deep: #06090d;
  --surface: #121a24;
  --surface-2: #172231;
  --text: #f6f2ea;
  --muted: #c9c4b8;
  --gold: #c69a35;
  --gold-bright: #e4bd5a;
  --border: rgba(246, 242, 234, 0.15);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 1.5rem;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(198, 154, 53, 0.16), transparent 32rem), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--gold-bright);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

/* =============================
   Accessibility
   ============================= */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 10;
  font-weight: 900;
}

.skip-link:focus {
  top: 1rem;
}

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

/* =============================
   Header / Navigation
   ============================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(6, 9, 13, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-logo {
    width: 3.25rem;
    height: 3.25rem;
}

.brand-text {
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--gold-bright);
}

/* =============================
   Hero
   ============================= */

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 6rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(6, 9, 13, 0.72), rgba(12, 18, 25, 0.88)),
    url("../images/W_Logo_Dark.png") center / 760px no-repeat;
}

.hero-inner {
  max-width: 920px;
  text-align: center;
  padding: 5rem 1.5rem;
}

.eyebrow {
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 950;
  margin: 0 0 0.9rem;
}

.hero h1 {
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  line-height: 0.88;
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.42);
}

.hero-text {
  max-width: 740px;
  margin: 1.5rem auto 0;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* =============================
   Buttons
   ============================= */

.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

/* =============================
   Shared Sections
   ============================= */

.intro-panel,
.section,
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.intro-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.intro-panel h2,
.section-heading h2,
.profile-card h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.intro-panel p,
.service-card p,
.work-list p,
.profile-card p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  margin-bottom: 2rem;
}

/* =============================
   Services
   ============================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card,
.work-list article,
.profile-card,
.contact-links {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.number {
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.2em;
}

.service-card h3,
.work-list h3 {
  font-size: 1.4rem;
  margin: 1rem 0 0.45rem;
}

/* =============================
   Experience
   ============================= */

.split {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 7rem;
}

.work-list {
  display: grid;
  gap: 1rem;
}

.meta {
  color: var(--gold-bright) !important;
  font-weight: 800;
  margin-top: -0.25rem;
}

/* =============================
   Profile
   ============================= */

.profile {
  padding-top: 2rem;
}

.profile-card {
  background: linear-gradient(135deg, rgba(198, 154, 53, 0.18), rgba(255, 255, 255, 0.04));
}

.skill-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.skill-ribbon span {
  border: 1px solid rgba(228, 189, 90, 0.35);
  background: rgba(198, 154, 53, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 800;
  color: var(--text);
}

/* =============================
   Contact
   ============================= */

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.contact-links {
  display: grid;
  gap: 0.55rem;
  font-style: normal;
  width: 100%;
  max-width: 320px;
}

.contact-links a,
.contact-links span {
  color: var(--text);
}

/* =============================
   Footer
   ============================= */

.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

/* =============================
   Responsive Styles
   ============================= */

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
  }

  .brand-logo {
    width: 100px;
  }

  .intro-panel,
  .service-grid,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .hero {
    min-height: 68vh;
    padding: 4rem 1rem;
    background-size: 92vw;
  }

  .hero-inner {
    padding: 3rem 1rem;
  }
}

@media (max-width: 560px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 3.4rem;
    letter-spacing: 0.08em;
  }

  .hero-text {
    font-size: 1.15rem;
  }

  .intro-panel,
  .section,
  .contact-section {
    padding: 3.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}