/* ========================================
   SOMESHWAR DN — EXECUTIVE EDITORIAL SYSTEM
   ======================================== */

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

/* ─── Custom Properties ─── */
:root {
  /* Colors */
  --bg-primary: #F9F8F4;      /* Alabaster/Cream */
  --bg-secondary: #FFFFFF;    /* Pure White */
  --bg-elevated: #F2EFE9;     /* Slightly darker cream */
  
  --text-primary: #1A1C20;    /* Deep Charcoal / Ink */
  --text-secondary: #4A4D55;  /* Slate Grey */
  --text-muted: #828691;      /* Light Slate */
  
  --accent-primary: #0F2C59;  /* Oxford Blue - Trust, Executive */
  --accent-secondary: #8B6A4F;/* Muted Bronze/Gold - Premium */
  --accent-light: #E8E2D9;    /* Warm divider color */
  
  --border-light: #E5E0D8;
  --border-dark: #D4CDBC;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Easings */
  --ease-editorial: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── Base Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-secondary);
  color: #fff;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
}

.text-editorial {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent-secondary);
}

.subheading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.subheading::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--accent-secondary);
}

/* ─── Layout & Sections ─── */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-divider {
  border-top: 1px solid var(--border-light);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249, 248, 244, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.4s var(--ease-editorial);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--accent-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ─── Buttons ─── */
.btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.4s var(--ease-editorial);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: var(--accent-primary);
  color: var(--bg-secondary);
}

.btn-solid {
  background: var(--accent-primary);
  color: var(--bg-secondary);
}

.btn-solid:hover {
  background: transparent;
  color: var(--accent-primary);
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 56px; /* Offset nav */
}

.hero-tagline {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.6;
  margin-top: 1.5rem;
}

/* ─── Timeline ─── */
.timeline {
  position: relative;
  border-left: 1px solid var(--border-dark);
  margin-left: 1rem;
  padding-left: 3rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 4rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  background: var(--bg-primary);
  border: 1px solid var(--accent-secondary);
  border-radius: 50%;
  transform: translateX(-4.5px);
  transition: background 0.4s ease;
}

.timeline-item:hover::before {
  background: var(--accent-secondary);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-role {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: var(--font-heading);
}

/* ─── Cards & Grid ─── */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.card-editorial {
  padding: 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  transition: transform 0.5s var(--ease-editorial), box-shadow 0.5s var(--ease-editorial);
}

.card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.03);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* ─── Portrait ─── */
.portrait-wrapper {
  position: relative;
  padding: 1rem;
}

.portrait-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 2rem;
  left: 2rem;
  border: 1px solid var(--accent-secondary);
  z-index: 0;
}

.portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
}

/* ─── World Clock ─── */
.clock-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 4rem;
}

.clock-item {
  display: flex;
  flex-direction: column;
}

.clock-city {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.clock-time {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── Tags ─── */
.tag-editorial {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  border: 1px solid var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: var(--bg-secondary);
}

/* ─── Mobile Adjustments ─── */
@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .container { padding: 0 1.5rem; }
  .clock-container { gap: 1.5rem; }
  
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
