/* ============================================================
   CONTINENT FINANCE — Premium Corporate Design System
   Inspired by Shattuck Labs clean section architecture
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --navy-deep:   #080E1B;
  --navy:        #0B1628;
  --navy-mid:    #0E1E35;
  --navy-card:   #0F2240;
  --navy-border: rgba(255, 255, 255, 0.07);

  --gold:        #B89550;
  --gold-light:  #CCA96A;
  --gold-dim:    rgba(184, 149, 80, 0.12);
  --gold-border: rgba(184, 149, 80, 0.32);

  --white:       #FFFFFF;
  --off-white:   #EDE8DC;
  --gray:        #7A8FA6;
  --gray-light:  #B8C4D0;

  --light-bg:    #F0EBE1;
  --light-card:  #FDFAF4;
  --light-border:rgba(11, 22, 40, 0.09);
  --light-text:  #0B1628;
  --light-muted: #4D607A;

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --max-w:       1280px;
  --nav-h:       80px;
  --pad-x:       clamp(20px, 5vw, 64px);
  --section-pad: clamp(80px, 10vw, 140px);
  --gap:         clamp(14px, 2.5vw, 28px);
  --radius:      4px;
  --radius-card: 8px;

  --ease: cubic-bezier(.3, .8, .4, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button{ cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

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

.section {
  padding: var(--section-pad) 0;
}

.section--dark    { background: var(--navy); }
.section--mid     { background: var(--navy-mid); }
.section--light   { background: var(--light-bg); }

.section--figures {
  background: var(--navy-card);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.section--cta {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(184,149,80,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
h3 { font-size: clamp(1rem, 1.4vw, 1.25rem); }
h4 { font-size: clamp(0.92rem, 1.1vw, 1.05rem); }
h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray);
  font-weight: 600;
}

h2.dark, h4.dark { color: var(--light-text); }

p { line-height: 1.72; }

/* Eyebrow labels */
.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow--dark {
  color: var(--light-text);
  opacity: 0.45;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}
.section-header h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.section-header h2.dark {
  color: var(--light-text);
}
.section-intro {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.72;
}
.section-intro.dark { color: var(--light-muted); }

.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 64px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid transparent;
}
.btn--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 24px rgba(184,149,80,0.28);
}

.btn--gold-outline {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}
.btn--gold-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--navy-border);
  color: var(--off-white);
}
.btn--outline:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--off-white);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
}

.btn--navy {
  background: var(--navy);
  border: 1px solid var(--light-border);
  color: var(--light-text);
}
.btn--navy:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.btn--full  { width: 100%; justify-content: center; padding: 16px; font-size: 0.9rem; }
.btn--sm    { padding: 10px 20px; font-size: 0.8rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(8, 14, 27, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.nav__logo        { flex-shrink: 0; }
.nav__logo-img    { height: 48px; width: auto; }

.nav__links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-light);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav__link--active {
  color: var(--gold-light);
  background: var(--gold-dim);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav__lang {
  display: flex;
  gap: 2px;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 2px;
}
.lang-btn {
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray);
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(8, 14, 27, 0.90) 0%,
    rgba(8, 14, 27, 0.62) 52%,
    rgba(8, 14, 27, 0.28) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: var(--nav-h);
}

.hero__title {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__sub {
  color: rgba(220, 215, 200, 0.78);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  max-width: 56ch;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: var(--pad-x);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.3);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ============================================================
   FOCUS BLOCK (About)
   ============================================================ */
.focus-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.focus-block__title {
  color: var(--white);
  margin-bottom: 24px;
}
.focus-block__text {
  color: var(--gray);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 64ch;
  margin: 0 auto 40px;
}

/* ============================================================
   FRAMEWORK
   ============================================================ */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.framework-card {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.025);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.framework-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.framework-card:hover {
  border-color: var(--gold-border);
  background: rgba(184,149,80,0.04);
  transform: translateY(-3px);
}
.framework-card:hover::before { opacity: 1; }

.framework-card__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 22px;
}
.framework-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.framework-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.72;
}

