/* Alkvantor Intelligence — Minimal Stylesheet */

:root {
  --bg: #fcf8f9;
  --text: #1b1b1c;
  --muted: #5b5f65;
  --primary: #9e421b;
  --primary-hover: #7a3312;
  --rule: rgba(0, 0, 0, 0.08);
  --white: #ffffff;
  --max-width: 1000px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  color: var(--muted);
  max-width: 600px;
}

a {
  color: inherit;
  text-decoration: none;
}

hr {
  border: none;
  border-top: 1px solid var(--rule);
}

/* Utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.kicker {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(252, 248, 249, 0.95);
  border-bottom: 1px solid var(--rule);
  z-index: 50;
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.15em;
  position: relative;
  top: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
}

.lang-switcher a:hover {
  color: var(--primary);
}

.lang-switcher .active {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: inherit;
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

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

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--rule);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8rem;
  padding-top: 8rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero p {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Sections */
section {
  padding: 7rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.section-header h2 span {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.15em;
  position: relative;
  top: -0.04em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* News */
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.news-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-text h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.news-text p {
  font-size: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background-color: rgba(158, 66, 27, 0.08);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  width: fit-content;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.news-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-image {
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Expertise */
.expertise-list {
  margin-top: 2rem;
}

.expertise-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

.expertise-item:first-child {
  padding-top: 0;
}

.expertise-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}

.expertise-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.expertise-item p {
  font-size: 0.95rem;
  max-width: 500px;
}

/* Philosophy */
.philosophy-text {
  max-width: 640px;
}

.philosophy-text h2 {
  margin-bottom: 1.5rem;
}

.philosophy-text h2 span {
  color: var(--primary);
  font-weight: 900;
}

.philosophy-text p {
  font-size: 1.05rem;
}

blockquote {
  margin-top: 4rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--primary);
  max-width: 640px;
}

blockquote p {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-style: normal;
}

/* CTA */
.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.active .modal-backdrop {
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 460px;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  font-family: inherit;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: var(--bg);
  color: var(--text);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.modal-header p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rule);
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: opacity 0.2s;
}

.modal-row:last-child {
  border-bottom: none;
}

.modal-row:hover {
  opacity: 0.7;
}

.modal-row-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-row-title {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.modal-row-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.modal-arrow {
  color: var(--muted);
  font-size: 1rem;
}

.modal-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .news-layout {
    grid-template-columns: 5fr 4fr;
    gap: 4rem;
    align-items: start;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
