/* ============================================
   GRANDMARK — The Grandmark Standard
   Minimal. Precise. Unsettling.
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --text: #f5f5f0;
  --text-muted: #8a8a82;
  --text-dim: #5a5a55;
  --accent: #e8e4d9;
  --line: rgba(245, 245, 240, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 3rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
  mix-blend-mode: difference;
}

.logo {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
}

nav {
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 2rem;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.8;
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ========== INTRO ========== */
.intro {
  padding: 10rem 2rem;
  border-top: 1px solid var(--line);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.big-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: center;
}

/* ========== GRID SECTION ========== */
.grid-section {
  padding: 10rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  max-width: 400px;
}

.grid-teaser {
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
}

.grid-teaser p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 2rem;
}

.teaser-note {
  font-size: 0.8rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim) !important;
}

/* ========== STANDARD ========== */
.standard-section {
  padding: 10rem 2rem;
  border-top: 1px solid var(--line);
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.standard-item {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.standard-item .num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.standard-item p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
}

/* ========== STATEMENT ========== */
.statement {
  padding: 12rem 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--accent);
  max-width: 700px;
  margin: 0 auto;
}

/* ========== INQUIRE ========== */
.inquire {
  padding: 10rem 2rem 12rem;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  text-align: center;
}

.inquire-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 2rem 0 3.5rem;
  line-height: 1.7;
}

.inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.4rem;
  border: 1px solid var(--text-dim);
  color: var(--text);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.35s ease;
}

.inquire-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.inquire-btn svg {
  transition: transform 0.3s ease;
}

.inquire-btn:hover svg {
  transform: translateX(4px);
}

.email {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* ========== FOOTER ========== */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--line);
}

.footer .container {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-left .sep {
  opacity: 0.4;
}

.footer-right {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header {
    padding: 1.25rem 1.5rem;
  }

  nav {
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .intro,
  .grid-section,
  .standard-section,
  .statement,
  .inquire {
    padding: 6rem 1.5rem;
  }

  .grid-teaser {
    padding-left: 1.5rem;
  }

  .standard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 2rem 1.5rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Fade-in on load */
.hero-content,
.intro .big-text,
.grid-section .container,
.standard-section .container,
.statement blockquote,
.inquire .container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
}

.hero-content { animation-delay: 0.15s; }
.intro .big-text { animation-delay: 0.1s; }
.grid-section .container { animation-delay: 0.1s; }
.standard-section .container { animation-delay: 0.1s; }
.statement blockquote { animation-delay: 0.1s; }
.inquire .container { animation-delay: 0.1s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