/* ============================================================
   FIGURES
   ============================================================ */
.figures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.figures-grid .figure-item + .figure-item {
  border-left: 1px solid var(--gold-border);
}

.figure-item {
  padding: clamp(36px, 5vw, 56px) clamp(24px, 3vw, 40px);
  text-align: center;
}
.figure-item__num {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.figure-item__num span { color: var(--gold); }
.figure-item__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.service-card {
  padding: clamp(32px, 4vw, 44px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--gold-border);
  background: rgba(184,149,80,0.04);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  color: var(--gold);
  margin-bottom: 24px;
  transition: background 0.3s;
}
.service-card:hover .service-card__icon {
  background: var(--gold-dim);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.18rem;
}
.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 28px;
}
.service-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease);
}
.service-card__link:hover { gap: 10px; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.industry-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-card);
  transition: all 0.3s var(--ease);
}
.industry-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(184,149,80,0.14);
  transform: translateY(-4px);
}

.industry-card__icon {
  color: var(--navy);
  opacity: 0.5;
  margin-bottom: 18px;
  transition: opacity 0.3s, color 0.3s;
}
.industry-card:hover .industry-card__icon {
  color: var(--gold);
  opacity: 1;
}
.industry-card h4 {
  color: var(--light-text);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.industry-card p {
  color: var(--light-muted);
  font-size: 0.84rem;
  line-height: 1.66;
}

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.leader-card {
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.02);
  display: flex;
  gap: 22px;
  transition: border-color 0.3s var(--ease), background 0.3s;
}
.leader-card:hover {
  border-color: var(--gold-border);
  background: rgba(184,149,80,0.03);
}

.leader-card__avatar { flex-shrink: 0; }
.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-card);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

.leader-card__info h4 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.05rem;
}
.leader-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.leader-bio {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.66;
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.news-card {
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.news-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(184,149,80,0.12);
  transform: translateY(-3px);
}

.news-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.news-card__date {
  font-size: 0.76rem;
  color: var(--light-muted);
  margin-bottom: 16px;
  opacity: 0.7;
}
.news-card h3 {
  color: var(--light-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.44;
  margin-bottom: 12px;
  flex: 1;
}
.news-card p {
  color: var(--light-muted);
  font-size: 0.87rem;
  line-height: 1.66;
  margin-bottom: 24px;
}
.news-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s, color 0.3s;
  margin-top: auto;
}
.news-card__link:hover { gap: 10px; color: var(--gold); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-block {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-block h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.cta-block p {
  color: var(--gray);
  font-size: 1.06rem;
  max-width: 54ch;
  margin: 0 auto 40px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 18px;
}
.contact-info .section-intro {
  margin-bottom: 40px;
  color: var(--gray);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-details span:not(.contact-label) {
  color: var(--off-white);
  font-size: 0.96rem;
}
.contact-note {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  padding-top: 24px;
  border-top: 1px solid var(--navy-border);
  line-height: 1.7;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 44px);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--off-white);
  font-size: 0.9rem;
  transition: border-color 0.25s, background 0.25s;
  resize: vertical;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 143, 166, 0.42);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-border);
  background: rgba(184,149,80,0.04);
}
.form-group select {
  appearance: none;
  cursor: pointer;
  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='%23B89550' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-group select option {
  background: var(--navy-card);
  color: var(--off-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  padding: clamp(60px, 8vw, 96px) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--navy-border);
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.88;
}
.footer__brand p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.72;
  max-width: 30ch;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav-col h5 { margin-bottom: 8px; }
.footer__nav-col h5 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__nav-col h5 a:hover { color: var(--gold); }
.footer__nav-col a {
  font-size: 0.84rem;
  color: var(--gray);
  transition: color 0.2s;
}
.footer__nav-col a:hover { color: var(--gold-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.76rem;
  color: rgba(122, 143, 166, 0.55);
}
.footer__bottom-links {
  display: flex;
  gap: 18px;
}
.footer__bottom-links a { transition: color 0.2s; }
.footer__bottom-links a:hover { color: var(--gold-light); }

/* ============================================================
   PORTFOLIO GRID (Homepage preview)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.portfolio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.portfolio-card:hover {
  border-color: var(--gold-border);
  background: rgba(184,149,80,0.04);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.portfolio-card:hover::after { transform: scaleX(1); }

.portfolio-card__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
}
.portfolio-card h3 {
  color: var(--white);
  font-size: 1.08rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.portfolio-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.portfolio-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.portfolio-card:hover .portfolio-card__link { gap: 10px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + clamp(72px,9vw,110px)) 0 clamp(72px,9vw,110px);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  isolation: isolate;
}

/* Banner resmi */
.page-hero .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Koyu gradient overlay */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    rgba(8, 14, 27, 0.88) 0%,
    rgba(8, 14, 27, 0.72) 55%,
    rgba(8, 14, 27, 0.52) 100%
  );
}

