/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FAFAF8;
  --navy: #0D1B2A;
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --border: #E8E4DC;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --container: 1280px;
  --section-pad: 120px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
p + p { margin-top: 1rem; }

/* ─── CONTAINER ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-pad) 0; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────────── */
.label { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 1.25rem; }
.label--gold { color: var(--gold); }
.label--light { color: rgba(255,255,255,0.5); }
.pull-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); font-style: italic; font-weight: 400; line-height: 1.5; color: var(--navy); }
.section__header { margin-bottom: 64px; }
.section__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--navy); margin-top: 0.5rem; line-height: 1.2; }

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; padding: 14px 32px; cursor: pointer; transition: all 0.2s ease; border: none; }
.btn--outline { border: 1px solid rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--ghost { color: rgba(255,255,255,0.6); background: transparent; }
.btn--ghost:hover { color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #b8943f; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #162234; }
.btn--full { width: 100%; text-align: center; }

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,0.08); padding: 0; }

.nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 40px; height: 72px; display: flex; align-items: center; gap: 40px; }
.nav__logo { flex-shrink: 0; }
.nav__logo img { filter: brightness(0) invert(1); }
.nav__links { display: flex; list-style: none; gap: 32px; margin: 0 auto; }
.nav__links a { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; transition: color 0.2s; }
.nav__links a:hover { color: #fff; }
.nav__lang { color: rgba(255,255,255,0.4) !important; font-size: 12px !important; }
.nav__lp { font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: 0.06em; white-space: nowrap; transition: color 0.2s; }
.nav__lp:hover { color: var(--gold-light); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,0.8); transition: all 0.2s; }

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
.hero { min-height: 100vh; background: var(--navy); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E"); }
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 120px 40px 80px; position: relative; }
.hero__rule { width: 48px; height: 2px; background: var(--gold); margin-bottom: 40px; }
.hero__headline { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 28px; }
.hero__sub { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 480px; margin-bottom: 48px; font-weight: 300; line-height: 1.7; }
.hero__actions { display: flex; gap: 24px; align-items: center; }
.hero__scroll { position: absolute; bottom: 48px; right: 40px; display: flex; align-items: center; gap: 12px; }
.hero__scroll span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); writing-mode: vertical-rl; }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent); }

