/* AURUM — Design Variant B: «Mercedes» Engineering Minimalism */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F4F4F6;
  --bg-dark: #0A0A0A;
  --text-primary: #0A0A0A;
  --text-secondary: #6E7176;
  --text-light: #FFFFFF;
  --text-light-muted: #8E9196;
  --line-border: #E1E2E4;
  --line-dark: #222225;
  --accent-blue: #00ADEF; /* Used strictly for active filter/tab */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1360px;
  --section-pad: clamp(64px, 8vw, 130px);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
a:hover { opacity: 0.8; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
  border: 1px solid var(--line-border);
  border-radius: 0;
  background: #FFF;
  padding: 14px 18px;
  width: 100%;
  transition: border-color 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

/* Typography strictly per Contract B */
h1, .h1 {
  font-size: clamp(38px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2, .h2 {
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3, .h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h4, .h4 { font-size: 19px; font-weight: 500; line-height: 1.35; }
p { font-size: 17px; line-height: 1.6; color: var(--text-primary); }
.text-muted { color: var(--text-secondary) !important; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
}

.caption {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.section { padding: var(--section-pad) 0; position: relative; }
.section-grey { background-color: var(--bg-secondary); }
.section-dark { background-color: var(--bg-dark); color: var(--text-light); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p { color: var(--text-light); }
.section-dark .eyebrow, .section-dark .caption { color: var(--text-light-muted); }

.line-divider {
  height: 1px;
  background-color: var(--line-border);
  width: 100%;
  border: none;
}
.section-dark .line-divider { background-color: var(--line-dark); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

@media (max-width: 1024px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 24px; }
}

/* Full Bleed & Standard Photos */
.photo-21-9 { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.photo-16-9 { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.badge-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: var(--bg-dark);
  color: #FFF;
}

/* Accessibility, RTL & Reduced Motion */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

[dir="rtl"] { text-align: right; direction: rtl; }
[dir="rtl"] .eyebrow { letter-spacing: 0.05em; }
[dir="rtl"] .btn-link svg { transform: rotate(180deg); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
