/* Moort — design system shared with the Webflow test build.
   Brand: red #AB463D, deep red #90453F, gold #E6B838, cream #F7F1E3, paper #FBF8F1, ink #141110.
   Selectors are scoped with `body` so they sit above theme.json global styles.
   Convention: a highlighted (<mark>) phrase inside a heading renders as the brush accent. */

:root { --line: rgba(255,255,255,0.12); --red:#AB463D; --red-deep:#90453F; --gold:#E6B838; --ink:#141110; --cream:#F7F1E3; --paper:#FBF8F1; --brush:'Permanent Marker',cursive; }
body { margin:0; background:var(--paper); color:#1B1714; font-family:Outfit,sans-serif; -webkit-font-smoothing:antialiased; }
body .wp-site-blocks > * { margin-block-start:0; }
body .wp-block-image { margin:0; }
body .wp-block-image img { display:block; }
body .container { max-width:1280px; margin-inline:auto; padding-inline:40px; box-sizing:border-box; }
body p { margin:0; }

/* ---------- Buttons ---------- */
body .wp-block-button .wp-block-button__link { display:flex; justify-content:space-between; align-items:center; gap:32px; border-radius:0; transition:background-color .2s, border-color .2s, color .2s; }
body .button-arrow .wp-block-button__link::after { content:"\2192"; font-size:18px; line-height:1; }
body .wp-block-button.is-style-outline .wp-block-button__link { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.3); padding:17px 21px; }
body .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color:var(--gold); color:var(--gold); }

/* ---------- Eyebrow ---------- */
body .eyebrow { display:flex; align-items:center; gap:10px; font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.7); }
body .eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); flex:none; }
body .eyebrow.is-dark { color:var(--red); }

