/* ════════════════════════════════════════════════════
   Km — style.css
════════════════════════════════════════════════════ */

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

:root {
  --ink:        #0D0E12;
  --ink-soft:   #1A1C24;
  --ink-card:   #14151B;
  --gold:       #C9A45A;
  --gold-pale:  #E8D4A4;
  --gold-dim:   #7A6030;
  --rule:       #2A2510;
  --rule-soft:  #1E1E28;
  --ivory:      #F5F0E8;
  --ivory-dim:  #B8AFA0;
  --ivory-mute: #6A6258;
  --nav-h:      100px;
  --max-w:      1600px;
  --pad:        clamp(1.5rem, 5vw, 5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--ivory);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: 'Cormorant Garant', serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 em, h2 em { font-style: italic; color: var(--gold); }

/* ── BUTTONS ─────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-pale); transform: translateY(-1px); }
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ivory);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: 0.5px solid var(--rule-soft);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── NAV ─────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13,14,18,0.92);
  backdrop-filter: blur(14px);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(13,14,18,0.98); }

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--gold); margin: 0 2px; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-pale); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 99;
  background: var(--ink);
  border-bottom: none;
  flex-direction: column;
  padding: 1.5rem var(--pad) 2rem;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mob-link {
  text-decoration: none;
  color: var(--ivory-dim);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: none;
  transition: color 0.2s;
}
.mob-link:hover { color: var(--gold); }
.mob-cta {
  display: inline-block;
  margin-top: 1.25rem;
  text-align: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.8rem 1.5rem;
}

/* ── HERO ─────────────────────────────────────────── */

.hero {
  min-height: unset;
  height: auto;
  padding-bottom: 3rem;
  padding-top: calc(var(--nav-h) + 3rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hero-spine {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2rem 0;
}
.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('images/building2.jpg') center/cover no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  opacity: 1;
  z-index: 1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ivory-dim);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-ornament {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 22vw, 260px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(180px, 28vw, 380px);
  font-weight: 300;
  line-height: 1;
  color: rgba(201,164,90,0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

/* ── STRIP ───────────────────────────────────────── */

.strip {
  background: var(--gold);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.9rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.strip-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.5rem;
  padding-right: 1.5rem;

  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.strip-inner {
  width: max-content;
  display: inline-flex;
  gap: 1.5rem;
  animation: marquee 28s linear infinite;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.strip-inner .dot { opacity: 0.4; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SERVICES ─────────────────────────────────────── */

.services {
  padding: 6rem var(--pad);
  padding-top: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  max-width: 560px;
  margin-bottom: 3.5rem;
}
.section-header h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 0.75rem; }
.section-sub {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ivory-dim);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 0.5px solid var(--rule);
}

.service-card {
  background: var(--ink-card);
  padding: 3rem 2rem;
  position: relative;
  transition: background 0.25s;
}
.service-card:hover { background: var(--ink-soft); }

.service-card.featured {
  grid-column: span 2;
  background: var(--ink-soft);
  border-left: 2px solid var(--gold);
}

.card-num {
  font-family: 'Cormorant Garant', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.service-card h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.service-card.featured h3 { font-size: 1.65rem; color: var(--gold-pale); }

.service-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-card ul li {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ivory-mute);
  letter-spacing: 0.04em;
  padding-left: 1rem;
  position: relative;
}
.service-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
  font-size: 0.65rem;
}

/* ── ABOUT ─────────────────────────────────────────── */

.about {
  background: var(--ink-soft);
  border-top: 0.5px solid var(--rule);
  border-bottom: none;
  padding: 6rem var(--pad);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.about-left p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
}

.stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 0.5px solid var(--rule);
  width: 100%;
}

.stat {
  background: var(--ink-card);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-num {
  font-family: 'Cormorant Garant', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-num em { font-style: normal; font-size: 1.8rem; }

.stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.about-ornament {
  width: 120px;
  opacity: 0.35;
  align-self: flex-end;
}

/* ── CONTACT ─────────────────────────────────────── */

.contact {
  padding: 6rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 1rem;
  border-top: 0.5px solid var(--rule);
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-item a,
.contact-item span {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ivory-dim);
  text-decoration: none;
  line-height: 1.7;
}
.contact-item a:hover { color: var(--gold); }

/* FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

input, select, textarea {
  background: var(--ink-soft);
  border: 0.5px solid var(--rule-soft);
  color: var(--ivory);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
input::placeholder, textarea::placeholder { color: var(--ivory-mute); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6030' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select option { background: var(--ink-soft); }

textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--ivory-mute);
  text-align: center;
  margin-top: -0.25rem;
}

/* ── FOOTER ─────────────────────────────────────── */

footer {
  background: var(--ink-soft);
  border-top: 0.5px solid var(--rule);
  padding: 2.5rem var(--pad);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.2rem;
  color: var(--ivory);
  letter-spacing: 0.04em;
}
.footer-logo span { color: var(--gold); margin: 0 2px; }

.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--ivory-mute);
}

/* ── SCROLL REVEAL ───────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
   nav { height: auto; padding: 16px var(--pad); }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: span 2; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-right { align-items: flex-start; }
  .about-ornament { display: none; }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {

  .hero-content {
    display: flex;
    flex-direction: column;
  }

  .hero-bottom {
    position: relative;
    top: 9rem;
  }

  .hero-sub {
    color: #ffffff;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 0.25rem 0.25rem;
    border-radius: 8px;
  }
  .hero h1 { font-size: 2.8rem;
    margin-top: -11rem; }
  .hero-ornament { display: none; }
  .hero-bg-text { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { gap: 1.25rem; }

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
    min-height: 80vh;
  }

  /*full background image */
  .hero-image {
    /* background-position: center bottom; */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    filter: brightness(0.6);
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-actions {
  flex-direction: row;
  gap: 0.5rem;
  }

  .btn-primary, .btn-ghost {
  font-size: 0.65rem;
  padding: 0.6rem 0.9rem;
  }

  --nav-h: 55px;
   nav { height: 55px; }
   .nav-logo { font-size: 1rem; }

  .strip {
    padding: 0.3rem 0;
    margin-top: -2.30rem;
    margin-bottom: 0.25rem;}
  .strip-inner {font-size: 0.55rem;}

}

@media (prefers-reduced-motion: reduce) {
  .strip-inner { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
