:root {
  --black: #0f0f0f;
  --white: #ffffff;
  --bg-color: #f7f6f2; /* Soft beige/warm white */
  --text-dark: #1a1a1a;
  --text-light: #f7f6f2;
  --accent: #2e2e2e;

  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Noise texture overlay for premium feel */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: var(--spacing-xl) 0;
}

.dark-section {
  background-color: var(--black);
  color: var(--text-light);
}

.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Typography elements */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: var(--spacing-lg);
}

.large-text {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
}

/* Magnetic Buttons / Nav */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  mix-blend-mode: difference;
  color: #fff;
  box-sizing: border-box;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7rem);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title .italic {
  text-transform: lowercase;
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 400px;
}

.hero-image-wrapper {
  overflow: hidden;
  border-radius: 20px;
  height: 80vh;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 1px solid rgba(0,0,0,0.1);
  padding: 3rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-header h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #666;
  display: block;
  margin-bottom: 2rem;
}

.outline-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  border: 1px solid var(--black);
  border-radius: 50px;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: var(--black);
  color: var(--white);
}

.outline-btn.light {
  border-color: var(--white);
  color: var(--white);
}

.outline-btn.light:hover {
  background: var(--white);
  color: var(--black);
}

/* Projects */
.project-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 8rem;
}

.project-row.reverse {
  flex-direction: row-reverse;
}

.project-info {
  flex: 1;
}

.project-info h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.project-image {
  flex: 1;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: #222;
  border-radius: 20px;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-row:hover .image-placeholder img {
  transform: scale(1.05);
}

.text-link {
  color: var(--text-light);
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* Education & Media */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.edu-column h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.edu-column ul {
  list-style: none;
  padding: 0;
}

.edu-column li {
  margin-bottom: 1rem;
  font-weight: 300;
}

.media-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.media-box {
  padding: 3rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.1);
}

.media-box.highlight {
  grid-column: 1 / -1;
  background: var(--black);
  color: var(--white);
}

.media-box h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.clean-list {
  list-style: none;
  padding: 0;
}

.clean-list li {
  margin-bottom: 1.5rem;
}

.clean-list a {
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  transition: opacity 0.3s;
}

.clean-list a:hover {
  opacity: 0.6;
}

/* Footer / Contacts */
.footer {
  text-align: center;
  padding: 10rem 0 4rem;
}

.footer h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 4rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 8rem;
}

.huge-link {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  padding: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.privacy-link {
  color: inherit;
  text-decoration: none;
}

/* Animations Scroll */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-container, .project-row, .project-row.reverse {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .nav-links {
    display: none;
  }
  .edu-grid, .media-layout {
    grid-template-columns: 1fr;
  }
  .hero-image-wrapper {
    height: 50vh;
  }
}