/* ---------- Nav (header part) ---------- */
body .nav { display:grid; grid-template-columns:25% 1fr 25%; background:var(--ink); border-bottom:1px solid var(--line); color:#fff; }
body .nav .wp-block-site-logo { display:flex; align-items:center; padding:22px 40px; border-right:1px solid var(--line); margin:0; }
body .nav .wp-block-site-logo img { height:40px; width:auto; }
body .nav_menu { display:flex; justify-content:center; align-items:center; gap:40px; counter-reset:nav; }
body .nav_menu .wp-block-navigation-item__content { color:#fff; font-size:14px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; text-decoration:none; display:flex; align-items:flex-start; gap:6px; transition:color .2s; }
body .nav_menu .wp-block-navigation-item__content::before { counter-increment:nav; content:"0" counter(nav); font-size:10px; color:rgba(255,255,255,.5); }
body .nav_menu .wp-block-navigation-item__content:hover { color:var(--gold); }
body .nav_cta, body .nav_cta .wp-block-button { display:flex; align-items:stretch; align-self:stretch; margin:0; }
body .nav_cta .wp-block-button { flex:1; }
body .nav_cta .wp-block-button__link { flex:1; height:100%; padding:0 40px; box-sizing:border-box; }

/* ---------- Hero ---------- */
body .hero { background:var(--ink); color:#fff; }
body .hero_top { display:grid; grid-template-columns:75% 25%; border-bottom:1px solid var(--line); }
body .hero_title-cell { padding:64px 40px 56px; border-right:1px solid var(--line); }
body .hero_heading { margin:28px 0 0; font-size:10.5vw; line-height:.92; font-weight:800; letter-spacing:-.02em; text-transform:uppercase; color:#fff; }
body .hero_heading mark { background:none; color:var(--gold); }
body .hero_script { margin-top:18px; font-family:var(--brush); font-size:3.8vw; line-height:1.2; color:#D0574B; }
body .hero_badge-cell { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; padding:40px; }
body .hero_badge { width:200px; height:200px; border:1px dashed rgba(255,255,255,.25); border-radius:50%; display:flex; align-items:center; justify-content:center; box-sizing:border-box; }
body .hero_badge img { width:104px; height:auto; }
body .hero_badge-text { font-size:12px; line-height:1.6; letter-spacing:.14em; text-transform:uppercase; text-align:center; color:rgba(255,255,255,.6); }
body .hero_bottom { display:grid; grid-template-columns:25% 75%; border-bottom:1px solid var(--line); }
body .hero_intro-cell { display:flex; flex-direction:column; justify-content:space-between; gap:40px; padding:40px; border-right:1px solid var(--line); }
body .hero_intro { font-size:18px; line-height:1.6; color:rgba(255,255,255,.72); }
body .hero_buttons { display:flex; flex-direction:column; gap:12px; }
body .hero_buttons .wp-block-button { width:100%; }
body .hero_image-cell { position:relative; height:560px; overflow:hidden; }
body .hero_image { position:absolute; top:-10%; left:0; width:100%; height:120%; }
body .hero_image img { width:100%; height:100%; object-fit:cover; }
body .hero_tag { position:absolute; top:24px; right:24px; display:flex; align-items:center; gap:10px; padding:10px 16px; background:var(--red); font-size:12px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; }
body .hero_tag::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); }
body .stats { display:grid; grid-template-columns:repeat(4,1fr); }
body .stats_item { padding:32px 40px; border-right:1px solid var(--line); }
body .stats_number { font-size:44px; line-height:1; font-weight:700; }
body .stats_label { margin-top:10px; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.55); }

/* ---------- Shared headings ---------- */
body .heading-xl { margin:20px 0 28px; font-size:64px; line-height:1; font-weight:700; letter-spacing:-.01em; text-transform:uppercase; color:var(--red); }
body .heading-xl mark, body .heading-lg mark { display:block; margin-top:10px; background:none; font-family:var(--brush); font-size:.82em; font-weight:400; letter-spacing:0; text-transform:none; color:var(--ink); }
body .heading-xl.is-light { color:#fff; margin-bottom:0; }
body .heading-xl.is-light mark { color:var(--gold); }
body .body-lg { max-width:560px; font-size:18px; line-height:1.65; color:#3D3733; }
body .section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px 40px; margin-bottom:64px; }
body .section-head_text { max-width:380px; font-size:17px; line-height:1.6; color:rgba(255,255,255,.65); }
body .section-head_text.is-dark { color:var(--grey, #5B5B5B); }

/* ---------- About ---------- */
body .about { position:relative; overflow:hidden; padding:120px 0; background:var(--paper); }
body .about_grid { display:grid; grid-template-columns:1.1fr 1fr; gap:56px 80px; align-items:center; }
body .values { display:grid; grid-template-columns:1fr 1fr; gap:18px 32px; margin:40px 0 0; padding:0; list-style:none; }
body .values li { display:flex; align-items:center; gap:14px; font-family:var(--brush); font-size:30px; line-height:1.2; color:var(--ink); }
body .values li::before { content:"\2713"; display:flex; align-items:center; justify-content:center; width:34px; height:34px; border:2px solid var(--red); box-sizing:border-box; font-family:Outfit,sans-serif; font-size:20px; font-weight:800; color:var(--red); flex:none; }
body .about_visual { position:relative; display:flex; align-items:flex-end; justify-content:center; min-height:560px; }
body .about_shape { position:absolute; inset:0 -40% 0 10%; border-top-left-radius:280px; border-bottom-left-radius:48px; background:var(--red); }
body .about_portrait { position:relative; z-index:1; width:100%; max-width:520px; }
body .about_portrait img { width:100%; height:auto; }
body .about_card { position:absolute; left:0; bottom:40px; z-index:2; max-width:280px; padding:20px 24px; background:var(--ink); color:#fff; }
body .about_card-name { font-family:var(--brush); font-size:26px; line-height:1.2; color:var(--gold); }
body .about_card-role { margin:4px 0 10px; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.6); }
body .about_card-text { font-size:14px; line-height:1.5; color:rgba(255,255,255,.8); }

/* ---------- Capabilities ---------- */
body .capabilities { padding:120px 0; background:var(--ink); color:#fff; }
body .capabilities_grid { display:grid; grid-template-columns:5fr 7fr; gap:40px 64px; align-items:start; }
body .capabilities_media { position:sticky; top:32px; height:640px; overflow:hidden; }
body .capabilities_media img { width:100%; height:120%; object-fit:cover; }
body .capabilities_list { border-top:1px solid var(--line); }
body .capability { display:grid; grid-template-columns:64px 1fr; gap:16px; padding:28px 0; border-bottom:1px solid var(--line); }
body .capability_num { padding-top:6px; font-size:14px; font-weight:600; letter-spacing:.08em; color:var(--gold); }
body .capability_title { margin:0 0 8px; font-size:24px; line-height:1.2; font-weight:600; letter-spacing:.02em; text-transform:uppercase; color:#fff; }
body .capability_text { font-size:16px; line-height:1.6; color:rgba(255,255,255,.62); }

/* ---------- Projects ---------- */
body .projects { padding:120px 0 200px; background:var(--cream); }
body .projects_grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
body .projects_grid > .reveal { display:flex; }
body .project-card { display:flex; flex-direction:column; flex:1; overflow:hidden; border-radius:18px; background:#fff; color:var(--ink); transition:transform .3s, box-shadow .3s; }
body .project-card:hover { transform:translateY(-6px); box-shadow:0 24px 48px rgba(20,17,16,.12); }
body .project-card_media { position:relative; height:340px; overflow:hidden; }
body .project-card_media .wp-block-image, body .project-card_media img { width:100%; height:100%; object-fit:cover; }
body .project-card_status { position:absolute; top:16px; left:16px; padding:8px 12px; border-radius:40px; background:var(--ink); font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#fff; }
body .project-card_body { display:flex; flex-direction:column; flex:1; padding:28px; }
body .project-card_meta { margin-bottom:10px; font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--red); }
body .project-card_title { margin:0 0 12px; font-size:30px; line-height:1.05; font-weight:700; text-transform:uppercase; }
body .project-card_text { flex:1; margin-bottom:24px; font-size:16px; line-height:1.6; color:#5B5B5B; }
body .project-card_footer { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:18px; border-top:1px solid var(--gold); }
body .project-card_sector { font-size:13px; }
body .project-card_arrow { display:flex; align-items:center; justify-content:center; flex:none; width:40px; height:40px; border-radius:50%; background:var(--red); font-size:18px; color:#fff; }

/* ---------- Indigenous band ---------- */
body .indigenous { position:relative; margin-top:-80px; padding:120px 0 110px; border-radius:50% 50% 0 0 / 80px 80px 0 0; background:var(--red); color:#fff; }
body .indigenous_grid { display:grid; grid-template-columns:200px 1fr; gap:32px 64px; align-items:center; max-width:1000px; margin-inline:auto; }
body .indigenous_logo img { width:200px; height:auto; border-radius:24px; }
body .heading-lg { margin:0 0 24px; font-size:52px; line-height:1; font-weight:700; text-transform:uppercase; color:#fff; }
body .indigenous_text { margin-bottom:20px; font-size:19px; line-height:1.6; color:rgba(255,255,255,.92); }
body .indigenous_ack { padding-left:16px; border-left:2px solid var(--gold); font-size:14px; line-height:1.6; color:rgba(255,255,255,.78); }

/* ---------- Footer (footer part) ---------- */
body .footer { position:relative; overflow:hidden; padding:120px 0 40px; background:var(--ink); color:#fff; }
body .footer_swirl { position:absolute; top:-120px; right:-160px; width:620px; opacity:.07; pointer-events:none; }
body .footer_swirl img { width:100%; height:auto; }
body .footer_cta { position:relative; display:grid; grid-template-columns:1.2fr 1fr; gap:48px 80px; padding-bottom:80px; border-bottom:1px solid var(--line); }
body .footer_heading { margin:0 0 24px; font-family:var(--brush); font-size:72px; line-height:1.05; font-weight:400; color:var(--gold); }
body .footer_text { max-width:520px; margin-bottom:36px; font-size:18px; line-height:1.6; color:rgba(255,255,255,.7); }
body .footer_contacts { display:flex; flex-direction:column; }
body .footer_contact { display:flex; flex-direction:column; gap:6px; padding:20px 0; border-top:1px solid var(--line); }
body .footer_label { font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); }
body .footer_value { font-size:20px; line-height:1.4; }
body .footer_value a { color:#fff; text-decoration:none; }
body .footer_bottom { position:relative; display:flex; justify-content:space-between; align-items:center; gap:16px 24px; padding-top:32px; }
body .footer_bottom .wp-block-site-logo img { height:36px; width:auto; }
body .footer_legal { font-size:13px; color:rgba(255,255,255,.5); }

/* ---------- Motion: hide targets before GSAP runs (class added in <head>, removed on run or after 3s) ---------- */
html.motion-ready .hero_heading, html.motion-ready .hero_script, html.motion-ready .reveal, html.motion-ready .capability { visibility:hidden; }
body .hero_heading .w { display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.06em; }
body .hero_heading .w > span { display:inline-block; }

/* ---------- Tablet ---------- */
@media (max-width:991px) {
  body .container { padding-inline:24px; }
  body .nav { grid-template-columns:1fr auto; }
  body .nav_menu { display:none; }
  body .nav .wp-block-site-logo { padding:18px 24px; border-right:0; }
  body .nav_cta .wp-block-button__link { padding:0 24px; }
  body .hero_top, body .hero_bottom { grid-template-columns:1fr; }
  body .hero_title-cell { padding:56px 24px 48px; border-right:0; }
  body .hero_heading { font-size:13vw; }
  body .hero_script { font-size:6vw; }
  body .hero_badge-cell { display:none; }
  body .hero_intro-cell { padding:32px 24px; border-right:0; border-bottom:1px solid var(--line); }
  body .hero_buttons { flex-direction:row; }
  body .hero_image-cell { height:440px; }
  body .stats { grid-template-columns:repeat(2,1fr); }
  body .stats_item { padding:24px; border-bottom:1px solid var(--line); }
  body .about, body .capabilities { padding:88px 0; }
  body .about_grid, body .capabilities_grid, body .indigenous_grid, body .footer_cta { grid-template-columns:1fr; }
  body .heading-xl { font-size:48px; }
  body .about_visual { min-height:460px; }
  body .section-head { flex-direction:column; align-items:flex-start; margin-bottom:48px; }
  body .capabilities_media { position:relative; top:0; height:380px; }
  body .projects { padding:88px 0 160px; }
  body .projects_grid { grid-template-columns:repeat(2,1fr); }
  body .project-card_media { height:280px; }
  body .indigenous { margin-top:-56px; padding:96px 0 88px; border-radius:50% 50% 0 0 / 56px 56px 0 0; }
  body .indigenous_logo img { width:140px; }
  body .heading-lg { font-size:40px; }
  body .footer { padding:88px 0 32px; }
  body .footer_heading { font-size:52px; }
  body .footer_swirl { width:420px; }
}
@media (max-width:767px) {
  body .hero_buttons { flex-direction:column; }
  body .hero_heading { font-size:15vw; }
  body .stats_number { font-size:36px; }
  body .projects_grid { grid-template-columns:1fr; }
  body .about_visual { flex-direction:column; align-items:stretch; }
  body .about_shape { bottom:120px; }
  body .about_card { position:relative; bottom:auto; max-width:none; }
  body .footer_bottom { flex-direction:column; align-items:flex-start; }
}
@media (max-width:479px) {
  body .nav .wp-block-site-logo img { height:30px; }
  body .nav_cta .wp-block-button__link { padding:0 16px; font-size:12px; }
  body .hero_heading { font-size:16vw; }
  body .hero_script { font-size:8vw; }
  body .hero_image-cell { height:320px; }
  body .stats_number { font-size:28px; }
  body .stats_item { padding:20px 16px; }
  body .heading-xl { font-size:38px; }
  body .values li { font-size:24px; }
  body .about_visual { min-height:360px; }
  body .capability { grid-template-columns:44px 1fr; }
  body .capability_title { font-size:20px; }
  body .capabilities_media { height:300px; }
  body .footer_heading { font-size:42px; }
  body .footer_value { font-size:17px; }
}
