/* ─────────────────────────────────────────
   SIRJONYIVE.COM — Global Design System
   Aesthetic: Refined Minimalism / Apple-grade
   Fonts: Cormorant Garamond (display) + DM Sans (body)
───────────────────────────────────────── */

@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=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── TOKENS ── */
:root {
  --black:       #0a0a0a;
  --off-black:   #111111;
  --dark:        #1c1c1e;
  --mid:         #48484a;
  --muted:       #8e8e93;
  --light-muted: #c7c7cc;
  --light:       #e5e5ea;
  --off-white:   #f5f5f7;
  --white:       #ffffff;
  --accent:      #b8a898;
  --accent-warm: #c9a87c;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --size-xs:   0.75rem;
  --size-sm:   0.875rem;
  --size-base: 1rem;
  --size-md:   1.125rem;
  --size-lg:   1.375rem;
  --size-xl:   1.75rem;
  --size-2xl:  2.25rem;
  --size-3xl:  3rem;
  --size-4xl:  4rem;
  --size-5xl:  5.5rem;

  --radius:    4px;
  --radius-lg: 12px;
  --nav-h:     64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--off-black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; color: var(--mid); }

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--off-black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border: 1px solid var(--light);
  color: var(--mid);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: border-color 0.25s, color 0.25s, transform 0.2s var(--ease-out);
}
.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--off-black);
  transform: translateY(-1px);
}
.link-arrow {
  font-size: var(--size-sm);
  font-weight: 400;
  color: var(--off-black);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--light);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.link-arrow:hover {
  border-color: var(--off-black);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--off-black);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: var(--size-sm);
  font-weight: 400;
  color: var(--mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--off-black); }
.nav-links .nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--off-black);
  border-radius: var(--radius);
  color: var(--off-black);
  transition: background 0.2s, color 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--off-black);
  color: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--off-black);
  transition: transform 0.3s;
}

/* ── FOOTER ── */
.footer {
  background: var(--off-black);
  padding: 5rem 3rem 3rem;
  color: var(--white);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: var(--size-xl);
  font-weight: 300;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--muted);
  font-size: var(--size-sm);
  max-width: 36ch;
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-nav a {
  font-size: var(--size-sm);
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-note {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: calc(var(--nav-h) + 6rem) 3rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.page-header .section-label { margin-bottom: 1rem; }
.page-header h1 {
  font-size: clamp(var(--size-3xl), 6vw, var(--size-5xl));
  color: var(--off-black);
  max-width: 18ch;
}
.page-header p {
  margin-top: 1.5rem;
  font-size: var(--size-md);
  max-width: 54ch;
  color: var(--mid);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-up   { animation: fadeUp 0.8s var(--ease-out) both; }
.fade-in   { animation: fadeIn 0.6s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: var(--size-lg); }
  .footer { padding: 4rem 1.5rem 2rem; }
  .footer-nav { gap: 0.75rem 2rem; }
  .page-header { padding: calc(var(--nav-h) + 4rem) 1.5rem 3rem; }
}