/* Altın radyal vurgu */
.page-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 0% 60%, rgba(184,149,80,0.10) 0%, transparent 65%);
}

/* İçerik — overlay'in kesinlikle üstünde */
.page-hero > .container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.page-hero__inner {
  max-width: 760px;
}

/* Başlık alt çizgisi */
.page-hero__title {
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}
.page-hero__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.page-hero__intro {
  color: var(--gray);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.72;
  max-width: 58ch;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.76rem;
  color: var(--gray);
}
.page-hero__breadcrumb a { color: var(--gray); transition: color 0.2s; }
.page-hero__breadcrumb a:hover { color: var(--gold-light); }
.page-hero__breadcrumb span { color: var(--gold); }

/* ============================================================
   ABOUT PAGE — specific blocks
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}
.about-split--reverse { direction: rtl; }
.about-split--reverse > * { direction: ltr; }

.about-split__text h2 { color: var(--white); margin-bottom: 20px; }
.about-split__text h2.dark { color: var(--light-text); }
.about-split__text p { color: var(--gray); font-size: 1.02rem; line-height: 1.8; margin-bottom: 16px; }
.about-split__text p.dark { color: var(--light-muted); }

.about-split__visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.mv-card {
  padding: clamp(28px,3.5vw,40px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.025);
  transition: border-color 0.3s;
}
.mv-card:hover { border-color: var(--gold-border); }
.mv-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.mv-card h3 { color: var(--white); margin-bottom: 12px; }
.mv-card p  { color: var(--gray); font-size: 0.9rem; line-height: 1.72; }

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-card);
  background: var(--light-card);
  transition: all 0.3s;
}
.diff-item:hover { border-color: var(--gold); }
.diff-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}
.diff-item__text h4 { color: var(--light-text); margin-bottom: 4px; font-size: 1rem; }
.diff-item__text p  { color: var(--light-muted); font-size: 0.87rem; line-height: 1.65; }

/* ============================================================
   APPROACH PAGE — specific blocks
   ============================================================ */
.approach-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.approach-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  color: var(--off-white);
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
}
.approach-item:hover { border-color: var(--gold-border); background: var(--gold-dim); }
.approach-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.decision-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 48px;
}
.decision-block {
  padding: clamp(28px,3.5vw,40px);
  border-top: 2px solid var(--gold);
  background: rgba(255,255,255,0.02);
}
.decision-block h3 { color: var(--white); margin-bottom: 14px; font-size: 1.1rem; }
.decision-block p  { color: var(--gray); font-size: 0.9rem; line-height: 1.72; }

