/* ═══════════════════════════════════════════════════════════════
   SEA TO SKY CABINETS — Brand CSS
   Brand: Obsidian #0C1013 · White #FFFFFF · Warm Gold #B8952F
   Fonts: Cormorant Garamond (display) · Jost (body/UI)
   ═══════════════════════════════════════════════════════════════ */

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

/* ── VARIABLES ── */
:root {
  --dark: #0C1013;
  --white: #FFFFFF;
  --gold: #B8952F;
  --gray-50: #F7F7F7;
  --gray-100: #F0F0F0;
  --gray-200: #EBEBEB;
  --gray-300: #D0D0D0;
  --gray-400: #9A9A9A;
  --gray-500: #6B6B6B;
  --gray-600: #444444;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(12,16,19,0.06);
  --shadow-md: 0 4px 24px rgba(12,16,19,0.10);
  --shadow-lg: 0 12px 48px rgba(12,16,19,0.14);
  --max-w: 1200px;
  --section-pad: clamp(64px, 8vw, 120px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 60px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo svg { width: 40px; height: 40px; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--dark);
}
.nav-logo-sub {
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.65;
  transition: opacity var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  opacity: 1 !important;
  letter-spacing: 2px;
  transition: background var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 32px 24px;
    gap: 24px;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-links.open a { font-size: 14px; opacity: 1; }
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-menu { display: none; }
@media (max-width: 768px) {
  .mobile-menu { display: block; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 clamp(24px, 5vw, 80px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(12,16,19,0.92) 0%,
    rgba(12,16,19,0.70) 50%,
    rgba(12,16,19,0.85) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border: 1px solid rgba(184,149,47,0.4);
  padding: 8px 20px;
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 40px;
}
.hero-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #9A7A20; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ── SECTION COMMON ── */
.section {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-dark {
  background: var(--dark);
  max-width: none;
}
.section-dark .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.1;
  color: var(--dark);
}
.section-dark .section-title { color: var(--white); }
.section-title em {
  font-style: italic;
  font-weight: 300;
}
.section-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 24px;
}
.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 16px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.5); }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--dark);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 1.8;
}
.service-number {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gray-100);
  line-height: 1;
  transition: color var(--transition);
}
.service-card:hover .service-number { color: var(--gray-200); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.about-image-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-text {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  letter-spacing: 8px;
  text-align: center;
  line-height: 1.2;
}
.about-image-accent {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.stat-item {
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-number span { color: var(--gold); }
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
}
.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-content p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.9;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.about-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-600);
}
.about-list-item::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-height: 360px; }
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  background: var(--gray-100);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12,16,19,0);
  transition: background var(--transition);
}
.gallery-item:hover::after { background: rgba(12,16,19,0.35); }
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(4) { grid-column: span 6; }
.gallery-item:nth-child(5) { grid-column: span 6; }
.gallery-item:nth-child(6) { grid-column: span 12; }
.gallery-item-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-item-bg { transform: scale(1.04); }
.gallery-item-label {
  position: absolute;
  bottom: 16px; left: 20px;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-item-label { opacity: 1; transform: translateY(0); }
.gallery-item-label span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block {}
.contact-block-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-block-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 1px;
  line-height: 1.5;
}
.contact-block-value.small { font-family: var(--font-body); font-size: 14px; font-weight: 300; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,149,47,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  background: var(--dark);
  color: var(--white);
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  align-self: flex-start;
}
.form-submit:hover { background: var(--gold); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--dark);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}
.cta-actions { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px clamp(24px, 5vw, 80px) 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--white);
}
.footer-brand p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  max-width: 280px;
}
.footer-col-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 8px;
  margin-bottom: 8px;
}
.page-hero p {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
}
.page-hero .hero-divider { margin: 28px auto 0; }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── UTILITY ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
