/* ============================================
   STORY FILM — Main Stylesheet
   Variables · Reset · Typography · Components
   ============================================ */

/* --- Palette --- */
:root {
  --bg:           #f0ede6;
  --ink:          #1a1815;
  --mid:          #4a463e;
  --light:        #6b665b;
  --border:       #d4cec4;
  --border-light: #e4e0da;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  cursor: none;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

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

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
}

h1 {
  font-weight: 600;
  font-size: 148px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 300;
  font-size: 48px;
  line-height: 1.1;
}

h3 {
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
}

.label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid);
}

.text-italic {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
}

/* --- Layout --- */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 52px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s ease;
}

.btn-primary {
  padding: 15px 38px;
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  padding: 15px 38px;
  border: 0.5px solid var(--border);
  color: var(--mid);
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: var(--bg);
  border-color: var(--ink);
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-nav {
  padding: 9px 18px;
  border: 0.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.btn-nav:hover {
  background: var(--ink);
  color: var(--bg);
}

/* --- Navigation --- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.3s ease;
}

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

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.nav-logo .logo-little {
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
}

.nav-logo .logo-story {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav-logo .logo-film {
  font-weight: 300;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s ease;
}

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

/* --- Sections --- */
section {
  position: relative;
}

/* --- Dark sections --- */
.section-dark {
  background: var(--ink);
  color: var(--bg);
}

.section-dark .label {
  color: var(--light);
}

/* --- Separator --- */
.separator {
  width: 100%;
  height: 0;
  border-top: 0.5px solid var(--border);
}
