/* ============================================================
   DRAYCOTT ADVISORS — STYLESHEET
   Aesthetic: Refined editorial luxury. Deep navy, warm ivory,
   gold accent. Cormorant Garamond display + Jost body.
   ============================================================ */

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

/* ---- TOKENS ---- */
:root {
  --navy:       #0E1B2E;
  --navy-mid:   #152440;
  --navy-light: #1E3259;
  --gold:       #B8975A;
  --gold-light: #D4AF78;
  --ivory:      #F7F4EE;
  --ivory-mid:  #EEE9DF;
  --ivory-dark: #E2DAC8;
  --text:       #1A1A1A;
  --text-mid:   #4A4A4A;
  --text-light: #7A7A7A;
  --white:      #FFFFFF;
  --rule:       rgba(184,151,90,0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --nav-h: 72px;
  --max-w: 1140px;
  --pad-x: 40px;
  --radius: 2px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section      { padding: 100px 0; }
.section--lg  { padding: 120px 0; }
.section--sm  { padding: 64px 0; }
.section--dark { background: var(--navy); color: var(--ivory); }
.section--mid  { background: var(--ivory-mid); }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 640px;
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(14,27,46,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--ivory);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(184,151,90,0.28);
}

.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247,244,238,0.4);
}
.btn-ghost-light:hover {
  border-color: var(--ivory);
  background: rgba(247,244,238,0.08);
}

.btn-arrow::after { content: '→'; font-size: 14px; }

/* ---- LINK ARROW ---- */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.link-more::after { content: '→'; font-size: 13px; }
.link-more:hover { gap: 14px; }

/* ==================================================================
   NAVIGATION
   ================================================================== */

.nav-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav-wrap.scrolled {
  background: rgba(247,244,238,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  background: var(--navy);
  color: var(--ivory);
  margin-left: 12px;
  padding: 10px 22px;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--navy-mid); color: var(--ivory); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s;
}

/* ---- Hero nav override: transparent start ---- */
.hero-page .nav-wrap:not(.scrolled) .logo-name,
.hero-page .nav-wrap:not(.scrolled) .nav-links a { color: var(--ivory); }
.hero-page .nav-wrap:not(.scrolled) .nav-links a:not(.nav-cta) { color: rgba(247,244,238,0.75); }
.hero-page .nav-wrap:not(.scrolled) .logo-sub { color: var(--gold-light); }
.hero-page .nav-wrap:not(.scrolled) .nav-links .nav-cta {
  background: rgba(247,244,238,0.12);
  color: var(--ivory);
  border: 1px solid rgba(247,244,238,0.3);
}

/* ==================================================================
   HOME — HERO
   ================================================================== */

.home-hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 80px;
}

/* Subtle dot-grid texture */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184,151,90,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Gold gradient wash bottom-right */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 80%, rgba(184,151,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: center;
}

.home-hero-content { color: var(--ivory); }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: rgba(247,244,238,0.72);
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 40px;
  animation: fadeUp 0.9s 0.1s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.2s var(--ease-out) both;
}

/* Sidebar stat panel */
.hero-stat-panel {
  background: rgba(247,244,238,0.04);
  border: 1px solid rgba(184,151,90,0.2);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeUp 1s 0.3s var(--ease-out) both;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-num sup { font-size: 22px; vertical-align: super; }
.hero-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.5);
  margin-top: 6px;
}

.hero-stat-divider {
  height: 1px;
  background: rgba(184,151,90,0.15);
}

/* ==================================================================
   HOME — PAGE SECTION CARDS (brief links to inner pages)
   ================================================================== */

.home-sections { background: var(--ivory); padding: 100px 0; }

.home-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  border: 1px solid var(--ivory-dark);
}

.home-section-card {
  padding: 48px 36px;
  background: var(--white);
  border-right: 1px solid var(--ivory-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.home-section-card:last-child { border-right: none; }

.home-section-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.home-section-card:hover { background: var(--ivory); }
.home-section-card:hover::before { transform: scaleX(1); }

.card-number {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 300;
  color: var(--ivory-dark);
  line-height: 1;
  margin-bottom: -8px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

.card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
}

/* ==================================================================
   HOME — ABOUT STRIP
   ================================================================== */

.about-strip {
  background: var(--navy);
  color: var(--ivory);
  padding: 100px 0;
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body { font-size: 16px; font-weight: 300; line-height: 1.85; color: rgba(247,244,238,0.75); }
.about-body p + p { margin-top: 16px; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(184,151,90,0.2);
}

.pillar {
  padding: 24px 0;
  border-bottom: 1px solid rgba(184,151,90,0.15);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184,151,90,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 14px;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,244,238,0.6);
  line-height: 1.65;
}

/* ==================================================================
   HOME — SECTOR FOCUS
   ================================================================== */

.sector-focus { padding: 100px 0; background: var(--ivory-mid); }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 40px;
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.25s;
}

.sector-card:hover {
  box-shadow: 0 12px 40px rgba(14,27,46,0.08);
  transform: translateY(-3px);
}

.sector-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}

.sector-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
}

/* ==================================================================
   HOME — CTA BANNER
   ================================================================== */

.cta-banner {
  background: var(--gold);
  padding: 72px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 24px
  );
}

.cta-banner-inner { position: relative; max-width: 620px; margin: 0 auto; }

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}

