@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&display=swap');

/* =============================================
   ORLIVEN — Swiss Modernist Grid System
   ============================================= */

:root {
  --red:       #C8190F;
  --dark:      #1A1A1A;
  --mid:       #4A4A4A;
  --gray:      #8C8C8C;
  --silver:    #C8C2BB;
  --cream:     #F2EDE6;
  --white:     #FAFAF8;
  --border:    #D4CEC7;
  --module:    8px;
  --col:       calc(100% / 12);
  --font-sans: 'IBM Plex Sans', Helvetica Neue, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-serif:'IBM Plex Serif', Georgia, serif;
  --nav-h:     64px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }

/* =============================================
   GRID UTILITIES
   ============================================= */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 calc(var(--module) * 4);
}
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 880px; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: calc(var(--module) * 3);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--module) * 3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--module) * 3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--module) * 3); }

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-12 { grid-column: span 12; }

/* =============================================
   TYPOGRAPHY SCALE
   ============================================= */

.t-display {
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.t-headline {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.t-title {
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.t-subtitle {
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--mid);
}
.t-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid);
}
.t-small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray);
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}
.t-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

/* =============================================
   SPACING
   ============================================= */

.section { padding: calc(var(--module) * 12) 0; }
.section--lg { padding: calc(var(--module) * 18) 0; }
.section--sm { padding: calc(var(--module) * 7) 0; }
.section--xs { padding: calc(var(--module) * 4) 0; }

.mb-1 { margin-bottom: calc(var(--module) * 1); }
.mb-2 { margin-bottom: calc(var(--module) * 2); }
.mb-3 { margin-bottom: calc(var(--module) * 3); }
.mb-4 { margin-bottom: calc(var(--module) * 4); }
.mb-6 { margin-bottom: calc(var(--module) * 6); }
.mb-8 { margin-bottom: calc(var(--module) * 8); }
.mt-2 { margin-top: calc(var(--module) * 2); }
.mt-4 { margin-top: calc(var(--module) * 4); }
.mt-6 { margin-top: calc(var(--module) * 6); }

/* =============================================
   HEADER / NAV
   ============================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.logo__word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--dark);
  line-height: 1;
}
.logo__dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 2px;
}

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav__item {
  position: relative;
}
.main-nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--mid);
  transition: color var(--transition);
}
.main-nav__link:hover,
.main-nav__link.active { color: var(--dark); }
.main-nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 100;
}
.main-nav__item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--mid);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover {
  background: var(--cream);
  color: var(--dark);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-header {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  background: var(--dark);
  color: var(--white) !important;
  border: 2px solid var(--dark);
  transition: background var(--transition), color var(--transition);
}
.btn-header:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 800;
  overflow-y: auto;
  padding: 32px 32px 80px;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--red); }

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__overline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero__title { margin-bottom: 28px; }
.hero__title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--red);
}

.hero__desc { font-size: 17px; line-height: 1.7; color: var(--mid); margin-bottom: 40px; max-width: 520px; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__image {
  position: relative;
}
.hero__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.hero__image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__index-bar {
  position: absolute;
  right: calc(var(--module) * 4);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
  text-transform: uppercase;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
}
.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--red);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover { color: var(--dark); }
.btn--ghost::after {
  content: '→';
  transition: transform var(--transition);
}
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--sm { font-size: 11px; padding: 9px 18px; letter-spacing: 0.08em; }
.btn--lg { font-size: 15px; padding: 18px 36px; }

/* =============================================
   SECTION HEADER
   ============================================= */

.section-header {
  margin-bottom: calc(var(--module) * 7);
}
.section-header--flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section-header__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-header__rule::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}

/* =============================================
   CARDS
   ============================================= */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
}

.card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__image img { transform: scale(1.03); }

.card__body { padding: 28px; }
.card__category {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card__excerpt {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
}
.card__meta span::before { content: '— '; }
.card__meta span:first-child::before { content: ''; }

/* Feature card */
.card--feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card--feature .card__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}
.card--feature .card__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Stat card */
.card--stat {
  padding: 36px;
  border-left: 3px solid var(--red);
}
.card--stat .stat-num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 8px;
}
.card--stat .stat-label {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.4;
}

/* Number card */
.card--numbered {
  padding: 32px;
  position: relative;
}
.card--numbered::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

/* =============================================
   MARQUEE / TICKER
   ============================================= */

