/* ═══════════════════════════════════════════
   SINBYO — Global Styles
   Aesthetic: Editorial Luxury / White-dominant
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,700&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --ivory: #fafaf8;
  --cream: #f5f4f0;
  --stone: #eae8e3;
  --text-primary: #1a1a18;
  --text-secondary: #5c5a54;
  --text-tertiary: #8a877f;
  --text-faint: #b5b2ab;
  --accent: #2d6b5f;
  --accent-light: #3d8b7a;
  --accent-faint: rgba(45, 107, 95, 0.07);
  --accent-mid: rgba(45, 107, 95, 0.15);
  --gold: #b8963e;
  --gold-faint: rgba(184, 150, 62, 0.08);
  --deep: #0f1f1b;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Outfit', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

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

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

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── NAV ────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.6s var(--ease-out);
}
.site-nav.scrolled {
  padding: 18px 48px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.site-nav.dark-mode {
  /* Used on hero sections with dark bg */
}
.site-nav.dark-mode.scrolled .nav-logo,
.site-nav.dark-mode.scrolled .nav-link { color: var(--text-primary); }

.nav-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: color 0.4s;
}
.nav-logo-accent { color: var(--accent); }
.site-nav.dark-mode .nav-logo { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.site-nav.dark-mode .nav-link { color: rgba(255,255,255,0.5); }
.site-nav.dark-mode .nav-link:hover { color: var(--white); }

.nav-cta-link {
  padding: 10px 24px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--accent) !important;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease-out) !important;
}
.nav-cta-link:hover {
  background: var(--accent);
  color: var(--white) !important;
}
.nav-cta-link::after { display: none !important; }
.site-nav.dark-mode .nav-cta-link {
  border-color: rgba(255,255,255,0.3);
  color: var(--white) !important;
}
.site-nav.dark-mode .nav-cta-link:hover {
  background: var(--white);
  color: var(--text-primary) !important;
}

.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
}
.nav-hamburger span {
  display: block; position: absolute;
  width: 100%; height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 9px; }
.nav-hamburger span:nth-child(3) { top: 18px; }
.site-nav.dark-mode .nav-hamburger span { background: var(--white); }
.site-nav.scrolled .nav-hamburger span { background: var(--text-primary); }

/* Mobile nav */
@media (max-width: 768px) {
  .site-nav { padding: 20px 24px; }
  .site-nav.scrolled { padding: 16px 24px; }
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links.open .nav-link {
    color: var(--text-primary);
    font-size: 1.1rem;
  }
  .nav-hamburger { display: block; z-index: 1001; }
  .container, .container-narrow, .container-wide { padding: 0 24px; }
}

/* ─── TYPOGRAPHY ─────────────────────────── */
.display-huge {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.display-large {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-medium {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.display-small {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
}
.heading-serif {
  font-family: var(--serif);
  font-weight: 500;
}
.body-large {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}
.body-regular {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}
.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.label-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.label-line::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}
em, .italic { font-style: italic; }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--ease-out);
}
.btn-filled {
  background: var(--accent);
  color: var(--white);
}
.btn-filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(45, 107, 95, 0.2);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--stone);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-white {
  background: var(--white);
  color: var(--text-primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.btn-ghost-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.btn svg {
  width: 16px; height: 16px;
  transition: transform 0.3s;
}
.btn:hover svg { transform: translateX(3px); }

/* ─── HERO STYLES ────────────────────────── */
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero-dark {
  background: var(--deep);
  color: var(--white);
}
.page-hero-white {
  background: var(--white);
}
.page-hero .bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.page-hero .bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,31,27,0.3) 0%, rgba(15,31,27,0.6) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 160px 0 120px;
}

/* ─── SECTIONS ───────────────────────────── */
.section {
  padding: 160px 0;
}
.section-sm {
  padding: 100px 0;
}
.section-ivory {
  background: var(--ivory);
}
.section-cream {
  background: var(--cream);
}
.section-dark {
  background: var(--deep);
  color: var(--white);
}

/* ─── SPACERS ────────────────────────────── */
.spacer-xl { height: 160px; }
.spacer-lg { height: 100px; }
.spacer-md { height: 60px; }
.spacer-sm { height: 32px; }
.spacer-xs { height: 16px; }
.mt-xl { margin-top: 120px; }
.mt-lg { margin-top: 80px; }
.mt-md { margin-top: 48px; }
.mt-sm { margin-top: 24px; }
.mb-xl { margin-bottom: 120px; }
.mb-lg { margin-bottom: 80px; }
.mb-md { margin-bottom: 48px; }
.mb-sm { margin-bottom: 24px; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── IMAGE CONTAINERS ───────────────────── */
.img-full {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  object-fit: cover;
}
.img-editorial {
  width: 100%;
  border-radius: 4px;
}
.img-placeholder {
  width: 100%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px dashed var(--stone);
  border-radius: inherit;
}

/* ─── VIDEO PLACEHOLDER ──────────────────── */
.video-full-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.video-full-section video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-full-section .placeholder-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0a1a16, #1a3d34, #0f2620);
}
.video-full-section .overlay {
  position: absolute; inset: 0;
  background: rgba(15,31,27,0.45);
}
.video-full-section .content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 48px;
  max-width: 800px;
}
.video-full-section .content .display-medium { color: var(--white); }
.video-full-section .content p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-top: 20px;
}

/* ─── QUOTE BLOCK ────────────────────────── */
.quote-block {
  padding: 60px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
}
.quote-block cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ─── SVG DECORATIVE ─────────────────────── */
.svg-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.svg-deco {
  display: block;
  margin: 0 auto;
  opacity: 0.6;
}

/* ─── GRID HELPERS ───────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.grid-2-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-2-center, .grid-3 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ─── FEATURE ROW ────────────────────────── */
.feature-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.feature-row:last-child { border-bottom: none; }
.feature-icon-wrap {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon-wrap svg {
  width: 40px; height: 40px;
}
.feature-text h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-text p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ─── PIONEER CARDS ──────────────────────── */
.pioneer-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--stone);
}
.pioneer-block:last-child { border-bottom: none; }
.pioneer-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.pioneer-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pioneer-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
}

/* ─── CONTACT FORM ───────────────────────── */
.form-field {
  margin-bottom: 24px;
}
.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-success-msg {
  display: none;
  padding: 32px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 400;
}

/* ─── FOOTER ─────────────────────────────── */
.site-footer {
  padding: 80px 0 48px;
  border-top: 1px solid var(--stone);
  background: var(--white);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand-text {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 300;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--stone);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 300;
}
.footer-bottom a:hover { color: var(--accent); }
.footer-credits {
  display: flex; gap: 24px; flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drawLine {
  from { width: 0; }
  to { width: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }
