/* ══════════════════════════════════════════════
   Skyline — styles.css
   Typography: Cormorant Garamond + Inter
   Palette mirrors company-profile design system
══════════════════════════════════════════════ */

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

:root {
  --paper:    #F6F4EF;
  --stone:    #EAE6DC;
  --charcoal: #28261F;
  --mid:      #66625A;
  --muted:    #A09A91;
  --rule:     #CEC9BE;
  --rule-lt:  #E0DBD1;
  --accent:   #8A7A66;

  --max-w: 1060px;
  --px: clamp(1.75rem, 6vw, 4.5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


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

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.77) saturate(0.82) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(10,8,5,0.46)  0%,
    rgba(10,8,5,0.26)  48%,
    rgba(10,8,5,0.52)  100%
  );
}

/* Top bar — firm name and year */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.75rem var(--px) 0.625rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(246,244,239,0.10);
  z-index: 2;
}

.hero-mark {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246,244,239,0.32);
}

.hero-year {
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(246,244,239,0.32);
}

/* Center wordmark — mirrors PDF cover composition */
.hero-center {
  position: absolute;
  top: 42%;
  left: var(--px);
  right: var(--px);
  transform: translateY(-56%);
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 13vw, 9rem);
  letter-spacing: 0.22em;
  color: #F6F4EF;
  line-height: 1;
  margin-bottom: 1.125rem;
}

.hero-rule {
  width: 2.375rem;
  height: 1px;
  background: rgba(180,160,130,0.85);
  margin: 0 auto 1.375rem;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.3125rem);
  color: rgba(246,244,239,0.82);
  line-height: 1.52;
}

/* Bottom bar — url */
.hero-footer-bar {
  position: absolute;
  bottom: 1.5rem;
  right: var(--px);
  z-index: 2;
}

.hero-url {
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(246,244,239,0.28);
}


/* ── LAYOUT ────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--rule-lt);
}


/* ── PHILOSOPHY ────────────────────────────────── */

.philosophy-body {
  max-width: 40rem;
}

.philosophy-body p {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--charcoal);
}

.philosophy-body p + p {
  margin-top: 1rem;
}

.philosophy-close {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-lt);
  text-align: right;
}

.close-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.4375rem;
  color: var(--mid);
  line-height: 1.5;
}


/* ── LANDSCAPE BREAK ───────────────────────────── */

.landscape-break {
  width: 100%;
  height: 44vh;
  min-height: 240px;
  overflow: hidden;
}

.landscape-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(0.96) contrast(1.03) saturate(0.90);
  display: block;
}


/* ── PROCESS / WHAT WE DO ──────────────────────── */

.process-intro {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.72;
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.75rem;
}

.stage {
  padding-top: 1.375rem;
  border-top: 1px solid var(--rule);
}

.stage-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stage-sep {
  width: 1.25rem;
  height: 1px;
  background: var(--rule);
  margin-bottom: 0.75rem;
}

.stage-cat {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.625rem;
}

.stage-headline {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1875rem;
  color: var(--charcoal);
  line-height: 1.38;
  margin-bottom: 0.875rem;
}

.stage-body {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--mid);
}


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

.site-footer {
  background: var(--charcoal);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rule);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--rule-lt);
}

.footer-dot {
  opacity: 0.35;
}


/* ── SCROLL FADE-IN ────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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


/* ── RESPONSIVE — TABLET ───────────────────────── */

@media (max-width: 860px) {
  .stages {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}


/* ── RESPONSIVE — MOBILE ───────────────────────── */

@media (max-width: 580px) {

  .hero-title {
    letter-spacing: 0.16em;
  }

  .hero-tagline br {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .stages {
    grid-template-columns: 1fr;
    gap: 2.5rem 0;
  }

  .landscape-break {
    height: 30vh;
    min-height: 180px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.375rem;
  }

  .footer-dot {
    display: none;
  }

}