/* ============================================================
   PORTFOLIO PAGE — full layout
   ============================================================ */
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.portfolio-full-card {
  padding: clamp(36px,4vw,52px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.portfolio-full-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-full-card:hover {
  border-color: var(--gold-border);
  background: rgba(184,149,80,0.04);
  transform: translateY(-3px);
}
.portfolio-full-card:hover::before { opacity: 1; }
.portfolio-full-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.portfolio-full-card__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.portfolio-full-card h3 { color: var(--white); margin-bottom: 14px; font-size: 1.2rem; }
.portfolio-full-card p  { color: var(--gray); font-size: 0.9rem; line-height: 1.72; margin-bottom: 24px; }
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-tag {
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  color: var(--gold-light);
  background: var(--gold-dim);
}

/* ============================================================
   LEADERSHIP PAGE — full team grid
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.team-card {
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.team-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.team-card__photo {
  aspect-ratio: 3/4;
  background: var(--navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  border-bottom: 1px solid var(--navy-border);
}
.team-card__body { padding: 28px; }
.team-card__body h4 { color: var(--white); margin-bottom: 4px; }
.team-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.team-card__bio { color: var(--gray); font-size: 0.85rem; line-height: 1.65; }

/* ============================================================
   NEWS PAGE — full grid
   ============================================================ */
.news-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.news-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--light-border);
  border-radius: 20px;
  color: var(--light-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,149,80,0.06);
}

/* ============================================================
   SERVICES PAGE — detailed blocks
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,8vw,96px);
  align-items: center;
  padding: clamp(48px,6vw,72px) 0;
  border-bottom: 1px solid var(--navy-border);
}
.service-block:last-child { border-bottom: none; }
.service-block--flip { direction: rtl; }
.service-block--flip > * { direction: ltr; }
.service-block__content h2 {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-bottom: 16px;
}
.service-block__content p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 28px;
}
.service-block__visual {
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-card);
  background: var(--navy-card);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.5;
}

/* ============================================================
   CONTACT PAGE — standalone
   ============================================================ */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

/* ============================================================
   FADE-IN ANIMATION (IntersectionObserver)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grids */
.framework-grid  .fade-in:nth-child(2) { transition-delay: 0.08s; }
.framework-grid  .fade-in:nth-child(3) { transition-delay: 0.16s; }
.framework-grid  .fade-in:nth-child(4) { transition-delay: 0.24s; }
.services-grid   .fade-in:nth-child(2) { transition-delay: 0.1s;  }
.services-grid   .fade-in:nth-child(3) { transition-delay: 0.08s; }
.services-grid   .fade-in:nth-child(4) { transition-delay: 0.18s; }
.industries-grid .fade-in:nth-child(2) { transition-delay: 0.05s; }
.industries-grid .fade-in:nth-child(3) { transition-delay: 0.10s; }
.industries-grid .fade-in:nth-child(4) { transition-delay: 0.15s; }
.industries-grid .fade-in:nth-child(5) { transition-delay: 0.20s; }
.industries-grid .fade-in:nth-child(6) { transition-delay: 0.25s; }
.industries-grid .fade-in:nth-child(7) { transition-delay: 0.30s; }
.industries-grid .fade-in:nth-child(8) { transition-delay: 0.35s; }
.news-grid       .fade-in:nth-child(2) { transition-delay: 0.1s;  }
.news-grid       .fade-in:nth-child(3) { transition-delay: 0.2s;  }

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

