/* === Chopard Patrimoine — styles === */

:root {
  --navy: #1B2A4A;
  --navy-soft: #2A3A5C;
  --grey: #8C8276;
  --grey-light: #C9C2B8;
  --cream: #F7F5F2;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-muted: #5C5C5C;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1140px;
  --narrow-width: 760px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: var(--narrow-width);
}

.center { text-align: center; }

/* === Header === */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  background: transparent;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  width: 110px;
  height: auto;
  display: block;
  transition: width 0.3s var(--ease);
}

.site-header.scrolled .brand-logo {
  width: 100px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

/* === Buttons === */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
}

.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--grey);
  color: var(--white);
}

.btn-accent:hover {
  background: #756C61;
  transform: translateY(-1px);
}

/* === Hero === */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--cream);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--grey-light));
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 28px;
  max-width: 18ch;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
  margin-bottom: 44px;
  font-weight: 300;
}

/* === Sections === */

.section {
  padding: 120px 0;
}

.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 24px;
}

.eyebrow-light { color: var(--grey-light); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 48px;
  max-width: 22ch;
}

.center .section-title { margin-left: auto; margin-right: auto; }

.section-title-light { color: var(--white); }

.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 60ch;
}

.center .prose p { margin-left: auto; margin-right: auto; }

.prose-light p { color: rgba(255, 255, 255, 0.88); }

.prose .meta {
  font-size: 15px;
  color: var(--grey-light);
  margin-top: 32px;
  font-style: italic;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  margin-top: 24px;
}

.service-card {
  background: var(--cream);
  padding: 48px 40px;
  transition: background 0.25s var(--ease);
}

.service-card:hover { background: var(--white); }

.service-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* === Pillars === */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 24px;
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-light);
}

.pillar p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* === Contact === */

#contact {
  padding: 140px 0;
}

#contact .btn { margin-top: 16px; }

.contact-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--grey-light);
  font-style: italic;
}

/* === Footer === */

.site-footer {
  background: var(--navy);
  color: var(--grey-light);
  padding: 48px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-tag {
  font-size: 14px;
  color: var(--grey-light);
}

.footer-meta {
  text-align: right;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}

.footer-meta a {
  color: var(--grey-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 194, 184, 0.3);
  transition: color 0.2s var(--ease);
}

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

/* === Responsive === */

@media (max-width: 880px) {
  .nav { display: none; }

  .section { padding: 80px 0; }
  #contact { padding: 100px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero { min-height: 80vh; padding: 120px 0 60px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .container { padding: 0 22px; }
  body { font-size: 16px; }
  .hero-subtitle { font-size: 17px; }
  .prose p { font-size: 16px; }
}
