/* 0V Editorial Homepage - Light Mode, Apple-like Feel */

:root {
  --color-bg: #ffffff;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-border: #e5e5e7;
  --color-accent: #0071e3;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  --container-max: 1200px;
  --border-radius: 0.5rem;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ov-page {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 100vh;
}

.ov-left-caption {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  padding: var(--spacing-lg) var(--spacing-sm);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fafafa;
  border-right: 1px solid var(--color-border);
}

.ov-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--spacing-lg);
}

/* Header */
.ov-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xxl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.ov-logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.ov-search input {
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  background: transparent;
  width: 200px;
  transition: border-color 0.2s ease;
}

.ov-search input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Hero Section */
.ov-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  margin-bottom: var(--spacing-xxl);
  align-items: center;
}

.ov-hero-media img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ov-hero-copy {
  padding-right: var(--spacing-lg);
}

.ov-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.ov-hero-copy h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.ov-sub {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.ov-cta {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.ov-cta input {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  flex: 1;
  max-width: 250px;
}

.ov-cta button {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ov-cta button:hover {
  background: #0051a2;
}

/* Value Section */
.ov-value {
  text-align: center;
  padding: var(--spacing-xxl) 0;
  margin-bottom: var(--spacing-xxl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ov-value h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ov-value p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.ov-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ov-icon-btn:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

/* History Section */
.ov-section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.ov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xxl);
}

.ov-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ov-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.ov-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ov-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  padding: var(--spacing-md);
  margin: 0;
}

.ov-card p {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.ov-card.dominant {
  grid-column: span 2;
}

.ov-card.dominant img {
  height: 300px;
}

.ov-cta-btn {
  display: inline-block;
  margin: 0 var(--spacing-md) var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.ov-cta-btn:hover {
  background: #0051a2;
}

/* Stories Section */
.ov-stories {
  margin-bottom: var(--spacing-xxl);
}

.ov-story {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

.ov-story:last-child {
  border-bottom: none;
}

.ov-story img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.ov-story-content h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
}

.ov-story-content time {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ov-story-content p {
  margin-top: var(--spacing-xs);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* Footer */
.ov-footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xxl);
  padding-top: var(--spacing-xxl);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.ov-footer-left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.ov-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm) var(--spacing-md);
}

.ov-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.ov-footer-right h5 {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.ov-footer-right p,
.ov-footer-right a {
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: var(--spacing-xs);
  display: block;
}

.ov-footer-right a:hover {
  color: var(--color-accent);
}

.ov-footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .ov-hero {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .ov-hero-copy {
    padding-right: 0;
  }
  
  .ov-grid {
    grid-template-columns: 1fr;
  }
  
  .ov-card.dominant {
    grid-column: span 1;
  }
  
  .ov-story {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .ov-footer {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .ov-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hugo Template Comments */
/* {{/* Hugo variables can be injected here */}} */
/* {{ .Site.Title }} */
/* {{ .Site.Params.description }} */
/* {{ range .Site.Menus.main }} */
/* {{ .URL | relURL }} */
/* {{ .Name }} */
/* {{ end }} */