/* 1100px — collapse framework to 2-col */
@media (max-width: 1200px) {
  .portfolio-grid      { grid-template-columns: repeat(2, 1fr); }
  .portfolio-full-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .framework-grid    { grid-template-columns: repeat(2, 1fr); }
  .industries-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer__top       { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand     { grid-column: 1 / -1; }
  .footer__brand p   { max-width: none; }
}

/* 900px — single column services / leadership */
@media (max-width: 900px) {
  .services-grid        { grid-template-columns: 1fr; }
  .leadership-grid      { grid-template-columns: 1fr; }
  .news-grid            { grid-template-columns: repeat(2, 1fr); }
  .news-full-grid       { grid-template-columns: repeat(2, 1fr); }
  .contact-layout       { grid-template-columns: 1fr; }
  .contact-page-layout  { grid-template-columns: 1fr; }
  .figures-grid         { grid-template-columns: repeat(2, 1fr); }
  .about-split          { grid-template-columns: 1fr; }
  .about-split--reverse { direction: ltr; }
  .mv-grid              { grid-template-columns: 1fr; }
  .decision-blocks      { grid-template-columns: 1fr; }
  .service-block        { grid-template-columns: 1fr; }
  .service-block--flip  { direction: ltr; }
  .team-grid            { grid-template-columns: repeat(2, 1fr); }
  .figures-grid .figure-item + .figure-item { border-left: none; }
  .figures-grid .figure-item:nth-child(2)   { border-left: 1px solid var(--gold-border); }
  .figures-grid .figure-item:nth-child(3),
  .figures-grid .figure-item:nth-child(4)   { border-top: 1px solid var(--gold-border); }
  .figures-grid .figure-item:nth-child(4)   { border-left: 1px solid var(--gold-border); }
}

/* Mobile extras (lang + contact) injected by JS into dropdown */
.nav__mobile-extras { display: none; }

/* 768px — mobile nav */
@media (max-width: 768px) {
  .nav__links          { display: none; }
  .nav__lang           { display: none; }
  .nav__right .btn--sm { display: none; }
  .nav__hamburger      { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 14, 27, 0.97);
    backdrop-filter: blur(18px);
    padding: 20px var(--pad-x) 32px;
    gap: 4px;
    border-bottom: 1px solid var(--navy-border);
  }
  .nav__links.open .nav__link {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius);
  }
  .nav__links.open .nav__mobile-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 0;
    margin-top: 12px;
    border-top: 1px solid var(--navy-border);
    gap: 12px;
  }
  .nav__mobile-extras .nav__lang {
    display: flex;
  }
  .nav__mobile-extras .btn--sm {
    display: inline-flex;
    font-size: 0.82rem;
    padding: 8px 16px;
  }

  .hero__cta     { flex-direction: column; align-items: flex-start; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: 1fr; }
  .framework-grid{ grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer__top   { grid-template-columns: 1fr 1fr; }
}

/* 480px — single column everything */
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .figures-grid    { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: 1fr; }
  .news-full-grid  { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .figures-grid .figure-item + .figure-item {
    border-left: none;
    border-top: 1px solid var(--gold-border);
  }
  .footer__top     { grid-template-columns: 1fr; }
  .leader-card     { flex-direction: column; }
}

/* ============================================================
   NEWS ARTICLE DETAIL PAGE
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.article-meta__tag {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.article-meta__date {
  color: var(--gold);
  font-size: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
}
.article-body h1 {
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.25;
}
.article-body .article-lead {
  font-size: 1.12rem;
  color: var(--light-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-border);
}
.article-body h2 {
  color: var(--white);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-top: 40px;
  margin-bottom: 16px;
}
.article-body p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.article-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.article-body ul li {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--navy-border);
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.article-pullquote {
  border-left: 3px solid var(--gold);
  margin: 40px 0;
  padding: 24px 32px;
  background: var(--navy-card);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.article-pullquote p {
  font-family: var(--font-serif);
  font-size: 1.2rem !important;
  font-style: italic;
  color: var(--light-muted) !important;
  margin: 0 !important;
  line-height: 1.7 !important;
}

/* Sidebar */
.article-sidebar__box {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 24px;
}
.article-sidebar__box h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.related-article {
  padding: 16px 0;
  border-bottom: 1px solid var(--navy-border);
}
.related-article:last-child { border-bottom: none; padding-bottom: 0; }
.related-article__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.related-article a {
  color: var(--light-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.related-article a:hover { color: var(--gold); }

.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.article-tag-list span {
  font-size: 0.75rem;
  color: var(--gray);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--navy-border);
  padding: 4px 12px;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .article-sidebar { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-body {
  max-width: 800px;
  margin: 0 auto;
}
.legal-intro {
  font-size: 1.08rem;
  color: var(--light-muted);
  line-height: 1.85;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-body h2 {
  color: var(--light-text);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-body p {
  color: var(--light-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.legal-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}
.legal-body ul li {
  color: var(--light-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.legal-body ul li strong { color: var(--white); }