/* ─── ABOUT ─────────────────────────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 80px; }
.about__body p { font-size: 0.975rem; color: var(--text-secondary); line-height: 1.8; }
.about__body p + p { margin-top: 1rem; }
.about__body .label { margin-bottom: 1.5rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; border-top: 1px solid var(--border); padding-top: 56px; }
.stats__item { text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 0 20px; }
.stats__number { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--navy); line-height: 1; }
.stats__label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.stats__sub { font-size: 11px; color: var(--text-secondary); }
.stats__divider { width: 1px; height: 64px; background: var(--border); margin: auto; }

/* ─── MARQUEE ───────────────────────────────────────────────────────────────── */
.marquee-section { background: var(--navy); padding: var(--section-pad) 0; }
.marquee-section__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.marquee-section__logo { max-height: 48px; width: auto; margin-bottom: 32px; filter: brightness(0) invert(1); }
.marquee-section__headline { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; color: #fff; line-height: 1.25; margin-bottom: 20px; }
.marquee-section__body { font-size: 0.975rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 36px; }
.marquee-section__right { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.marquee-section__metric { background: rgba(255,255,255,0.04); padding: 32px 28px; border: 1px solid rgba(255,255,255,0.07); }
.marquee-section__metric-value { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.marquee-section__metric-label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ─── PORTFOLIO ─────────────────────────────────────────────────────────────── */
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.portfolio__card { background: #fff; border: 1px solid var(--border); padding: 36px 32px; cursor: pointer; transition: box-shadow 0.2s, transform 0.2s; position: relative; display: block; }
.portfolio__card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.1); transform: translateY(-2px); }
.portfolio__card--featured { border-top: 3px solid var(--gold); }
.portfolio__card--raise { border-top: 3px solid #2E7D32; }
.portfolio__card-tag { position: absolute; top: 20px; right: 20px; font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; background: var(--gold); color: #fff; }
.portfolio__card-tag--raise { background: #2E7D32; }
.portfolio__logo { max-height: 36px; width: auto; margin-bottom: 20px; }
.portfolio__logo-fallback { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.portfolio__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.portfolio__meta { display: flex; justify-content: space-between; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 16px; }
.portfolio__link { font-size: 12px; font-weight: 500; color: var(--navy); letter-spacing: 0.04em; transition: color 0.2s; }
.portfolio__card:hover .portfolio__link { color: var(--gold); }

/* ─── SANNA RAISE ───────────────────────────────────────────────────────────── */
.raise { background: var(--bg); }
.raise__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.raise__image-col {}
.raise__image-placeholder { background: linear-gradient(135deg, #C9A84C22, #0D1B2A); border: 1px solid var(--border); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }
.raise__image-text { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); text-align: center; line-height: 1.8; opacity: 0.6; }
.raise__headline { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 20px; margin-top: 0.5rem; }
.raise p { font-size: 0.975rem; color: var(--text-secondary); line-height: 1.8; }
.raise__points { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.raise__point { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text); }
.raise__point-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 0.7rem; }

/* ─── CRITERIA ──────────────────────────────────────────────────────────────── */
.criteria { background: #F4F1EC; }
.criteria__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.criteria__item { background: var(--bg); padding: 44px 36px; border-left: 3px solid transparent; transition: border-color 0.2s; }
.criteria__item:hover { border-left-color: var(--gold); }
.criteria__number { font-family: var(--serif); font-size: 2rem; color: var(--gold); opacity: 0.4; margin-bottom: 16px; }
.criteria__title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.criteria__item p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }
.criteria__item--cta { background: var(--navy); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.criteria__cta-text { font-family: var(--serif); font-size: 1.2rem; color: rgba(255,255,255,0.8); line-height: 1.5; font-style: italic; }

/* ─── CONTACT ───────────────────────────────────────────────────────────────── */
.contact { background: var(--navy); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact__headline { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 20px; margin-top: 0.5rem; }
.contact__left p { font-size: 0.975rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 36px; }
.contact__offices { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contact__office { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact__office-city { font-size: 0.95rem; color: #fff; font-weight: 400; }
.contact__office-role { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

.form__row { margin-bottom: 20px; }
.form__label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.form__input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 14px 16px; font-family: var(--sans); font-size: 0.9rem; font-weight: 300; outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
.form__input::placeholder { color: rgba(255,255,255,0.2); }
.form__input:focus { border-color: var(--gold); }
.form__select { cursor: pointer; }
.form__select option { background: var(--navy); color: #fff; }
.form__textarea { min-height: 120px; resize: vertical; }

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
.footer { background: #070F18; padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__inner img { filter: brightness(0) invert(1); opacity: 0.4; }
.footer__copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer__lp { font-size: 11px; color: var(--gold); opacity: 0.6; letter-spacing: 0.08em; transition: opacity 0.2s; }
.footer__lp:hover { opacity: 1; }

/* ─── FADE IN ───────────────────────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .about__grid, .marquee-section__inner, .raise__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .criteria__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats__divider { display: none; }
}
@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .nav__links, .nav__lp { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { padding: 100px 20px 60px; }
  .portfolio__grid, .criteria__grid { grid-template-columns: 1fr; }
  .marquee-section__right { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
  .hero__scroll { display: none; }
}

/* ─── LOGO TEXT MARK (for companies without logo file) ─── */
.portfolio__logo-text { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 20px; opacity: 0.7; }

/* ─── PORTFOLIO CARD — border + hover lift ─── */
.portfolio__card { border: 1px solid rgba(13,27,42,0.10); box-shadow: 0 2px 12px rgba(13,27,42,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.portfolio__card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(13,27,42,0.12); }

/* ─── NAV WORDMARK ─── */
.nav__logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.nav__logo-mark { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: #fff; letter-spacing: 0.08em; }
.nav__logo-sub { font-family: var(--sans); font-size: 0.55rem; color: rgba(255,255,255,0.45); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }

/* ─── FOOTER WORDMARK ─── */
.footer__wordmark { font-family: var(--serif); font-size: 0.9rem; color: rgba(250,250,248,0.4); letter-spacing: 0.1em; }

/* ─── TEAM SECTION ─── */
.team { padding: 7rem 0; background: #fff; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; }
@media (max-width: 1000px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .team__grid { grid-template-columns: 1fr; } }

.team__card { }

.team__photo { width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 1.25rem; }

.team__photo--img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(20%); }

.team__photo--monogram { background: var(--mono-bg); display: flex; align-items: center; justify-content: center; }
.team__photo--monogram span { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: #C9A84C; letter-spacing: 0.05em; }

.team__name { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); margin-bottom: 0.2rem; }
.team__role { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #C9A84C; margin-bottom: 0.75rem; }
.team__bio { font-size: 0.82rem; color: rgba(13,27,42,0.6); line-height: 1.65; }
