@font-face {
  font-family: "GT Walsheim";
  src: url("assets/fonts/GTWalsheim-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Walsheim";
  src: url("assets/fonts/GTWalsheim-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IvyPresto Display";
  src: url("assets/fonts/IvyPrestoDisplay-LightItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #fffdf1;
  --ink: #1a1918;
  --muted: #78736a;
  --soft: #f3f0e6;
  --line: #e2dfd4;
  --accent: #d67952;
  --dark: #101116;
  --sans: "GT Walsheim", "Manrope", "Hanken Grotesk", system-ui, sans-serif;
  --serif: "IvyPresto Display", "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 88% 8%, rgba(214, 121, 82, .08), transparent 30vw),
    var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(214, 121, 82, .22); }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 102;
  background: rgba(255, 255, 255, .55);
  overflow: hidden;
}
.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(214,121,82,.35), var(--accent), rgba(214,121,82,.35), transparent);
  animation: top-sweep 4.6s linear infinite;
}
@keyframes top-sweep {
  from { transform: translateX(-240px); }
  to { transform: translateX(100vw); }
}

nav#siteNav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 74px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 241, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 223, 212, .68);
}
.nav-left, .nav-center, .nav-actions { display: flex; align-items: center; }
.nav-logo { height: 21px; width: auto; }
.nav-center { gap: 26px; }
.nav-links {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.nav-links a, .nav-ventures, .nav-lang, .nav-portal {
  text-decoration: none;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-ventures {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
}
.nav-ventures svg { width: 11px; height: 8px; }
.nav-actions { gap: 12px; }
.nav-lang {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  height: 36px;
  font-size: 12px;
  letter-spacing: .08em;
}
.nav-lang .lang-en { opacity: .45; }
.nav-portal {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
}

.cs {
  padding-top: 74px;
}
.cs-hero, .cs-section, .cs-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.cs-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.12fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  padding-top: 74px;
  padding-bottom: 74px;
}
.cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cs-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
}
.cs-title {
  margin: 0;
  font-size: clamp(54px, 9vw, 126px);
  line-height: .9;
  letter-spacing: -.035em;
  font-weight: 400;
}
.cs-title em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  letter-spacing: -.015em;
}
.cs-lead {
  max-width: 54ch;
  margin: 28px 0 0;
  color: #42403b;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.58;
}
.cs-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.cs-btn:active { transform: translateY(1px) scale(.99); }
.cs-btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cs-btn.secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.cs-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 4 / 3;
  box-shadow: 0 26px 70px rgba(68, 56, 43, .14);
}
.cs-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-media-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  color: white;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-meta div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.cs-meta div:last-child { border-right: 0; }
.cs-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.cs-meta strong {
  font-size: 17px;
  font-weight: 400;
}

.cs-section {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}
.cs-split {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}
.cs-section h2 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: .98;
  letter-spacing: -.025em;
  font-weight: 400;
}
.cs-section h2 em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
}
.cs-copy {
  color: #47443f;
  font-size: 17px;
  line-height: 1.65;
}
.cs-copy p:first-child { margin-top: 0; }
.cs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cs-list article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.cs-list .num {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .14em;
}
.cs-list h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -.01em;
}
.cs-list p {
  margin: 0;
  color: #56524b;
  line-height: 1.55;
}

.cs-dark {
  max-width: none;
  margin: 0;
  padding-left: max(40px, calc((100vw - 1320px) / 2 + 40px));
  padding-right: max(40px, calc((100vw - 1320px) / 2 + 40px));
  background: var(--dark);
  color: #f7f0e4;
  border-bottom: 0;
}
.cs-dark .cs-copy, .cs-dark .cs-list p { color: #cfc6b7; }
.cs-dark .cs-list article { border-color: rgba(255,255,255,.16); }
.cs-dark .cs-kicker { color: #a99d8b; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.module {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.24);
}
.module.dark {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}
.module span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.module h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 400;
}
.module p, .module ul {
  margin: 0;
  color: #55514a;
  line-height: 1.55;
}
.module.dark p, .module.dark ul { color: #cfc6b7; }
.module ul {
  padding-left: 18px;
}
.module li + li { margin-top: 7px; }

.shot-strip {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 42px;
}
.shot {
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 16 / 10;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-next {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cs-next h2 { max-width: 12ch; }
.cs-footer {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12.5px;
}
.cs-footer nav {
  display: flex;
  gap: 18px;
}
.cs-footer a {
  text-decoration: none;
  color: var(--muted);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 110ms);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  nav#siteNav { padding: 0 20px; }
  .nav-links, .nav-lang { display: none; }
  .nav-portal { padding: 0 18px; }
  .cs-hero, .cs-section, .cs-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cs-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }
  .cs-meta { grid-template-columns: repeat(2, 1fr); }
  .cs-meta div:nth-child(2) { border-right: 0; }
  .cs-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cs-split, .cs-next { grid-template-columns: 1fr; }
  .module-grid, .cs-list, .shot-strip { grid-template-columns: 1fr; }
  .cs-dark {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 560px) {
  .nav-portal { display: none; }
  .cs-title { font-size: clamp(46px, 17vw, 72px); }
  .cs-lead { font-size: 17px; }
  .cs-meta { grid-template-columns: 1fr; }
  .cs-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cs-meta div:last-child { border-bottom: 0; }
  .cs-footer { flex-direction: column; }
  .cs-footer nav { flex-wrap: wrap; }
}