.marquee-strip {
  background: var(--dark);
  overflow: hidden;
  padding: 14px 0;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.marquee-item::after {
  content: '◆';
  color: var(--red);
  font-size: 8px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   QUOTE / PULLQUOTE
   ============================================= */

.pullquote {
  border-left: 4px solid var(--red);
  padding: 24px 32px;
  background: var(--cream);
  margin: 40px 0;
}
.pullquote__text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-style: italic;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 16px;
}
.pullquote__author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* =============================================
   MODULE GRID (Swiss style blocks)
   ============================================= */

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.module-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.module-cell:nth-child(4n) { border-right: none; }
.module-cell--red { background: var(--red); color: var(--white); }
.module-cell--dark { background: var(--dark); color: var(--white); }
.module-cell--cream { background: var(--cream); }
.module-cell__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.module-cell--red .module-cell__num,
.module-cell--dark .module-cell__num { color: rgba(255,255,255,0.5); }
.module-cell__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.module-cell__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
}
.module-cell--red .module-cell__text,
.module-cell--dark .module-cell__text { color: rgba(255,255,255,0.75); }

/* =============================================
   DIAGONAL ACCENT
   ============================================= */

.diagonal-section {
  position: relative;
  background: var(--cream);
  padding: calc(var(--module) * 12) 0;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin: calc(var(--module) * 6) 0;
}

/* =============================================
   BREADCRUMBS
   ============================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: var(--silver); }
.breadcrumb__current { color: var(--dark); }

/* =============================================
   ARTICLE / PROSE
   ============================================= */

.prose h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 20px;
  color: var(--dark);
}
.prose h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 36px 0 16px;
  color: var(--dark);
}
.prose h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
}
.prose p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 20px;
}
.prose ul, .prose ol {
  margin: 20px 0;
  padding-left: 0;
}
.prose li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid);
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 600;
}
.prose ol { counter-reset: prose-list; }
.prose ol li { counter-increment: prose-list; }
.prose ol li::before {
  content: counter(prose-list, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  top: 9px;
}
.prose strong { font-weight: 600; color: var(--dark); }
.prose em { font-style: italic; font-family: var(--font-serif); }
.prose a { color: var(--red); border-bottom: 1px solid var(--red); }
.prose a:hover { color: var(--dark); border-color: var(--dark); }

.article-lead {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.65;
  color: var(--dark);
  font-weight: 300;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.article-img {
  margin: 40px 0;
}
.article-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-img figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

/* =============================================
   SIDEBAR
   ============================================= */

.sidebar { position: sticky; top: calc(var(--nav-h) + 32px); }
.sidebar-widget {
  border: 1px solid var(--border);
  margin-bottom: 24px;
  overflow: hidden;
}
.sidebar-widget__head {
  background: var(--cream);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget__head::before { content: '//'; color: var(--red); }
.sidebar-widget__body { padding: 20px; }
.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  font-size: 14px;
  color: var(--mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-list a:hover { color: var(--red); }
.sidebar-list .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver);
}

/* =============================================
   TAGS
   ============================================= */

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: var(--gray);
  transition: all var(--transition);
}
.tag:hover, .tag.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.tag--red { border-color: var(--red); color: var(--red); }
.tag--red:hover { background: var(--red); color: var(--white); }

/* =============================================
   FORM
   ============================================= */

.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--border);
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  appearance: none;
}
.form-control:focus { border-color: var(--dark); }
.form-control::placeholder { color: var(--silver); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; cursor: pointer; }
.form-check label { font-size: 14px; color: var(--mid); line-height: 1.5; cursor: pointer; }
.form-note { font-size: 12px; color: var(--gray); margin-top: 6px; }

/* =============================================
   NEWSLETTER
   ============================================= */

.newsletter-strip {
  background: var(--dark);
  padding: 64px 0;
}
.newsletter-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newsletter-strip h2 { color: var(--white); }
.newsletter-strip p { color: rgba(255,255,255,0.6); margin-top: 12px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-right: none;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form button {
  padding: 16px 28px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #a51209; border-color: #a51209; }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo__word { color: var(--white); }
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-contact {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}
.footer-contact a { color: rgba(255,255,255,0.5); }
.footer-contact a:hover { color: var(--red); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul li { margin-bottom: 4px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: block;
  padding: 5px 0;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.footer-policy {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-policy a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.footer-policy a:hover { color: var(--red); }

/* =============================================
   COOKIE BANNER
   ============================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  min-width: 280px;
}
.cookie-text a { color: var(--red); }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cookie-accept {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cookie-accept:hover { background: #a51209; border-color: #a51209; }
.btn-cookie-decline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* =============================================
   PAGE HERO (internal pages)
   ============================================= */

.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to left, var(--border) 0, transparent 100%);
  opacity: 0.3;
}
.page-hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.page-hero__label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--mid); max-width: 640px; }

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin-top: 64px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--border);
  color: var(--mid);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--cream); color: var(--dark); }
