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

:root {
  --color-bg: #fafaf8;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-accent: #1a3a5c;
  --color-accent-light: #2a5a8c;
  --color-gold: #c8a951;
  --color-border: #e0ddd6;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1140px;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-surface);
  letter-spacing: 2px;
  transition: color 0.3s;
}

.nav--scrolled .nav-logo {
  color: var(--color-accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s;
}

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

.nav--scrolled .nav-links a {
  color: var(--color-text-muted);
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-surface);
  transition: all 0.3s;
}

.nav--scrolled .nav-toggle span {
  background: var(--color-text);
}

.nav-toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Replace hero-bg.jpg with your own image */
  background: url('hero-bg.jpg') center/cover no-repeat, linear-gradient(165deg, #0f1b2d 0%, #1a3a5c 40%, #2a5a8c 100%);
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(15, 27, 45, 0.88) 0%, rgba(26, 58, 92, 0.78) 40%, rgba(42, 90, 140, 0.72) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 169, 81, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s;
}

.hero-cta:hover {
  background: var(--color-gold);
  color: #0f1b2d;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===== About ===== */
.about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Work Grid ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

a.work-card {
  text-decoration: none;
  color: inherit;
}

.work-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.work-card--large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0f1b2d, #1a3a5c);
  border: none;
  color: #ffffff;
}

.work-card--large .work-card-badge {
  background: var(--color-gold);
  color: #0f1b2d;
}

.work-card--large .work-card-desc {
  color: rgba(255,255,255,0.75);
}

.work-card--large .work-card-outlet {
  color: rgba(255,255,255,0.5);
}

.work-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--color-bg);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.work-card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.work-card-outlet {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  opacity: 0.7;
}

.work-card::after {
  content: 'Read Story \2192';
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.work-card--large::after {
  color: var(--color-gold);
}

/* ===== Awards ===== */
.awards {
  background: var(--color-surface);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.award-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.award-icon {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.award-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.award-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact {
  text-align: center;
}

.contact-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: #ffffff;
  transition: all 0.3s;
}

.contact-btn:hover {
  background: var(--color-accent-light);
}

.contact-btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
}

.contact-btn--outline:hover {
  background: var(--color-accent);
  color: #ffffff;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-update {
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--color-accent);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s;
  }

  .nav-links--open {
    right: 0;
  }

  .nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card--large {
    grid-column: auto;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }
}
