/* === AMPERWATT — Premium Design System === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black: #0a0908;
  --black-soft: #14110f;
  --graphite: #1f1c18;
  --graphite-light: #2a2620;
  --gold: #c9a961;
  --gold-light: #d4b876;
  --gold-deep: #a08850;
  --cream: #f5f1e8;
  --cream-warm: #faf7ee;
  --white: #fefcf7;
  --ink: #1f1c18;
  --ink-soft: #6b645a;
  --line: rgba(201, 169, 97, 0.18);
  --line-dark: rgba(245, 241, 232, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* Subtle texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--cream);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.8rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-dark);
  transition: all 0.4s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg {
  width: 200px;
  height: auto;
  max-height: 50px;
  display: block;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-svg {
  opacity: 0.85;
}

.footer-logo {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.nav-links {
  display: flex;
  gap: 3.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.4s ease;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  transform: translateX(-50%);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-light);
  letter-spacing: 0.3em;
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline.dark {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline.dark:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.4s ease;
  font-size: 1.1em;
}

.btn:hover .btn-arrow {
  transform: translateX(6px);
}

/* === SECTION LABEL === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 2rem;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* === FOOTER === */
.footer {
  background: var(--black-soft);
  color: var(--cream);
  padding: 6rem 4rem 2.5rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-brand .logo {
  margin-bottom: 2rem;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--cream);
  max-width: 360px;
}

.footer-desc {
  color: rgba(245, 241, 232, 0.5);
  font-size: 0.9rem;
  max-width: 360px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  font-weight: 500;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 1rem;
}

.footer ul a {
  color: rgba(245, 241, 232, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer ul a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* === COMMON === */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 2;
}

/* === PAGE HEADER === */
.page-header {
  padding: 14rem 4rem 7rem;
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}

.page-header h1 {
  font-size: clamp(3.5rem, 7vw, 6rem);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  color: rgba(245, 241, 232, 0.6);
  font-weight: 300;
  line-height: 1.7;
}

.page-header .breadcrumb {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

/* Gold divider */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2.5rem auto;
}

/* Italic serif accent */
.serif-italic {
  font-style: italic;
  font-weight: 300;
}

/* Light section override */
.section-light {
  background: var(--cream);
  color: var(--ink);
}

.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: var(--ink);
}

.section-light .section-label {
  color: var(--gold-deep);
}

.section-light .section-label::before {
  background: var(--gold-deep);
}

/* === RESPONSIVE === */

/* TABLET */
@media (max-width: 1024px) {
  .nav { padding: 1.5rem 2rem; }
  .container { padding: 0 2rem; }
  .footer { padding: 4rem 2rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .page-header { padding: 12rem 2rem 6rem; }
  .page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
  .logo-svg { width: 180px; max-height: 44px; }
  .footer-logo { width: 160px !important; }
}

/* MOBILE */
@media (max-width: 768px) {
  /* Navigation */
  .nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .nav-cta {
    padding: 0.6rem 1.1rem;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .logo-svg { width: 150px; max-height: 38px; }

  /* Page headers */
  .page-header { padding: 8rem 1.2rem 4rem; }
  .page-header h1 { font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.15; }
  .page-header p { font-size: 0.95rem; }
  .page-header .breadcrumb { font-size: 0.7rem; letter-spacing: 0.25em; margin-bottom: 1.5rem; }
  .gold-line { margin: 1.5rem auto; }

  /* Container */
  .container { padding: 0 1.2rem; }

  /* Buttons */
  .btn {
    padding: 1rem 1.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  /* Footer */
  .footer { padding: 4rem 1.2rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-logo { width: 140px !important; margin: 0 auto 2rem !important; }
  .footer-brand .logo { justify-content: center; }
  .footer-tagline { max-width: 100% !important; font-size: 1.2rem !important; }
  .footer-desc { max-width: 100% !important; font-size: 0.85rem !important; }
  .footer h4 { margin-bottom: 1.5rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .nav { padding: 0.8rem 1rem; }
  .logo-svg { width: 130px; max-height: 34px; }
  .nav-cta {
    padding: 0.5rem 0.9rem;
    font-size: 0.6rem;
  }
  .page-header { padding: 7rem 1rem 3.5rem; }
  .page-header h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .page-header p { font-size: 0.88rem; }
  .btn { padding: 0.9rem 1.5rem; font-size: 0.65rem; }
  .container { padding: 0 1rem; }
}