.pagination .current { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* =============================================
   TABLE
   ============================================= */

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--cream);
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
}
.data-table tr:hover td { background: var(--cream); }
.data-table td:first-child { font-weight: 600; color: var(--dark); }

/* =============================================
   ACCORDION
   ============================================= */

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  gap: 20px;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--red); }
.accordion-trigger svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  stroke: currentColor;
}
.accordion-item.open .accordion-trigger { color: var(--red); }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.accordion-body-inner {
  padding: 0 0 28px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
}

/* =============================================
   GLOSSARY
   ============================================= */

.glossary-letter {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0;
  padding: 16px 0 0;
  border-top: 3px solid var(--red);
  letter-spacing: -0.04em;
}
.glossary-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.glossary-entry:last-child { border-bottom: none; }
.glossary-term {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--dark);
}
.glossary-def {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.65;
}

/* =============================================
   SEARCH
   ============================================= */

.search-form {
  display: flex;
  border: 2px solid var(--dark);
  overflow: hidden;
}
.search-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 17px;
  border: none;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-sans);
  outline: none;
}
.search-btn {
  padding: 16px 28px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--red); }
.search-result-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.search-result-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.search-result-item h3 a { color: var(--dark); }
.search-result-item h3 a:hover { color: var(--red); }
.search-result-item p { font-size: 14px; color: var(--mid); line-height: 1.6; }
.search-result-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* =============================================
   GALLERY
   ============================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(26,26,26,0.6); }
.gallery-item__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.gallery-item:hover .gallery-item__caption { opacity: 1; transform: translateY(0); }

/* =============================================
   DESIGNER PROFILE
   ============================================= */

.designer-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.designer-portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
}
.designer-portrait img { width: 100%; height: 100%; object-fit: cover; }
.designer-meta { margin-bottom: 28px; }
.designer-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 16px;
}
.designer-meta dd { font-size: 15px; color: var(--dark); margin-top: 4px; }

/* =============================================
   TOOLS PAGE
   ============================================= */

.tool-card {
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tool-card:hover {
  border-color: var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
}
.tool-card__cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.tool-card__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.tool-card__desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.tool-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--gray);
  margin-right: 6px;
  margin-bottom: 6px;
}

/* =============================================
   ABOUT TEAM
   ============================================= */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.team-card { position: relative; overflow: hidden; }
.team-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__info {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
}
.team-card__name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.team-card__role { font-family: var(--font-mono); font-size: 11px; color: var(--red); letter-spacing: 0.08em; text-transform: uppercase; }

/* =============================================
   TIMELINE
   ============================================= */

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 50%;
}
.timeline-item.active::before { background: var(--red); }
.timeline-year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.timeline-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* =============================================
   UTILITY
   ============================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-red { color: var(--red); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark); }
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.divider--bold { border-top: 2px solid var(--dark); }
.divider--red { border-top: 2px solid var(--red); }
.highlight-block {
  padding: 32px 36px;
  background: var(--cream);
  border-left: 4px solid var(--red);
}
.highlight-block p { font-size: 15px; color: var(--mid); line-height: 1.7; margin: 0; }
.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-cell:nth-child(4n) { border-right: 1px solid var(--border); }
  .module-cell:nth-child(2n) { border-right: none; }
}

@media (max-width: 900px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__index-bar { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-12 { grid-template-columns: 1fr; }
  .col-3, .col-4, .col-6, .col-7, .col-8 { grid-column: span 1; }
  .card--feature { grid-template-columns: 1fr; }
  .card--feature .card__image { min-height: 220px; }
  .newsletter-strip__inner { grid-template-columns: 1fr; gap: 32px; }
  .designer-hero { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section--lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .module-cell { border-right: none !important; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */

.page-body { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   BACK TO TOP
   ============================================= */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { stroke: currentColor; }