/* ==================================================================
   PAGE HERO (inner pages)
   ================================================================== */

.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 72px) var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184,151,90,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right bottom, rgba(184,151,90,0.07) 0%, transparent 70%);
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: var(--ivory);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }

.page-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(247,244,238,0.65);
  max-width: 560px;
  line-height: 1.85;
}

/* ==================================================================
   TEAM PAGE
   ================================================================== */

.team-intro {
  padding: 80px 0 60px;
  background: var(--ivory);
}

.team-lead-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 680px;
}

/* Partners Section */
.team-partners {
  background: var(--white);
  padding: 80px 0;
}

.team-section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ivory-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.member-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 36px;
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.25s;
}

.member-card:hover {
  box-shadow: 0 8px 32px rgba(14,27,46,0.07);
  transform: translateY(-2px);
}

.member-initials {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.member-body {}

.member-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.member-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.1;
}

.member-role {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ivory-dark);
}

.member-bio {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.78;
}

/* Team grid (non-partners) */
.team-staff {
  background: var(--ivory-mid);
  padding: 80px 0;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.staff-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 28px;
  border-radius: var(--radius);
  transition: box-shadow 0.25s;
}

.staff-card:hover { box-shadow: 0 6px 24px rgba(14,27,46,0.06); }

.staff-initials {
  width: 44px;
  height: 44px;
  background: var(--navy-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.staff-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.staff-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
}

.staff-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ivory-dark);
}

.staff-bio {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ==================================================================
   PORTFOLIO PAGE
   ================================================================== */

.portfolio-intro {
  padding: 80px 0 40px;
  background: var(--ivory);
}

/* Category nav tabs */
.portfolio-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--ivory-dark);
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
}

.portfolio-tabs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 0;
}

.tab-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 18px 24px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.tab-link:hover { color: var(--navy); }
.tab-link.active { color: var(--navy); border-bottom-color: var(--gold); }

/* Portfolio section blocks */
.portfolio-section {
  padding: 80px 0 40px;
}

.portfolio-section + .portfolio-section {
  border-top: 1px solid var(--ivory-dark);
}

.portfolio-section-header {
  margin-bottom: 56px;
}

.portfolio-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}

.portfolio-section-header p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  max-width: 600px;
}

/* Sub-category (e.g., Clean Energy / Healthcare within Principal) */
.portfolio-subcategory {
  margin-bottom: 56px;
}

.subcategory-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

/* Status chips */
.status-chip {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.status-active {
  background: rgba(34,197,94,0.1);
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.25);
}

.status-realized {
  background: rgba(14,27,46,0.07);
  color: var(--navy);
  border: 1px solid rgba(14,27,46,0.15);
}

.status-progress {
  background: rgba(184,151,90,0.12);
  color: #92600a;
  border: 1px solid rgba(184,151,90,0.3);
}

/* Deal cards */
.deal-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.deal-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 32px 36px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.deal-card:hover {
  box-shadow: 0 6px 28px rgba(14,27,46,0.07);
  transform: translateX(4px);
}

.deal-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}

.deal-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

.deal-desc a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.deal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.deal-meta-item {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
}
.deal-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
}

/* In The Works section */
.itw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.itw-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  border-radius: var(--radius);
}

.itw-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin: 12px 0 8px;
}

.itw-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.72;
}

/* ==================================================================
   CONTACT PAGE
   ================================================================== */

.contact-section {
  padding: 80px 0 100px;
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-block h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info-block .sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 40px;
}

.contact-offices { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }

.office {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.office-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.office-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
}

.office-addr {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.contact-email:hover { border-color: var(--gold); }
.contact-email-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  padding: 48px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 22px; }

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

label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

input::placeholder, textarea::placeholder { color: var(--text-light); }
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--ivory); }

.form-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.6;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius);
  font-size: 14px;
  color: #15803d;
  text-align: center;
  margin-top: 16px;
}

/* ==================================================================
   FOOTER
   ================================================================== */

.footer {
  background: var(--navy);
  color: var(--ivory);
  padding: 56px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(184,151,90,0.15);
}

.footer-brand {}

.footer-brand .logo-name { color: var(--ivory); font-size: 24px; }
.footer-brand .logo-sub { color: var(--gold); }

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,244,238,0.45);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,244,238,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ivory); }

.footer-col address {
  font-style: normal;
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,244,238,0.6);
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
  color: rgba(247,244,238,0.35);
}

/* ==================================================================
   ANIMATIONS
   ================================================================== */

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.in-view { 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; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */

@media (max-width: 1024px) {
  :root { --pad-x: 28px; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-stat-panel { display: none; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 48px; }
  .partners-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-card { grid-template-columns: 1fr; }
  .deal-meta { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .itw-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--ivory-dark); flex-direction: column; padding: 16px 20px 24px; gap: 4px; box-shadow: 0 8px 24px rgba(14,27,46,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-mid) !important; }
  .nav-links .nav-cta { background: var(--navy); color: var(--ivory) !important; margin-left: 0; text-align: center; }
  .hamburger { display: flex; }
  .home-sections-grid { grid-template-columns: 1fr; }
  .home-section-card { border-right: none; border-bottom: 1px solid var(--ivory-dark); }
  .sector-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .itw-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-tabs-inner { overflow-x: auto; }
}
