@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Libre+Franklin:wght@300;400;500;600&display=swap');

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

:root {
  --black: #0a0a0a;
  --charcoal: #141414;
  --graphite: #1e1e1e;
  --steel: #2a2a2a;
  --ash: #3a3a3a;
  --muted: #6b6b6b;
  --silver: #999;
  --light: #c8c8c8;
  --off-white: #e8e6e3;
  --white: #f5f4f2;
  --accent: #c9a84c;
  --accent-dim: rgba(201, 168, 76, 0.15);
  --accent-glow: rgba(201, 168, 76, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--light);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--white);
}

/* ─── ACCESSIBILITY ─── */
.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link.screen-reader-text:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  z-index: 9999;
  outline: none;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s var(--ease-smooth);
  background: transparent;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--steel);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--silver);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-smooth);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-smooth);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ─── MOBILE NAV ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--light);
  letter-spacing: 0.06em;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-logo {
  width: 100px;
  height: auto;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--silver);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 1rem 2.5rem;
  border: 1px solid var(--accent);
  transition: all 0.4s var(--ease-smooth);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── SECTIONS ─── */
section {
  padding: 7rem 3rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 3rem;
}

/* ─── ABOUT ─── */
#about {
  background: var(--charcoal);
  border-top: 1px solid var(--steel);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-stat {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--steel);
}

.about-stat:first-child {
  border-top: 1px solid var(--steel);
}

.about-stat .label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.about-stat .value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--light);
}

.stat-link {
  color: var(--white);
  transition: color 0.3s var(--ease-smooth);
}

.stat-link:hover {
  color: var(--accent);
}

/* ─── SERVICES ─── */
#services {
  background: var(--black);
  border-top: 1px solid var(--steel);
}

.services-list {
  margin-top: 1rem;
}

.service-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--steel);
}

.service-item:first-child {
  border-top: 1px solid var(--steel);
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-item p {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.85;
  max-width: 720px;
}

/* ─── FOOTER ─── */
footer {
  padding: 3rem;
  border-top: 1px solid var(--steel);
  background: var(--black);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.8;
}

.footer-ip {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--ash);
  line-height: 1.7;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ─── 404 PAGE ─── */
.error-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.error-404::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.error-404 .error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 300;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.04em;
  position: relative;
}

.error-404 .error-code span {
  color: var(--accent);
}

.error-404 .error-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.error-404 .error-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.error-404 .error-body {
  font-size: 0.92rem;
  color: var(--silver);
  max-width: 420px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.error-404 .error-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.error-404 .btn-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 1rem 2.5rem;
  border: 1px solid var(--accent);
  transition: all 0.4s var(--ease-smooth);
}

.error-404 .btn-home:hover {
  background: var(--accent);
  color: var(--black);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav {
    padding: 1.25rem 1.5rem;
  }

  nav.scrolled {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    gap: 1rem;
  }
}

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

  .error-404 .error-code {
    font-size: 8rem;
  }
}
